powerpc: Add optimized version of [l]lroundf
[glibc.git] / ChangeLog
blobed0192b51f75e28ebb8817186915a034ed852f9a
1 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4         (libm-sysdep_routines): Add s_llroundf-ppc64.
5         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
6         (__llroundf): Define as strong alias of __llround.
7         (llroundf):  Define as weak alias of __llround.
8         (__lroundf): Define as strong alias of __llround.
9         (lroundf):  Define as weak alias of __llround.
10         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
11         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
12         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
13         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
14         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
15         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
16         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
18 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
20         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
21         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
23         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
24         (MATH_TESTS_TG): New macro.
25         (SNAN_TESTS_float128): Likewise.
26         (ROUNDING_TESTS_float128): Likewise.
27         (EXCEPTION_TESTS_float128): Likewise.
28         (SNAN_TESTS): Define using MATH_TESTS_TG.
29         (ROUNDING_TESTS): Likewise.
30         (EXCEPTION_TESTS): Likewise.
32         * sysdeps/ieee754/float128/float128_private.h
33         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
34         pass it to SET_RESTORE_ROUNDF128.
36         * sysdeps/ieee754/float128/float128_private.h: Include
37         <ieee754.h>.
39         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
40         typeof to argument passed to __builtin_types_compatible_p.
41         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
43         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
44         <errno.h>.
45         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
46         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
47         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
48         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
49         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
50         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
51         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
52         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
53         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
54         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
55         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
56         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
57         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
58         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
59         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
60         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
61         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
62         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
63         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
64         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
65         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
66         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
68         * sysdeps/ieee754/float128/strtof128_l.c: Include
69         <bits/types/locale_t.h> instead of <xlocale.h>.
70         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
71         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
73 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
75         * benchtests/scripts/benchout_strings.schema.json: New file.
76         * benchtests/scripts/compare_strings.py: New file.
78         * benchtests/bench-memcpy-large.c: Include json-lib.h.
79         (do_one_test): Print json.
80         (do_test): Likewise.
81         (test_main): Likewise.
82         * benchtests/bench-memcpy-random.c: Include json-lib.h.
83         (do_one_test): Print json.
84         (do_test): Likewise.
85         (test_main): Likewise.
86         * benchtests/bench-memcpy.c: Include json-lib.h.
87         (do_one_test): Print json.
88         (do_test): Likewise.
89         (test_main): Likewise.
91         * benchtests/json-lib.h: Include inttypes.h.
92         (json_attr_int, json_attr_int, json_element_string,
93         json_element_int, json_element_uint): New functions.
94         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
95         json_element_string, json_element_int, json_element_uint): New
96         functions.
98 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
100         * manual/arith.texi (Remainder Functions): Describe remainder as
101         primary and drem as an alternative name.  Change the comment on
102         remainder to ISO, since it is defined in ISO C99.
104 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
106         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
107         macro expansion.
108         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
110 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
112         [BZ #21533]
113         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
114         201706L for Unicode 10.0.
116 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
118         [BZ #21657]
119         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
120         on node-local addresses.
121         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
123 2017-06-21  Florian Weimer  <fweimer@redhat.com>
125         * intl/loadmsgcat.c: Remove alloca support.
126         (_nl_load_domain): Use calloc instead of alloca.
128 2017-04-21  Florian Weimer  <fweimer@redhat.com>
130         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
131         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
132         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
133         alloc_buffer_create_failure.
134         * malloc/Versions (__libc_alloc_buffer_alloc_array)
135         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
136         (__libc_alloc_buffer_copy_string)
137         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
138         * malloc/alloc_buffer_alloc_array.c: New file.
139         * malloc/alloc_buffer_allocate.c: Likewise.
140         * malloc/alloc_buffer_copy_bytes.c: Likewise.
141         * malloc/alloc_buffer_copy_string.c: Likewise.
142         * malloc/alloc_buffer_create_failure.c: Likewise.
143         * malloc/tst-alloc_buffer.c: Likewise.
145 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
148         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
149         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
150         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
151         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
152         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
153         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
154         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
155         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
156         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
157         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
158         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
159         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
160         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
161         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
162         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
163         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
164         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
165         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
166         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
167         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
168         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
169         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
170         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
171         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
172         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
173         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
174         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
175         "locale-defines.h".
176         (UPDATE_STRNCMP_COUNTER): New.
177         (SECTION): Likewise.
178         (GLABEL): Likewise.
179         (LABEL): Likewise.
180         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
181         for libc.a.
183 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
185         [BZ #21622]
186         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
187         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
188         __USE_MISC].
189         (SA_NODEFER): Likewise.
190         (SA_RESETHAND): Likewise.
192 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
194         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
195         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
196         Remove security_level on all fields.
197         * manual/tunables.texi: Replace ifunc with hwcaps.
198         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
199         Renamed to ..
200         (TUNABLE_CALLBACK (set_hwcaps)): This.
201         (init_cpu_features): Updated.
202         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
203         data_cache_size, data_cache_size and non_temporal_threshold to
204         unsigned long int.
205         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
206         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
207         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
208         use DEFAULT_STRLEN.
210 2017-06-21  Florian Weimer  <fweimer@redhat.com>
212         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
213         asprintf to construct an absolute pathname.
215 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
217         * misc/tst-preadvwritev2-common.c: New file.
218         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
219         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
221 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
223         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
224         annotation.
225         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
227 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
229         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
230         hidden __GI__dl_argv symbol.
232 2017-06-21  Florian Weimer  <fweimer@redhat.com>
234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
235         to parse addresses with IPv6 scope IDs.
237 2017-06-21  Florian Weimer  <fweimer@redhat.com>
239         Add the __inet_pton_length helper function.
240         * resolv/resolv-internal.h (__inet_pton_length): Declare.
241         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
242         Add length argument.
243         (__inet_pton): New function.
244         (inet_pton4): Add length argument.
245         (hex_digit_value): New function.
246         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
247         memmove and memset to fill :: gap.
248         * resolv/Makefile (tests, tsts-static, tests-internal): Add
249         tst-inet_pton.
250         * resolv/tst-inet_pton.c: New file.
251         * support/Makefile (libsupport-routines): Add xmprotect.
252         * support/xunistd.h (xmprotect): Declare.
253         * support/xmprotect.c: New file.
255 2017-06-21  Florian Weimer  <fweimer@redhat.com>
257         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
258         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
259         (call_gai, check_ai): New functions.
260         (expect_failure, expect_success): Use them.  Add logging.
262 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
264         * sysdeps/powerpc/powerpc64/multiarch/Makefile
265         (sysdep_routines): Add memchr_power8.
266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
267         (memchr): Add __memchr_power8 to list of memchr functions.
268         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
269         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
270         (memchr): Add __memchr_power8 to ifunc list.
271         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
273 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
275         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
276         (__llrintf): Define as strong alias of __llrint.
277         (llrintf):  Define as weak alias of __llrint.
278         (__lrintf): Define as strong alias of __llrint.
279         (lrintf):  Define as weak alias of __llrint.
280         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
281         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
282         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
285 2017-06-20  Zack Weinberg  <zackw@panix.com>
287         * bits/signum-generic.h: Renamed from bits/signum.h.
288         Add proper multiple include guard and misuse check.
289         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
290         Move definition of SIGIO to "archaic names for compatibility" section.
291         * bits/signum.h: New file which just includes bits/signum-generic.h.
292         * sysdeps/unix/bsd/bits/signum.h
293         * sysdeps/unix/sysv/linux/bits/signum.h
294         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
295         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
296         * sysdeps/unix/sysv/linux/mips/bits/signum.h
297         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
298         Just include <bits/signum-generic.h> and then add or adjust
299         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
301         * signal/Makefile: Install bits/signum-generic.h.
302         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
304         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
305         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
307         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
308         * sysdeps/unix/sysv/linux/Makefile: Run it.
310 2017-06-20  Zack Weinberg  <zackw@panix.com>
312         * locale/xlocale.h: Rename to...
313         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
314         Only define struct __locale_struct and __locale_t, not locale_t.
315         * locale/bits/types/locale_t.h: New file; define locale_t here.
316         * locale/Makefile (headers): Update to match.
318         * include/xlocale.h: Delete wrapper.
319         * include/bits/types/__locale_t.h: New wrapper.
320         * include/bits/types/locale_t.h: New wrapper.
322         * ctype/ctype.h, include/printf.h, include/time.h
323         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
324         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
325         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
326         Correct outdated comments regarding the standardization status of
327         the functions that take locale_t arguments.
329         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
330         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
331         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
332         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
333         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
334         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
335         Don't include xlocale.h. If necessary, include locale.h instead.
337         * stdlib/strtold_l.c: Unconditionally include wchar.h.
339         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
340         * include/monetary.h, include/stdlib.h, include/time.h
341         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
342         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
343         * locale/localeinfo.h, locale/newlocale.c
344         * locale/nl_langinfo_l.c, locale/uselocale.c
345         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
346         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
347         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
348         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
349         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
350         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
351         * string/strings.h, string/strncase.c, string/strxfrm_l.c
352         * sysdeps/ieee754/float128/strtof128_l.c
353         * sysdeps/ieee754/float128/wcstof128.c
354         * sysdeps/ieee754/float128/wcstof128_l.c
355         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
356         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
357         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
358         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
359         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
360         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
361         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
362         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
363         * sysdeps/x86_64/strcasecmp_l-nonascii.c
364         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
365         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
366         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
367         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
368         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
369         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
370         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
371         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
372         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
373         Change all uses of __locale_t to locale_t.
375 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
377         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
378         for !__OFF_T_MATCHES_OFF64_T.
379         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
380         implementation based on open64.
381         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
382         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
384 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
386         * elf/dl-tunables.list: Move x86 specific tunables to ...
387         * sysdeps/x86/dl-tunables.list: Here.  New file.
389 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
391         [BZ #21635]
392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
393         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
394         * conform/data/signal.h-data (uc_mcontext): XFAIL for
395         powerpc32-linux.
396         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
398         [BZ #21634]
399         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
400         (conformtest-xfail-conds): New variable.
401         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
402         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
404 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
406         * benchtests/powf-inputs: Add reduced trace from wrf.
408 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
409             Erich Elsen  <eriche@google.com>
411         * elf/dl-tunables.list (tune): Add ifunc,
412         x86_non_temporal_threshold,
413         x86_data_cache_size and x86_shared_cache_size.
414         * manual/tunables.texi: Document glibc.tune.ifunc,
415         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
416         and glibc.tune.x86_non_temporal_threshold.
417         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
418         * sysdeps/x86/cpu-tunables.c: Likewise.
419         * sysdeps/x86/cacheinfo.c
420         (init_cacheinfo): Check and get data cache size, shared cache
421         size and non temporal threshold from cpu_features.
422         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
423         New.
424         [HAVE_TUNABLES] Include <unistd.h>.
425         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
426         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
427         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
428         IFUNC selection, data cache size, shared cache size and non
429         temporal threshold.
430         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
431         shared_cache_size and non_temporal_threshold.
433 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
435         * benchtests/README: Describe workload feature.
436         * benchtests/bench-skeleton.c (main): Add support for
437         benchmarking traces from workloads.
439 2017-06-20  Zack Weinberg  <zackw@panix.com>
441         * string/string.h (__mempcpy_inline): Delete.
442         * sysdeps/x86_64/multiarch/mempcpy.c
443         * sysdeps/x86_64/multiarch/stpcpy.c:
444         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
445         before including string.h.
447 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
449         * benchtests/Makefile (bench-math): Add powf.
450         * benchtests/powf-inputs: New file.
452 2017-06-20  Zack Weinberg  <zackw@panix.com>
454         * bits/string.h, string/bits/string.h
455         * sysdeps/aarch64/bits/string.h
456         * sysdeps/m68k/m680x0/m68020/bits/string.h
457         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
458         * sysdeps/x86/bits/string.h: Delete file.
460         * string/string.h: Don't include bits/string.h.
461         * string/bits/string3.h: Rename to bits/string_fortified.h.
462         No need to undef various symbols that the removed headers
463         might have defined as macros.
464         * string/Makefile (headers): Remove bits/string.h, change
465         bits/string3.h to bits/string_fortified.h.
466         * string/string-inlines.c: Update commentary.  Remove definitions
467         of various macros that nothing looks at anymore.  Don't directly
468         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
469         compiler-predefined macros.
470         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
471         _is_ defined, provide internal hidden alias __strncat.
472         * include/string.h: Declare internal hidden alias __strncat.
473         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
474         not defined.
475         * include/bits/string3.h: Rename to bits/string_fortified.h,
476         update to match above.
478         * sysdeps/i386/string-inlines.c: Define compat symbols for
479         everything formerly defined by sysdeps/x86/bits/string.h.
480         Make existing definitions into compat symbols as well.
481         Remove some no-longer-necessary messing around with macros.
483         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
484         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
485         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
486         * sysdeps/s390/multiarch/mempcpy.c
487         No need to define _HAVE_STRING_ARCH_mempcpy.
488         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
490         * sysdeps/i386/i686/multiarch/strncat-c.c
491         * sysdeps/s390/multiarch/strncat-c.c
492         * sysdeps/x86_64/multiarch/strncat-c.c
493         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
495 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
497         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
498         (LDBL_DIG): Likewise.
499         (LDBL_MIN_EXP): Likewise.
500         (LDBL_MIN_10_EXP): Likewise.
501         (LDBL_MAX_EXP): Likewise.
502         (LDBL_MAX_10_EXP): Likewise.
503         (LDBL_MAX): Likewise.
504         (LDBL_MIN): Likewise.
505         (LDBL_EPSILON): Likewise.
506         (FLT_ROUNDS): Change standard from ISO to C90.
507         (FLT_RADIX): Likewise.
508         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
509         (FLT_DIG, DBL_DIG): Likewise.
510         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
511         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
512         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
513         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
514         (FLT_MAX, DBL_MAX): Likewise.
515         (FLT_MIN, DBL_MIN): Likewise.
516         (FLT_EPSILON, DBL_EPSILON): Likewise.
518 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
520         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
521         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
522         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
523         * sysdeps/mips/math-tests.h
524         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
525         conditional code.
527 2017-06-19  Florian Weimer  <fweimer@redhat.com>
529         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
530         It cannot change while __libc_setlocale_lock is acquired.
532 2017-06-19  Florian Weimer  <fweimer@redhat.com>
534         * elf/rtld.c (audit_list_string): New variable.
535         (audit_list): Update comment.
536         (struct audit_list_iter): Define.
537         (audit_list_iter_init, audit_list_iter_next): New function.
538         (dl_main): Use struct audit_list_iter to process audit modules.
539         (process_dl_audit): Call dso_name_valid_for_suid.
540         (process_envvars): Set audit_list_string instead of calling
541         process_dl_audit.
543 2017-06-19  Florian Weimer  <fweimer@redhat.com>
545         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
546         (dso_name_valid_for_suid): New function.
547         (handle_ld_preload): Likewise.
548         (dl_main): Call it.  Remove alloca.
550 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
552         [BZ #21625]
553         * posix/sys/wait.h (strust rusage forward declaration): Change
554         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
555         !__USE_XOPEN2K].
556         (wait3): Likewise.
558         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
559         * configure: Regenerated.
560         * manual/install.texi (Tools for Compilation): Document
561         requirement for GCC 4.9 or later.
562         * INSTALL: Regenerated.
564 2017-06-19  Florian Weimer  <fweimer@redhat.com>
566         [BZ #21624]
567         CVE-2017-1000366
568         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
569         __libc_enable_secure.
571 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
573         [BZ #21539]
574         * NEWS: Mention s390 ptrace request changes.
575         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
576         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
577         PTRACE_SETFPREGS): Remove enum constant.
578         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
579         Remove defines.
580         (PTRACE_SINGLEBLOCK): New enum constant.
581         (PT_STEPBLOCK): New define.
582         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
583         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
584         PTRACE_TE_ABORT_RAND): New enum constant and define.
585         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
586         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
587         New file.
588         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
590 2017-06-16  Florian Weimer  <fweimer@redhat.com>
592         * resolv/res_init.c (res_vinit_1): Use getline to read from the
593         configuration file.
594         (__res_vinit): Adjust.
596 2017-06-19  Florian Weimer  <fweimer@redhat.com>
598         * resolv/res_init.c (res_vinit_1): New function.
599         (__res_vinit): Call it.  Handle file open and memory allocation
600         failures.
601         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
602         erno from __res_maybe_init failure.
603         (_nss_dns_gethostbyname4_r): Likewise.
604         (_nss_dns_gethostbyaddr2_r): Likewise.
605         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
606         (_nss_dns_getnetbyaddr_r): Likewise.
608 2017-06-19  Florian Weimer  <fweimer@redhat.com>
610         * resolv/res_init.c: Reformat to GNU style.
612 2017-06-19  Florian Weimer  <fweimer@redhat.com>
614         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
615         (is_sort_mask): New function.
616         (__res_vinit): Use it.
618 2017-06-19  Florian Weimer  <fweimer@redhat.com>
620         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
621         conditionals.
623 2017-06-19  Florian Weimer  <fweimer@redhat.com>
625         * resolv/res-close.c: New file.
626         * resolv/res_init.c (__res_iclose, res_nclose)
627         (res_thread_freeres): Remove definitions.
628         * resolv/Makefile (routines): Add res-close.
630 2017-06-19  Florian Weimer  <fweimer@redhat.com>
632         * resolv/res_randomid.c: New file.
633         * resolv/res_init.c (res_randomid): Remove definition.
634         * resolv/Makefile (routines): Add res_randomid.
636 2017-06-19  Florian Weimer  <fweimer@redhat.com>
638         * include/resolv.h (__res_vinit): Declare as hidden.
639         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
640         * resolv/res_libc.c (res_init): Likewise.
642 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
644         [BZ #21457]
645         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
646         _libc_xmmreg): Use __ctx in defining field.
648         [BZ #21597]
649         * signal/signal.h (siginterrupt): Make declaration conditional on
650         [__USE_XOPEN_EXTENDED || __USE_MISC].
652         [BZ #21584]
653         * signal/signal.h: Make includes of <bits/sigstack.h> and
654         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
655         __USE_MISC].
656         (sigaltstack): Make declaration conditional on
657         [__USE_XOPEN_EXTENDED || __USE_MISC].
659         [BZ #21575]
660         * resource/bits/types/struct_rusage.h: New file.
661         * include/bits/types/struct_rusage.h: Likewise.
662         * bits/resource.h (struct rusage): Include
663         <bits/types/struct_rusage.h> instead of defining here.
664         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
665         Likewise.
666         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
667         Likewise.
668         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
669         Likewise.
670         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
671         Likewise.
672         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
673         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
674         Include <bits/types/struct_rusage.h>
676 2017-06-19  Florian Weimer  <fweimer@redhat.com>
678         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
680 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
682         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
684 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
686         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
688 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
690         [BZ #21537]
691         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
692         Check SHARED instead of PIC.
693         (SYSCALL_PIC_SETUP): Add missing semicolons.
694         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
695         Check SHARED instead of PIC.
696         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
697         (__makecontext_ret): Adjust code to jump to exit.
699 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
701         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
702         Simplify code by always using SVC 0 instead of EX.
703         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
705 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
707         * elf/Versions (ld): Remove _dl_out_of_memory.
709 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
711         * timezone/private.h: Update from tzcode 2017b.
712         * timezone/tzfile.h: Likewise.
713         * timezone/tzselect.ksh: Likewise.
714         * timezone/zdump.c: Likewise.
715         * timezone/zic.c: Likewise.
716         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
717         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
718         * time/tzset.c (SECSPERDAY): New macro.
720 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
722         * manual/string.texi (strdup): Complete header and standards
723         annotation.
724         (strncpy): Likewise.
726 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
728         * manual/arith.texi (FP_NAN): Add or complete header and standard
729         annotations.
730         (FP_INFINITE): Likewise.
731         (FP_ZERO): Likewise.
732         (FP_SUBNORMAL): Likewise.
733         (FP_NORMAL): Likewise.
734         (SNAN): Likewise.
735         (SNANL): Likewise.
736         (totalorderf): Likewise.
737         (totalorderl): Likewise.
738         (totalordermagf): Likewise.
739         (totalordermagl): Likewise.
740         (_Complex_I): Likewise.
741         (I): Likewise.
743 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
745         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
746         standard annotation.
747         (ARGP_HELP_SHORT_USAGE): Likewise.
748         (ARGP_HELP_SEE): Likewise.
749         (ARGP_HELP_LONG): Likewise.
750         (ARGP_HELP_PRE_DOC): Likewise.
751         (ARGP_HELP_POST_DOC): Likewise.
752         (ARGP_HELP_DOC): Likewise.
753         (ARGP_HELP_BUG_ADDR): Likewise.
754         (ARGP_HELP_LONG_ONLY): Likewise.
755         (ARGP_HELP_EXIT_ERR): Likewise.
756         (ARGP_HELP_EXIT_OK): Likewise.
757         (ARGP_HELP_STD_ERR): Likewise.
758         (ARGP_HELP_STD_USAGE): Likewise.
759         (ARGP_HELP_STD_HELP): Likewise.
761 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
763         * manual/Makefile: Generate summary.texi with summary.pl.  Force
764         use of the C locale.  Update Perl dependency comment.
765         * manual/header.texi: Update reference to summary.awk.
766         * manual/macros.texi: Refer authors to `summary.pl --help'.
767         * manual/summary.awk: Remove file.
768         * manual/summary.pl: New file.  Generate summary.texi, and check
769         for @standards-related syntax errors.
770         * manual/argp.texi: Convert header and standards @comments to
771         @standards.
772         * manual/arith.texi: Likewise.
773         * manual/charset.texi: Likewise.
774         * manual/conf.texi: Likewise.
775         * manual/creature.texi: Likewise.
776         * manual/crypt.texi: Likewise.
777         * manual/ctype.texi: Likewise.
778         * manual/debug.texi: Likewise.
779         * manual/errno.texi: Likewise.
780         * manual/filesys.texi: Likewise.
781         * manual/getopt.texi: Likewise.
782         * manual/job.texi: Likewise.
783         * manual/lang.texi: Likewise.
784         * manual/llio.texi: Likewise.
785         * manual/locale.texi: Likewise.
786         * manual/math.texi: Likewise.
787         * manual/memory.texi: Likewise.
788         * manual/message.texi: Likewise.
789         * manual/pattern.texi: Likewise.
790         * manual/pipe.texi: Likewise.
791         * manual/process.texi: Likewise.
792         * manual/resource.texi: Likewise.
793         * manual/search.texi: Likewise.
794         * manual/setjmp.texi: Likewise.
795         * manual/signal.texi: Likewise.
796         * manual/socket.texi: Likewise.
797         * manual/startup.texi: Likewise.
798         * manual/stdio.texi: Likewise.
799         * manual/string.texi: Likewise.
800         * manual/sysinfo.texi: Likewise.
801         * manual/syslog.texi: Likewise.
802         * manual/terminal.texi: Likewise.
803         * manual/threads.texi: Likewise.
804         * manual/time.texi: Likewise.
805         * manual/users.texi: Likewise.
807 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
809         * manual/macros.texi (@standards): New macro.  Provide placeholder
810         for header and standards annotations.
811         (@standardsx): New macro.  Likewise, for lists of @*x elements.
813 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
815         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
816         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
817         rule.
818         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
819         sync_file_range.
821          * support/support_test_main.c (support_test_main):  Use optstring
822          member for option string in getopt_long.
823          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
824          (CMDLINE_OPTSTRING): New define.
825          * support/test-driver.h (test_config): Add optstring member.
827 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
830         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
831         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
832         Check USE_AS_STRPBRK instead of STRPBRK_P.
833         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
834         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
835         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
836         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
837         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
838         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
839         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
840         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
841         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
842         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
843         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
844         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
845         and "#endif".
847 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
849         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
850         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
852 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
855         strcat-sse2.
856         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
857         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
858         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
859         * sysdeps/x86_64/multiarch/strcat.S: Removed.
860         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
862 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
863             Erich Elsen  <eriche@google.com>
865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
866         memcmp-sse2.
867         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
868         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
869         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
870         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
871         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
872         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
874 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
875             Erich Elsen  <eriche@google.com>
877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
878         memset-sse2-unaligned-erms, and memset_chk-nonshared.
879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
880         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
881         Update comments.
882         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
883         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
884         * sysdeps/x86_64/multiarch/memset.c: Likewise.
885         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
886         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
887         * sysdeps/x86_64/multiarch/memset.S: Removed.
888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
889         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
890         (__memset_chk_erms): New function.
892 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
894         * configure.ac(--enable-tunables): Enable by default.
895         * configure: Regenerate.
896         * NEWS: Mention change.
897         * manual/install.texi (enable-tunables): Adjust documentation.
898         * INSTALL: Regenerate.
900 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
902         [BZ #18988]
903         * benchtests/thread_create-inputs: New file.
904         * benchtests/thread_create-source.c: Likewise.
905         * support/xpthread_attr_setguardsize.c: Likewise.
906         * support/Makefile (libsupport-routines): Add
907         xpthread_attr_setguardsize object.
908         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
909         * benchtests/Makefile (bench-pthread): Add thread_create.
910         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
911         then mprotect the required area.
912         (guard_position): New function.
913         (setup_stack_prot): Likewise.
915 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
916             Erich Elsen  <eriche@google.com>
917             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
920         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
921         mempcpy_chk-nonshared and memmove_chk-nonshared.
922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
923         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
924         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
925         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
926         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
927         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
928         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
929         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
930         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
931         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
932         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
933         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
934         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
935         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
936         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
937         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
938         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
939         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
940         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
941         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
942         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
943         (__mempcpy_chk_erms): New function.
944         (__memmove_chk_erms): Likewise.
945         (__memcpy_chk_erms): New alias.
947 2017-06-14  Florian Weimer  <fweimer@redhat.com>
949         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
950         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
952 2017-06-14  Zack Weinberg  <zackw@panix.com>
954         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
955         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
956         defined, don't declare anything other than the E-constants.
958         * include/errno.h: Change conditional for exposing internal
959         declarations to (not _ISOMAC and not __ASSEMBLER__).
960         * bits/errno.h: Remove logic for __need_Emath.  Document
961         requirements for a port-specific bits/errno.h.
963         * sysdeps/unix/sysv/linux/bits/errno.h
964         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
965         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
966         * sysdeps/unix/sysv/linux/mips/bits/errno.h
967         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
968         Add multiple-include guard and check against improper inclusion.
969         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
970         constants are defined as simple integer literals.  Consistent
971         formatting.
972         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
973         enum __error_t_codes if __ASSEMBLER__ is not defined.
974         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
976         * argp/argp.h, string/argz.h: Don't define __need_error_t before
977         including errno.h.
978         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
979         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
980         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
981         * sysdeps/x86_64/fpu/s_cosf.S
982         * sysdeps/x86_64/fpu/s_sincosf.S
983         * sysdeps/x86_64/fpu/s_sinf.S:
984         Just include errno.h; don't define __need_Emath or include
985         bits/errno.h directly.
987 2017-06-14  Zack Weinberg  <zackw@panix.com>
989         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
990         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
991         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
993         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
994         for IOV_MAX.
995         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
996         Don't install bits/uio.h.
997         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
998         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
999         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1001         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1002         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1003         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1005         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1006         Include bits/types/struct_iovec.h, not bits/uio.h.
1007         Use __ssize_t, not ssize_t, in function prototypes.
1008         Don't use hard TAB for double space after period in comments.
1010 2017-06-14  Alan Modra  <amodra@gmail.com>
1012         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1013         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1014         refsym and sym parameters.  Adjust callers.
1015         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1016         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1017         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1018         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1019         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1020         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1021         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1022         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1023         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1024         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1025         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1026         Likewise.
1027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1028         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1029         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1030         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1031         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1032         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1033         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1034         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1035         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1036         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1037         Delete reloc param, add refsym and sym.  Check optimized plt
1038         call stubs for localentry:0 functions.  Adjust callers.
1039         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1040         and sym parameters.  Adjust callers.
1041         (_dl_reloc_overflow): Move attribute.
1042         (_dl_error_localentry): Declare.
1043         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1044         refsym and sym to elf_machine_fixup_plt.
1045         * elf/testobj6.c (preload): Call printf.
1047 2017-06-14  Alan Modra  <amodra@gmail.com>
1049         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1050         (NOPS, ENTRY_3): New macros.
1051         (ENTRY): Rewrite.
1052         (ENTRY_TOCLESS): Define.
1053         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1054         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1055         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1056         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1057         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1058         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1059         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1060         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1061         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1063         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1064         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1065         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1066         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1067         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1068         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1069         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1070         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1071         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1072         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1073         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1074         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1075         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1076         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1077         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1078         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1079         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1080         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1081         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1082         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1083         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1084         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1085         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1086         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1087         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1088         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1090         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1092         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1094         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1095         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1103         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1104         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1105         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1106         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1107         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1108         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1109         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1110         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1111         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1112         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1113         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1114         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1115         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1120         Likewise.
1121         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1122         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1124         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1125         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1126         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1128         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1129         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1132         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1134         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1135         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1138         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1140         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1141         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1142         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1144         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1146         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1147         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1149         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1150         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1151         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1152         add nop when SHARED.
1153         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1154         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1155         define.
1156         (ENTRY_TOCLESS): Define.
1157         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1158         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1159         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1161 2017-06-14  Alan Modra  <amodra@gmail.com>
1163         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1164         MEMSET_is_local.
1165         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1168         Define MEMSET.
1169         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1170         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1171         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1172         nop after local calls.
1173         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1174         Don't add nop after local call.
1175         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1176         CALL_MCOUNT.
1178 2017-06-14  Alan Modra  <amodra@gmail.com>
1180         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1181         (FUNC_LABEL): Rename from DOT_LABEL.
1182         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1183         Use .p2align rather than .align.
1184         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1185         (ABORT_TRANSACTION): Likewise.
1186         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1187         particularly at end.  Add semicolon at invocation as necessary.
1188         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1189         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1190         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1191         END): Adjust to suit.
1193 2017-06-14  Alan Modra  <amodra@gmail.com>
1195         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1196         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1197         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1198         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1199         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1201         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1203 2017-06-14  Alan Modra  <amodra@gmail.com>
1205         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1206         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1208 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1210         [BZ #21548]
1211         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1212         8 and use it when copying general purpose registers.
1213         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1214         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1215         mips o32.
1216         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1217         new test for mips o32.
1218         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1219         8 and use it when copying general purpose registers.
1220         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1222 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1224         * configure.ac (find_cxx_header): Suppress compiler error message.
1226 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1228         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1229         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1230         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1231         begin/end.
1232         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1233         dynarray_int_end.
1234         (test_str): Test dynarray_str_begin, dynarray_str_end.
1236 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1238         [BZ #21573]
1239         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1240         $(common-objpfx)bits/std_abs.h.
1241         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1242         New target.
1243         * config.make.in (c++-bits-std_abs-h): New.
1244         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1245         (CXX_BITS_STD_ABS_H): New.
1246         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1247         * configure: Regenerated.
1249 2017-06-13  Zack Weinberg  <zackw@panix.com>
1251         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1252         directives.
1254 2017-06-12  Zack Weinberg  <zackw@panix.com>
1256         * bits/sched.h: Remove __need_schedparam logic and replace with a
1257         normal multiple-include guard.  Change field name in struct
1258         sched_param from __sched_priority to sched_priority.  Delete
1259         everything under #ifndef __cpu_set_t_defined.
1260         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1261         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1263         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1264         For compatibility, #define sched_priority to itself, and #define
1265         __sched_priority as sched_priority.
1266         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1267         that was under #ifndef __cpu_set_t_defined in
1268         sysdeps/unix/sysv/linux/bits/sched.h.
1269         * include/bits/cpu-set.h: New wrapper.
1270         * posix/Makefile: Install bits/cpu-set.h.
1272 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1273             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1274             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1276         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1277         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1278         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1279         * math/libm-test-isfinite.inc (finite_test): Likewise.
1280         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1281         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1282         (nexttoward_test_data}: Likewise.
1283         * math/libm-test-remainder.inc (drem_test): Likewise.
1284         * math/libm-test-scalb.inc (scalb_test): Likewise.
1285         (scalb_test_data): Likewise.
1286         * math/libm-test-significand.inc (significand_test): Likewise.
1287         (significand_test_data): Likewise.
1288         * math/libm-test-support.c (check_complex): Replace __complex__
1289         FLOAT with CFLOAT to get the support for old compiler.
1290         * math/libm-test-support.h (check_complex): Likewise.
1291         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1292         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1293         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1294         * math/test-float128.h: New file.
1295         * math/test-math-floatn.h: New file.
1297 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1299         * include/float.h: Allow the definition of macros prefixed with
1300         FLT128 even if _ISOMAC is defined, but provided that
1301         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1303 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1305         * manual/math.texi (Mathematics): Add description for _FloatN and
1306         _FloatNx types and mentions that they are not support in glibc for
1307         any architecture, so far.
1308         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1309         stdlib.h with wchar.h.
1310         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1311         (Printing of Floats): Add description for strfromfN.
1313 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1314             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1315             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1317         * include/gmp.h (__mpn_construct_float128): New declaration.
1318         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1319         (__strtof128_l): New declaration.
1320         (__strtof128_nan): Likewise.
1321         (__wcstof128_nan): Likewise.
1322         (__strtof128_internal): Likewise.
1323         (____strtof128_l_internal): Likewise.
1324         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1325         (__wcstof128_l): New declaration.
1326         (__wcstof128_internal): Likewise.
1328         * stdlib/Makefile (bug-strtod2): Link libm too.
1330         * stdlib/stdlib.h (strtof128): New declaration.
1331         (strtof128_l): Likewise.
1333         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1334         tst-strtod.h macros to ensure float128 gets tested too.
1336         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1338         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1339         tests.
1340         (IF_FLOAT128): New macro.
1341         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1342         the tests.
1343         (STRTOD_TEST_FOREACH): Likewise.
1345         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1346         wcstof128 functions into libc.
1348         * sysdeps/ieee754/float128/Versions: Add exports for the above
1349         new functions.
1351         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1352         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1353         * sysdeps/ieee754/float128/strtof128.c: New file.
1354         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1355         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1356         * sysdeps/ieee754/float128/wcstof128.c: New file.
1357         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1358         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1359         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1360         (CFLAGS-wcstof128_l): Likewise.
1362         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1363         (wcstof128): New declaration.
1364         (wcstof128_l): Likewise.
1366 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1368         [BZ #21552]
1369         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1370         not [__USE_XOPEN].
1371         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1373         [BZ #21550]
1374         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1376 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1379         strcpy-sse2 and stpcpy-sse2.
1380         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1381         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1382         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1383         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1384         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1385         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1386         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1387         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1388         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1389         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1390         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1391         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1392         (libc_hidden_def): Always defined as empty.
1393         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1394         Always Defined as empty.
1396 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1398         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1400 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1402         [BZ #15105]
1403         [BZ #19463]
1404         * include/string.h: Add internal redirect for __stpcpy.
1405         * string/Makefile: Remove bits/string2.h.
1406         * string/string.h: Update comment.
1407         * string/string-inlines.c: Remove bits/string2.h include and comment.
1408         * string/bits/string2.h: Remove file.
1410 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1412         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1413         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1414         * sunrpc/des_impl.c (_des_crypt): Likewise.
1415         * sunrpc/key_call.c (key_gendes): Likewise.
1416         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1417         * sunrpc/svc_simple.c (universal): Likewise.
1418         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1419         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1420         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1422 2017-06-10  Zack Weinberg  <zackw@panix.com>
1424         * stdlib/errno.h: Correct an outdated comment.
1426 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1428         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1429         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1430         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1431         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1432         New file.  Invoke newly supported sysconf values for powerpc,
1433         and report results.  If none are supported, report so.
1434         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1435         tst-sysconf.
1437 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1439         * include/sys/auxv.h (__getauxval): Add a prototype and its
1440         libc_hidden_proto.
1441         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1443 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1445         [BZ #21561]
1446         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1447         [__USE_XOPEN_EXTENDED].
1448         (id_t): Likewise.
1449         (include of <bits/types/siginfo_t.h): Likewise.
1450         (waitid): Likewise.
1451         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1452         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1453         (WEXITED): Likewise.
1454         (WCONTINUED): Likewise.
1455         (WNOWAIT): Likewise.
1456         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1457         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1458         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1460         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1461         libc.so PLT entry optional.
1462         (__gtsf2): Likewise.
1463         (__unorddf2): Likewise.
1464         (__unordsf2): Likewise.
1465         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1466         New optional libc.so PLT entry.
1468         [BZ #21554]
1469         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1470         not [__USE_XOPEN].
1472         [BZ #21560]
1473         * posix/sys/wait.h: Condition include of <signal.h> on
1474         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1475         unconditionally.
1476         [!__pid_t_defined] (pid_t): Define typedef.
1478 2017-06-09  Zack Weinberg  <zackw@panix.com>
1480         * include/errno.h (__errno_location): Use __attribute_const__
1481         instead of bare __attribute__.
1483 2017-06-09  Zack Weinberg  <zackw@panix.com>
1485         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1486         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1487         more appropriate location. Also add dl-tunable-list.h and
1488         dl-tunable-list.stmp.
1490 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1494 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1497         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1499         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1500         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1501         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1502         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1503         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1504         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1505         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1506         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1508 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1511         memrchr-sse2 and memrchr-avx2.
1512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1513         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1514         __memrchr_sse2.
1515         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1516         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1517         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1519 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1522         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1523         wcschr-sse2 and wcschr-avx2.
1524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1525         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1526         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1527         __wcschr_sse2.
1528         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1529         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1530         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1531         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1532         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1533         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1534         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1535         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1536         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1537         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1539 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1542         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1543         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1545         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1546         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1547         __wcslen_sse2 and __wcsnlen_avx2.
1548         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1549         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1550         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1551         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1552         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1553         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1554         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1555         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1556         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1557         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1558         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1559         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1560         vzeroupper is preferred and AVX unaligned load is fast.
1562 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1564         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1565         USE_AS_WMEMCHR is defined.
1566         (PCMPEQ): Likewise.
1567         (memchr): Renamed to ...
1568         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1569         Replace pcmpeqb with PCMPEQ.
1570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1571         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1572         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1573         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1574         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1575         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1576         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1577         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1578         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1579         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1580         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1581         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1582         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1584         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1585         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1586         __wmemchr_sse2.
1588 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1590         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1591         tst-dynarray-fail.
1593 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1595         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1596         * support/support_test_verify_impl.c
1597         (support_test_verify_exit_impl): Split from
1598         support_test_verify_impl.
1599         * support/check.h (TEST_VERIFY): Drop status argument from
1600         support_test_verify_impl call.
1601         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1602         (support_test_verify_impl): Remove status argument.
1603         (support_test_verify_exit_impl): Declare.
1605 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1607         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1608         mention of magic numbers in comments.
1609         (_dl_procinfo): Fix undefined behavior
1611 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1613         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1614         [XPG4].
1615         (WEXITED): Likewise.
1616         (WSTOPPED): Likewise.
1617         (WCONTINUED): Likewise.
1618         (WNOHANG): Likewise.
1619         (WNOWAIT): Likewise.
1620         (idtype_t): Likewise.
1621         (P_ALL): Likewise.
1622         (P_PID): Likewise.
1623         (P_PGID): Likewise.
1624         (id_t): Likewise.
1625         (siginfo_t): Likewise.
1626         (wait3): Likewise.
1627         (waitid): Likewise.
1628         (signal.h): Do not allow header for [XPG4].
1629         (sys/resource.h): Likewise.
1630         (si_*): Do not allow for [XPG4].
1631         (W*): Likewise.
1632         (P_*): Likewise.
1633         (BUS_): Likewise.
1634         (CLD_): Likewise.
1635         (FPE_): Likewise.
1636         (ILL_): Likewise.
1637         (POLL_): Likewise.
1638         (SEGV_): Likewise.
1639         (SI_): Likewise.
1640         (TRAP_): Likewise.
1641         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1642         variable.
1644 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1646         [BZ #21528]
1647         * elf/dl-minimal.c (__strtoul_internal): Removed.
1648         (strtoul): Likewise.
1649         * elf/dl-misc.c (_dl_strtoul): New function.
1650         * elf/dl-tunables.c (tunables_strtoul): Removed.
1651         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1652         * elf/rtld.c (process_envvars): Likewise.
1653         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1654         Likewise.
1655         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1657 2017-06-08  Zack Weinberg  <zackw@panix.com>
1659         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1660         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1661         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1662         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1663         between wctype.h and wchar.h.
1665         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1666         Install them.
1668         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1669         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1670         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1671         New wrappers.
1672         * include/stdio.h, include/wchar.h, include/wctype.h:
1673         No need to handle __need macros.
1675         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1676         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1677         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1678         * wcsmbs/wchar.h, wctype/wctype.h
1679         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1680         Use the new files instead of __need macros.
1682 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1684         * string/test-memrchr.c (test_main): Add tests for len == 0
1685         and tests for positions close to the beginning, which are
1686         equivalent to positions close to the end for memchr.
1688 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1691         comments.
1692         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1693         instead of wmemset.h.
1694         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1695         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1696         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1698 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1700         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1701         spec->info.is_binary128 to zero.
1702         * stdio-common/printf.h (printf_info): Add new member is_binary128
1703         to indicate that the number being converted to string is compatible
1704         with the IEC 60559 binary128 format.
1705         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1706         _Float128 numbers.
1707         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1708         ldbl-128/printf_fphex_macros.h
1709         (__printf_fphex): Add code to deal with _Float128 numbers.
1710         * stdio-common/printf_size.c (__printf_size): Likewise.
1711         * stdio-common/vfprintf.c (process_arg): Initialize member
1712         info.is_binary128 to zero.
1713         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1714         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1715         (strfromf128): New declaration.
1716         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1717         to one.
1718         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1719         * sysdeps/ieee754/float128/Versions: Likewise.
1720         * sysdeps/ieee754/float128/strfromf128.c: New file.
1722 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1724         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1725         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1726         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1727         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1728         (PRINT_FPHEX): New function-like macro that can be used for long
1729         double, as well as for _Float128
1731 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1733         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1734         (__printf_fp_l): Use the new macro to avoid duplicating code.
1735         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1736         (__printf_fphex): Use the new macro to avoid duplicating code.
1737         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1738         (__printf_size): Use the new macro to avoid duplicating code.
1740 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1742         * include/gmp.h: Include bits/floatn.h
1743         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1744         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1745         including stack-alloc.h.  It could have been defined by other header
1746         which not necessarily defines HAVE_ALLOCA.
1747         * sysdeps/ieee754/float128/Makefile: New file.
1748         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1749         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1750         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1751         redefine __mpn_extract_long_double to __mpn_extract_float128.
1752         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1753         _Float128 to allow float128_private.h overrides.
1755 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1757         * stdlib/fpioconst.h: Include bits/floatn.h.
1758         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1759         power of ten table should be.
1760         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1761         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1762         to include larger tables when _Float128 support is enabled.
1763         (_fpioconst_pow10): Likewise.
1765 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1767         * include/bits/types/clock_t.h: Use #include <path> instead of
1768         #include "../../path".
1769         * include/bits/types/clockid_t.h: Likewise.
1770         * include/bits/types/struct_iovec.h: Likewise.
1771         * include/bits/types/struct_itimerspec.h: Likewise.
1772         * include/bits/types/struct_osockaddr.h: Likewise.
1773         * include/bits/types/struct_sigstack.h: Likewise.
1774         * include/bits/types/struct_timespec.h: Likewise.
1775         * include/bits/types/struct_timeval.h: Likewise.
1776         * include/bits/types/struct_tm.h: Likewise.
1777         * include/bits/types/time_t.h: Likewise.
1778         * include/bits/types/timer_t.h: Likewise.
1780         [BZ #14096]
1781         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1782         America/New_York.
1784 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1786         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1787         into ...
1788         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1789         ifunc-sse4_1.h.
1791 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1793         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1794         Remove check for NULL 'buf'.
1795         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1797 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1799         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1800         include test-skeleton.c.
1801         Include support/check.h and support/test-driver.c.
1803 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1805         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1806         (_dl_aarch64_cap_flags): New array.
1807         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1808         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1809         functions.
1811         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1812         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1813         Likewise.
1814         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1815         up hwcap and hwcap_mask.
1817         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1818         (init_cpu_features): Use glibc.tune.hwcap_mask.
1819         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1821         * elf/dl-hwcaps.h: New file.
1822         * elf/dl-hwcaps.c: Include it.
1823         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1824         glibc.tune.hwcap_mask.
1825         * elf/dl-cache.c: Include dl-hwcaps.h.
1826         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1827         glibc.tune.hwcap_mask.
1828         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1829         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1830         _dl_hwcap_mask.
1831         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1832         _dl_hwcap_mask.
1833         (process_envvars)[HAVE_TUNABLES]: Likewise.
1834         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1835         Likewise.
1836         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1837         initialize dl_hwcap_mask when tunables are enabled.
1839         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1840         guard.
1841         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1843         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1844         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1845         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1847         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1848         * elf/dl-tunables.c: Likewise.
1849         (do_tunable_update_val): New function.
1850         (__tunable_set_val): New function.
1851         (__tunable_get_val): Call CB only if the tunable was externally
1852         initialized.
1853         (tunables_strtoul): Replace strval with initialized.
1854         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1855         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1856         prevent collision.
1857         (__tunable_set_val): New function.
1858         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1859         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1860         (TUNABLE_SET_VAL): Remove.
1861         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1862         * README.tunables: Document the new macros.
1863         * malloc/arena.c (ptmalloc_init): Adjust.
1865 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1868         wcsnlen-sse4_1 and wcsnlen-c.
1869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1870         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1871         __wcsnlen_sse2.
1872         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1873         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1874         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1875         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1876         * sysdeps/x86_64/wcsnlen.S: Removed.
1878 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1880         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1881         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1882         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1883         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1885 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1887         * NEWS: Mention new spinlock implementation.
1888         * include/atomic.h:
1889         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1890         (atomic_exchange_acq): Likewise.
1891         (atomic_load_relaxed): Likewise.
1892         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1893         * nptl/pthread_spin_init.c (pthread_spin_init):
1894         Use atomic_store_relaxed.
1895         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1896         Use C11-like atomic macros.
1897         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1898         Likewise.
1899         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1900         Use atomic_store_release.
1901         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1902         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1903         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1904         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1905         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1906         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1907         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1908         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1909         * sysdeps/alpha/atomic-machine.h: Likewise.
1910         * sysdeps/arm/atomic-machine.h: Likewise.
1911         * sysdeps/i386/atomic-machine.h: Likewise.
1912         * sysdeps/ia64/atomic-machine.h: Likewise.
1913         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1914         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1915         * sysdeps/microblaze/atomic-machine.h: Likewise.
1916         * sysdeps/mips/atomic-machine.h: Likewise.
1917         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1918         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1919         * sysdeps/s390/atomic-machine.h: Likewise.
1920         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1921         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1922         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1923         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1924         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1925         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1926         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1927         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1928         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1929         * sysdeps/x86_64/atomic-machine.h: Likewise.
1931 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1933         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1934         and use it instead of dl_x86_cpu_features.
1935         (handle_intel): Replace maxidx with cpu_features.  Pass
1936         cpu_features to intel_check_word.
1937         (__cache_sysconf): Pass cpu_features to handle_intel.
1938         (init_cacheinfo): Likewise.  Use cpu_features instead of
1939         dl_x86_cpu_features.
1941 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1943         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1945         memcmp-avx2 and wmemcmp-avx2.
1946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1947         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1948         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1949         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1950         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1951         2 machines if AVX unaligned load is fast and vzeroupper is
1952         preferred.
1953         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1954         2 machines if AVX unaligned load is fast and vzeroupper is
1955         preferred.
1957 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1959         * include/wchar.h (__wmemset_chk): New.
1960         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1961         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1962         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1963         (WMEMSET_CHK_SYMBOL): Likewise.
1964         (WMEMSET_SYMBOL): Likewise.
1965         (__wmemset): Add hidden definition.
1966         (wmemset): Add weak hidden definition.
1967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1968         wmemset_chk-nonshared.
1969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1970         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1971         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1972         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1973         and __wmemset_chk_avx512_unaligned.
1974         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1975         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1976         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1977         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1978         (WMEMSET_SYMBOL): Likewise.
1979         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1980         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1981         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1982         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1983         (WMEMSET_SYMBOL): Likewise.
1984         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1985         (WMEMSET_CHK_SYMBOL): New.
1986         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1987         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1988         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1989         (libc_hidden_builtin_def): Also define __GI_wmemset and
1990         __GI___wmemset.
1991         (weak_alias): New.
1992         * sysdeps/x86_64/multiarch/wmemset.c: New file.
1993         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1994         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1995         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1996         * sysdeps/x86_64/wmemset.c: Likewise.
1997         * sysdeps/x86_64/wmemset_chk.c: Likewise.
1999 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2000             H.J. Lu  <hongjiu.lu@intel.com>
2002         * sysdeps/x86/init-arch.h (PASTER1): New.
2003         (EVALUATOR1): Likewise.
2004         (PASTER2): Likewise.
2005         (EVALUATOR2): Likewise.
2006         (REDIRECT_NAME): Likewise.
2007         (OPTIMIZE): Likewise.
2008         (IFUNC_SELECTOR): Likewise.
2010 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2012         * sysdeps/x86_64/strlen.S (PMINU): New.
2013         (PCMPEQ): Likewise.
2014         (SHIFT_RETURN): Likewise.
2015         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2016         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2017         pminub with PCMPEQ and PMINU.
2018         * sysdeps/x86_64/wcsnlen.S: New file.
2020 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2022         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2023         the lower 32 bits.  Remove redundant instructions.
2025 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2028         0 as the high part of offset.
2029         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2031 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2033         [BZ #21538]
2034         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2035         [__USE_UNIX98].
2036         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2037         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2038         Likewise.
2039         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2040         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2041         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2042         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2043         Likewise.
2045         [BZ #21517]
2046         * bits/types/stack_t.h (stack_t): Remove struct tag.
2047         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2048         Likewise.
2049         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2050         Likewise.
2051         * debug/segfault.c (install_handler): Use stack_t instead of
2052         struct sigaltstack.
2053         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2054         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2055         * include/signal.h (__sigaltstack): Likwise.
2056         * signal/sigaltstack.c (__sigaltstack): Likewise.
2057         * signal/signal.h (sigaltstack): Likewise.
2058         * sysdeps/mach/hurd/i386/signal-defines.sym
2059         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2060         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2061         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2062         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2063         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2064         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2065         elf_prstatus): Likewise.
2066         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2067         Likewise.
2068         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2069         Likewise.
2070         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2071         Likewise.
2072         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2073         elf_prstatus): Likewise.
2074         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2075         Likewise.
2076         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2077         Likewise.
2079 2017-06-04  Zack Weinberg  <zackw@panix.com>
2081         * sysdeps/gnu/errlist.c: Regenerate.
2083 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2085         * benchtests/bench-memchr.c (do_test): Print out both length
2086         and position.
2087         (test_main): Also test the position close to the beginning for
2088         memrchr.
2090 2017-06-04  Zack Weinberg  <zackw@panix.com>
2092         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2093         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2094         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2095         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2096         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2097         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2098         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2099         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2100         * nis/nis_print_group_entry.c, nis/nis_remove.c
2101         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2102         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2103         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2104         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2105         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2106         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2107         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2108         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2109         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2110         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2111         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2112         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2113         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2114         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2115         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2116         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2117         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2118         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2119         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2120         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2122         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2123         abi-versions.h as well as shlib-compat.h.
2124         * sunrpc/get_myaddr.c: Remove obsolete comment.
2125         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2126         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2127         * resolv/res_libc.c: Include shlib-compat.h only once.
2129 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2132         of strdup.
2134 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2136         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2137         Set to the 3/4 of the total shared cache size.
2139 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2141         * manual/errno.texi: Remove redundant error strings.
2142         * manual/macros.texi (@errno): Render the error string in every
2143         description.
2145 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2147         [BZ #21543]
2148         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2149         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2150         [__USE_XOPEN_EXTENDED].
2152 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2154         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2155         strdupa.
2156         (getcanonname): Use __strdup instead of strdup.
2158 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2160         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2161         (CFLAGS-preadv64v2.c): Likewise.
2162         (CFLAGS-pwritev2.c): Likewise.
2163         (CFLAGS-pwritev64v2.c): Likewise.
2165 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2167         Test res_init with several configuration files.
2168         * resolv/Makefile [build-shared] (tests-internal): Add
2169         tst-resolv-res_init, tst-resolv-res_init-thread.
2170         (tst-resolv-res_init): Link against libdl, libresolv.
2171         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2172         libpthread.
2173         * resolv/tst-resolv-res_init.c: New file.
2174         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2175         * resolv/tst-resolv-res_init-thread.c: Likewise.
2176         * support/Makefile (libsupport-routines): Add support-xstat,
2177         support_can_chroot, support_capture_subprocess_check,
2178         support_isolate_in_subprocess, support_shared_allocate,
2179         support_write_file_string, xchroot, xmkdir, xopen.
2180         * support/capture_subprocess.h (enum support_capture_allow): Define.
2181         (support_capture_subprocess_check): Declare.
2182         * support/namespace.h (support_can_chroot)
2183         (support_isolate_in_subprocess): Declare.
2184         * support/support-xstat.c: New file.
2185         * support/support.h (support_shared_allocate, support_shared_free)
2186         (support_write_file_string): Declare.
2187         * support/support_can_chroot.c: New file.
2188         * support/support_capture_subprocess_check.c: Likewise.
2189         * support/support_isolate_in_subprocess.c: Likewise.
2190         * support/support_shared_allocate.c: Likewise.
2191         * support/support_write_file_string.c: Likewise.
2192         * support/xchroot.c: Likwise.
2193         * support/xmkdir.c: Likwise.
2194         * support/xopen.c: Likwise.
2195         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2197 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2199         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2200         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2202 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2204         * malloc/Makefile (routines): Add dynarray_at_failure,
2205         dynarray_emplace_enlarge, dynarray_finalize.
2206         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2207         tst-dynarray-at-fail.
2208         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2209         (tests-special): Add tst-dynarray-mem.out,
2210         tst-dynarray-mem-fail.out.
2211         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2212         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2213         mtrace.
2214         * malloc/Versions (__libc_dynarray_at_failure)
2215         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2216         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2217         GLIBC_PRIVATE.
2218         * malloc/dynarray.h: New file.
2219         * malloc/dynarray-skeleton.c: Likewise.
2220         * malloc/dynarray_at_failure.c: Likewise.
2221         * malloc/dynarray_emplace_enlarge.c: Likewise.
2222         * malloc/dynarray_finalize.c: Likewise.
2223         * malloc/dynarray_resize.c: Likewise.
2224         * malloc/dynarray_resize_clear.c: Likewise.
2225         * malloc/tst-dynarray.c: Likewise.
2226         * malloc/tst-dynarray-fail.c: Likewise.
2227         * malloc/tst-dynarray-at-fail.c: Likewise.
2228         * malloc/tst-dynarray-shared.h: Likewise.
2229         * support/Makefile (libsupport-routines): Add
2230         support_capture_subprocess, xdup2, xpipe.
2231         (tests): Add tst-support_capture_subprocess.
2232         * support/capture_subprocess.h: New file.
2233         * support/support_capture_subprocess.c: Likewise.
2234         * support/tst-support_capture_subprocess.c: Likewise.
2235         * support/xdup2.c: Likewise.
2236         * support/xpipe.c: Likewise.
2237         * support/xunistd.h (xdup2, xpipe): Declare.
2239 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2241         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2242         macros MAX and MIN.
2244 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2246         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2247         [XPG4].
2248         (SA_SIGINFO): Likewise.
2249         (SA_ONSTACK): Likewise.
2250         (SA_RESETHAND): Likewise.
2251         (SA_RESTART): Likewise.
2252         (SA_NOCLDWAIT): Likewise.
2253         (SA_NODEFER): Likewise.
2254         (SS_ONSTACK): Likewise.
2255         (SS_DISABLE): Likewise.
2256         (MINSIGSTKSZ): Likewise.
2257         (SIGSTKSZ): Likewise.
2258         (ucontext_t): Likewise.
2259         (stack_t): Likewise.
2260         (struct sigstack): Likewise.
2261         (SI_USER): Do not expect for [XPG4 || XPG42].
2262         (SI_QUEUE): Likewise.
2263         (SI_TIMER): Likewise.
2264         (SI_ASYNCIO): Likewise.
2265         (SI_MESGQ): Likewise.
2266         (bsd_signal): Do not expect for [XPG4].
2267         (killpg): Likewise.
2268         (sigaltstack): Likewise.
2269         (sighold): Likewise.
2270         (sigignore): Likewise.
2271         (siginterrupt): Likewise.
2272         (sigpause): Likewise.
2273         (sigrelse): Likewise.
2274         (sigset): Likewise.
2275         (sigwait): Do not expect for [XPG4 || XPG42].
2277 2017-06-01  Zack Weinberg  <zackw@panix.com>
2279         [BZ #21514]
2280         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2281         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2283 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2285         [BZ #21457]
2286         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2287         NGREG to __NGREG if [__USE_MISC].
2288         (gregset_t): Define using __NGREG.
2289         (__ctx): New macro.
2290         (mcontext_t): Use __ctx in defining fields.
2291         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2292         define NGREG to __NGREG if [__USE_MISC].
2293         (gregset_t): Define using __NGREG.
2294         (__ctx): New macro.
2295         (__ctxt): Likewise.
2296         (fpregset_t): Use __ctx and __ctxt in defining fields.
2297         (mcontext_t): Likewise.
2298         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2299         define NGREG to __NGREG if [__USE_MISC].
2300         (gregset_t): Define using __NGREG.
2301         (__ctx): New macro.
2302         (mcontext_t): Use __ctx in defining fields.
2303         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2304         define NGREG to __NGREG if [__USE_MISC].
2305         (gregset_t): Define using __NGREG.
2306         (__ctx): New macro.
2307         (fpregset_t): Use __ctx in defining fields.
2308         (mcontext_t): Likewise.
2309         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2310         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2311         (gregset_t): Define using __NGREG.
2312         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2313         [__USE_MISC].
2314         (fpregset_t): Define using __NFPREG.
2315         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2316         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2317         (gregset_t): Define using __NGREG.
2318         (__ctx): New macro.
2319         (fpregset_t): Use __ctx in defining fields.
2320         (mcontext_t): Likewise.
2321         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2322         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2323         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2324         [__USE_MISC].
2325         (gregset_t): Define using __NGREG.
2326         (__ctx): New macro.
2327         (fpregset_t): Use __ctx in defining fields.
2328         (mcontext_t): Likewise.
2329         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2330         (mcontext_t): Use __ctx in defining fields.
2331         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2332         macro.
2333         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2334         __NGREG if [__USE_MISC].
2335         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2336         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2337         (mcontext_t): Likewise.
2338         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2339         __NGREG if [__USE_MISC].
2340         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2341         to __NFPREG if [__USE_MISC].
2342         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2343         to __NVRREG if [__USE_MISC].
2344         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2345         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2346         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2347         [__WORDSIZE != 32] (vrregset_t): Likewise.
2348         [__WORDSIZE != 32] (mcontext_t): Likewise.
2349         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2350         (__psw_t): Use __ctx in defining fields.
2351         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2352         [__USE_MISC].
2353         (gregset_t): Define using __NGREG.
2354         (fpreg_t): Use __ctx in defining fields.
2355         (fpregset_t): Likewise.
2356         (mcontext_t): Likewise.
2357         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2358         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2359         (gregset_t): Define using __NGREG.
2360         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2361         [__USE_MISC].
2362         (fpregset_t): Define using __NFPREG.
2363         (__ctx): New macro.
2364         (mcontext_t): Use __ctx in defining fields.
2365         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2366         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2367         __NGREG if [__USE_MISC].
2368         [__x86_64__] (gregset_t): Define using __NGREG.
2369         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2370         [__x86_64__] (struct _libc_fpstate): Likewise.
2371         [__x86_64__] (mcontext_t): Likewise.
2372         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2373         __NGREG if [__USE_MISC].
2374         [!__x86_64__] (gregset_t): Define using __NGREG.
2375         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2376         [!__x86_64__] (struct _libc_fpstate): Likewise.
2377         [!__x86_64__] (mcontext_t): Likewise.
2379 2017-06-01  Zack Weinberg  <zackw@panix.com>
2381         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2382         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2383         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2384         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2385         libpthread.so no longer references __errno_location.
2387 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2389         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2390         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2391         pwritev64v2.
2392         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2393         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2394         pwritev64v2.
2395         * misc/preadv2.c: New file.
2396         * misc/preadv64v2.c: Likewise.
2397         * misc/pwritev2.c: Likewise.
2398         * misc/pwritev64v2.c: Likewise.
2399         * misc/tst-preadvwritev2.c: Likewise.
2400         * misc/tst-preadvwritev64v2.c: Likewise.
2401         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2402         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2403         prototype.
2404         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2405         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2406         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2407         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2408         (PWRITEV): Likewise.
2409         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2410         ENOSYS.
2411         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2412         (tf_preadv2): Likewise.
2413         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2414         * sysdeps/posix/preadv2.c: Likewise.
2415         * sysdeps/posix/preadv64v2.c: Likewise.
2416         * sysdeps/posix/pwritev2.c: Likewise.
2417         * sysdeps/posix/pwritev64v2.c: Likewise.
2418         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2419         support in kernel.
2420         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2421         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2422         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2423         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2424         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2425         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2426         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2427         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2428         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2429         support flags on Linux.
2430         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2431         preadv2, preadv64v2, pwritev2, pwritev64v2.
2432         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2433         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2434         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2435         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2436         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2437         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2438         Likewise.
2439         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2440         Likewise.
2441         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2442         Likewise.
2443         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2444         Likewise.
2445         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2446         Likewise.
2447         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2448         Likewise.
2449         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2450         Likewise.
2451         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2453         (GLIBC_2.26): Likewise.
2454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2455         (GLIBC_2.26): Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2457         Likewise.
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2459         (GLIBC_2.26): Likewise.
2460         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2463         Likewise.
2464         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2465         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2466         Likewise.
2467         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2468         Likewise.
2469         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2470         Likewise.
2471         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2472         Likewise.
2473         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2474         Likewise.
2475         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2476         Likewise.
2477         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2478         Likewise.
2480 2017-05-31  Andreas Schwab  <schwab@suse.de>
2482         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2483         (main): Rename to do_test and make static.
2485 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2487         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2488         ARCH_INIT_CPU_FEATURES.
2489         (LIBC_START_MAIN): Call it.
2490         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2491         (__libc_start_main): Remove.
2492         (ARCH_INIT_CPU_FEATURES): New macro.
2493         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2494         (ARCH_INIT_CPU_FEATURES): New macro.
2496 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2497             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2499         * include/stdlib.h (__libc_reallocarray): New declaration.
2500         * malloc/Makefile (routines): Add reallocarray.
2501         (tests): Add tst-reallocarray.c.
2502         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2503         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2504         function.
2505         * malloc/malloc.h (reallocarray): New declaration.
2506         * stdlib/stdlib.h (reallocarray): Likewise.
2507         * malloc/reallocarray.c: New file.
2508         * malloc/tst-reallocarray.c: New test file.
2509         * manual/memory.texi: Document reallocarray.
2510         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2511         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2512         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2513         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2514         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2515         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2516         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2517         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2518         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2519         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2522         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2523         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2527         Likewise.
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2530         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2531         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2532         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2533         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2534         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2537         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2538         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2539         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2541 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2543         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2544         the lower 32 bits.
2546 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2548         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2549         $(build-pie-default) = yes]: Define.
2551 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2553         * string/test-memchr.c (test_main): Add tests for n == 0.
2555 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2557         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2558         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2559         (tests-internal): ... here.
2561 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2562              H.J. Lu  <hongjiu.lu@intel.com>
2564         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2565         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2566         (__tunable_set_val): Likewise.
2568 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2570         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2571         dl-tunables.list in subdirectories.
2573 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2574             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2575             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2577         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2578         (SNANF128): New macro.
2579         * math/e_sqrtf128.c: New file.
2580         * math/s_fmaxmag_template.c: Include math_private.h in order to
2581         make inline expansion of fabs128().
2582         * math/s_fminmag_template.c: Likewise.
2584         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2585         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2586         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2587         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2588         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2589         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2590         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2591         * sysdeps/ieee754/float128/e_expf128.c: New file.
2592         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2593         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2594         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2595         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2596         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2597         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2598         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2599         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2600         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2601         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2602         * sysdeps/ieee754/float128/e_logf128.c: New file.
2603         * sysdeps/ieee754/float128/e_powf128.c: New file.
2604         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2605         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2606         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2607         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2608         * sysdeps/ieee754/float128/float128_private.h: New file.
2609         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2610         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2611         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2612         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2613         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2614         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2615         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2616         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2617         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2618         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2619         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2620         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2621         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2622         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2623         * sysdeps/ieee754/float128/s_erff128.c: New file.
2624         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2625         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2626         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2627         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2628         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2629         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2630         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2631         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2632         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2633         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2634         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2635         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2636         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2637         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2638         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2639         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2640         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2641         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2642         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2643         * sysdeps/ieee754/float128/s_modff128.c: New file.
2644         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2645         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2646         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2647         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2648         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2649         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2650         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2651         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2652         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2653         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2654         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2655         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2656         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2657         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2658         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2659         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2660         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2661         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2662         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2663         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2664         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2665         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2666         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2667         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2668         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2670         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2671         (__iscanonicalf128): Define as a macro.
2673 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2675         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2676         (memmove): Use MEMMOVE for name.
2677         (memcpy): Use MEMCPY for name.  Change internal labels
2678         to external labels.
2679         * sysdeps/aarch64/multiarch/Makefile: New file.
2680         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2681         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2682         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2683         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2684         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2685         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2687 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2689         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2690         (_dl_arm_cap_flags): Fix array subscript.
2691         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2692         Fix count.
2694 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2696         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2698 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2700         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2701         (is_amd): Likewise.
2702         (max_cpuid): Likewise.
2703         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2704         (init_cacheinfo): Likewise.
2706 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2708         [BZ #21511]
2709         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2710         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2711         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2712         !__USE_XOPEN2K) || __USE_MISC].
2713         * conform/data/signal.h-data (struct sigstack): Expect type only
2714         if [!XOPEN2K8 && !POSIX2008].
2715         (sigstack): Expect function only if [XPG42 || UNIX98].
2717         [BZ #21457]
2718         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2719         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2720         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2721         <bits/types/__sigset_t.h>.
2722         (ucontext_t): Use sigset_t instead of __sigset_t.
2723         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2724         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2725         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2726         <bits/types/__sigset_t.h>.
2727         (ucontext_t): Use sigset_t instead of __sigset_t.
2728         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2729         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2730         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2731         <bits/types/__sigset_t.h>.
2732         (ucontext_t): Use sigset_t instead of __sigset_t.
2733         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2734         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2735         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2736         <bits/types/__sigset_t.h>.
2737         (ucontext_t): Use sigset_t instead of __sigset_t.
2738         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2739         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2740         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2741         <bits/types/__sigset_t.h>.
2742         (ucontext_t): Use sigset_t instead of __sigset_t.
2743         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2744         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2745         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2746         <bits/types/__sigset_t.h>.
2747         (ucontext_t): Use sigset_t instead of __sigset_t.
2748         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2749         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2750         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2751         <bits/types/__sigset_t.h>.
2752         (ucontext_t): Use sigset_t instead of __sigset_t.
2753         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2754         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2755         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2756         <bits/types/__sigset_t.h>.
2757         (ucontext_t): Use sigset_t instead of __sigset_t.
2758         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2759         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2760         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2761         <bits/types/__sigset_t.h>.
2762         (ucontext_t): Use sigset_t instead of __sigset_t.
2763         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2764         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2765         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
2766         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2767         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2768         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2769         <bits/types/__sigset_t.h>.
2770         (ucontext_t): Use sigset_t instead of __sigset_t.
2771         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2772         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2773         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2774         <bits/types/__sigset_t.h>.
2775         (ucontext_t): Use sigset_t instead of __sigset_t.
2776         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2777         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2778         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2779         <bits/types/__sigset_t.h>.
2780         (ucontext_t): Use sigset_t instead of __sigset_t.
2781         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2782         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2783         <bits/ss_flags.h>.
2784         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2785         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2786         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2787         <bits/types/__sigset_t.h>.
2788         (ucontext_t): Use sigset_t instead of __sigset_t.
2789         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2790         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2791         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2792         <bits/types/__sigset_t.h>.
2793         (ucontext_t): Use sigset_t instead of __sigset_t.
2794         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2795         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2796         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2797         <bits/types/__sigset_t.h>.
2798         (ucontext_t): Use sigset_t instead of __sigset_t.
2799         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2800         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2801         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2802         <bits/types/__sigset_t.h>.
2803         (ucontext_t): Use sigset_t instead of __sigset_t.
2804         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2805         <bits/types.h>.
2806         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2807         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2808         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2809         <bits/types/__sigset_t.h>.
2810         (ucontext_t): Use sigset_t instead of __sigset_t.
2812 2017-05-22  Zack Weinberg  <zackw@panix.com>
2814         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2815         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2816         bits/siginfo-arch.h, only if not already defined.
2817         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2818         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2819         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2820         Likewise.
2822         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2823         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2824         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2825         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2826         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2827         Unconditionally define __SI_* macros.
2829 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2831         [BZ #21393]
2832         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2833         and add a check for dup3 failure.
2834         * libio/freopen64.c (freopen64): Likewise.
2835         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2836         libsupport.
2837         (do_test_bz21398): New test.
2838         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2840 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2842         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2843         Remove invalid comment.
2845 2017-05-21  Zack Weinberg  <zackw@panix.com>
2847         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2849 2017-05-20  Zack Weinberg  <zackw@panix.com>
2851         * bits/sigevent-consts.h
2852         * bits/siginfo-consts.h
2853         * bits/types/__sigset_t.h
2854         * bits/types/sigevent_t.h
2855         * bits/types/siginfo_t.h
2856         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2857         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2858         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2859         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2860         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2861         New system-dependent bits headers.
2863         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2864         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2865         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2866         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2867         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2868         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2869         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2870         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2871         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2872         New Linux-only system-dependent bits headers.
2874         * signal/bits/types/sig_atomic_t.h
2875         * signal/bits/types/sigset_t.h
2876         * signal/bits/types/sigval_t.h:
2877         New non-system-dependent bits headers.
2879         * sysdeps/generic/sigsetops.h
2880         * sysdeps/unix/sysv/linux/sigsetops.h:
2881         New internal headers.
2883         * include/bits/types/sig_atomic_t.h
2884         * include/bits/types/sigset_t.h
2885         * include/bits/types/sigval_t.h:
2886         New wrappers.
2888         * signal/sigsetops.h
2889         * bits/siginfo.h
2890         * bits/sigset.h
2891         * sysdeps/unix/sysv/linux/bits/siginfo.h
2892         * sysdeps/unix/sysv/linux/bits/sigset.h
2893         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2894         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2895         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2897         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2898         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2899         Deleted.
2901         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2902         Update lists of installed headers.
2904         * posix/bits/types.h: Define __sig_atomic_t here.
2905         * signal/signal.h: Use the new bits headers; no need to handle
2906         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2907         to define sigmask.
2908         * include/signal.h: No need to handle __need_sig_atomic_t
2909         nor __need_sigset_t.  Don't define __sigemptyset.
2911         * io/sys/poll.h, setjmp/setjmp.h
2912         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2913         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2914         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2915         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2916         * sysdeps/pthread/bits/sigthread.h
2917         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2918         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2919         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2920         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2921         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2922         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2923         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2924         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2925         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2926         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2927         Use bits/types/__sigset_t.h.
2929         * misc/sys/select.h, posix/spawn.h
2930         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2931         * sysdeps/unix/sysv/linux/sys/epoll.h
2932         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2933         Use bits/types/sigset_t.h.
2935         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2936         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2937         * socket/sys/socket.h: Don't include bits/sigset.h.
2939         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2940         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2941         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2942         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2943         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2944         * sysdeps/unix/sysv/linux/nptl-signals.h:
2945         Include sigsetops.h.
2947         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2948         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2949         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2950         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2951         now return no value.
2953         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2954         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2955         "sigsetops.h".
2957         * signal/sigsetops.c: Explicitly define __sigismember,
2958         __sigaddset, and __sigdelset as compatibility symbols.
2960         * signal/Versions: Correct commentary on __sigpause,
2961         __sigaddset, __sigdelset, __sigismember.
2963         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2964         __sigblock/__sigsetmask to use __sigprocmask and friends.
2966         * resolv/resolv.h: Remove __need_res_state logic.
2967         Move definition of res_state and related constants to ...
2968         * resolv/bits/types/res_state.h: ...this new file.
2969         * resolv/Makefile: Install bits/types/res_state.h.
2970         * include/bits/types/res_state.h: New wrapper.
2971         * include/list.h: Remove __need_list_t logic.
2972         Move definition of list_t to ...
2973         * include/list_t.h: ...this new file.
2975         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2976         instead of list.h and resolv.h.
2978         * resolv/resolv.h: Remove __need_res_state logic.
2979         Move definition of res_state and related constants to ...
2980         * resolv/bits/types/res_state.h: ...this new file.
2981         * resolv/Makefile: Install bits/types/res_state.h.
2982         * include/bits/types/res_state.h: New wrapper.
2983         * include/list.h: Remove __need_list_t logic.
2984         Move definition of list_t to ...
2985         * include/list_t.h: ...this new file.
2987         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2988         instead of list.h and resolv.h.
2990 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2992         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2994 2017-05-20  Zack Weinberg  <zackw@panix.com>
2996         * sysdeps/arm/sysdep.h
2997         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2999         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3000         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3001         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3002         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3003         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3004         * sysdeps/arm/armv6t2/strlen.S
3005         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3006         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3007         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3008         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3009         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3010         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3012 2017-05-20  Zack Weinberg  <zackw@panix.com>
3014         Remove the NaCl port.
3015         * sysdeps/arm/nacl: Remove directory and contents.
3016         * sysdeps/nacl: Remove directory and contents.
3017         * abi-tags: Remove .*-.*-nacl.* entry.
3019 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3021         * manual/errno.texi: Convert @comment-based errno documentation to
3022         @errno.
3023         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3024         their values, and messages, adding the error string to the Concept
3025         Index.  Provide a warning in the comment about external (to the
3026         manual) dependencies.
3027         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3028         * sysdeps/mach/hurd/errnos.awk: Likewise.
3030 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3032         * bits/ss_flags.h: New file.
3033         * bits/types/stack_t.h: Likewise.
3034         * include/bits/types/struct_sigstack.h: Likewise.
3035         * signal/bits/types/struct_sigstack.h: Likewise.
3036         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3037         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3038         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3039         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3040         bits/types/stack_t.h and bits/ss_flags.h.
3041         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3042         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3043         <bits/ss_flags.h>.
3044         * bits/sigstack.h (struct sigstack): Remove.
3045         (stack_t): Likewise.
3046         (SS_ONSTACK): Likewise.
3047         (SS_DISABLE): Likewise.
3048         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3049         (struct sigstack): Likewise.
3050         (stack_t): Likewise.
3051         (SS_ONSTACK): Likewise.
3052         (SS_DISABLE): Likewise.
3053         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3054         Likewise.
3055         (stack_t): Likewise.
3056         (SS_ONSTACK): Likewise.
3057         (SS_DISABLE): Likewise.
3058         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3059         Likewise.
3060         (stack_t): Likewise.
3061         (SS_ONSTACK): Likewise.
3062         (SS_DISABLE): Likewise.
3063         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3064         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3065         Likewise.
3066         (stack_t): Likewise.
3067         (SS_ONSTACK): Likewise.
3068         (SS_DISABLE): Likewise.
3069         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3070         (struct sigstack): Likewise.
3071         (stack_t): Likewise.
3072         (SS_ONSTACK): Likewise.
3073         (SS_DISABLE): Likewise.
3074         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3075         Likewise.
3076         (stack_t): Likewise.
3077         (SS_ONSTACK): Likewise.
3078         (SS_DISABLE): Likewise.
3079         * sysdeps/arm/sys/ucontext.h: Include
3080         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3081         <bits/ss_flags.h>.
3082         * sysdeps/generic/sys/ucontext.h: Likewise.
3083         * sysdeps/i386/sys/ucontext.h: Likewise.
3084         * sysdeps/m68k/sys/ucontext.h: Likewise.
3085         * sysdeps/mips/sys/ucontext.h: Likewise.
3086         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3087         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3088         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3089         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3090         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3091         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3092         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3093         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3094         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3095         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3096         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3097         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3098         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3099         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3100         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3102 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3104         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3105         "edx + ecx - 16" to avoid possible addition overflow.
3106         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3108 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3110         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3111         (CFLAGS-splice.c): Likewise.
3112         (CFLAGS-open_by_handle_at.c): Likewise.
3113         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3114         (CFLAGS-splice.c): Likewise.
3115         (CFLAGS-open_by_handle_at.c): Likewise.
3117 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3119         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3120         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3121         <ldbl-compat-choose.h>.
3122         (maybe_long_double_symbol): New macro.
3123         [!declare_mgen_alias] (declare_mgen_alias): Use
3124         maybe_long_double_symbol.
3125         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3126         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3127         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3128         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3129         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3130         * Makerules [$(build-shared) = yes && !avoid-generated]
3131         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3132         [$(build-shared) = yes && !avoid-generated]
3133         ($(common-objpfx)ldbl-compat-choose.h): New target.
3135         * scripts/versions.awk: Generate first-versions.h.
3136         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3137         <first-versions.h>.
3138         (LDOUBLE_cabsl_libm_version): Remove macro.
3139         (LDOUBLE_cargl_libm_version): Likewise.
3140         (LDOUBLE_cimagl_libm_version): Likewise.
3141         (LDOUBLE_conjl_libm_version): Likewise.
3142         (LDOUBLE_creall_libm_version): Likewise.
3143         (LDOUBLE_cacosl_libm_version): Likewise.
3144         (LDOUBLE_cacoshl_libm_version): Likewise.
3145         (LDOUBLE_ccosl_libm_version): Likewise.
3146         (LDOUBLE_ccoshl_libm_version): Likewise.
3147         (LDOUBLE_casinl_libm_version): Likewise.
3148         (LDOUBLE_csinl_libm_version): Likewise.
3149         (LDOUBLE_casinhl_libm_version): Likewise.
3150         (LDOUBLE_csinhl_libm_version): Likewise.
3151         (LDOUBLE_catanl_libm_version): Likewise.
3152         (LDOUBLE_catanhl_libm_version): Likewise.
3153         (LDOUBLE_ctanl_libm_version): Likewise.
3154         (LDOUBLE_ctanhl_libm_version): Likewise.
3155         (LDOUBLE_cexpl_libm_version): Likewise.
3156         (LDOUBLE_clogl_libm_version): Likewise.
3157         (LDOUBLE_cprojl_libm_version): Likewise.
3158         (LDOUBLE_csqrtl_libm_version): Likewise.
3159         (LDOUBLE_cpowl_libm_version): Likewise.
3160         (LDOUBLE_clog10l_libm_version): Likewise.
3161         (LDOUBLE___clog10l_libm_version): Likewise.
3162         (LDOUBLE_fdiml_libm_version): Likewise.
3163         (LDOUBLE_fmaxl_libm_version): Likewise.
3164         (LDOUBLE_fminl_libm_version): Likewise.
3165         (LDOUBLE_ilogbl_libm_version): Likewise.
3166         (LDOUBLE_nanl_libm_version): Likewise.
3167         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3168         FIRST_VERSION_libm_* macros.
3169         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3170         * Makerules [$(build-shared) = yes && !avoid-generated]
3171         (before-compile): Add $(common-objpfx)first-versions.h.
3172         [$(build-shared) = yes && !avoid-generated]
3173         ($(common-objpfx)first-versions.h): New target.
3174         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3175         building $(common-objpfx)versions.stmp.
3177 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3179         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3180         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3181         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3182         auto-generation list.
3184         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3185         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3186         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3187         from auto-generation list.
3189         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3190         open_by_handle_at.
3191         (CFLAGS-open_by_handle_at.c): New flag.
3192         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3193         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3194         file.
3195         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3197         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3198         (CFLAGS-splice.c): New flag.
3199         * sysdeps/unix/sysv/linux/splice.c: New file.
3200         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3201         auto-generation syscall list.
3202         * misc/Makefile (CFLAGS-splice.c): New rule.
3204         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3205         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3206         auto-generation syscall list.
3207         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3208         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3210         * misc/Makefile (CFLAGS-fsync.c): New flag.
3211         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3212         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3213         syscall list.
3214         * sysdeps/unix/sysv/linux/fsync.c: New file.
3215         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3216         (__errno_location): Remove.
3218         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3219         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3220         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3221         list.
3222         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3224         * misc/Makefile (CFLAGS-msync.c): New rule.
3225         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3226         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3227         * sysdeps/unix/sysv/linux/msync.c: New file.
3229         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3230         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3231         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3232         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3233         (CFLAGS-sigsuspend.c): Remove rule.
3235         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3236         (CFLAGS-tee.c): New rule.
3237         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3238         auto-generated list.
3239         * sysdeps/unix/sysv/linux/tee.c: New file.
3241         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3242         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3243         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3244         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3245         auto-generated list.
3247         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3248         auto-generated list.
3249         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3251         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3252         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3253         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3255         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3256         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3257         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3258         (__NR_pause): Undefine.
3259         * sysdeps/unix/sysv/linux/pause.c: New file.
3260         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3261         auto-generation list.
3262         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3263         Remove rule.
3264         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3266 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3268         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3269         comments.
3271 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3273         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3274         LD_HWCAP_MASK.
3276 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3278         * manual/conf.texi: Convert @tables of annotated @items to
3279         @vtables.
3280         * manual/lang.texi: Likewise.
3281         * manual/pattern.texi: Likewise.
3282         * manual/resource.texi: Likewise.
3283         * manual/socket.texi: Likewise.
3285 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3287         * manual/crypt.texi: Move a comment out of an @*x list.
3288         * manual/filesys.texi: Refactor some comments, one of which looks
3289         like a standard.  Fix incorrectly separated standards.
3290         * manual/locale.texi: Invert an annotation.
3291         * manual/resource.texi: Fix incorrectly separated standards.
3292         * manual/time.texi: Refactor a @vtable that obscures an
3293         annotation.
3294         * manual/users.texi: Refactor multiple headers to occupy a single
3295         @comment.
3297 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3299         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3300         (sysdep_routines): Add memcmp-power8.
3301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3302         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3303         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3304         (memcmp): Add __memcmp_power8 to ifunc list.
3305         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3306         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3308 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3309             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3311         * math/math.h (__MATH_TG): Extend the conditions to add
3312         _Float128 support.
3313         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3315 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3318         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3319         s_cosf-ppc64.
3320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3323         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3325 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3327         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3328         (gen-libm-calls): Add e_exp2F to use the template.
3329         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3330         * math/e_exp2_template.c: New file, renamed from
3331         math/e_exp2l.c, and made into a template.
3332         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3334 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3336         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3337         TUNABLE_TYPE_UINT_64.
3338         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3339         Simplify computation of overflow.
3340         (tunable_set_val_if_valid_range_signed,
3341         tunable_set_val_if_valid_range_unsigned): Remove and replace
3342         with this...
3343         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3344         (tunable_initialize): Adjust.  Add uint64_t support.
3345         (__tunable_set_val): Add uint64_t support.
3346         * README.tunables: Document it.
3348         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3349         dl-tunables.list.
3350         * README.tunables: Document it.
3352 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3354         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3355         * sysdeps/posix/preadv64.c: Likewise.
3356         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3357         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3358         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3359         * sysdeps/posix/pwritev64.c: Likewise.
3360         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3361         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3362         * sysdeps/posix/preadv_common.c: New file.
3363         * sysdeps/posix/pwritev_common.c: Likewise.
3365 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3367         * sysdeps/generic/math-type-macros-float128.h
3368         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3369         wrapper templates.
3371 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3372             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3374         * include/complex.h (__kernel_casinhf128): New declaration.
3375         * include/float.h: New file.
3376         * include/math.h (__finitef128): Add a hidden def.
3377         (__isinff128): Likewise.
3378         (__isnanf128): Likewise.
3379         (__fpclassify): Likewise.
3380         (__issignalling): Likewise.
3381         (__expf128): Likewise.
3382         (__expm1f128): Likewise.
3384         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3385         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3386         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3388         * sysdeps/generic/math-type-macros-float128.h: New file.
3390         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3391         math_private_calls.h for _Float128.
3392         (__isinff128): New inline implementation used when GCC < 7.0,
3393         since in this case __builtin_isinf_sign is broken.
3394         (fabsf128): New inline implementation that calls the builtin.
3395         (__EXPR_FLT128): New macro.
3396         (min_of_type): Optionally include _Float128 types too.
3398         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3399         Declare for _Float128.
3400         (__kernel_rem_pio2): Likewise.
3402         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3403         (__DECL_SIMD_sincos_disablef128): New macro.
3405 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3407         * math/math.h: Include bits/math-finite.h for float128.
3408         (__MATH_DECLARING_FLOATN): Define to control declaration of
3409         float128 functions.
3410         * math/bits/math-finite.h (pow10): Do not declare for float128.
3411         (gamma): Likewise.
3412         (scalb): Likewise.
3414 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3415             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3417         * bits/floatn.h: New file.
3418         * bits/huge_val_flt128.h: Likewise.
3420         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3421         (__DECL_SIMD_sinf128): Likewise.
3422         (__DECL_SIMD_sincosf128): Likewise.
3423         (__DECL_SIMD_logf128): Likewise.
3424         (__DECL_SIMD_expf128): Likewise.
3425         (__DECL_SIMD_powf128): Likewise.
3427         * math/Makefile (headers): Install bits/floatn.h and
3428         bits/huge_val_flt128.h.
3430         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3431         defined.
3433         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3434         (isnan, gamma, nexttoward, scalb): Only define if not
3435         __MATH_DECLARING_FLOATN.
3436         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3437         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3438         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3439         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3441         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3442         Include bits/cmathcalls.h to get the declarations of _Float128
3443         versions of complex functions.
3444         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3445         Define macro.
3447         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3448         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3449         get the declarations of _Float128 versions of math functions.
3450         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3451         _FloatN types.
3452         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3453         is type-generic, so use it without __MATH_TG.
3454         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3455         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3456         _Float128 type and GCC < 7.0, otherwise use the builtin.
3457         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3458         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3459         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3460         New _GNU_SOURCE enabled macros.
3462 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3464         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3465         (signbitf): Likewise.
3466         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3467         Likewise.
3468         (signbitl): Likewise.
3469         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3470         Likewise.
3471         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3472         (signbitl): Likewise.
3473         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3475 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3477         [BZ #21386]
3478         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3479         parent PID.  The assertion in the child is incorrect with PID
3480         namespaces.
3482 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3484         * sysdeps/unix/sysv/linux/kernel-features.h
3485         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3486         * sysdeps/unix/sysv/linux/internal_statvfs.c
3487         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3489 2017-05-11  Zack Weinberg  <zackw@panix.com>
3491         * Makerules: New subdir configuration variables 'tests-internal'
3492         and 'test-internal-extras'.  Test files in these categories will
3493         still be compiled with MODULE_NAME=nonlib.  Test files in the
3494         existing categories (tests, xtests, test-srcs, test-extras) are
3495         now compiled with MODULE_NAME=testsuite.
3496         New subdir configuration variable 'modules-names-tests'.  Files
3497         which are in both 'modules-names' and 'modules-names-tests' will
3498         be compiled with MODULE_NAME=testsuite instead of
3499         MODULE_NAME=extramodules.
3500         (gen-as-const-headers): Move to tests-internal.
3501         (do-tests-clean, common-mostlyclean): Support tests-internal.
3502         * Makeconfig (built-modules): Add testsuite.
3503         * Makefile: Change libof-check-installed-headers-c and
3504         libof-check-installed-headers-cxx to 'testsuite'.
3505         * Rules: Likewise.  Support tests-internal.
3506         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3507         Remove extra-modules.mk.
3509         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3510         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3511         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3512         very top of the file and rationalize their order.
3513         If MODULE_NAME is not defined at all, define IS_IN to always be
3514         false, and don't define _ISOMAC.
3515         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3516         true, define _ISOMAC and suppress everything else in this file,
3517         starting with the inclusion of config.h.
3518         Do check for inappropriate definitions of __OPTIMIZE__ and
3519         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3520         Correct some out-of-date commentary.
3522         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3523         and _Mlong_double_ before including math.h.
3524         * include/string.h: If _ISOMAC is defined, don't expose
3525         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3526         location.
3528         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3529         * include/time.h, include/unistd.h, include/wchar.h: No need to
3530         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3532         * misc/sys/cdefs.h (__NTHNL): New macro.
3533         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3534         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3536         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3537         defined, for HAVE_TUNABLES.
3538         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3539         * intl/tst-gettext2.c: Provide own definition of N_.
3540         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3541         * math/test-signgam-main.c: No need to define _ISOMAC.
3542         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3543         * stdlib/tst-strtod1i.c: ...this new file.
3544         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3545         Split tests of __strtod_internal to...
3546         * stdlib/tst-strtod5i.c: ...this new file.
3547         * string/test-string.h: Include stdint.h. Duplicate definition of
3548         inhibit_loop_to_libcall here (from libc-symbols.h).
3549         * string/test-strstr.c: Provide dummy definition of
3550         libc_hidden_builtin_def when including strstr.c.
3551         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3552         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3553         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3554         Don't include init-arch.h.
3555         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3556         Don't include init-arch.h.
3558         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3559         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3560         unload, unload2, circleload1, neededtest, neededtest2,
3561         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3562         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3563         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3564         ifunc tests to tests-internal.
3565         Don't add $(modules-names) to test-extras.
3566         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3567         Add tst-deadline to tests-static-internal.
3568         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3569         tests-internal.
3570         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3571         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3572         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3573         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3574         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3575         Link tests-internal with libpthread also.
3576         Don't add $(modules-names) to test-extras.
3577         * nss/Makefile: Move tst-field to tests-internal.
3578         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3579         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3580         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3581         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3582         tests-internal.
3583         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3584         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3585         test-get_hwcap-static to tests-internal.
3586         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3587         tests-internal.
3588         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3589         modules-names-tests.
3591 2017-05-11  Zack Weinberg  <zackw@panix.com>
3593         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3594         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3595         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3596         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3597         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3598         already defined.
3599         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3600         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3601         appropriately.
3602         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3603         Define _IO_lock_t_defined after defining _IO_lock_t.
3605 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3607         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3608         void* for argument type and use VDSO_SYMBOL macro.
3609         (is_sigtramp_address_rt): Likewise.
3610         (__backtrace): Setup expected frame pointer address for signal
3611         handling.
3612         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3613         void* for argumetn type and use VSDO_SYMBOL macro.
3614         (__backtrace): Setup expected frame pointer address for signal
3615         handling.
3617         * sysdeps/unix/sysv/linux/writev.c: New file.
3619         * sysdeps/unix/sysv/linux/readv.c: New file.
3621         * include/unistd.h (write): Add hidden proto.
3622         * io/Makefile (CFLAGS-write.c): New define.
3623         * nptl/Makefile (CFLAGS-write.c): Likewise.
3624         * sysdeps/unix/sysv/linux/write.c: New file.
3626         [BZ #21428]
3627         * include/unistd.h (read): Add hidden proto.
3628         * io/Makefile (CFLAGS-read.c): New define.
3629         * nptl/Makefile (CFLAGS-read.c): Likewise.
3630         * sysdeps/unix/sysv/linux/read.c: New file.
3632         * io/Makefile (CFLAGS-creat.c): New rule.
3633         (CFLAGS-creat64.c): Likewise.
3634         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3635         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3636         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3637         * sysdeps/unix/sysv/linux/creat.c: New file.
3638         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3639         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3640         auto-generated list.
3641         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3643         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3644         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3645         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3646         * sysdeps/unix/sysv/linux/open.c: New file.
3647         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3648         iff __WORDSIZE != 64 and use __NR_openat when available.
3649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3650         from auto-generated list.
3652         * nptl/Makefile (CFLAGS-close.c): New flag.
3653         * sysdeps/unix/sysv/linux/close.c: New file.
3655 2017-05-11  DJ Delorie  <dj@redhat.com>
3657         * MAINTAINERS: New.  Points to wiki.
3659 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3661         * scripts/gen-tunables.awk: Add attribute_relro to
3662         tunable_list.
3664 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3666         [BZ #21457]
3667         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3668         (R1): Likewise.
3669         (R2): Likewise.
3670         (R3): Likewise.
3671         (R4): Likewise.
3672         (R5): Likewise.
3673         (R6): Likewise.
3674         (R7): Likewise.
3675         (R8): Likewise.
3676         (R9): Likewise.
3677         (R10): Likewise.
3678         (R11): Likewise.
3679         (R12): Likewise.
3680         (R13): Likewise.
3681         (R14): Likewise.
3682         (R15): Likewise.
3683         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3684         (REG_FS): Likewise.
3685         (REG_ES): Likewise.
3686         (REG_DS): Likewise.
3687         (REG_EDI): Likewise.
3688         (REG_ESI): Likewise.
3689         (REG_EBP): Likewise.
3690         (REG_ESP): Likewise.
3691         (REG_EBX): Likewise.
3692         (REG_EDX): Likewise.
3693         (REG_ECX): Likewise.
3694         (REG_EAX): Likewise.
3695         (REG_TRAPNO): Likewise.
3696         (REG_ERR): Likewise.
3697         (REG_EIP): Likewise.
3698         (REG_CS): Likewise.
3699         (REG_EFL): Likewise.
3700         (REG_UESP): Likewise.
3701         (REG_SS): Likewise.
3702         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3703         (R_D1): Likewise.
3704         (R_D2): Likewise.
3705         (R_D3): Likewise.
3706         (R_D4): Likewise.
3707         (R_D5): Likewise.
3708         (R_D6): Likewise.
3709         (R_D7): Likewise.
3710         (R_A0): Likewise.
3711         (R_A1): Likewise.
3712         (R_A2): Likewise.
3713         (R_A3): Likewise.
3714         (R_A4): Likewise.
3715         (R_A5): Likewise.
3716         (R_A6): Likewise.
3717         (R_A7): Likewise.
3718         (R_SP): Likewise.
3719         (R_PC): Likewise.
3720         (R_PS): Likewise.
3721         (fpregset_t): Likewise.
3722         (MCONTEXT_VERSION): Likewise.
3723         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3724         (CTX_AT): Likewise.
3725         (CTX_V0): Likewise.
3726         (CTX_V1): Likewise.
3727         (CTX_A0): Likewise.
3728         (CTX_A1): Likewise.
3729         (CTX_A2): Likewise.
3730         (CTX_A3): Likewise.
3731         (CTX_T0): Likewise.
3732         (CTX_T1): Likewise.
3733         (CTX_T2): Likewise.
3734         (CTX_T3): Likewise.
3735         (CTX_T4): Likewise.
3736         (CTX_T5): Likewise.
3737         (CTX_T6): Likewise.
3738         (CTX_T7): Likewise.
3739         (CTX_S0): Likewise.
3740         (CTX_S1): Likewise.
3741         (CTX_S2): Likewise.
3742         (CTX_S3): Likewise.
3743         (CTX_S4): Likewise.
3744         (CTX_S5): Likewise.
3745         (CTX_S6): Likewise.
3746         (CTX_S7): Likewise.
3747         (CTX_T8): Likewise.
3748         (CTX_T9): Likewise.
3749         (CTX_K0): Likewise.
3750         (CTX_K1): Likewise.
3751         (CTX_GP): Likewise.
3752         (CTX_SP): Likewise.
3753         (CTX_S8): Likewise.
3754         (CTX_RA): Likewise.
3755         (CTX_MDLO): Likewise.
3756         (CTX_MDHI): Likewise.
3757         (CTX_CAUSE): Likewise.
3758         (CTX_EPC): Likewise.
3759         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3760         inclusion of <sys/procfs.h> on [__USE_MISC].
3761         (greg_t): Condition on [__USE_MISC].
3762         (gregset_t): Likewise.
3763         (fpregset_t): Likewise.
3764         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3765         (NGREG): Likewise.
3766         (gregset_t): Likewise.
3767         (REG_R0): Likewise.
3768         (REG_R1): Likewise.
3769         (REG_R2): Likewise.
3770         (REG_R3): Likewise.
3771         (REG_R4): Likewise.
3772         (REG_R5): Likewise.
3773         (REG_R6): Likewise.
3774         (REG_R7): Likewise.
3775         (REG_R8): Likewise.
3776         (REG_R9): Likewise.
3777         (REG_R10): Likewise.
3778         (REG_R11): Likewise.
3779         (REG_R12): Likewise.
3780         (REG_R13): Likewise.
3781         (REG_R14): Likewise.
3782         (REG_R15): Likewise.
3783         (struct _libc_fpstate): Likewise.
3784         (fpregset_t): Likewise.
3785         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3786         (NFPREG): Likewise.
3787         (gregset_t): Likewise.
3788         (fpregset_t): Likewise.
3789         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3790         (R_D1): Likewise.
3791         (R_D2): Likewise.
3792         (R_D3): Likewise.
3793         (R_D4): Likewise.
3794         (R_D5): Likewise.
3795         (R_D6): Likewise.
3796         (R_D7): Likewise.
3797         (R_A0): Likewise.
3798         (R_A1): Likewise.
3799         (R_A2): Likewise.
3800         (R_A3): Likewise.
3801         (R_A4): Likewise.
3802         (R_A5): Likewise.
3803         (R_A6): Likewise.
3804         (R_A7): Likewise.
3805         (R_SP): Likewise.
3806         (R_PC): Likewise.
3807         (R_PS): Likewise.
3808         (fpregset_t): Likewise.
3809         (MCONTEXT_VERSION): Likewise.
3810         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3811         Likewise.
3812         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3813         (REG_R1): Likewise.
3814         (REG_R2): Likewise.
3815         (REG_R3): Likewise.
3816         (REG_R4): Likewise.
3817         (REG_R5): Likewise.
3818         (REG_R6): Likewise.
3819         (REG_R7): Likewise.
3820         (REG_R8): Likewise.
3821         (REG_R9): Likewise.
3822         (REG_R10): Likewise.
3823         (REG_R11): Likewise.
3824         (REG_R12): Likewise.
3825         (REG_R13): Likewise.
3826         (REG_R14): Likewise.
3827         (REG_R15): Likewise.
3828         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3829         of <arch/abi.h> on [__USE_MISC].
3830         (greg_t): Condition on [__USE_MISC].
3831         (NGREG): Likewise.
3832         (gregset_t): Likewise.
3834 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3836         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3837         (__pthread_rwlock_arch_t): Remove __data definition.
3838         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3839         (__pthread_rwlock_arch_t): Likewise.
3841 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3843         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3844         internal_function on static functions.
3846 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3848         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3849         from format_ai_flags.
3850         (format_ai_flags): New function.  Incorporate flag formatting code
3851         from format_ai_one.
3852         (format_ai_canonname): New function.
3853         (format_ai_one): Remove flags parameter.
3854         (format_ai_family): Likewise.
3855         (support_format_addrinfo): Call format_ai_flags,
3856         format_ai_canonname.
3857         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3858         check_ai.
3859         (check_ai): Call check_ai_hints.
3860         (do_test): Add AI_CANONNAME tests.
3862 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3864         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3865         (gaih_inet): Likewise.
3867 2017-05-10  Andreas Schwab  <schwab@suse.de>
3869         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3870         (main): Rename to do_test and make static.
3872 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3874         * string/rawmemchr.c: Include <libc-diag.h>.
3875         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3876         with size (size_t)-1.
3878 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3880         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3881         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3882         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3884         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3885         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3886         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3887         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3888         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3889         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3890         * sysdeps/unix/sysv/linux/kernel-features.h
3891         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3892         socket syscalls.
3893         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3895         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3896         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3897         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3898         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3899         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3900         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3901         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3902         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3903         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3904         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3905         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3906         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3907         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3909 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3911         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3912         thread-shared-types.h.
3913         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3914         specific thread definition.
3915         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3916         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3917         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3918         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3919         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3920         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3921         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3922         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3923         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3924         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3925         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3926         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3927         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3928         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3929         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3930         thread definition between POSIX and C11.
3931         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3932         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3933         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3934         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3935         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3936         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3937         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3938         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3939         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3940         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3941         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3942         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3943         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3944         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3945         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3946         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3947         definitions shared across all architectures.
3949 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3951         * sysdeps/unix/sysv/linux/kernel-features.h
3952         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3953         (__ASSUME_SENDMMSG): Likewise.
3954         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3955         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3956         sendmmsg syscall if that can be assumed to be present, socketcall
3957         otherwise, with no fallback for runtime failure.
3959         * sysdeps/unix/sysv/linux/kernel-features.h
3960         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3961         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3962         (__ASSUME_RECVMMSG): Likewise.
3963         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3964         recvmmsg syscall if it can be assumed to be present, socketcall
3965         otherwise, with no fallback for runtime failure.
3967 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3968             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3970         * bits/libc-header-start.h:
3971         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3972         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3973         * manual/creature.texi: Likewise.
3975 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3976             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3978         * math/Makefile:
3979         (type-float128-suffix): New variable
3980         (type-float128-routines): Likewise
3981         (type-float128-yes): Likewise
3982         (types): Append float128 if supported
3983         (types-basic): New variable to control the use of templates for
3984         float, double, and long double, but not for float128 or newer types.
3985         (type-basic-foreach): Likewise.
3987         * sysdeps/ieee754/float128/Makeconfig: New file.
3988         * sysdeps/ieee754/float128/Versions: New file.
3990 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3993         Remove macro.
3994         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3995         prlimit64 is always available and does not give an ENOSYS error.
3996         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3997         unconditional.
3998         [!__NR_prlimit64]: Remove conditional code.
3999         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4000         prlimit64 is always available and does not give an ENOSYS error.
4001         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4003 2017-05-09  Zack Weinberg  <zackw@panix.com>
4005         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4007 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4009         [BZ #21474]
4010         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4011         (__res_maybe_init): Likewise.
4013 2017-05-09  Zack Weinberg  <zackw@panix.com>
4015         * extra-modules.mk: Delete file.
4016         * cppflags-iterator.mk: Rename to ...
4017         * libof-iterator.mk: ...this.  Adjust comments.
4019         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4020         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4021         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4022         Use libof-iterator.mk instead of cppflags-iterator.mk or
4023         extra-modules.mk.
4025         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4026         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4028 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4030         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4032 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4034         * stdio-common/vfprintf.c (EXTSIZ): Define.
4035         (vfprintf): Use EXTSIZ.
4036         (printf_positional): Likewise.
4038 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4040         * sysdeps/unix/sysv/linux/kernel-features.h
4041         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4042         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4043         <kernel-features.h>.
4044         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4046         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4047         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4049 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4051         Prevent multiple deletion of temporary files.
4052         * support/temp_file.c (struct temp_name_list): Add owner member.
4053         (add_temp_file): Record owner.
4054         (support_delete_temp_files): Delete file only if owner matches.
4055         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4056         (do_prepare): Use create_temp_file instead of add_temp_file.
4057         Initialize temp_fd1, temp_fd2.
4058         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4059         framework remove the temporary files.
4060         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4061         (do_prepare): Use create_temp_file instead of add_temp_file.
4062         Initialize temp_fd1, temp_fd2, temp_fd3.
4063         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4064         the test framework remove the temporary files.
4065         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4066         deletion.
4067         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4068         temporary directory.  It is removed by the test framework.
4069         * dirent/tst-scandir.c (do_test): Likewise.
4071 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4073         Delete temporary files in LIFO order.
4074         * support/temp_file.c (struct temp_name_list): Replace q member
4075         with next.
4076         (add_temp_file): Add new file to front of linked list.
4077         (support_delete_temp_files): Use next member.
4078         (support_print_temp_files): Likewise.
4080 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4083         sys/ultrasound.h.
4084         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4086 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4088         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4089         Remove.
4090         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4091         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4092         (arch_minimum_kernel): Remove.
4093         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4094         * README: Update statement about Linux kernel requirements.
4096 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4098         * manual/llio.texi: Add preadv and pwritev documentation.
4100 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4102         [BZ #21455]
4103         * bits/stdint-intn.h: New file.
4104         * bits/stdint-uintn.h: Likewise.
4105         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4106         bits/stdint-uintn.h.
4107         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4108         <stdint.h>.
4109         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4110         (__int8_t_defined): Do not define here.
4111         (int8_t): Likewise.
4112         (int16_t): Likewise.
4113         (int32_t): Likewise.
4114         (int64_t): Likewise.
4115         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4116         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4117         <stdint.h>.
4118         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4119         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4120         <bits/stdint-uintn.h>.
4121         (int8_t): Do not define here.
4122         (int16_t): Likewise.
4123         (int32_t): Likewise.
4124         (int64_t): Likewise.
4125         (uint8_t): Likewise.
4126         (uint16_t): Likewise.
4127         (uint32_t): Likewise.
4128         (uint64_t): Likewise.
4129         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4130         variable.
4131         (test-xfail-XPG42/netdb.h/conform): Likewise.
4132         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4133         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4134         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4135         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4137 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4139         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4140         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4141         the above.
4142         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4145 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4147         [BZ #21445]
4148         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4150         [BZ #21457]
4151         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4152         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4153         __glibc_reserved1.
4154         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4155         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4156         (struct _fpxreg): Likewise.
4157         [!__x86_64__] (struct _fpstate): Rename field reserved to
4158         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4159         [__x86_64__] (struct _fpstate): Rename field padding to
4160         __glibc_reserved1.
4161         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4162         Rename field reserved2 to __glibc_reserved2.
4163         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4164         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4165         __glibc_reserved1.
4166         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4167         __glibc_reserved1.
4169 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4171         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4172         variable name.
4174 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4176         [BZ #21391]
4177         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4178         Only call init_cpu_features.
4179         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4180         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4181         * sysdeps/i386/dl-procinfo.h: Removed.
4182         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4183         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4184         <sysdeps/x86/dl-procinfo.h>.
4185         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4186         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4187         Include <sysdeps/x86/dl-procinfo.h> instead of
4188          <sysdeps/generic/dl-procinfo.h>.
4189         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4190         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4191         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4192         (bit_cpu_MOVBE): Likewise.
4193         (bit_cpu_BMI1): Likewise.
4194         (bit_cpu_BMI2): Likewise.
4195         (index_cpu_BMI1): Likewise.
4196         (index_cpu_BMI2): Likewise.
4197         (index_cpu_LZCNT): Likewise.
4198         (index_cpu_MOVBE): Likewise.
4199         (index_cpu_POPCNT): Likewise.
4200         (reg_BMI1): Likewise.
4201         (reg_BMI2): Likewise.
4202         (reg_LZCNT): Likewise.
4203         (reg_MOVBE): Likewise.
4204         (reg_POPCNT): Likewise.
4205         * sysdeps/x86/dl-hwcap.h: New file.
4206         * sysdeps/x86/dl-procinfo.h: Likewise.
4207         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4208         (_dl_x86_platforms): Likewise.
4210 2017-05-03  DJ Delorie  <dj@redhat.com>
4212         [BZ #21411]
4213         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4215 2017-05-03  Phil Blundell  <pb@pbcl.net>
4217         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4218         comments.
4220 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4222         [BZ #20116]
4223         * nptl/pthread_create.c: Expand comments to describe
4224         semaphore-like and mutex-like uses of PD->lock.
4226 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4228         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4229         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4230         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4231         auto-generation list.
4232         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4233         epoll_wait.
4234         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4235         Remove epoll_wait.
4237         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4238         osf_select.
4239         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4240         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4241         osf_select from auto-generation list.
4242         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4243         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4244         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4245         * sysdeps/unix/sysv/linux/select.c: New file.
4247         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4248         * sysdeps/unix/sysv/linux/poll.c: New file.
4249         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4250         auto-generation list.
4252 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4254         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4255         New macro.
4257 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4259         [BZ #21179]
4260         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4261         R_SPARC_REGISTER relocations.
4263 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4265         * include/unistd.h (__pread): Add libc_hidden_proto.
4266         (__pread64): Likewise.
4267         (__pwrite): Likewise.
4268         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4269         (__pread64): Remove.
4270         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4271         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4272         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4274 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4278 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4280         * nptl/tst-cancel4-common.c: Use libsupport.
4281         * nptl/tst-cancel4-common.h: Likewise.
4282         * nptl/tst-cancel4.c (tf_read): Likewise.
4283         (tf_readv): Likewise.
4284         (tf_write): Likewise.
4285         (tf_writev): Likewise.
4286         (tf_sleep): Likewise.
4287         (tf_usleep): Likewise.
4288         (tf_nanosleep): Likewise.
4289         (tf_select): Likewise.
4290         (tf_pselect): Likewise.
4291         (tf_poll): Likewise.
4292         (tf_ppoll): Likewise.
4293         (tf_wait): Likewise.
4294         (tf_waitpid): Likewise.
4295         (tf_waitid): Likewise.
4296         (tf_sigpause): Likewise.
4297         (tf_sigsuspend): Likewise.
4298         (tf_sigwait): Likewise.
4299         (tf_sigwaitinfo): Likewise.
4300         (tf_sigtimedwait): Likewise.
4301         (tf_pause): Likewise.
4302         (tf_accept): Likewise.
4303         (tf_send): Likewise.
4304         (tf_recv): Likewise.
4305         (tf_recvfrom): Likewise.
4306         (tf_recvmsg): Likewise.
4307         (tf_open): Likewise.
4308         (tf_close): Likewise.
4309         (tf_pread): Likewise.
4310         (tf_pwrite): Likewise.
4311         (tf_preadv): Likewise.
4312         (tf_pwritev): Likewise.
4313         (tf_fsync): Likewise.
4314         (tf_fdatasync): Likewise.
4315         (tf_msync): Likewise.
4316         (tf_sendto): Likewise.
4317         (tf_sendmsg): Likewise.
4318         (tf_creat): Likewise.
4319         (tf_connect): Likewise.
4320         (tf_tcdrain): Likewise.
4321         (tf_msgrcv): Likewise.
4322         (tf_msgsnd): Likewise.
4323         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4324         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4326         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4327         expected arguments.
4328         (do_test): Adapt to use libsupport.
4330 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4332         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4334         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4335         (PF_MAX): Set to 44.
4336         (AF_SMC): New macro.
4338         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4339         kernel version to 4.11.
4341 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4343         [BZ #21280]
4344         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4345         signal of subnormals and adjust the exponent of power of 2 down
4346         when low part has opposite sign.
4348 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4350         * sysdeps/powerpc/powerpc64le/Implies: New file.
4351         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4352         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4353         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4354         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4355         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4356         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4357         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4358         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4359         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4360         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4361         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4362         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4363         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4364         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4365         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4366         * sysdeps/powerpc/preconfigure: New file.
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4370 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4372         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4373         inclusion.
4374         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4375         Remove.
4377 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4379         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4380         (XPG3): Rename standard to XPG4.
4381         * conform/Makefile: Likewise.
4382         * conform/list-header-symbols.pl: Likewise.
4383         * conform/data/aio.h-data: Likewise.
4384         * conform/data/arpa/inet.h-data: Likewise.
4385         * conform/data/complex.h-data: Likewise.
4386         * conform/data/ctype.h-data: Likewise.
4387         * conform/data/dlfcn.h-data: Likewise.
4388         * conform/data/fcntl.h-data: Likewise.
4389         * conform/data/fenv.h-data: Likewise.
4390         * conform/data/float.h-data: Likewise.
4391         * conform/data/fmtmsg.h-data: Likewise.
4392         * conform/data/ftw.h-data: Likewise.
4393         * conform/data/grp.h-data: Likewise.
4394         * conform/data/inttypes.h-data: Likewise.
4395         * conform/data/iso646.h-data: Likewise.
4396         * conform/data/langinfo.h-data: Likewise.
4397         * conform/data/libgen.h-data: Likewise.
4398         * conform/data/limits.h-data: Likewise.
4399         * conform/data/locale.h-data: Likewise.
4400         * conform/data/math.h-data: Likewise.
4401         * conform/data/mqueue.h-data: Likewise.
4402         * conform/data/ndbm.h-data: Likewise.
4403         * conform/data/net/if.h-data: Likewise.
4404         * conform/data/netdb.h-data: Likewise.
4405         * conform/data/netinet/in.h-data: Likewise.
4406         * conform/data/poll.h-data: Likewise.
4407         * conform/data/pthread.h-data: Likewise.
4408         * conform/data/pwd.h-data: Likewise.
4409         * conform/data/sched.h-data: Likewise.
4410         * conform/data/search.h-data: Likewise.
4411         * conform/data/semaphore.h-data: Likewise.
4412         * conform/data/signal.h-data: Likewise.
4413         * conform/data/spawn.h-data: Likewise.
4414         * conform/data/stdbool.h-data: Likewise.
4415         * conform/data/stdint.h-data: Likewise.
4416         * conform/data/stdio.h-data: Likewise.
4417         * conform/data/stdlib.h-data: Likewise.
4418         * conform/data/string.h-data: Likewise.
4419         * conform/data/strings.h-data: Likewise.
4420         * conform/data/stropts.h-data: Likewise.
4421         * conform/data/sys/mman.h-data: Likewise.
4422         * conform/data/sys/resource.h-data: Likewise.
4423         * conform/data/sys/select.h-data: Likewise.
4424         * conform/data/sys/socket.h-data: Likewise.
4425         * conform/data/sys/stat.h-data: Likewise.
4426         * conform/data/sys/statvfs.h-data: Likewise.
4427         * conform/data/sys/time.h-data: Likewise.
4428         * conform/data/sys/timeb.h-data: Likewise.
4429         * conform/data/sys/types.h-data: Likewise.
4430         * conform/data/sys/uio.h-data: Likewise.
4431         * conform/data/sys/un.h-data: Likewise.
4432         * conform/data/sys/wait.h-data: Likewise.
4433         * conform/data/syslog.h-data: Likewise.
4434         * conform/data/termios.h-data: Likewise.
4435         * conform/data/tgmath.h-data: Likewise.
4436         * conform/data/time.h-data: Likewise.
4437         * conform/data/ucontext.h-data: Likewise.
4438         * conform/data/unistd.h-data: Likewise.
4439         * conform/data/utmpx.h-data: Likewise.
4440         * conform/data/varargs.h-data: Likewise.
4441         * conform/data/wchar.h-data: Likewise.
4442         * conform/data/wctype.h-data: Likewise.
4444 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4446         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4447         version to 7 branch.
4449 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4451         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4452         earlyclobber to output operand of sqrt insn.
4453         (__ieee754_sqrtf): Ditto.
4455 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4457         [BZ #21426]
4458         * misc/bits/types/struct_iovec.h: New file.
4459         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4460         * include/bits/types/struct_iovec.h: New file.
4461         * bits/uio.h (struct iovec): Replace by inclusion of
4462         <bits/types/struct_iovec.h>.
4463         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4464         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4465         of <sys/uio.h>.
4466         * nptl/tst-cancel4.c: Include <sys/uio.h>
4467         * posix/test-errno.c: Likewise.
4468         * support/resolv_test.c: Likewise.
4469         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4470         Remove.
4471         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4472         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4473         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4475         * conform/data/sys/socket.h-data (*_t): Allow.
4477 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4479         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4480         assignment.
4482 2017-04-24  Daurnimator  <quae@daurnimator.com>
4483             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4485         [BZ #21340]
4486         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4487         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4488         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4489         valid flags.
4490         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4491         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4492         POSIX_SPAWN_SETSID.
4493         * sysdeps/posix/spawni.c (__spawni): Likewise.
4494         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4495         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4497 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4499         * sysdeps/generic/math_private.h: Move the declaration of many
4500         functions to sysdeps/generic/math_private_calls.h.
4501         * sysdeps/generic/math_private_calls.h: New file with the
4502         declarations of the functions removed from math_private.h
4503         macroized by floating-point type.
4505 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4507         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4508         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4509         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4510         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4511         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4512         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4514 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4516         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4517         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4518         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4519         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4520         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4521         New Define.
4523 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4525         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4526         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4527         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4528         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4529         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4530         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4532 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4534         * sysdeps/s390/multiarch/ifunc-resolve.h
4535         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4536         * sysdeps/s390/multiarch/8bit-generic.c
4537         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4538         define ifunc resolvers.
4540 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4542         [BZ #20424]
4543         * manual/memory.texi (Replacing malloc): New section.
4544         (Allocating Storage For Program Data): Reference it.
4545         (The GNU Allocator): Likewise.
4547 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4549         * stdlib/Versions (__strtod_internal): List explicitly, not as
4550         wildcard.
4551         (__strtof_internal): Likewise.
4552         (__strtold_internal): Likewise.
4553         (__strtol_internal): Likewise.
4554         (__strtoll_internal): Likewise.
4555         (__strtoul_internal): Likewise.
4556         (__strtoull_internal): Likewise.
4557         (__strtoq_internal): Likewise.
4558         (__strtouq_internal): Likewise.
4559         * wcsmbs/Versions (__wcstod_internal): Likewise.
4560         (__wcstof_internal): Likewise.
4561         (__wcstold_internal): Likewise.
4562         (__wcstol_internal): Likewise.
4563         (__wcstoll_internal): Likewise.
4564         (__wcstoul_internal): Likewise.
4565         (__wcstoull_internal): Likewise.
4567 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4569         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4570         struct timespec definition.
4572 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4574         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4576 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4578         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4579         * inet/rexec.c (rexec_af): Likewise.
4581 2017-04-19  Zack Weinberg  <zackw@panix.com>
4583         * posix/tst-mmap-offset.c: Include stdint.h.
4584         * resolv/tst-ns_name_compress.c: Include string.h.
4585         * resolv/tst-resolv-edns.c: Include resolv.h.
4587 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4589         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4590         with __glibc_likely.
4591         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4592         Replace __builtin_expect with __glibc_unlikely.
4593         * resolv/res_init.c (__res_vinit): Likewise.
4594         * resolv/res_query.c (__libc_res_nquery): Likewise.
4595         * resolv/res_send.c (__libc_res_nsend): Likewise.
4597 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4599         [BZ #15722]
4600         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4601         with SOCK_CLOEXEC.
4602         * resolv/res_send.c (send_vc, reopen): Likewise.
4603         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4604         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4605         Likewise.
4606         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4607         * inet/rexec.c (rexec_af): Add comment.
4608         * inet/rcmd.c (rresvport_af): Likewise.
4610 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4612         * nscd/connections.c (have_accept4): Removed definition.
4613         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4614         accept4 works.
4615         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4616         ia64 because that was the first version with accept4 support.
4617         * support/Makefile (libsupport-routines): Add xaccept4.
4618         * support/xsocket.h (xaccept4): Declare.
4619         * support/xaccept4.c: New file.
4620         * socket/tst-accept4.c: New file.
4621         * socket/Makefile (tests): Add tst-accept4.
4622         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4623         definition.
4624         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4625         comment.
4626         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4627         implementation is available.
4628         (accept4): Use the system call if available, otherwise use the
4629         socket call.
4630         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4631         Set to 3.2.18.
4632         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4633         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4634         accept4 is unconditionally available in later 3.2 stable kernels.
4635         (__ASSUME_ACCEPT4_SYSCALL): Define.
4636         * sysdeps/unix/sysv/linux/kernel-features.h
4637         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4638         definitions.
4639         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4640         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4642 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4644         * conform/Makefile (tests-special): Do not make addition of
4645         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4646         (generated): Do not make addition of $(conformtest-header-base)
4647         conditional on [$(cross-compiling) = no].
4649         [BZ #21267]
4650         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4651         if defined by <asm/socket.h> and not previously defined.
4652         (IOCSIZE_SHIFT): Likewise.
4653         (IOC_IN): Likewise.
4654         (IOC_INOUT): Likewise.
4655         (IOC_OUT): Likewise.
4657 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4659         [BZ #21396]
4660         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4661         Prefer_No_AVX512 if AVX512ER isn't available.
4662         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4663         (index_arch_Prefer_No_AVX512): Likewise.
4664         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4665         AVX512 version if Prefer_No_AVX512 is set.
4666         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4667         Likewise.
4668         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4669         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4670         Likewise.
4671         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4672         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4673         Likewise.
4674         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4675         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4676         Likewise.
4678 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4680         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4681         Prefer_No_VZEROUPPER if AVX512ER is available.
4682         * sysdeps/x86/cpu-features.h
4683         (bit_cpu_AVX512PF): New.
4684         (bit_cpu_AVX512ER): Likewise.
4685         (bit_cpu_AVX512CD): Likewise.
4686         (bit_cpu_AVX512BW): Likewise.
4687         (bit_cpu_AVX512VL): Likewise.
4688         (index_cpu_AVX512PF): Likewise.
4689         (index_cpu_AVX512ER): Likewise.
4690         (index_cpu_AVX512CD): Likewise.
4691         (index_cpu_AVX512BW): Likewise.
4692         (index_cpu_AVX512VL): Likewise.
4693         (reg_AVX512PF): Likewise.
4694         (reg_AVX512ER): Likewise.
4695         (reg_AVX512CD): Likewise.
4696         (reg_AVX512BW): Likewise.
4697         (reg_AVX512VL): Likewise.
4699 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4701         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4702         O_CLOEXEC is defined.
4703         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4704         * io/Makefile (aux): Remove.
4705         * io/have_o_cloexec.c: Remove file.
4706         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4707         defined and works.
4708         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4709         defined.
4710         * login/utmp_file.c (O_flags): Remove definition.
4711         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4712         O_CLOEXEC works.
4713         (pututline_file): Likewise.
4714         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4715         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4716         definition.
4717         (internal_setgrent): Assume that O_CLOEXEC works.
4718         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4719         Remove definition.
4720         (internal_setgrent): Assume that O_CLOEXEC works.
4721         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4722         definition.
4723         (internal_setpwent): Assume that O_CLOEXEC works.
4724         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4725         definition.
4726         (internal_setspent): Assume that O_CLOEXEC works.
4727         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4728         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4729         O_CLOEXEC is defined and works.
4730         * nss/Makefile (libnss_files-routines): Remove
4731         files-have_o_cloexec.
4732         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4733         defined.
4734         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4735         O_CLOEXEC is defined and works.
4736         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4737         * nss/nss_files/files-have_o_cloexec.c: Remove.
4738         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4739         defined.
4740         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4741         and works.
4742         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4743         definition.
4744         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4745         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4746         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4747         (__opendirat, __opendir): Adjust opendir_oflags call.
4748         (check_have_o_cloexec): Remove.
4749         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4750         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4751         defined.
4752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4753         Remove definition.
4755 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4757         * include/unistd.h (__have_dup3): Remove declaration.
4758         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4759         dup3 is available.
4760         * libio/freopen64.c (freopen64): Likewise.
4761         * socket/Makefile (aux): Remove have_sock_cloexec.
4762         * socket/have_sock_cloexec.c: Remove file.
4763         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4764         definition.
4765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4766         Likewise.
4767         * sysdeps/nacl/kernel-features.h: Update comment.
4769 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4771         * include/unistd.h (__have_pipe2): Remove declaration.
4772         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4773         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4774         available.
4775         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4776         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4777         Remove definition.
4779 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4781         * malloc/malloc.c (cfree): Turn into compat symbol.
4782         (__cfree): Remove alias.
4783         * stdlib/stdlib.h (cfree): Remove declaration.
4784         * malloc/malloc.h (cfree): Likewise.
4785         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4786         * malloc/Versions (GLIBC_2.26): Add.
4788 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4790         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4791         (sysdep_routines): Add strrchr-power8.
4792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4793         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4794         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4795         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4796         (strrchr): Add __strrchr_power8 to ifunc list.
4797         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4799 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4801         [BZ #21357]
4802         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4803         Call free() outside of mutex.
4805 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4807         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4808         is defined.
4809         * elf/rtld.c (process_envvars): Likewise.
4810         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4811         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4812         O_NOFOLLOW directly.
4813         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4815 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4817         [BZ #21369]
4818         Remove EDNS fallback.
4819         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4820         handling.
4821         * resolv/res_send.c (send_dg): Likewise.
4822         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4823         "tcp." prefixes.
4824         (do_test): Send a "formerr."-prefixed query in an attempt to
4825         trigger EDNS fallback.
4827 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4829         [BZ #21361]
4830         Limit EDNS buffer size to 1200 bytes.
4831         * include/resolv.h (__res_nopt): Remove declaration.
4832         * resolv/Makefile (tests): tst-resolv-edns.
4833         (tst-resolv-edns): Link with -lresolv, -lpthread.
4834         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4835         interval [512, 1200].
4836         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4837         we can resize the buffer.
4838         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4839         (__res_nopt): Declare.
4840         * resolv/tst-resolv-edns.c: New file.
4841         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4842         (struct resolv_response_context): Add edns member.
4843         * resolv/resolv_test.c (struct query_info): Add edns member.
4844         (parse_query): Extract EDNS information from the query.
4845         (server_thread_udp_process_one): Propagate EDNS data.
4846         (server_thread_tcp_client): Likewise.
4848 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4850         [BZ #21359]
4851         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4852         byte in the destination buffer.  Avoid out-of-bounds pointer
4853         arithmetic.
4854         * resolv/Makefile (tests): Add tst-ns_name_compress.
4855         (tst-ns_name_compress): Link with -lresolv.
4856         * resolv/tst-ns_name_compress.c: New file.
4857         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4858         (response): Recognize LONG_NAME.
4859         (do_test): Add LONG_NAME tests.
4860         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4861         for ns_name_unpack.  Add tests for ns_name_pton and
4862         ns_name_compress.
4864 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4866         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4867         (res_nisourserver): Remove definition.
4868         (p_section, res_npquery, res_nisourserver): Remove declaration.
4869         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4870         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4871         ... here.
4872         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4873         <resolv.h>.
4874         * resolv/res_query.c: Likewise.
4875         * resolv/res_debug.c (p_section): Define as static.
4877 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4879         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4880         strncat-power8.
4881         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4882         __strncat_power8 to ifunc list.
4883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4884         (strncat): Add __strncat_power8 to list of strncat functions.
4885         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4887 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4889         [BZ #21270]
4890         * posix/tst-mmap-offset.c (do_prepare): New function.
4891         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4892         (do_test_bz21270): New function.
4893         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4894         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4895         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4896         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4897         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4898         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4899         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4900         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4901         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4902         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4903         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4906         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4907         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4908         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4909         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4910         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4911         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4912         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4913         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4914         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4915         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4916         from auto-generation list.
4917         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4918         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4919         * sysdeps/unix/sysv/linux/mmap.c: New file.
4920         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4921         offsets and support for mmap2 syscall.
4923         * posix/globtest.sh: Add cleanup routine on trap 0.
4925 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4927         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4928         implementation-specific function name and remove unneeded
4929         macros definition.
4930         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4931         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4932         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4933         name if not defined and pass as parameter to macros accordingly.
4934         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4935         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4937         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4938         implementation-specific function name and remove unneeded
4939         macros definition.
4940         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4941         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4944         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4945         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4946         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4947         name if not defined and pass as parameter to macros accordingly.
4948         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4949         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4950         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4951         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4952         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4953         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4955         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4956         implementation-specific function name and remove unneeded macros
4957         definition.
4958         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4959         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4960         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4961         function name if not defined and pass as parameter to macros
4962         accordingly.
4963         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4964         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4966         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4967         implementation-specific function name and remove unneeded macros
4968         definition.
4969         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4971         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4974         not defined and pass as parameter to macros accordingly.
4975         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4977         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4978         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4980         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4981         strcasestr implementation name and remove unneeded macros definition.
4982         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4983         strstr implementation name and remove unneeded macros definition.
4984         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4985         name if not defined and pass as parameter to macros accordingly.
4986         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4988         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4989         implementation-specific function name and remove unneeded macros
4990         definition.
4991         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4992         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4994         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4995         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4996         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4997         function name if not defined and pass as parameter to macros
4998         accordingly.
4999         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5000         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5002         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5004         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5005         the strlen implementation name and remove unneeded macros definition.
5006         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5007         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5008         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5009         the strnlen implementation name and remove unneeded macros definition.
5010         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5011         name if not defined and pass as parameter to macros accordingly.
5012         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5013         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5014         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5016         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5017         the implementation-specific function name and remove unneeded
5018         macros definition.
5019         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5020         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5021         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5022         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5023         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5025         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5026         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5027         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5028         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5029         name if not defined and pass as parameter to macros accordingly.
5030         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5032         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5033         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5034         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5035         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5036         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5037         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5040         implementation-specific function name and remove unneeded macros
5041         definition.
5042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5043         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5045         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5046         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5047         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5048         function name if not defined.
5049         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5050         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5052 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5054         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5055         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5056         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5057         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5059 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5060             Zack Weinberg  <zackw@panix.com>
5062         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5063         readdir64 as thread-safe.  Update warning about readdir_r.
5065 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5067         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5068         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5069         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5070         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5071         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5072         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5073         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5075 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5077         * sysdeps/i386/dl-procinfo.c: Include
5078         <sysdeps/x86/dl-procinfo.c>.
5079         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5080         * sysdeps/x86/dl-procinfo.c: New file.
5082 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5084         * sysdeps/generic/math_private.h: Remove declarations of
5085         many functions that are already declared in math.h.
5086         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5087         declaration for __frexpl.
5088         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5089         the declarations for __scalbnl and fabsl.
5091 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5093         [BZ #20831]
5094         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5095         of __mprotect to change protection on the excess portion
5096         to disallow all access.
5098 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5100         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5101         HAS_CPU_FEATURE to check for SSE.
5102         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5103         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5104         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5105         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5106         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5107         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5108         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5109         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5110         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5111         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5112         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5113         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5114         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5115         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5116         (index_cpu_SSE): Likewise.
5117         (reg_SSE): Likewise.
5119 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5121         * posix/getopt1.c: Include <config.h>, not "config.h".
5123 2017-04-07  Zack Weinberg  <zackw@panix.com>
5125         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5126         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5127         Mention in top-of-file boilerplate that these files are shared
5128         with gnulib.
5129         * posix/getopt.h, posix/bits/getopt_posix.h:
5130         Mention in top-of-file boilerplate that these files are NOT shared
5131         with gnulib, unlike the rest of the getopt implementation.
5133         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5134         New files, intended to be shared with gnulib.
5135         * posix/bits/getopt_posix.h:
5136         New file, not intended to be shared with gnulib.
5137         * posix/getopt.h: Now just includes features.h,
5138         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5139         no longer be shared with gnulib.
5140         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5141         * include/bits/getopt_posix.h: New wrappers.
5142         * posix/Makefile: Install new headers.
5143         * posix/unistd.h, libio/stdio.h:
5144         Include bits/getopt_posix.h instead of getopt.h.
5146         * include/libc-symbols.h: For gnulib compatibility, define
5147         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5148         _GL_ATTRIBUTE_CONST.
5149         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5150         parameters with _GL_UNUSED.
5152         * posix/getopt.c: When used standalone, define __libc_use_alloca
5153         as always false and alloca to abort if called.
5154         (process_long_option): Rewrite handling of ambiguous long options
5155         to use a single boolean vector, not a linked list; use
5156         __libc_use_alloca to decide whether to allocate this using alloca.
5157         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5159         * posix/getopt.c (process_long_option): New function split out
5160         from _getopt_internal_r.
5161         (_getopt_internal_r): Replace both copies of the long-option
5162         processing code with calls to process_long_option.
5163         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5164         (do_test): Differentiate argv[0] in the two subtests.
5166         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5167         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5168         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5170         * posix/getopt.h: Add backup definition of __nonnull for
5171         consistency with gnulib.  Define __getopt_argv_const to const
5172         if not already defined.
5173         (getopt): Update doc comment from gnulib.  Prototype
5174         unconditionally.  Add __nonnull annotation.
5175         (__posix_getopt): Add __nonnull annotation.
5176         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5177         prototypes for consistency with gnulib.  Add __nonnull
5178         annotations.
5179         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5180         (getopt_internal): Change 'argv' argument to type 'char **'.
5181         Remove now-unnecessary casts.
5182         (getopt, __posix_getopt): Eliminate repetition with a macro.
5183         Cast 'argv' to 'char **' when calling _getopt_internal.
5184         * posix/getopt1.c (getopt_long, getopt_long_only):
5185         Use __getopt_argv_const for consistency with gnulib.
5186         Cast 'argv' to 'char **' when calling _getopt_internal.
5187         (_getopt_long_r, _getopt_long_only_r):
5188         Change 'argv' argument to type 'char **'.
5189         (main): Constify 'long_options'.
5190         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5191         (_getopt_long_r, _getopt_long_only_r):
5192         Change 'argv' argument to type 'char **'.
5194         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5195         (locked_vfxprintf): New helper function. Handle arbitrary
5196         multibyte strings, not just ASCII.
5197         * include/stdio.h: Declare __fxprintf_nocancel.
5198         * posix/getopt.c: When _LIBC is defined, define fprintf to
5199         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5200         to _IO_funlockfile.  When neither _LIBC nor
5201         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5202         funlockfile as no-ops.
5203         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5204         the standalone error-printing code can now be used for libc as
5205         well.  Add an flockfile/funlockfile pair around one case where
5206         the error message is printed in several chunks.  Don't use fputc.
5207         * posix/tst-getopt-cancel.c: New test.
5208         * posix/Makefile: Run it.
5210         * posix/getopt.c (_getopt_internal_r): Don't increment
5211         d->optind a second time when reporting ambiguous -W options.
5213         * posix/getopt_int.h: Include getopt.h.
5214         Use impl-namespace names for all arguments to _getopt_internal and
5215         _getopt_internal_r.
5216         Declare __ordering enum outside the struct.
5217         Harmonize comments with gnulib.
5218         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5219         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5220         #ifdef TEST block and make unconditional.  Do not define NULL.
5221         * posix/getopt.c: Partial merge from gnulib, covering the
5222         initial includes and global declarations, commentary, and
5223         a couple of semantically-neutral code changes.
5225         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5226         Use '...' instead of `...' for quotation marks inside
5227         comments and strings.
5229         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5230         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5231         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5232         * posix/getopt_int.h: Likewise.
5233         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5234         __libc_argc and __libc_argv externs, which were only used by
5235         #ifdef USE_NONOPTION_FLAGS blocks.
5236         * posix/getopt_init.c: Remove file.
5237         * posix/Makefile (routines): Remove getopt_init.
5238         * include/getopt.h: Don't declare __getopt_initialize_environment.
5239         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5240         a comment.
5242 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5244         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5246 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5248         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5249         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5250         to __wrap_.udiv.
5251         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5252         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5254         * sysdeps/i386/symbol-hacks.h: New file.
5255         * sysdeps/m68k/symbol-hacks.h: New file.
5256         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5257         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5258         * sysdeps/unix/sysv/linux/i386/Makefile
5259         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5260         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5261         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5262         * sysdeps/unix/sysv/linux/m68k/Makefile
5263         [$(subdir) = csu] (sysdep_routines): Likewise.
5264         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5265         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5267         [$(subdir) = csu] (sysdep_routines): Likewise.
5268         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5269         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5271         [$(subdir) = csu] (sysdep_routines): Likewise.
5272         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5273         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5274         * sysdeps/wordsize-32/Makefile: Remove file.
5275         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5276         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5278 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5280         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5281         (TEST_FUNCTION_ARGV): New.
5283 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5285         * elf/next.c: Import support/test-driver.c instead of
5286         test-skeleton.c and delete TEST_FUNCTION macro definition.
5287         * elf/nodelete.c: Likewise.
5288         * elf/order2.c: Likewise.
5289         * elf/tst-_dl_addr_inside_object.c: Likewise.
5290         * elf/tst-addr1.c: Likewise.
5291         * elf/tst-align.c: Likewise.
5292         * elf/tst-align2.c: Likewise.
5293         * elf/tst-audit11.c: Likewise.
5294         * elf/tst-audit12.c: Likewise.
5295         * elf/tst-audit2.c: Likewise.
5296         * elf/tst-audit9.c: Likewise.
5297         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5298         * elf/tst-deep1.c: Likewise.
5299         * elf/tst-dl-iter-static.c: Likewise.
5300         * elf/tst-dlmodcount.c: Likewise.
5301         * elf/tst-dlmopen1.c: Likewise.
5302         * elf/tst-dlmopen2.c: Likewise.
5303         * elf/tst-dlmopen3.c: Likewise.
5304         * elf/tst-dlopen-aout.c: Likewise.
5305         * elf/tst-dlopenrpath.c: Likewise.
5306         * elf/tst-dlsym-error.c: Likewise.
5307         * elf/tst-execstack-needed.c: Likewise.
5308         * elf/tst-execstack-prog.c: Likewise.
5309         * elf/tst-execstack.c: Likewise.
5310         * elf/tst-global1.c: Likewise.
5311         * elf/tst-gnu2-tls1.c: Likewise.
5312         * elf/tst-latepthread.c: Likewise.
5313         * elf/tst-leaks1.c: Likewise.
5314         * elf/tst-linkall-static.c: Likewise.
5315         (do_test): New function.
5316         * elf/tst-nodelete-opened.c: Likewise.
5317         * elf/tst-nodelete.cc: Likewise.
5318         * elf/tst-nodelete2.c: Likewise.
5319         * elf/tst-noload.c: Likewise.
5320         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5321         * elf/tst-order-main.c: Likewise.
5322         * elf/tst-pathopt.c: Likewise.
5323         * elf/tst-pie2.c: Likewise.
5324         * elf/tst-piemod1.c: Likewise.
5325         * elf/tst-prelink.c: Likewise.
5326         * elf/tst-protected1a.c: Likewise.
5327         * elf/tst-protected1b.c: Likewise.
5328         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5329         and define _GNU_SOURCE macro.
5330         (cmdline_process_function): New function.
5331         * elf/tst-relsort1.c: Likewise.
5332         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5333         and define _GNU_SOURCE macro.
5334         (cmdline_process_function): New function.
5335         * elf/tst-thrlock.c: Likewise.
5336         * elf/tst-tls-dlinfo.c: Likewise.
5337         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5338         * elf/tst-tls1.c: Likewise.
5339         * elf/tst-tls10.c: Likewise.
5340         * elf/tst-tls11.c: Likewise.
5341         * elf/tst-tls12.c: Likewise.
5342         * elf/tst-tls13.c: Likewise.
5343         * elf/tst-tls14.c: Likewise.
5344         * elf/tst-tls15.c: Likewise.
5345         * elf/tst-tls16.c: Likewise.
5346         * elf/tst-tls17.c: Likewise.
5347         * elf/tst-tls18.c: Likewise.
5348         * elf/tst-tls19.c: Likewise.
5349         * elf/tst-tls2.c: Likewise.
5350         * elf/tst-tls3.c: Likewise.
5351         * elf/tst-tls4.c: Likewise.
5352         * elf/tst-tls5.c: Likewise.
5353         * elf/tst-tls6.c: Likewise.
5354         * elf/tst-tls7.c: Likewise.
5355         * elf/tst-tls8.c: Likewise.
5356         * elf/tst-tls9.c: Likewise.
5357         * elf/tst-tlsalign-extern.c: Likewise.
5358         * elf/tst-tlsalign.c: Likewise.
5359         * elf/tst-unique1.c: Likewise.
5360         * elf/tst-unique2.c: Likewise.
5361         * elf/vismain.c: Likewise.
5363 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5365         * string/test-strnlen.c (do_page_tests): New function
5366         to check length of strings ending at the page boundary.
5367         (test_main): Added call to the do_page_tests function.
5369 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5370             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5372         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5373         (sysdep_routines): Add strnlen-power8.
5374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5375         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5376         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5377         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5378         (__strnlen): Add __strnlen_power8 to ifunc list.
5379         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5381 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5383         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5384         the TEST_FUNCTION macro definition.
5385         * wcsmbs/tst-mbrtowc2.c: Likewise.
5386         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5387         * wcsmbs/tst-wchar-h.c: Likewise.
5388         * wcsmbs/tst-wcpncpy.c: Likewise.
5389         * wcsmbs/tst-wcrtomb.c: Likewise.
5390         * wcsmbs/tst-wcsnlen.c: Likewise.
5391         * wcsmbs/tst-wcstof.c: Likewise.
5393 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5395         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5396         CALL_THREAD_FCT macro usage.
5397         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5398         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5399         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5401         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5402         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5403         (__ASSUME_REQUEUE_PI): Likewise.
5404         * sysdeps/unix/sysv/linux/kernel-features.h
5405         (__ASSUME_REQUEUE_PI): Likewise.
5406         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5407         (__ASSUME_REQUEUE_PI): Likewise.
5408         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5409         (__ASSUME_REQUEUE_PI): Likewise.
5410         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5411         (__ASSUME_REQUEUE_PI): Likewise.
5413 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5415         * resolv/tst-resolv-canonname.c: New file.
5416         * resolv/Makefile (tests): Add tst-resolv-canonname.
5417         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5419 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5421         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5422         Declare.
5423         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5424         (NS_MAXCDNAME): Remove definition.
5425         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5426         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5427         (NS_MAXCDNAME): Remove definition.
5428         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5430 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5432         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5433         call whose result is not used.
5435 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5437         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5438         * resolv/Makefile (tests): Add tst-ns_name.
5439         (tst-ns_name): Link with -lresolv.
5440         (tst-ns_name.out): Depend on the input data file.
5442 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5444         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5445         Clobber also r14.
5447 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5449         [BZ #21253]
5450         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5451         slack space by 32KiB.
5453 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5455         [BZ #21338]
5456         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5457         instead of incorrect do_set_arena_test
5459 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5461         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5462         * math/bits/math-finite.h: Likewise.
5464 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5466         [BZ #21289]
5467         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5469 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5471         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5472         non expected inotify_add_watch and quotactl return.
5474 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5476         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5477         to int32_t.
5478         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5479         as returning int32_t.
5481 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5483         * math/math.h: Include bits/math-finite.h once per
5484         floating-point type.
5485         * math/bits/math-finite.h: Macroize all declarations by
5486         floating-point type.
5488 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5490         [BZ #21182]
5491         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5492         near end of a page.
5493         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5494         overflow calculation.
5496 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5498         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5499         (IMPL) Call with 1 instead of 0 as argument.
5501 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5503         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5504         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5505         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5506         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5507         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5508         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5509         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5510         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5511         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5512         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5513         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5514         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5515         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5516         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5517         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5518         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5519         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5520         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5521         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5522         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5523         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5524         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5525         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5526         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5527         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5528         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5529         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5530         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5531         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5532         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5533         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5534         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5535         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5536         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5537         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5538         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5539         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5540         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5541         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5542         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5543         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5544         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5545         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5546         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5547         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5548         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5549         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5550         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5551         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5552         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5553         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5554         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5555         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5556         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5557         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5558         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5559         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5560         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5561         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5562         defined.
5563         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5564         __NR_setgroups32 if defined.
5565         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5566         if defined.
5567         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5568         __NR_setresgid32 is defined.
5569         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5570         __NR_setresuid32 if defined.
5571         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5572         __NR_setreuid32 if defined.
5573         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5574         defined.
5575         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5576         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5577         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5578         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5579         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5580         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5581         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5582         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5583         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5584         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5585         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5586         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5587         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5588         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5589         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5590         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5591         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5592         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5593         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5594         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5595         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5596         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5597         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5598         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5599         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5600         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5601         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5602         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5603         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5604         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5605         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5606         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5607         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5608         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5609         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5610         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5611         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5612         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5613         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5614         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5615         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5616         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5617         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5618         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5619         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5620         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5621         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5622         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5623         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5624         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5625         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5626         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5627         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5628         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5629         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5630         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5631         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5632         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5633         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5634         defined.
5635         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5636         __NR_setgroups32 if defined.
5637         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5638         if defined.
5639         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5640         __NR_setresgid32 is defined.
5641         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5642         __NR_setresuid32 if defined.
5643         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5644         __NR_setreuid32 if defined.
5645         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5646         defined.
5648 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5650         [BZ #21277]
5651         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5652         unconditionally.
5653         (IMAXBEL): Likewise.
5654         (IUTF8): Likewise.
5656 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5658         * sysdeps/aarch64/libm-test-ulps: Update.
5660 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5662         * README.tunables: Updated descriptions.
5663         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5664         * scripts/gen-tunables.awk: Updated the code related to the
5665         commit.
5667 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5669         * benchtests/Makefile (string-benchset): Add memcpy-random.
5670         * benchtests/bench-memcpy-random.c: New file.
5672 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5674         * stdio-common/printf.h (register_printf_modifier): Change the
5675         order of __wur and __THROW.
5676         (register_printf_type): Likewise.
5678 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5680         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5681         test_main ().
5682         (CMDLINE_PROCESS): Use function instead of defined macro.
5683         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5684         <suppport/support.h> to use set_fortify_handler().
5685         * string/bug-envz1.c: Import support/test-driver.c instead of
5686         test-skeleton.c.
5687         * string/bug-strcoll2.c: Likewise.
5688         * string/bug-strtok1.c: Likewise.
5689         * string/stratcliff.c: Likewise.
5690         * string/test-ffs.c: Likewise.
5691         * string/test-memccpy.c: Likewise.
5692         * string/test-memchr.c: Likewise.
5693         * string/test-memcmp.c: Likewise.
5694         * string/test-memcpy.c: Likewise.
5695         * string/test-memmem.c: Likewise.
5696         * string/test-memmove.c: Likewise.
5697         * string/test-memrchr.c: Likewise.
5698         * string/test-memset.c: Likewise.
5699         * string/test-rawmemchr.c: Likewise.
5700         * string/test-strcasecmp.c: Likewise.
5701         * string/test-strcasestr.c: Likewise.
5702         * string/test-strcat.c: Likewise.
5703         * string/test-strchr.c: Likewise.
5704         * string/test-strcmp.c: Likewise.
5705         * string/test-strcpy.c: Likewise.
5706         * string/test-string.h: Likewise.
5707         * string/test-strlen.c: Likewise.
5708         * string/test-strncasecmp.c: Likewise.
5709         * string/test-strncat.c: Likewise.
5710         * string/test-strncmp.c: Likewise.
5711         * string/test-strncpy.c: Likewise.
5712         * string/test-strnlen.c: Likewise.
5713         * string/test-strpbrk.c: Likewise.
5714         * string/test-strrchr.c: Likewise.
5715         * string/test-strspn.c: Likewise.
5716         * string/test-strstr.c: Likewise.
5717         * string/tst-bswap.c: Likewise.
5718         * string/tst-cmp.c: Likewise.
5719         * string/tst-endian.c: Likewise.
5720         * string/tst-inlcall.c: Likewise.
5721         * string/tst-strcoll-overflow.c: Likewise.
5722         * string/tst-strfry.c: Likewise.
5723         * string/tst-strlen.c: Likewise.
5724         * string/tst-strtok.c: Likewise.
5725         * string/tst-strtok_r.c: Likewise.
5726         * string/tst-strxfrm.c: Likewise.
5727         * string/tst-strxfrm2.c: Likewise.
5728         * string/tst-svc.c: Likewise.
5729         * string/tst-svc2.c: Likewise.
5731 2017-03-22  Zack Weinberg  <zackw@panix.com>
5733         * stdio-common/bug25.c: Include stdlib.h.
5734         * support/tst-support_format_dns_packet.c: Include stdio.h,
5735         stdlib.h, and string.h.
5736         * support/tst-support_record_failure.c: Include string.h.
5737         * support/tst-support_record_failure-2.sh: Adjust line number
5738         expectations and correct a typo in an error message.
5740 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5742         [BZ #21258]
5743         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5744         Define only if _dl_runtime_resolve is defined to
5745         _dl_runtime_resolve_sse_vex.
5746         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5747         Fallthrough to _dl_runtime_resolve_sse_vex.
5749 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5751         * INSTALL: Regenerated.
5753 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5755         * config.h.in: Add LINK_OBSOLETE_NSL.
5756         * config.make.in: Add build-obsolete-nsl.
5757         * configure.ac: Add obsolete-nsl option.
5758         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5759         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5760         * include/rpcsvc/nislib.h: Likewise.
5761         * include/rpcsvc/ypclnt.h: Likewise.
5762         * manual/install.texi: Document --enable-obsolete-nsl.
5763         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5764         * nis/nis_add.c: Replace libnsl_hidden_def with
5765         libnsl_hidden_nolink_def.
5766         * nis/nis_addmember.c: Likewise.
5767         * nis/nis_call.c: Likewise.
5768         * nis/nis_clone_obj.c: Likewise.
5769         * nis/nis_defaults.c: Likeise.
5770         * nis/nis_domain_of_r.c: Likewise.
5771         * nis/nis_error.c: Likewise.
5772         * nis/nis_file.c: Likewise.
5773         * nis/nis_free.c: Likewise.
5774         * nis_local_names.c: Likewise.
5775         * nis/nis_lookup.c: Likewise.
5776         * nis/nis_modify.c: Likewise.
5777         * nis/nis_print.c: Likewise.
5778         * nis/nis_remove.c: Likewise.
5779         * nis/nis_table.c: Likewise.
5780         * nis/nis_util.c: Likewise.
5781         * nis/nis_xdr.c: Likewise.
5782         * nis/yp_xdr.c: Likewise.
5783         * nis/ypclnt.c: Likewise.
5784         * nis/ypupdate_xdr.c: Likewise.
5785         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5786         * nis/nis_clone_dir.c: Likewise.
5787         * nis/nis_clone_res.c: Likewise.
5788         * nis/nis_creategroup.c: Likewise.
5789         * nis/nis_destroygroup.c: Likewise.
5790         * nis/nis_domain_of.c: Likewise.
5791         * nis/nis_getservlist.c: Likewise.
5792         * nis/nis_ismember.c: Likewise.
5793         * nis/nis_mkdir.c: Likewise.
5794         * nis/nis_ping.c: Likewise.
5795         * nis/nis_print_group_entry.c: Likewise.
5796         * nis/nis_removemember.c: Likewise.
5797         * nis/nis_rmdir.c: Likewise.
5798         * nis/nis_server.c: Likewise.
5799         * nis/nis_subr.c: Likewise.
5800         * nis/nis_verifygroup.c: Likewise.
5802 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5804         * malloc/tst-interpose-aux.c (check_for_allocations):
5805         Move compiler barrier before free.
5807 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5809         [BZ #21279]
5810         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5811         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5812         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5813         x86_64-x32-linux.
5814         (mq_attr.mq_maxmsg): Likewise.
5815         (mq_attr.mq_msgsize): Likewise.
5816         (mq_attr.mq_curmsgs): Likewise.
5818         [BZ #21278]
5819         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5820         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5821         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5822         mips-o32-linux.
5824         [BZ #21268]
5825         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5826         if [__USE_MISC]
5827         (NL3): Likewise.
5829 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5831         [BZ #21275]
5832         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5833         __stack to __stackbase.
5834         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5835         checks so we can include defined(__ia64__) first.
5837 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5839         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5840         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5841         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5842         Call is_pty when the link does not exist or does not match, fail
5843         with ENODEV when it returns true.
5844         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5845         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5846         Call is_pty when the link does not exist or does not match, fail
5847         with ENODEV when it returns true.
5849 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5851         [BZ #16437]
5852         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5853         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5854         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5855         x86_64-x32-linux.
5856         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5857         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5858         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5860         [BZ #21261]
5861         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5862         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5863         names for all fields.
5864         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5865         for jmp_buf field renaming.
5866         (_JMPBUF_UNWINDS_ADJ): Likewise.
5868         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5869         with allow-header.
5871 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5873         * malloc/malloc.c (unlink): Add consistency check between size and
5874         next->prev->size, to further harden against 1-byte overflows.
5876 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5878         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5879         CPU_FEATURES_CPU_P.
5881 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5883         [BZ #21259]
5884         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5885         unconditionally, not just for [__USE_MISC].
5887         [BZ #17786]
5888         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5889         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5890         mips-o32-linux.
5892         [BZ #21260]
5893         * sysdeps/unix/sysv/linux/alpha/Makefile
5894         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5895         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5897         * conform/conformtest.pl ($cross): New variable.
5898         (--cross): New command-line option.
5899         (runtest): Skip test execution when cross-compiling.
5900         * conform/Makefile (conformtest-cross): New variable.
5901         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5902         conformtest.pl.
5904         * conform/conformtest.pl ($xfail_str): New variable.
5905         (--xfail=): New command-line option.
5906         (top level): Handle expectations starting xfail[cond]-.
5907         * conform/Makefile (conformtest-xfail): New variable.
5908         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5909         conformtest.pl.
5911 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5913         * conform/conformtest.pl: Use compilation instead of execution
5914         tests for testing values of constants and usability in #if.
5916 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5918         * math/auto-libm-test-in: Mark some catan and catanh as
5919         xfail-rounding:ibm128-libgcc.
5920         * math/auto-libm-test-out-catan: Regenerate.
5921         * math/auto-libm-test-out-catanh: Likewise.
5923 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5925         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5926         (__END_NAMESPACE_STD): Likewise.
5927         (__USING_NAMESPACE_STD): Likewise.
5928         (__BEGIN_NAMESPACE_C99): Likewise.
5929         (__END_NAMESPACE_C99): Likewise.
5930         (__USING_NAMESPACE_C99): Likewise.
5931         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5932         undefine macro.
5933         (_Mdouble_END_NAMESPACE): Likewise.
5934         * ctype/ctype.h: Do not handle C++ namespaces.
5935         * libio/bits/stdio-ldbl.h: Likewise.
5936         * libio/stdio.h: Likewise.
5937         * locale/locale.h: Likewise.
5938         * math/bits/mathcalls.h: Likewise.
5939         * setjmp/setjmp.h: Likewise.
5940         * signal/signal.h: Likewise.
5941         * stdlib/bits/stdlib-float.h: Likewise.
5942         * stdlib/bits/stdlib-ldbl.h: Likewise.
5943         * stdlib/stdlib.h: Likewise.
5944         * string/string.h: Likewise.
5945         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5946         * time/bits/types/clock_t.h: Likewise.
5947         * time/bits/types/struct_tm.h: Likewise.
5948         * time/bits/types/time_t.h: Likewise.
5949         * time/time.h: Likewise.
5950         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5951         * wcsmbs/uchar.h: Likewise.
5952         * wcsmbs/wchar.h: Likewise.
5953         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5954         * wctype/wctype.h: Do not handle C++ namespaces.
5955         * scripts/begin-end-check.pl: Remove.
5956         * Makefile (installed-headers): Likewise.
5957         (tests-special): Do not add $(objpfx)begin-end-check.out.
5958         ($(objpfx)begin-end-check.out): Remove.
5960 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5961             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5963         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5964         (DL_PLATFORM_INIT): New define.
5965         (dl_platform_init): New function.
5966         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5967         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5968         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5969         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5970         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5972 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5974         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5975         instead of PIC.
5977 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5979         [BZ #21094]
5980         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5981         24+24+24-bit pi for wider range of values around pi/2.
5982         * math/auto-libm-test-in: Add more tests of cos and tan.
5983         * math/auto-libm-test-out-cos: Regenerated.
5984         * math/auto-libm-test-out-tan: Likewise.
5986 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
5988         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5989         (RTLD_START): Don't record stack end address in _dl_start_user.
5991 2017-03-15  Alexey Neyman  <stilor@att.net>
5993         [BZ #21088]
5994         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5995         around definitions match those around use.
5997 2017-03-15  Alexey Neyman  <stilor@att.net>
5999         * configure.ac: Avoid empty subexpression in grep.
6000         * configure: Regenerate.
6002 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6004         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6005         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6006         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6007         (test_wrp_rv): Fix format.
6008         (test_wrp_rv2): New macro.
6009         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6010         binaries.
6012 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6014         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6015         Use a union when storing pointers.
6016         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6017         cast result when passing to INIT_VEC_PTRS_LOOP.
6018         (VECTOR_WRAPPER_fFF_3): Likewise.
6019         (VECTOR_WRAPPER_fFF_4): Likewise.
6021 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6023         * include/bits/mathcalls-helper-functions.h: New file.
6024         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6025         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6026         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6027         math/bits/mathcalls-helper-functions.h.
6028         * math/bits/mathcalls-helper-functions.h: New file.
6029         * math/math.h: Include bits/mathcalls-helper-functions.h for
6030         float, double, and long double.
6032 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6034         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6035         instead of feraiseexcept.
6037 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6039         [BZ #21243]
6040         * support/temp_file.c (support_delete_temp_files): Add comment
6041         about ignored errors.
6043 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6045         [BZ #21244]
6046         * support/xclose.c: New file.
6047         * support/Makefile (libsupport-routines): Add xclose.
6048         * support/xunistd.h (xclose): Declare.
6049         * support/resolv_test.c (server_thread_tcp_client)
6050         (server_thread_tcp, make_server_sockets, resolv_test_start)
6051         (resolv_test_end): Call xclose instead of close.
6052         * support/support_enter_network_namespace.c
6053         (support_enter_network_namespace): Likewise.
6054         * support/support_run_diff.c (write_to_temp_file): Likewise.
6056 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6058         * support/support_format_dns_packet.c (support_format_dns_packet):
6059         Handle CNAME records in the response.  Extract RDATA names from
6060         rdata, not the whole packet.  Check AAAA record length.
6061         * support/tst-support_format_dns_packet.c: New file.
6062         * support/Makefile (tests): Add tst-support_format_dns_packet.
6063         (tst-support_format_dns_packet): Link against libresolv.
6065 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6067         [BZ #21232]
6068         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6069         posix_fadvise64 weak_alias for static build.
6071 2017-03-14  Andreas Schwab  <schwab@suse.de>
6073         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6074         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6075         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6076         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6077         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6078         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6079         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6080         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6082 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6084         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6085         posix error code.
6086         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6088 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6090         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6091         no_isolate usage for SH.
6093 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6095         [BZ #15105]
6096         [BZ #19463]
6097         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6098         * inet/rcmd.c (rcmd_af): Likewise.
6099         * inet/rexec.c   (rexec_af): Likewise.
6100         * intl/dcigettext.c (_LIBC): Likewise.
6101         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6102         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6103         * locale/setlocale.c (setlocale): Likewise.
6104         * posix/spawn_faction_addopen.c
6105         (posix_spawn_file_actions_addopen): Likewise.
6106         * stdlib/putenv.c (putenv): Use __strndup.
6107         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6109         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6110         (__Need_M_And_C) Remove define/undef.
6111         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6112         (__malloc_and_calloc_defined): Remove define.
6113         * string/bits/string2.h (__strdup): Remove define.
6114         (strdup): Likewise.
6115         (__strndup): Likewise.
6116         (strndup): Likewise.
6118 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6120         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6121         macro.
6122         (IPV6_ADDR_PREFERENCES): Likewise.
6123         (IPV6_MINHOPCOUNT): Likewise.
6124         (IPV6_ORIGDSTADDR): Likewise.
6125         (IPV6_RECVORIGDSTADDR): Likewise.
6126         (IPV6_TRANSPARENT): Likewise.
6127         (IPV6_UNICAST_IF): Likewise.
6128         (IPV6_RECVFRAGSIZE): Likewise.
6130 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6132         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6134 2017-03-12  Alexey Neyman <stilor@att.net>
6136         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6137         in R_SH_DIR32 case is always false when inlined from
6138         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6140 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6142         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6143         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6144         __ASSUME_SEND_SYSCALL.
6146 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6148         * sunrpc/Makefile: don't build and install rpcsvc header
6149         files, rpcgen and librpcsvc.a by default.
6151 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6153         * math/auto-libm-test-out-catan: Regenerated.
6154         * math/auto-libm-test-out-catanh: Likewise.
6155         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6157 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6159         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6160         for long double with corrected test expectations.
6162 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6164         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6165         Define.
6166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6167         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6168         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6169         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6170         * sysdeps/unix/sysv/linux/tile/sysdep.h
6171         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6172         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6173         (__ASSUME_RECV_SYSCALL): Define.
6174         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6175         (__ASSUME_RECV_SYSCALL): Likewise.
6176         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6177         (__ASSUME_RECV_SYSCALL): Likewise.
6178         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6179         (__ASSUME_RECV_SYSCALL): Likewise.
6180         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6181         (__ASSUME_RECV_SYSCALL): Likewise.
6182         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6183         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6185         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6186         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6187         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6188         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6189         auto-generation list.
6190         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6191         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6192         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6193         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6194         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6195         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6196         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6197         __ASSUME_SENDTO_SYSCALL.
6198         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6199         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6200         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6202         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6203         auto-generation list.
6204         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6205         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6206         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6207         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6208         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6209         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6211         * sysdeps/unix/sysv/linux/kernel-features.h
6212         (__ASSUME_SENDTO_SYSCALL): Define by default.
6213         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6214         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6215         __NR_sendto.
6216         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6217         (__ASSUME_SENDTO_SYSCALL): Likewise.
6218         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6219         (__ASSUME_SENDTO_SYSCALL): Likewise.
6220         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6221         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6222         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6223         (__ASSUME_SENDTO_SYSCALL): Likewise.
6224         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6225         (__ASSUME_SENDTO_SYSCALL): Likewise.
6226         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6228         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6229         auto-generation list.
6230         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6231         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6232         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6233         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6234         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6235         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6236         (__ASSUME_RECV_SYSCALL): New define.
6237         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6238         (__ASSUME_RECV_SYSCALL): Likewise.
6239         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6240         (__ASSUME_RECV_SYSCALL): Likewise.
6241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6242         (__ASSUME_RECV_SYSCALL): Likewise.
6243         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6244         (__ASSUME_RECV_SYSCALL): Likewise.
6245         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6246         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6248         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6249         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6250         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6251         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6252         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6253         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6254         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6255         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6256         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6258         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6259         auto-generation list.
6260         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6261         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6262         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6263         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6264         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6265         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6266         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6267         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6268         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6269         * sysdeps/unix/sysv/linux/kernel-features.h
6270         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6271         __NR_recvfrom.
6272         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6273         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6274         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6275         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6277         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6278         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6279         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6280         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6281         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6282         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6283         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6284         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6286         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6287         auto-generation list.
6288         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6289         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6291         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6292         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6293         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6294         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6295         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6296         * sysdeps/unix/sysv/linux/kernel-features.h
6297         (__ASSUME_CONNECT_SYSCALL): Define.
6298         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6299         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6300         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6301         (__ASSUME_CONNECT_SYSCALL): Likewise.
6302         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6303         (__ASSUME_CONNECT_SYSCALL): Likewise.
6304         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6305         (__ASSUME_CONNECT_SYSCALL): Likewise.
6307         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6308         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6309         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6310         auto-generation list.
6311         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6312         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6313         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6314         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6315         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6316         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6318         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6319         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6320         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6321         * sysdeps/unix/sysv/linux/kernel-features.h
6322         (__ASSUME_ACCEPT_SYSCALL): New define.
6323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6324         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6325         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6327         (__ASSUME_ACCEPT_SYSCALL): Define.
6328         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6329         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6330         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6331         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6332         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6333         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6334         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6335         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6336         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6338 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6339             Zack Weinberg  <zackw@panix.com>
6341         * posix/test-errno.c: New file.
6342         * posix/Makefile (tests): Add test-errno.
6343         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6344         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6346 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6348         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6350 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6352         * time/tzset.c (compute_offset): Open-code min macro.
6353         (min, max, sign): Remove.
6355 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6357         [BZ #15576]
6358         Remove TZNAME_MAX limit from sysconf.
6359         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6360         declaration.
6361         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6362         compute_tzname_max.
6363         (compute_tzname_max): Remove.
6364         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6365         (update_vars): Do not update __tzname_cur_max.
6366         (tzset_internal): Remove argument.
6367         (__tzset): Adjust call to tzset_internal.
6368         (__tz_convert): Likewise.
6370         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6371         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6372         * manual/conf.texi (Sysconf Definition): Update comment.
6374 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6376         [BZ #21209]
6377         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6378         AT_SECURE processes.
6379         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6380         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6381         (test_child): Likewise.
6382         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6384 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6386         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6388 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6390         * sysdeps/s390/atomic-machine.h
6391         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6392         (__arch_compare_and_exchange_val_8_acq,
6393         __arch_compare_and_exchange_val_16_acq,
6394         __arch_compare_and_exchange_val_32_acq,
6395         __arch_compare_and_exchange_val_64_acq):
6396         Delete macro.
6397         (atomic_compare_and_exchange_val_acq,
6398         atomic_compare_and_exchange_val_rel,
6399         atomic_compare_and_exchange_bool_acq,
6400         catomic_compare_and_exchange_bool_acq,
6401         atomic_exchange_acq, atomic_exchange_rel,
6402         atomic_exchange_and_add_acq,
6403         atomic_exchange_and_add_rel,
6404         catomic_exchange_and_add, atomic_or_val,
6405         atomic_or, catomic_or, atomic_bit_test_set,
6406         atomic_and_val, atomic_and, catomic_and):
6407         Define macros with help of C11 atomic builtins.
6409 2017-03-03  Justus Winter <justus@gnupg.org>
6411         * sysdeps/mach/hurd/ftruncate64.c: New file.
6412         * sysdeps/mach/hurd/truncate64.c: Likewise.
6414 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6416         * time/tzfile.c (NOID): Do not define.
6417         * time/tzset.c (NOID): Likewise.
6419 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6421         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6423 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6425         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6427 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6429         [BZ #21015]
6430         * manual/install.texi (Configuring and compiling): Document
6431         --enable-bind-now.
6432         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6433         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6434         (format.lds): Likewise.
6435         [bind-now] (LDFLAGS-c.so): Remove.
6436         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6437         be R_X86_64_GLOB_DAT.
6438         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6439         relocation can be R_386_GLOB_DAT.
6440         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6441         relocaiton can be R_ALPHA_GLOB_DAT.
6442         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6444 2017-03-01  Zack Weinberg  <zackw@panix.com>
6446         * include/libc-pointer-arith.h: New file.  Define
6447         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6448         PTR_ALIGN_DOWN here.
6449         * include/libc-internal.h: Definitions of above macros
6450         moved from here.  Don't include libc-diag.h anymore either.
6451         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6452         Don't include libc-internal.h.
6454         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6455         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6456         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6457         * string/strcoll_l.c, sysdeps/nacl/brk.c
6458         * sysdeps/unix/clock_settime.c
6459         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6460         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6461         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6463         Don't include libc-internal.h.
6465         * elf/get-dynamic-info.h, iconv/loop.c
6466         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6467         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6468         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6469         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6470         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6471         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6473         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6474         * sysdeps/ieee754/ldbl-128/k_tanl.c
6475         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6476         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6477         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6478         Include libc-diag.h instead of libc-internal.h.
6480         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6481         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6482         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6483         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6484         * sysdeps/unix/sysv/linux/spawni.c
6485         * sysdeps/x86_64/nptl/tls.h:
6486         Include libc-pointer-arith.h instead of libc-internal.h.
6488         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6489         * sysdeps/x86_64/atomic-machine.h:
6490         Add multiple include guard.
6492         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6493         * string/strcasestr.c: No need to include config.h.
6494         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6495         sys/auxv.h. Don't include sysdep.h.
6496         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6498         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6499         DL_LOOKUP_ADDRESS.
6500         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6501         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6502         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6503         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6504         of ARTIFICIAL_LIMIT.
6505         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6506         declaration of __clone2.
6508 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6510         * scripts/backport-support.sh (latest_commit): New file.
6512 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6514         [BZ #20257]
6515         * inet/Makefile (routines): Add deadline.
6516         (tests-static): Add tst-deadline.
6517         * inet/net-internal.h (struct deadline_current_time)
6518         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6519         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6520         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6521         * inet/deadline.c: New file.
6522         * inet/tst-deadline.c: Likewise.
6523         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6524         tst-udp-timeout, tst-udp-garbage.
6525         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6526         explicitly.
6527         (tst-udp-garbage): Likewise.  Also link against thread library.
6528         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6529         struct layout is part of the ABI.
6530         (clntudp_call): Rework timeout handling.
6531         * sunrpc/tst-udp-garbage.c: New file.
6532         * sunrpc/tst-udp-nonblocking.c: Likewise.
6533         * sunrpc/tst-udp-timeout.c: Likewise.
6535 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6537         [BZ #5010]
6538         * sunrpc/svc.c (svc_is_mapped): Remove.
6539         (svc_unregister): Obtain mapped status while the service is still
6540         registered.
6541         * sunrpc/Makefile [have-thread-library] (tests): Add
6542         tst-svc_register.
6543         (tst-svc_register): Link against libc.so explicitly and the thread
6544         library.
6545         * sunrpc/tst-svc_register.c: New file.
6547 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6549         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6550         * sysdeps/pthread/bits/sigthread.h: Likewise.
6552 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6554         [BZ #21115]
6555         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6556         * sunrpc/Makefile (tests): Add tst-udp-error.
6557         (tst-udp-error): Link against libc.so explicitly.
6558         * sunrpc/tst-udp-error: New file.
6560 2017-02-25  Zack Weinberg  <zackw@panix.com>
6562         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6563         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6565         * sysdeps/generic/math_ldbl.h
6566         * sysdeps/ia64/fpu/math_ldbl.h
6567         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6569         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6570         * sysdeps/powerpc/fpu/math_ldbl.h
6571         * sysdeps/x86_64/fpu/math_ldbl.h:
6572         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6573         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6574         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6575         Add copyright notices.
6577         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6578         Don't use EXTRACT_WORDS64.
6580         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6581         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6582         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6583         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6584         Include math_ldbl.h, not math_private.h.
6586 2017-02-25  Zack Weinberg  <zackw@panix.com>
6588         * include/libc-diag.h: New file.  Define ignore_value,
6589         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6590         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6592         * include/libc-internal.h: Definitions of above macros moved from
6593         here.  Include libc-diag.h.  Add copyright notice.
6595         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6596         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6597         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6598         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6599         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6600         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6601         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6602         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6603         Include libc-diag.h instead of libc-internal.h.
6605         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6606         call to unsetenv (NULL).
6607         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6608         call to pthread_mutexattr_destroy (NULL).
6610 2017-02-25  Zack Weinberg  <zackw@panix.com>
6612         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6613         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6614         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6615         gets was removed from C++ in C++14.
6616         * include/stdio.h: Remove redundant declaration of gets.
6617         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6618         be declared, since we are testing it.
6619         * stdio-common/Makefile (tst-gets.c): Compile with
6620         -Wno-deprecated-declarations.
6621         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6622         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6623         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6624         Compile with -Wno-deprecated-declarations.
6626 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6628         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6629         numbers.
6631 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6633         * resolv/tst-resolv-qtypes.c (domain):
6634         Change type to const pointer to const char.
6636 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6638         * math/Makefile (libm-tests-generated): Remove variable.
6639         (libm-tests-base-normal): New variable.
6640         (libm-tests-base-finite): Likewise.
6641         (libm-tests-base-inline): Likewise.
6642         (libm-tests-base): Likewise.
6643         (libm-tests-normal): Likewise.
6644         (libm-tests-finite): Likewise.
6645         (libm-tests-inline): Likewise.
6646         (libm-tests-vector): Likewise.
6647         (libm-tests): Define in terms of these new variables.
6648         (libm-tests-for-type): New variable.
6649         (libm-tests.o): Move definition.
6650         (tests): Move addition of $(libm-tests).
6651         (generated): Update for new and removed libm test files.
6652         ($(objpfx)libm-test.c): Remove target.
6653         ($(objpfx)libm-have-vector-test.h): Likewise.
6654         (CFLAGS-test-double-vlen2.c): Remove variable.
6655         (CFLAGS-test-double-vlen4.c): Likewise.
6656         (CFLAGS-test-double-vlen8.c): Likewise.
6657         (CFLAGS-test-float-vlen4.c): Likewise.
6658         (CFLAGS-test-float-vlen8.c): Likewise.
6659         (CFLAGS-test-float-vlen16.c): Likewise.
6660         (CFLAGS-test-float.c): Likewise.
6661         (CFLAGS-test-float-finite.c): Likewise.
6662         (CFLAGS-libm-test-support-float.c): Likewise.
6663         (CFLAGS-test-double.c): Likewise.
6664         (CFLAGS-test-double-finite.c): Likewise.
6665         (CFLAGS-libm-test-support-double.c): Likewise.
6666         (CFLAGS-test-ldouble.c): Likewise.
6667         (CFLAGS-test-ldouble-finite.c): Likewise.
6668         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6669         (libm-test-inline-cflags): New variable.
6670         (CFLAGS-test-ifloat.c): Remove variable.
6671         (CFLAGS-test-idouble.c): Likewise.
6672         (CFLAGS-test-ildouble.c): Likewise.
6673         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6674         dependencies.
6675         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6676         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6677         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6678         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6679         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6680         Likewise.
6681         (dependencies on libm-test-support-*.o): Remove.
6682         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6683         rules using iterators.
6684         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6685         Likewise.
6686         ($(objpfx)libm-test-support-$(o).o): Likewise.
6687         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6688         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6689         instead.
6690         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6691         define rule instead.
6692         * math/README.libm-test: Update.
6693         * math/libm-test-acos.inc: Include libm-test-driver.c.
6694         (do_test): New function.
6695         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6696         (do_test): New function.
6697         * math/libm-test-asin.inc: Include libm-test-driver.c.
6698         (do_test): New function.
6699         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6700         (do_test): New function.
6701         * math/libm-test-atan.inc: Include libm-test-driver.c.
6702         (do_test): New function.
6703         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6704         (do_test): New function.
6705         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6706         (do_test): New function.
6707         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6708         (do_test): New function.
6709         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6710         (do_test): New function.
6711         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6712         (do_test): New function.
6713         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6714         (do_test): New function.
6715         * math/libm-test-carg.inc: Include libm-test-driver.c.
6716         (do_test): New function.
6717         * math/libm-test-casin.inc: Include libm-test-driver.c.
6718         (do_test): New function.
6719         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6720         (do_test): New function.
6721         * math/libm-test-catan.inc: Include libm-test-driver.c.
6722         (do_test): New function.
6723         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6724         (do_test): New function.
6725         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6726         (do_test): New function.
6727         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6728         (do_test): New function.
6729         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6730         (do_test): New function.
6731         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6732         (do_test): New function.
6733         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6734         (do_test): New function.
6735         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6736         (do_test): New function.
6737         * math/libm-test-clog.inc: Include libm-test-driver.c.
6738         (do_test): New function.
6739         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6740         (do_test): New function.
6741         * math/libm-test-conj.inc: Include libm-test-driver.c.
6742         (do_test): New function.
6743         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6744         (do_test): New function.
6745         * math/libm-test-cos.inc: Include libm-test-driver.c.
6746         (do_test): New function.
6747         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6748         (do_test): New function.
6749         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6750         (do_test): New function.
6751         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6752         (do_test): New function.
6753         * math/libm-test-creal.inc: Include libm-test-driver.c.
6754         (do_test): New function.
6755         * math/libm-test-csin.inc: Include libm-test-driver.c.
6756         (do_test): New function.
6757         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6758         (do_test): New function.
6759         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6760         (do_test): New function.
6761         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6762         (do_test): New function.
6763         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6764         (do_test): New function.
6765         * math/libm-test-erf.inc: Include libm-test-driver.c.
6766         (do_test): New function.
6767         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6768         (do_test): New function.
6769         * math/libm-test-exp.inc: Include libm-test-driver.c.
6770         (do_test): New function.
6771         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6772         (do_test): New function.
6773         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6774         (do_test): New function.
6775         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6776         (do_test): New function.
6777         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6778         (do_test): New function.
6779         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6780         (do_test): New function.
6781         * math/libm-test-floor.inc: Include libm-test-driver.c.
6782         (do_test): New function.
6783         * math/libm-test-fma.inc: Include libm-test-driver.c.
6784         (do_test): New function.
6785         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6786         (do_test): New function.
6787         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6788         (do_test): New function.
6789         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6790         (do_test): New function.
6791         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6792         (do_test): New function.
6793         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6794         (do_test): New function.
6795         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6796         (do_test): New function.
6797         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6798         (do_test): New function.
6799         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6800         (do_test): New function.
6801         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6802         (do_test): New function.
6803         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6804         (do_test): New function.
6805         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6806         (do_test): New function.
6807         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6808         (do_test): New function.
6809         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6810         (do_test): New function.
6811         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6812         (do_test): New function.
6813         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6814         (do_test): New function.
6815         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6816         (do_test): New function.
6817         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6818         (do_test): New function.
6819         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6820         (do_test): New function.
6821         * math/libm-test-isless.inc: Include libm-test-driver.c.
6822         (do_test): New function.
6823         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6824         (do_test): New function.
6825         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6826         (do_test): New function.
6827         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6828         (do_test): New function.
6829         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6830         (do_test): New function.
6831         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6832         (do_test): New function.
6833         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6834         (do_test): New function.
6835         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6836         (do_test): New function.
6837         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6838         (do_test): New function.
6839         * math/libm-test-j0.inc: Include libm-test-driver.c.
6840         (do_test): New function.
6841         * math/libm-test-j1.inc: Include libm-test-driver.c.
6842         (do_test): New function.
6843         * math/libm-test-jn.inc: Include libm-test-driver.c.
6844         (do_test): New function.
6845         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6846         (do_test): New function.
6847         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6848         (do_test): New function.
6849         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6850         (do_test): New function.
6851         * math/libm-test-llround.inc: Include libm-test-driver.c.
6852         (do_test): New function.
6853         * math/libm-test-log.inc: Include libm-test-driver.c.
6854         (do_test): New function.
6855         * math/libm-test-log10.inc: Include libm-test-driver.c.
6856         (do_test): New function.
6857         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6858         (do_test): New function.
6859         * math/libm-test-log2.inc: Include libm-test-driver.c.
6860         (do_test): New function.
6861         * math/libm-test-logb.inc: Include libm-test-driver.c.
6862         (do_test): New function.
6863         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6864         (do_test): New function.
6865         * math/libm-test-lround.inc: Include libm-test-driver.c.
6866         (do_test): New function.
6867         * math/libm-test-modf.inc: Include libm-test-driver.c.
6868         (do_test): New function.
6869         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6870         (do_test): New function.
6871         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6872         (do_test): New function.
6873         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6874         (do_test): New function.
6875         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6876         (do_test): New function.
6877         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6878         (do_test): New function.
6879         * math/libm-test-pow.inc: Include libm-test-driver.c.
6880         (do_test): New function.
6881         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6882         (do_test): New function.
6883         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6884         (do_test): New function.
6885         * math/libm-test-rint.inc: Include libm-test-driver.c.
6886         (do_test): New function.
6887         * math/libm-test-round.inc: Include libm-test-driver.c.
6888         (do_test): New function.
6889         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6890         (do_test): New function.
6891         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6892         (do_test): New function.
6893         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6894         (do_test): New function.
6895         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6896         (do_test): New function.
6897         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6898         (do_test): New function.
6899         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6900         (do_test): New function.
6901         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6902         (do_test): New function.
6903         * math/libm-test-significand.inc: Include libm-test-driver.c.
6904         (do_test): New function.
6905         * math/libm-test-sin.inc: Include libm-test-driver.c.
6906         (do_test): New function.
6907         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6908         (do_test): New function.
6909         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6910         (do_test): New function.
6911         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6912         (do_test): New function.
6913         * math/libm-test-tan.inc: Include libm-test-driver.c.
6914         (do_test): New function.
6915         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6916         (do_test): New function.
6917         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6918         (do_test): New function.
6919         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6920         (do_test): New function.
6921         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6922         (do_test): New function.
6923         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6924         (do_test): New function.
6925         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6926         (do_test): New function.
6927         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6928         (do_test): New function.
6929         * math/libm-test-y0.inc: Include libm-test-driver.c.
6930         (do_test): New function.
6931         * math/libm-test-y1.inc: Include libm-test-driver.c.
6932         (do_test): New function.
6933         * math/libm-test-yn.inc: Include libm-test-driver.c.
6934         (do_test): New function.
6935         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6936         (HAVE_VECTOR): Remove macro.
6937         (START): Do not call HAVE_VECTOR.
6938         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6939         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6940         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6941         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6942         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6943         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6944         * math/test-math-vector.h (FUNC_TEST): New macro.
6945         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6946         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6947         (double-vlen4-funcs): Likewise.
6948         (double-vlen4-avx2-funcs): Likewise.
6949         (double-vlen8-funcs): Likewise.
6950         (float-vlen4-funcs): Likewise.
6951         (float-vlen8-funcs): Likewise.
6952         (float-vlen8-avx2-funcs): Likewise.
6953         (float-vlen16-funcs): Likewise.
6954         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6955         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6956         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6957         macro.
6958         (TEST_VECTOR_sin): Likewise.
6959         (TEST_VECTOR_sincos): Likewise.
6960         (TEST_VECTOR_log): Likewise.
6961         (TEST_VECTOR_exp): Likewise.
6962         (TEST_VECTOR_pow): Likewise.
6963         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6964         Likewise.
6965         (TEST_VECTOR_sin): Likewise.
6966         (TEST_VECTOR_sincos): Likewise.
6967         (TEST_VECTOR_log): Likewise.
6968         (TEST_VECTOR_exp): Likewise.
6969         (TEST_VECTOR_pow): Likewise.
6970         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6971         Likewise.
6972         (TEST_VECTOR_sinf): Likewise.
6973         (TEST_VECTOR_sincosf): Likewise.
6974         (TEST_VECTOR_logf): Likewise.
6975         (TEST_VECTOR_expf): Likewise.
6976         (TEST_VECTOR_powf): Likewise.
6977         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6978         Likewise.
6979         (TEST_VECTOR_sinf): Likewise.
6980         (TEST_VECTOR_sincosf): Likewise.
6981         (TEST_VECTOR_logf): Likewise.
6982         (TEST_VECTOR_expf): Likewise.
6983         (TEST_VECTOR_powf): Likewise.
6984         * math/gen-libm-have-vector-test.sh: Remove file.
6985         * math/libm-test.inc: Likewise.
6986         * math/libm-test-support-double.c: Likewise.
6987         * math/libm-test-support-float.c: Likewise.
6988         * math/libm-test-support-ldouble.c: Likewise.
6989         * math/test-double-finite.c: Likewise.: Likewise.
6990         * math/test-double.c: Likewise.
6991         * math/test-float-finite.c: Likewise.
6992         * math/test-float.c: Likewise.
6993         * math/test-idouble.c: Likewise.
6994         * math/test-ifloat.c: Likewise.
6995         * math/test-ildouble.c: Likewise.
6996         * math/test-ldouble-finite.c: Likewise.
6997         * math/test-ldouble.c: Likewise.
6998         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6999         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7000         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7001         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7002         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7003         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7004         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7005         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7007         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7009 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7010            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7012         * math/Makefile: Add wrappers to gen-libm-calls.
7013         * math/w_acos_template.c: New file.
7014         * math/w_acosh_template.c: Likewise.
7015         * math/w_asin_template.c: Likewise.
7016         * math/w_atan2_template.c: Likewise.
7017         * math/w_atanh_template.c: Likewise.
7018         * math/w_cosh_template.c: Likewise.
7019         * math/w_exp10_template.c: Likewise.
7020         * math/w_exp2_template.c: Likewise.
7021         * math/w_exp_template.c: Likewise.
7022         * math/w_fmod_template.c: Likewise.
7023         * math/w_hypot_template.c: Likewise.
7024         * math/w_j0_template.c: Likewise.
7025         * math/w_j1_template.c: Likewise.
7026         * math/w_jn_template.c: Likewise.
7027         * math/w_lgamma_r_template.c: Likewise.
7028         * math/w_lgamma_template.c: Likewise.
7029         * math/w_log10_template.c: Likewise.
7030         * math/w_log2_template.c: Likewise.
7031         * math/w_log_template.c: Likewise.
7032         * math/w_pow_template.c: Likewise.
7033         * math/w_remainder_template.c: Likewise.
7034         * math/w_sinh_template.c: Likewise.
7035         * math/w_sqrt_template.c: Likewise.
7036         * math/w_tgamma_template.c: Likewise.: Likewise.
7037         * sysdeps/generic/math-type-macros-double.h
7038         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7039         the new wrappers.
7040         * sysdeps/generic/math-type-macros-float.h: Likewise.
7041         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7043 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7045         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7046         New enum constant and macro.
7048         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7049         kernel version to 4.10.
7051 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7053         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7055 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7059 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7061         * sysdeps/powerpc/tst-set_ppr.c: New file.
7062         Implement test cases for __ppc_set_ppr_* functions.
7063         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7064         in the list of tests.
7066 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7068         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7069         instead of test-skeleton.c.
7070         (do_test): Replaced pthread_create and pthread_join with
7071         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7072         Removed unneeded status variable.
7073         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7074         instead of test-skeleton.c.
7075         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7077 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7079         [BZ #20313]
7080         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7081         201605L, for Unicode 9.
7083 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7085         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7086         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7087         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7088         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7089         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7090         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7092 2017-02-19  Zack Weinberg  <zackw@panix.com>
7094         * rt/tst-mqueue4.c: Include stdint.h.
7096 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7098         * sysdeps/arm/libm-test-ulps: Update.
7099         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7101         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7103 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7105         [BZ #21029]
7106         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7107         * sysdeps/unix/sysv/linux/i386/Makefile
7108         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7109         (uses-6-syscall-arguments): Remove.
7110         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7111         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7112         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7113         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7114         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7115         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7116         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7117         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7118         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7119         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7120         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7121         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7122         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7123         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7124         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7125         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7126         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7127         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7128         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7129         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7130         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7131         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7132         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7133         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7134         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7135         Likewise.
7136         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7137         Likewise.
7138         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7139         Likewise.
7140         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7141         Likewise.
7142         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7143         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7144         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7145         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7146         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7147         ebp on inline assembly.
7148         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7149         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7150         Set if CAN_USE_REGISTER_ASM_EBP is set.
7152 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7154         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7155         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7157 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7159         * math/auto-libm-test-in: Add tests of catan and catanh.
7160         * math/auto-libm-test-out-catan: New generated file.
7161         * math/auto-libm-test-out-catanh: Likewise.
7162         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7163         Move tests with finite inputs, except divide-by-zero cases, to
7164         auto-libm-test-in.
7165         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7166         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7167         (libm-test-funcs-noauto): Remove catan and catanh.
7168         * sysdeps/i386/fpu/libm-test-ulps: Update.
7169         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172         * math/auto-libm-test-in: Add tests of casin and casinh.
7173         * math/auto-libm-test-out-casin: New generated file.
7174         * math/auto-libm-test-out-casinh: Likewise.
7175         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7176         Move tests with finite inputs to auto-libm-test-in.
7177         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7178         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7179         (libm-test-funcs-noauto): Remove casin and casinh.
7180         * sysdeps/i386/fpu/libm-test-ulps: Update.
7181         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7185         * math/auto-libm-test-out-cacos: New generated file.
7186         * math/auto-libm-test-out-cacosh: Likewise.
7187         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7188         Move tests with finite inputs to auto-libm-test-in.
7189         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7190         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7191         (libm-test-funcs-noauto): Remove cacos and cacosh.
7192         * sysdeps/i386/fpu/libm-test-ulps: Update.
7193         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7196         Revert:
7197         2017-02-16  Zack Weinberg  <zackw@panix.com>
7199         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7200         Don't include init-arch.h.
7201         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7202         Don't include init-arch.h.
7204 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7206         [BZ #21171]
7207         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7208         +Inf and raise divide-by-zero when x is negative.
7209         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7210         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7211         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7212         -Inf and raise divide-by-zero when x = +-0.
7213         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7214         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7215         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7216         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7217         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7218         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7221 2017-02-16  Zack Weinberg  <zackw@panix.com>
7223         * scripts/build-many-glibcs.py (bot_build_mail): If the
7224         bot_config does not contain all of the necessary email-
7225         related settings, just print a warning and continue.
7227 2017-02-16  Zack Weinberg  <zackw@panix.com>
7229         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7230         * dirent/opendir-tst1.c: Include sys/stat.h.
7231         * dirent/tst-fdopendir.c: Include sys/stat.h.
7232         * dirent/tst-fdopendir2.c: Include stdlib.h.
7233         * dirent/tst-scandir.c: Include stdbool.h.
7234         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7235         * elf/tst-tls15.c: Include stdlib.h.
7236         * elf/tst-tls16.c: Include stdlib.h.
7237         * elf/tst-tls17.c: Include stdlib.h.
7238         * elf/tst-tls18.c: Include stdlib.h.
7239         * iconv/tst-iconv6.c: Include endian.h.
7240         * iconvdata/bug-iconv11.c: Include limits.h.
7241         * io/test-utime.c: Include stdint.h.
7242         * io/tst-faccessat.c: Include sys/stat.h.
7243         * io/tst-fchmodat.c: Include sys/stat.h.
7244         * io/tst-fchownat.c: Include sys/stat.h.
7245         * io/tst-fstatat.c: Include sys/stat.h.
7246         * io/tst-futimesat.c: Include sys/stat.h.
7247         * io/tst-linkat.c: Include sys/stat.h.
7248         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7249         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7250         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7251         * io/tst-openat.c: Include stdbool.h.
7252         * io/tst-readlinkat.c: Include sys/stat.h.
7253         * io/tst-renameat.c: Include sys/stat.h.
7254         * io/tst-symlinkat.c: Include sys/stat.h.
7255         * io/tst-unlinkat.c: Include stdbool.h.
7256         * libio/bug-memstream1.c: Include stdlib.h.
7257         * libio/bug-wmemstream1.c: Include stdlib.h.
7258         * libio/tst-fwrite-error.c: Include stdlib.h.
7259         * libio/tst-memstream1.c: Include stdlib.h.
7260         * libio/tst-memstream2.c: Include stdlib.h.
7261         * libio/tst-memstream3.c: Include stdlib.h.
7262         * malloc/tst-interpose-aux.c: Include stdint.h.
7263         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7264         * nptl/tst-basic7.c: Include limits.h.
7265         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7266         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7267         * nptl/tst-cancel4_1.c: Include stddef.h.
7268         * nptl/tst-cancel4_2.c: Include stddef.h.
7269         * nptl/tst-cond16.c: Include limits.h.
7270         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7271         * nptl/tst-cond18.c: Include limits.h.
7272         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7273         * nptl/tst-cond4.c: Include stdint.h.
7274         * nptl/tst-cond6.c: Include stdint.h.
7275         * nptl/tst-stack2.c: Include limits.h.
7276         * nptl/tst-stackguard1.c: Include stddef.h.
7277         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7278         * nptl/tst-tls4moda.c: Include stddef.h.
7279         Don't include stdio.h, unistd.h, or tls.h.
7280         * nptl/tst-tls4modb.c: Include stddef.h.
7281         Don't include stdio.h, unistd.h, or tls.h.
7282         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7283         * posix/tst-getaddrinfo2.c: Include stdio.h.
7284         * posix/tst-getaddrinfo5.c: Include stdio.h.
7285         * posix/tst-pathconf.c: Include sys/stat.h.
7286         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7287         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7288         * posix/tst-regex.c: Include stdint.h.
7289         Don't include spawn.h or spawn_int.h.
7290         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7291         * posix/tst-vfork3.c: Include sys/stat.h.
7292         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7293         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7294         * resolv/tst-resolv-search.c: Include stdlib.h.
7295         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7296         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7297         * stdlib/test-canon.c: Include sys/stat.h.
7298         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7299         * string/test-memchr.c: Include stdint.h.
7300         * string/tst-cmp.c: Include stdint.h.
7301         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7302         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7303         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7304         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7305         Don't include init-arch.h.
7306         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7307         Don't include init-arch.h.
7308         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7309         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7310         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7311         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7312         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7313         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7314         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7315         * time/clocktest.c: Include stdint.h.
7316         * time/tst-posixtz.c: Include stdint.h.
7317         * timezone/tst-timezone.c: Include stdint.h.
7319 2017-02-16  Zack Weinberg  <zackw@panix.com>
7321         * string/string.h [__USE_MISC]: Include strings.h.
7322         (__bzero, bcmp, bcopy, bzero, index, rindex)
7323         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7324         (ffs, ffsl, ffsll): Don't declare.
7325         * string/strings.h: Do not suppress the file if string.h has
7326         already been included.
7327         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7328         annotations.
7329         (index, rindex): Define inline forwarders even if
7330         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7331         (ffs): Use __attribute_const__.
7332         (ffsl, ffsll): Declare here.
7333         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7334         have now been standardized.
7335         * include/string.h (__bzero): Declare here.
7337         * bits/types.h: Move to posix/bits.
7338         * include/bits/types.h: New wrapper.
7340 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7342         * string/bits/string2.h (strcmp): Remove define.
7343         (__strcmp_cg): Likewise.
7344         (strncmp): Likewise.
7346 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7348         * include/string.h: Add __cplusplus check.
7350 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7352         [BZ #21134]
7353         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7354         "divide by zero" exception when the input is zero.
7355         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7356         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7357         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7358         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7359         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7361 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7363         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7364         and include ...
7365         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7366         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7367         to, and include ...
7368         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7369         file.
7370         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7371         and include ...
7372         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7373         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7374         and include ...
7375         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7376         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7377         and include ...
7378         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7379         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7380         and include ...
7381         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7382         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7383         to, and include ...
7384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7385         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7386         and include ...
7387         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7389 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7391         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7392         here.
7393         * math/libm-test-support.c (libm_test_init): Do not call
7394         INIT_ARCH_EXT here.
7395         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7396         (main): Call INIT_ARCH_EXT.
7398 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7400         [BZ #21130]
7401         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7402         with the "invalid" exception raised when x is -Inf.
7403         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7405 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7407         * string/bits/string2.h (strchr): Remove define.
7409 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7411         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7412         tst-avx512.
7413         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7414         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7415         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7416         ($(objpfx)tst-sse): New rule.
7417         ($(objpfx)tst-avx): Likewise.
7418         ($(objpfx)tst-avx512): Likewise.
7419         (CFLAGS-tst-avx-aux.c): New.
7420         (CFLAGS-tst-avxmod.c): Likewise.
7421         (CFLAGS-tst-avx512-aux.c): Likewise.
7422         (CFLAGS-tst-avx512mod.c): Likewise.
7423         * sysdeps/x86_64/tst-avx-aux.c: New file.
7424         * sysdeps/x86_64/tst-avx.c: Likewise.
7425         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7426         * sysdeps/x86_64/tst-avx512.c: Likewise.
7427         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7428         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7429         * sysdeps/x86_64/tst-sse.c: Likewise.
7430         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7432 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7434         * math/auto-libm-test-in: Add more tests of csin and csinh.
7435         * math/auto-libm-test-out-csin: Regenerated.
7436         * math/auto-libm-test-out-csinh: Likewise.
7437         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7438         auto-libm-test-in.
7439         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7441 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7443         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7444         libm-compat-calls-auto.
7445         (libm-compat-calls): Likewise.
7446         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7447         w_lgamma_compatF and k_standardF (merged from the items above).
7448         (libm-routines): Use libm-compat-calls, instead of
7449         libm-compat-calls-auto, with type-foreach.
7451 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7453         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7454         macro.
7455         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7456         (CFLAGS-test-ifloat.c): ... this.  Remove
7457         -U__LIBC_INTERNAL_MATH_INLINES.
7458         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7459         (CFLAGS-test-idouble.c): ... this.  Remove
7460         -U__LIBC_INTERNAL_MATH_INLINES.
7461         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7462         (CFLAGS-test-ildouble.c): ... this.  Remove
7463         -U__LIBC_INTERNAL_MATH_INLINES.
7465 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7467         * math/libm-test-support.c: New file.  Content from
7468         math/libm-test-driver.c.
7469         * math/libm-test-support.h: Likewise.
7470         * math/libm-test-support-double.c: New file.
7471         * math/libm-test-support-float.c: Likewise.
7472         * math/libm-test-support-ldouble.c: Likewise.
7473         * math/libm-test-driver.c: Remove main comment and header
7474         includes.  Include libm-test-support.h.
7475         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7476         (flag_test_errno): Remove static.
7477         (flag_test_exceptions): Likewise.
7478         (flag_test_finite): Likewise.
7479         (flag_test_inline): Likewise.
7480         (flag_test_mathvec): Likewise.
7481         (test_msg): Likewise.
7482         (NO_EXCEPTION): Remove.
7483         (INVALID_EXCEPTION): Likewise.
7484         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7485         (OVERFLOW_EXCEPTION): Likewise.
7486         (UNDERFLOW_EXCEPTION): Likewise.
7487         (INEXACT_EXCEPTION): Likewise.
7488         (INVALID_EXCEPTION_OK): Likewise.
7489         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7490         (OVERFLOW_EXCEPTION_OK): Likewise.
7491         (UNDERFLOW_EXCEPTION_OK): Likewise.
7492         (NO_INEXACT_EXCEPTION): Likewise.
7493         (EXCEPTIONS_OK): Likewise.
7494         (IGNORE_ZERO_INF_SIGN): Likewise.
7495         (TEST_NAN_SIGN): Likewise.
7496         (TEST_NAN_PAYLOAD): Likewise.
7497         (NO_TEST_INLINE): Likewise.
7498         (XFAIL_TEST): Likewise.
7499         (ERRNO_UNCHANGED): Likewise.
7500         (ERRNO_EDOM): Likewise.
7501         (ERRNO_ERANGE): Likewise.
7502         (IGNORE_RESULT): Likewise.
7503         (NON_FINITE): Likewise.
7504         (TEST_SNAN): Likewise.
7505         (NO_TEST_MATHVEC): Likewise.
7506         (__CONCATX): Likewise.
7507         (TYPE_MIN): Likewise.
7508         (TYPE_TRUE_MIN): Likewise.
7509         (TYPE_MAX): Likewise.
7510         (MIN_EXP): Likewise.
7511         (MAX_EXP): Likewise.
7512         (MANT_DIG): Likewise.
7513         (FSTR_MAX): Likewise.
7514         (ulp_idx): Likewise.
7515         (qtype_str): Remove static.
7516         (TEST_COND_binary32): Remove.
7517         (TEST_COND_binary64): Likewise.
7518         (TEST_COND_binary128): Likewise.
7519         (TEST_COND_ibm128): Likewise.
7520         (TEST_COND_intel96): Likewise.
7521         (TEST_COND_m68k96): Likewise.
7522         (TEST_COND_ibm128_libgcc): Likewise.
7523         (XFAIL_IBM128_LIBGCC): Likewise.
7524         (PAYLOAD_DIG): Likewise.
7525         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7526         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7527         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7528         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7529         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7530         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7531         (TEST_COND_long32): Likewise.
7532         (TEST_COND_long64): Likewise.
7533         (TEST_COND_before_rounding): Likewise.
7534         (TEST_COND_after_rounding): Likewise.
7535         (ulps_file_name): Likewise.
7536         (ulps_file): Likewise.
7537         (output_ulps): Likewise.
7538         (output_dir): Likewise.
7539         (noErrors): Likewise.
7540         (noTests): Likewise.
7541         (noExcTests): Likewise.
7542         (noErrnoTests): Likewise.
7543         (verbose): Likewise.
7544         (output_max_error): Likewise.
7545         (output_points): Likewise.
7546         (ignore_max_ulp): Likewise.
7547         (max_error): Likewise.
7548         (real_max_error): Likewise.
7549         (imag_max_error): Likewise.
7550         (prev_max_error): Likewise.
7551         (prev_real_max_error): Likewise.
7552         (prev_imag_max_error): Likewise.
7553         (max_valid_error): Likewise.
7554         (TYPE_DECIMAL_DIG): Likewise.
7555         (TYPE_HEX_DIG): Likewise.
7556         (fmt_ftostr): Likewise.
7557         (compare_ulp_data): Likewise.
7558         (find_ulps): Likewise.
7559         (init_max_error): Likewise.
7560         (set_max_error): Likewise.
7561         (print_float): Likewise.
7562         (print_screen): Likewise.
7563         (print_screen_max_error): Likewise.
7564         (update_stats): Likewise.
7565         (print_function_ulps): Likewise.
7566         (print_complex_function_ulps): Likewise.
7567         (fpstack_test): Likewise.
7568         (print_max_error): Likewise.
7569         (print_complex_max_error): Likewise.
7570         (test_single_exception): Likewise.
7571         (test_exceptions): Likewise.
7572         (test_single_errno): Likewise.
7573         (test_errno): Likewise.
7574         (ULPDIFF): Likewise.
7575         (ulp): Likewise.
7576         (check_float_internal): Likewise.
7577         (check_float): Likewise.
7578         (check_complex): Likewise.
7579         (check_int): Likewise.
7580         (check_long): Likewise.
7581         (check_bool): Likewise.
7582         (check_longlong): Likewise.
7583         (check_intmax_t): Likewise.
7584         (check_uintmax_t): Likewise.
7585         (enable_test): Likewise.
7586         (matherr): Likewise.
7587         (initialize): Likewise.
7588         (options): Likewise.
7589         (doc): Remove static.
7590         (argp): Likewise.
7591         (parse_opt): Remove.
7592         (check_ulp): Likewise.
7593         (libm_test_init): Likewise.
7594         (libm_test_finish): Likewise.
7595         * math/Makefile (libm-test-support): New variable.
7596         (test-extras): Add libm-test-support files.
7597         (extra-test-objs): Likewise.
7598         (CFLAGS-libm-test-support-float.c): New variable.
7599         (CFLAGS-libm-test-support-double.c): Likewise.
7600         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7601         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7602         libm-test-support objects.
7604 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7606         * math/Makefile (libm-calls): Move w_exp...
7607         (libm-compat-calls-auto): Here.
7609         * math/w_expl.c: Add suffix "_compat" to filename.
7610         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7611         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7612         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7613         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7614         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7615         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7616         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7617         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7619         * math/w_expl_compat.c: New file, copied from above.
7620         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7621         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7622         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7623         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7624         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7625         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7626         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7627         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7629         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7630         to filename.
7631         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7633         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7634         copied from above and adjusted for the new filenames.
7635         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7637 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7639         * math/Makefile (libm-calls): Move w_lgammaF...
7640         (libm-compat-calls-auto): Here.
7642         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7643         * math/w_lgammaf.c: Likewise.
7644         * math/w_lgammal.c: Likewise.
7646         * math/w_lgamma_compat2.c: New file, copied from above.
7647         * math/w_lgammaf_compat2.c: Likewise.
7648         * math/w_lgammal_compat2.c: Likewise.
7650 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7652         * math/Makefile (libm-calls): Move w_lgammaF_r...
7653         (libm-compat-calls-auto): Here.
7655         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7656         * math/w_lgammaf_r.c: Likewise.
7657         * math/w_lgammal_r.c: Likewise.
7658         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7659         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7660         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7662         * math/w_lgamma_r_compat.c: New file, copied from above.
7663         * math/w_lgammaf_r_compat.c: Likewise.
7664         * math/w_lgammal_r_compat.c: Likewise.
7665         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7666         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7667         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7669         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7670         to filename.
7671         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7673         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7674         copied from above and adjusted for the new filenames.
7675         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7677 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7680         calculation in SYSCALL_ERROR_HANDLER().
7682 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7684         * manual/contrib.texi: Fix typo.
7686 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7688         [BZ #21109]
7689         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7690         tunable_val_t as argument.
7691         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7692         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7693         argument.
7694         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7696 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7698         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7699         Add PTRACE_EVENT_STOP.
7700         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7701         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7703         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7704         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7705         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7707 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7709         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7710         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7711         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7712         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7713         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7714         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7715         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7716         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7717         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7718         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7720         [BZ #21112]
7721         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7722         12 bits zero.
7723         (cp_l): Update for new value of cp_h.
7724         * math/auto-libm-test-in: Add another test of pow.
7725         * math/auto-libm-test-out-pow: Regenerated.
7727 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7729         * manual/contrib.texi: Fix typo.
7731 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7733         [BZ #15998]
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7735         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7738 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7740         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7741         STRCHR as __strchr_power8.
7742         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7743         strlen as __strlen_power8.
7745 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7747         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7748         unaligned load for shorter strings.
7749         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7751 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7753         * math/libm-test-driver.c (flag_test_errno): New variable.
7754         (flag_test_exceptions): Likewise.
7755         (flag_test_finite): Likewise.
7756         (flag_test_inline): Likewise.
7757         (flag_test_mathvec): Likewise.
7758         (test_msg): Likewise.
7759         (ulp_idx): Likewise.
7760         (qtype_str): Likewise.
7761         (ULP_IDX): Remove macro.
7762         (QTYPE_STR): Likewise.
7763         (find_ulps): Use ulp_idx not ULP_IDX.
7764         (print_function_ulps): Use qtype_str, printed with %s, not
7765         QTYPE_STR, printed with concatentation to format string.
7766         (print_complex_function_ulps): Likewise.
7767         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7768         (test_errno): Use flag_test_errno not TEST_ERRNO.
7769         (enable_test): Use flag_test_inline, flag_test_finite and
7770         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7771         TEST_MATHVEC.
7772         (libm_test_init): New function.  Factored out of main.
7773         (libm_test_finish): Likewise.
7774         (main): Call libm_test_init and libm_test_finish and move most
7775         code to those functions.
7777         * math/libm-test-driver.c (STRX): New macro.
7778         (STR): Likewise.
7779         (STR_FLOAT): Likewise.
7780         (STR_VEC_LEN): Likewise.
7781         (TEST_MSG): Likewise.  Define here instead of expecting to be
7782         defined by including file.
7783         * math/test-double-finite.c (TEST_MSG): Remove macro.
7784         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7785         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7786         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7787         * math/test-double.c (TEST_MSG): Likewise.
7788         * math/test-float-finite.c (TEST_MSG): Likewise.
7789         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7790         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7791         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7792         * math/test-float.c (TEST_MSG): Likewise.
7793         * math/test-idouble.c (TEST_MSG): Likewise.
7794         * math/test-ifloat.c (TEST_MSG): Likewise.
7795         * math/test-ildouble.c (TEST_MSG): Likewise.
7796         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7797         * math/test-ldouble.c (TEST_MSG): Likewise.
7799         * math/libm-test.inc: Move all tests of individual functions to
7800         libm-test-*.inc and #include libm-test-*.c files.
7801         (acos_test_data): Remove.
7802         (acos_test): Likewise.
7803         (acosh_test_data): Likewise.
7804         (acosh_test): Likewise.
7805         (asin_test_data): Likewise.
7806         (asin_test): Likewise.
7807         (asinh_test_data): Likewise.
7808         (asinh_test): Likewise.
7809         (atan_test_data): Likewise.
7810         (atan_test): Likewise.
7811         (atanh_test_data): Likewise.
7812         (atanh_test): Likewise.
7813         (atan2_test_data): Likewise.
7814         (atan2_test): Likewise.
7815         (cabs_test_data): Likewise.
7816         (cabs_test): Likewise.
7817         (cacos_test_data): Likewise.
7818         (cacos_test): Likewise.
7819         (cacosh_test_data): Likewise.
7820         (cacosh_test): Likewise.
7821         (canonicalize_test_data): Likewise.
7822         (canonicalize_test): Likewise.
7823         (carg_test_data): Likewise.
7824         (carg_test): Likewise.
7825         (casin_test_data): Likewise.
7826         (casin_test): Likewise.
7827         (casinh_test_data): Likewise.
7828         (casinh_test): Likewise.
7829         (catan_test_data): Likewise.
7830         (catan_test): Likewise.
7831         (catanh_test_data): Likewise.
7832         (catanh_test): Likewise.
7833         (cbrt_test_data): Likewise.
7834         (cbrt_test): Likewise.
7835         (ccos_test_data): Likewise.
7836         (ccos_test): Likewise.
7837         (ccosh_test_data): Likewise.
7838         (ccosh_test): Likewise.
7839         (ceil_test_data): Likewise.
7840         (ceil_test): Likewise.
7841         (cexp_test_data): Likewise.
7842         (cexp_test): Likewise.
7843         (cimag_test_data): Likewise.
7844         (cimag_test): Likewise.
7845         (clog_test_data): Likewise.
7846         (clog_test): Likewise.
7847         (clog10_test_data): Likewise.
7848         (clog10_test): Likewise.
7849         (conj_test_data): Likewise.
7850         (conj_test): Likewise.
7851         (copysign_test_data): Likewise.
7852         (copysign_test): Likewise.
7853         (cos_test_data): Likewise.
7854         (cos_test): Likewise.
7855         (cosh_test_data): Likewise.
7856         (cosh_test): Likewise.
7857         (cpow_test_data): Likewise.
7858         (cpow_test): Likewise.
7859         (cproj_test_data): Likewise.
7860         (cproj_test): Likewise.
7861         (creal_test_data): Likewise.
7862         (creal_test): Likewise.
7863         (csin_test_data): Likewise.
7864         (csin_test): Likewise.
7865         (csinh_test_data): Likewise.
7866         (csinh_test): Likewise.
7867         (csqrt_test_data): Likewise.
7868         (csqrt_test): Likewise.
7869         (ctan_test_data): Likewise.
7870         (ctan_test): Likewise.
7871         (ctanh_test_data): Likewise.
7872         (ctanh_test): Likewise.
7873         (erf_test_data): Likewise.
7874         (erf_test): Likewise.
7875         (erfc_test_data): Likewise.
7876         (erfc_test): Likewise.
7877         (exp_test_data): Likewise.
7878         (exp_test): Likewise.
7879         (exp10_test_data): Likewise.
7880         (exp10_test): Likewise.
7881         (pow10_test): Likewise.
7882         (exp2_test_data): Likewise.
7883         (exp2_test): Likewise.
7884         (expm1_test_data): Likewise.
7885         (expm1_test): Likewise.
7886         (fabs_test_data): Likewise.
7887         (fabs_test): Likewise.
7888         (fdim_test_data): Likewise.
7889         (fdim_test): Likewise.
7890         (floor_test_data): Likewise.
7891         (floor_test): Likewise.
7892         (fma_test_data): Likewise.
7893         (fma_test): Likewise.
7894         (fmax_test_data): Likewise.
7895         (fmax_test): Likewise.
7896         (fmaxmag_test_data): Likewise.
7897         (fmaxmag_test): Likewise.
7898         (fmin_test_data): Likewise.
7899         (fmin_test): Likewise.
7900         (fminmag_test_data): Likewise.
7901         (fminmag_test): Likewise.
7902         (fmod_test_data): Likewise.
7903         (fmod_test): Likewise.
7904         (fpclassify_test_data): Likewise.
7905         (fpclassify_test): Likewise.
7906         (frexp_test_data): Likewise.
7907         (frexp_test): Likewise.
7908         (fromfp_test_data): Likewise.
7909         (fromfp_test): Likewise.
7910         (fromfpx_test_data): Likewise.
7911         (fromfpx_test): Likewise.
7912         (getpayload_test_data): Likewise.
7913         (getpayload_test): Likewise.
7914         (hypot_test_data): Likewise.
7915         (hypot_test): Likewise.
7916         (ilogb_test_data): Likewise.
7917         (ilogb_test): Likewise.
7918         (iscanonical_test_data): Likewise.
7919         (iscanonical_test): Likewise.
7920         (iseqsig_test_data): Likewise.
7921         (iseqsig_test): Likewise.
7922         (isfinite_test_data): Likewise.
7923         (isfinite_test): Likewise.
7924         (finite_test): Likewise.
7925         (isgreater_test_data): Likewise.
7926         (isgreater_test): Likewise.
7927         (isgreaterequal_test_data): Likewise.
7928         (isgreaterequal_test): Likewise.
7929         (isinf_test_data): Likewise.
7930         (isinf_test): Likewise.
7931         (isless_test_data): Likewise.
7932         (isless_test): Likewise.
7933         (islessequal_test_data): Likewise.
7934         (islessequal_test): Likewise.
7935         (islessgreater_test_data): Likewise.
7936         (islessgreater_test): Likewise.
7937         (isnan_test_data): Likewise.
7938         (isnan_test): Likewise.
7939         (isnormal_test_data): Likewise.
7940         (isnormal_test): Likewise.
7941         (issignaling_test_data): Likewise.
7942         (issignaling_test): Likewise.
7943         (issubnormal_test_data): Likewise.
7944         (issubnormal_test): Likewise.
7945         (isunordered_test_data): Likewise.
7946         (isunordered_test): Likewise.
7947         (iszero_test_data): Likewise.
7948         (iszero_test): Likewise.
7949         (j0_test_data): Likewise.
7950         (j0_test): Likewise.
7951         (j1_test_data): Likewise.
7952         (j1_test): Likewise.
7953         (jn_test_data): Likewise.
7954         (jn_test): Likewise.
7955         (lgamma_test_data): Likewise.
7956         (lgamma_test): Likewise.
7957         (gamma_test): Likewise.
7958         (llogb_test_data): Likewise.
7959         (llogb_test): Likewise.
7960         (lrint_test_data): Likewise.
7961         (lrint_test): Likewise.
7962         (llrint_test_data): Likewise.
7963         (llrint_test): Likewise.
7964         (log_test_data): Likewise.
7965         (log_test): Likewise.
7966         (log10_test_data): Likewise.
7967         (log10_test): Likewise.
7968         (log1p_test_data): Likewise.
7969         (log1p_test): Likewise.
7970         (log2_test_data): Likewise.
7971         (log2_test): Likewise.
7972         (logb_test_data): Likewise.
7973         (logb_test): Likewise.
7974         (lround_test_data): Likewise.
7975         (lround_test): Likewise.
7976         (llround_test_data): Likewise.
7977         (llround_test): Likewise.
7978         (modf_test_data): Likewise.
7979         (modf_test): Likewise.
7980         (nearbyint_test_data): Likewise.
7981         (nearbyint_test): Likewise.
7982         (nextafter_test_data): Likewise.
7983         (nextafter_test): Likewise.
7984         (nextup_test_data): Likewise.
7985         (nextup_test): Likewise.
7986         (nextdown_test_data): Likewise.
7987         (nextdown_test): Likewise.
7988         (nexttoward_test_data): Likewise.
7989         (nexttoward_test): Likewise.
7990         (pow_test_data): Likewise.
7991         (pow_test): Likewise.
7992         (remainder_test_data): Likewise.
7993         (remainder_test): Likewise.
7994         (drem_test): Likewise.
7995         (remquo_test_data): Likewise.
7996         (remquo_test): Likewise.
7997         (rint_test_data): Likewise.
7998         (rint_test): Likewise.
7999         (round_test_data): Likewise.
8000         (round_test): Likewise.
8001         (roundeven_test_data): Likewise.
8002         (roundeven_test): Likewise.
8003         (scalb_test_data): Likewise.
8004         (scalb_test): Likewise.
8005         (scalbn_test_data): Likewise.
8006         (scalbn_test): Likewise.
8007         (ldexp_test): Likewise.
8008         (scalbln_test_data): Likewise.
8009         (scalbln_test): Likewise.
8010         (setpayload_test_data): Likewise.
8011         (setpayload_test): Likewise.
8012         (setpayloadsig_test_data): Likewise.
8013         (setpayloadsig_test): Likewise.
8014         (signbit_test_data): Likewise.
8015         (signbit_test): Likewise.
8016         (sin_test_data): Likewise.
8017         (sin_test): Likewise.
8018         (sincos_test_data): Likewise.
8019         (sincos_test): Likewise.
8020         (sinh_test_data): Likewise.
8021         (sinh_test): Likewise.
8022         (sqrt_test_data): Likewise.
8023         (sqrt_test): Likewise.
8024         (tan_test_data): Likewise.
8025         (tan_test): Likewise.
8026         (tanh_test_data): Likewise.
8027         (tanh_test): Likewise.
8028         (tgamma_test_data): Likewise.
8029         (tgamma_test): Likewise.
8030         (totalorder_test_data): Likewise.
8031         (totalorder_test): Likewise.
8032         (totalordermag_test_data): Likewise.
8033         (totalordermag_test): Likewise.
8034         (trunc_test_data): Likewise.
8035         (trunc_test): Likewise.
8036         (ufromfp_test_data): Likewise.
8037         (ufromfp_test): Likewise.
8038         (ufromfpx_test_data): Likewise.
8039         (ufromfpx_test): Likewise.
8040         (y0_test_data): Likewise.
8041         (y0_test): Likewise.
8042         (y1_test_data): Likewise.
8043         (y1_test): Likewise.
8044         (yn_test_data): Likewise.
8045         (yn_test): Likewise.
8046         (significand_test_data): Likewise.
8047         (significand_test): Likewise.
8048         * math/Makefile (auto-libm-test-out-files): Remove variable.
8049         (libm-test-funcs-noauto): New variable.
8050         (libm-test-funcs-all): Likewise.
8051         (libm-test-c-auto): Likewise.
8052         (libm-test-c-noauto): Likewise.
8053         (libm-tests-generated): Add $(libm-test-c-auto) and
8054         $(libm-test-c-noauto).
8055         (generated): Do not add auto-libm-test-out.
8056         (libm-test-c-auto-obj): New variable.
8057         (libm-test-c-noauto-obj): Likewise.
8058         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8059         ($(libm-test-c-noauto-obj)): New static pattern rule.
8060         ($(libm-test-c-auto-obj)): Likewise.
8061         (libm-test-incs): New variable.
8062         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8063         and pass it to gen-libm-have-vector-test.sh.
8064         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8065         be passed on command line.
8066         * math/libm-test-acos.inc: New file.  Content from
8067         math/libm-test.inc.
8068         * math/libm-test-acosh.inc: Likewise.
8069         * math/libm-test-asin.inc: Likewise.
8070         * math/libm-test-asinh.inc: Likewise.
8071         * math/libm-test-atan.inc: Likewise.
8072         * math/libm-test-atan2.inc: Likewise.
8073         * math/libm-test-atanh.inc: Likewise.
8074         * math/libm-test-cabs.inc: Likewise.
8075         * math/libm-test-cacos.inc: Likewise.
8076         * math/libm-test-cacosh.inc: Likewise.
8077         * math/libm-test-canonicalize.inc: Likewise.
8078         * math/libm-test-carg.inc: Likewise.
8079         * math/libm-test-casin.inc: Likewise.
8080         * math/libm-test-casinh.inc: Likewise.
8081         * math/libm-test-catan.inc: Likewise.
8082         * math/libm-test-catanh.inc: Likewise.
8083         * math/libm-test-cbrt.inc: Likewise.
8084         * math/libm-test-ccos.inc: Likewise.
8085         * math/libm-test-ccosh.inc: Likewise.
8086         * math/libm-test-ceil.inc: Likewise.
8087         * math/libm-test-cexp.inc: Likewise.
8088         * math/libm-test-cimag.inc: Likewise.
8089         * math/libm-test-clog.inc: Likewise.
8090         * math/libm-test-clog10.inc: Likewise.
8091         * math/libm-test-conj.inc: Likewise.
8092         * math/libm-test-copysign.inc: Likewise.
8093         * math/libm-test-cos.inc: Likewise.
8094         * math/libm-test-cosh.inc: Likewise.
8095         * math/libm-test-cpow.inc: Likewise.
8096         * math/libm-test-cproj.inc: Likewise.
8097         * math/libm-test-creal.inc: Likewise.
8098         * math/libm-test-csin.inc: Likewise.
8099         * math/libm-test-csinh.inc: Likewise.
8100         * math/libm-test-csqrt.inc: Likewise.
8101         * math/libm-test-ctan.inc: Likewise.
8102         * math/libm-test-ctanh.inc: Likewise.
8103         * math/libm-test-erf.inc: Likewise.
8104         * math/libm-test-erfc.inc: Likewise.
8105         * math/libm-test-exp.inc: Likewise.
8106         * math/libm-test-exp10.inc: Likewise.
8107         * math/libm-test-exp2.inc: Likewise.
8108         * math/libm-test-expm1.inc: Likewise.
8109         * math/libm-test-fabs.inc: Likewise.
8110         * math/libm-test-fdim.inc: Likewise.
8111         * math/libm-test-floor.inc: Likewise.
8112         * math/libm-test-fma.inc: Likewise.
8113         * math/libm-test-fmax.inc: Likewise.
8114         * math/libm-test-fmaxmag.inc: Likewise.
8115         * math/libm-test-fmin.inc: Likewise.
8116         * math/libm-test-fminmag.inc: Likewise.
8117         * math/libm-test-fmod.inc: Likewise.
8118         * math/libm-test-fpclassify.inc: Likewise.
8119         * math/libm-test-frexp.inc: Likewise.
8120         * math/libm-test-fromfp.inc: Likewise.
8121         * math/libm-test-fromfpx.inc: Likewise.
8122         * math/libm-test-getpayload.inc: Likewise.
8123         * math/libm-test-hypot.inc: Likewise.
8124         * math/libm-test-ilogb.inc: Likewise.
8125         * math/libm-test-iscanonical.inc: Likewise.
8126         * math/libm-test-iseqsig.inc: Likewise.
8127         * math/libm-test-isfinite.inc: Likewise.
8128         * math/libm-test-isgreater.inc: Likewise.
8129         * math/libm-test-isgreaterequal.inc: Likewise.
8130         * math/libm-test-isinf.inc: Likewise.
8131         * math/libm-test-isless.inc: Likewise.
8132         * math/libm-test-islessequal.inc: Likewise.
8133         * math/libm-test-islessgreater.inc: Likewise.
8134         * math/libm-test-isnan.inc: Likewise.
8135         * math/libm-test-isnormal.inc: Likewise.
8136         * math/libm-test-issignaling.inc: Likewise.
8137         * math/libm-test-issubnormal.inc: Likewise.
8138         * math/libm-test-isunordered.inc: Likewise.
8139         * math/libm-test-iszero.inc: Likewise.
8140         * math/libm-test-j0.inc: Likewise.
8141         * math/libm-test-j1.inc: Likewise.
8142         * math/libm-test-jn.inc: Likewise.
8143         * math/libm-test-lgamma.inc: Likewise.
8144         * math/libm-test-llogb.inc: Likewise.
8145         * math/libm-test-llrint.inc: Likewise.
8146         * math/libm-test-llround.inc: Likewise.
8147         * math/libm-test-log.inc: Likewise.
8148         * math/libm-test-log10.inc: Likewise.
8149         * math/libm-test-log1p.inc: Likewise.
8150         * math/libm-test-log2.inc: Likewise.
8151         * math/libm-test-logb.inc: Likewise.
8152         * math/libm-test-lrint.inc: Likewise.
8153         * math/libm-test-lround.inc: Likewise.
8154         * math/libm-test-modf.inc: Likewise.
8155         * math/libm-test-nearbyint.inc: Likewise.
8156         * math/libm-test-nextafter.inc: Likewise.
8157         * math/libm-test-nextdown.inc: Likewise.
8158         * math/libm-test-nexttoward.inc: Likewise.
8159         * math/libm-test-nextup.inc: Likewise.
8160         * math/libm-test-pow.inc: Likewise.
8161         * math/libm-test-remainder.inc: Likewise.
8162         * math/libm-test-remquo.inc: Likewise.
8163         * math/libm-test-rint.inc: Likewise.
8164         * math/libm-test-round.inc: Likewise.
8165         * math/libm-test-roundeven.inc: Likewise.
8166         * math/libm-test-scalb.inc: Likewise.
8167         * math/libm-test-scalbln.inc: Likewise.
8168         * math/libm-test-scalbn.inc: Likewise.
8169         * math/libm-test-setpayload.inc: Likewise.
8170         * math/libm-test-setpayloadsig.inc: Likewise.
8171         * math/libm-test-signbit.inc: Likewise.
8172         * math/libm-test-significand.inc: Likewise.
8173         * math/libm-test-sin.inc: Likewise.
8174         * math/libm-test-sincos.inc: Likewise.
8175         * math/libm-test-sinh.inc: Likewise.
8176         * math/libm-test-sqrt.inc: Likewise.
8177         * math/libm-test-tan.inc: Likewise.
8178         * math/libm-test-tanh.inc: Likewise.
8179         * math/libm-test-tgamma.inc: Likewise.
8180         * math/libm-test-totalorder.inc: Likewise.
8181         * math/libm-test-totalordermag.inc: Likewise.
8182         * math/libm-test-trunc.inc: Likewise.
8183         * math/libm-test-ufromfp.inc: Likewise.
8184         * math/libm-test-ufromfpx.inc: Likewise.
8185         * math/libm-test-y0.inc: Likewise.
8186         * math/libm-test-y1.inc: Likewise.
8187         * math/libm-test-yn.inc: Likewise.
8188         * math/README.libm-test: Update.
8190         * math/gen-auto-libm-tests.c: Update comment about use of program.
8191         (generate_output): Add argument FUNCTION.
8192         (main): Require extra argument.  Pass function name to
8193         generate_output.
8194         * math/Makefile (generated): Add auto-libm-test-out.
8195         (libm-test-funcs-auto): New variable.
8196         (auto-libm-test-out-files): New variable.
8197         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8198         Concatenate those files to form $(objpfx)auto-libm-test-out and
8199         use it as input to gen-libm-test.pl.
8200         * math/README.libm-test: Update.
8201         * math/auto-libm-test-out: Remove.
8202         * math/auto-libm-test-out-acos: New generated file.
8203         * math/auto-libm-test-out-acosh: Likewise.
8204         * math/auto-libm-test-out-asin: Likewise.
8205         * math/auto-libm-test-out-asinh: Likewise.
8206         * math/auto-libm-test-out-atan: Likewise.
8207         * math/auto-libm-test-out-atan2: Likewise.
8208         * math/auto-libm-test-out-atanh: Likewise.
8209         * math/auto-libm-test-out-cabs: Likewise.
8210         * math/auto-libm-test-out-carg: Likewise.
8211         * math/auto-libm-test-out-cbrt: Likewise.
8212         * math/auto-libm-test-out-ccos: Likewise.
8213         * math/auto-libm-test-out-ccosh: Likewise.
8214         * math/auto-libm-test-out-cexp: Likewise.
8215         * math/auto-libm-test-out-clog: Likewise.
8216         * math/auto-libm-test-out-clog10: Likewise.
8217         * math/auto-libm-test-out-cos: Likewise.
8218         * math/auto-libm-test-out-cosh: Likewise.
8219         * math/auto-libm-test-out-cpow: Likewise.
8220         * math/auto-libm-test-out-csin: Likewise.
8221         * math/auto-libm-test-out-csinh: Likewise.
8222         * math/auto-libm-test-out-csqrt: Likewise.
8223         * math/auto-libm-test-out-ctan: Likewise.
8224         * math/auto-libm-test-out-ctanh: Likewise.
8225         * math/auto-libm-test-out-erf: Likewise.
8226         * math/auto-libm-test-out-erfc: Likewise.
8227         * math/auto-libm-test-out-exp: Likewise.
8228         * math/auto-libm-test-out-exp10: Likewise.
8229         * math/auto-libm-test-out-exp2: Likewise.
8230         * math/auto-libm-test-out-expm1: Likewise.
8231         * math/auto-libm-test-out-fma: Likewise.
8232         * math/auto-libm-test-out-hypot: Likewise.
8233         * math/auto-libm-test-out-j0: Likewise.
8234         * math/auto-libm-test-out-j1: Likewise.
8235         * math/auto-libm-test-out-jn: Likewise.
8236         * math/auto-libm-test-out-lgamma: Likewise.
8237         * math/auto-libm-test-out-log: Likewise.
8238         * math/auto-libm-test-out-log10: Likewise.
8239         * math/auto-libm-test-out-log1p: Likewise.
8240         * math/auto-libm-test-out-log2: Likewise.
8241         * math/auto-libm-test-out-pow: Likewise.
8242         * math/auto-libm-test-out-sin: Likewise.
8243         * math/auto-libm-test-out-sincos: Likewise.
8244         * math/auto-libm-test-out-sinh: Likewise.
8245         * math/auto-libm-test-out-sqrt: Likewise.
8246         * math/auto-libm-test-out-tan: Likewise.
8247         * math/auto-libm-test-out-tanh: Likewise.
8248         * math/auto-libm-test-out-tgamma: Likewise.
8249         * math/auto-libm-test-out-y0: Likewise.
8250         * math/auto-libm-test-out-y1: Likewise.
8251         * math/auto-libm-test-out-yn: Likewise.
8253         * math/Makefile (generated): Do not include libm-test.stmp.
8254         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8255         on $(objpfx)libm-test.stmp.
8256         ($(objpfx)libm-test.stmp): Remove rule.
8257         ($(objpfx)libm-test-ulps.h): New rule.
8258         ($(objpfx)libm-test.c): Likewise.
8259         ($(objpfx)libm-have-vector-test.h): Likewise.
8260         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8261         individual generated files, not libm-test.stmp.
8263         * math/gen-libm-test.pl ($output_dir): Remove variable.
8264         ($srcdir): Likewise.
8265         ($opt_a): New variable.
8266         ($opt_c): Likewise.
8267         ($opt_C): Likewise.
8268         ($opt_H): Likewise.
8269         (-n): Make option take argument and use it as NewUlps output.
8270         (-a): New option.  Use its argument for auto-libm-test-out input.
8271         (-c): New option.  Use its argument for libm-test.inc input.
8272         (-C): New option.  Use its argument for libm-test.c output.
8273         (-H): New option.  Use its argument for libm-test-ulps.h output.
8274         (top level): Only process inputs needed to generate outputs
8275         specified by command-line options.  Only generate outputs
8276         specified by command-line options.
8277         * math/README.libm-test: Update example gen-libm-test.pl command.
8278         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8279         commands.
8280         (regen-ulps): Likewise.
8282 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8284         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8285         * include/string.h (index): Remove define.
8286         (rindex): Likewise.
8287         * misc/getttyent.c (__getttyent): Rename index to strchr.
8288         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8289         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8291 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8293         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8294         * math/libm-test.inc: Move all contents, other than tests of
8295         individual functions, to libm-test-driver.c.
8296         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8297         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8298         [!FE_UPWARD] (FE_UPWARD): Likewise.
8299         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8300         (NO_EXCEPTION): Likewise.
8301         (INVALID_EXCEPTION): Likewise.
8302         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8303         (OVERFLOW_EXCEPTION): Likewise.
8304         (UNDERFLOW_EXCEPTION): Likewise.
8305         (INEXACT_EXCEPTION): Likewise.
8306         (INVALID_EXCEPTION_OK): Likewise.
8307         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8308         (OVERFLOW_EXCEPTION_OK): Likewise.
8309         (UNDERFLOW_EXCEPTION_OK): Likewise.
8310         (NO_INEXACT_EXCEPTION): Likewise.
8311         (EXCEPTIONS_OK): Likewise.
8312         (IGNORE_ZERO_INF_SIGN): Likewise.
8313         (TEST_NAN_SIGN): Likewise.
8314         (TEST_NAN_PAYLOAD): Likewise.
8315         (NO_TEST_INLINE): Likewise.
8316         (XFAIL_TEST): Likewise.
8317         (ERRNO_UNCHANGED): Likewise.
8318         (ERRNO_EDOM): Likewise.
8319         (ERRNO_ERANGE): Likewise.
8320         (IGNORE_RESULT): Likewise.
8321         (NON_FINITE): Likewise.
8322         (TEST_SNAN): Likewise.
8323         (NO_TEST_MATHVEC): Likewise.
8324         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8325         (__CONCATX): Likewise.
8326         (TYPE_MIN): Likewise.
8327         (TYPE_TRUE_MIN): Likewise.
8328         (TYPE_MAX): Likewise.
8329         (MIN_EXP): Likewise.
8330         (MAX_EXP): Likewise.
8331         (MANT_DIG): Likewise.
8332         (FSTR_MAX): Likewise.
8333         (ULP_IDX): Likewise.
8334         (QTYPE_STR): Likewise.
8335         (TEST_COND_binary32): Likewise.
8336         (TEST_COND_binary64): Likewise.
8337         (TEST_COND_binary128): Likewise.
8338         (TEST_COND_ibm128): Likewise.
8339         (TEST_COND_intel96): Likewise.
8340         (TEST_COND_m68k96): Likewise.
8341         (TEST_COND_ibm128_libgcc): Likewise.
8342         (XFAIL_IBM128_LIBGCC): Likewise.
8343         (PAYLOAD_DIG): Likewise.
8344         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8345         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8346         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8347         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8348         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8349         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8350         (TEST_COND_long32): Likewise.
8351         (TEST_COND_long64): Likewise.
8352         (TEST_COND_before_rounding): Likewise.
8353         (TEST_COND_after_rounding): Likewise.
8354         (lit_pi_3_m_4_d): Likewise.
8355         (lit_pi_3_m_4_ln10_m_d): Likewise.
8356         (lit_pi_2_ln10_m_d): Likewise.
8357         (lit_pi_4_ln10_m_d): Likewise.
8358         (lit_pi_ln10_d): Likewise.
8359         (lit_pi_2_d): Likewise.
8360         (lit_pi_4_d): Likewise.
8361         (lit_pi): Likewise.
8362         (lit_e): Likewise.
8363         (ulps_file_name): Likewise.
8364         (ulps_file): Likewise.
8365         (output_ulps): Likewise.
8366         (output_dir): Likewise.
8367         (noErrors): Likewise.
8368         (noTests): Likewise.
8369         (noExcTests): Likewise.
8370         (noErrnoTests): Likewise.
8371         (verbose): Likewise.
8372         (output_max_error): Likewise.
8373         (output_points): Likewise.
8374         (ignore_max_ulp): Likewise.
8375         (plus_zero): Likewise.
8376         (minus_zero): Likewise.
8377         (plus_infty): Likewise.
8378         (minus_infty): Likewise.
8379         (qnan_value_pl): Likewise.
8380         (qnan_value): Likewise.
8381         (snan_value_pl): Likewise.
8382         (snan_value): Likewise.
8383         (max_value): Likewise.
8384         (min_value): Likewise.
8385         (min_subnorm_value): Likewise.
8386         (snan_value_ld): Likewise.
8387         (max_error): Likewise.
8388         (real_max_error): Likewise.
8389         (imag_max_error): Likewise.
8390         (prev_max_error): Likewise.
8391         (prev_real_max_error): Likewise.
8392         (prev_imag_max_error): Likewise.
8393         (max_valid_error): Likewise.
8394         (TYPE_DECIMAL_DIG): Likewise.
8395         (TYPE_HEX_DIG): Likewise.
8396         (fmt_ftostr): Likewise.
8397         (compare_ulp_data): Likewise.
8398         (find_ulps): Likewise.
8399         (init_max_error): Likewise.
8400         (set_max_error): Likewise.
8401         (print_float): Likewise.
8402         (print_screen): Likewise.
8403         (print_screen_max_error): Likewise.
8404         (update_stats): Likewise.
8405         (print_function_ulps): Likewise.
8406         (print_complex_function_ulps): Likewise.
8407         (fpstack_test): Likewise.
8408         (print_max_error): Likewise.
8409         (print_complex_max_error): Likewise.
8410         (test_single_exception): Likewise.
8411         (test_exceptions): Likewise.
8412         (test_single_errno): Likewise.
8413         (test_errno): Likewise.
8414         (ULPDIFF): Likewise.
8415         (ulp): Likewise.
8416         (check_float_internal): Likewise.
8417         (check_float): Likewise.
8418         (check_complex): Likewise.
8419         (check_int): Likewise.
8420         (check_long): Likewise.
8421         (check_bool): Likewise.
8422         (check_longlong): Likewise.
8423         (check_intmax_t): Likewise.
8424         (check_uintmax_t): Likewise.
8425         (enable_test): Likewise.
8426         (struct test_f_f_data): Likewise.
8427         (struct test_ff_f_data): Likewise.
8428         (struct test_fj_f_data): Likewise.
8429         (struct test_fi_f_data): Likewise.
8430         (struct test_fl_f_data): Likewise.
8431         (struct test_if_f_data): Likewise.
8432         (struct test_fff_f_data): Likewise.
8433         (struct test_fiu_M_data): Likewise.
8434         (struct test_fiu_U_data): Likewise.
8435         (struct test_c_f_data): Likewise.
8436         (struct test_f_f1_data): Likewise.
8437         (struct test_fF_f1_data): Likewise.
8438         (struct test_ffI_f1_data): Likewise.
8439         (struct test_c_c_data): Likewise.
8440         (struct test_cc_c_data): Likewise.
8441         (struct test_f_i_data): Likewise.
8442         (struct test_ff_i_data): Likewise.
8443         (struct test_f_l_data): Likewise.
8444         (struct test_f_L_data): Likewise.
8445         (struct test_fFF_11_data): Likewise.
8446         (struct test_Ff_b1_data): Likewise.
8447         (IF_ROUND_INIT_): Likewise.
8448         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8449         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8450         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8451         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8452         (ROUND_RESTORE_): Likewise.
8453         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8454         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8455         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8456         (ROUND_RESTORE_FE_UPWARD): Likewise.
8457         (RM_): Likewise.
8458         (RM_FE_DOWNWARD): Likewise.
8459         (RM_FE_TONEAREST): Likewise.
8460         (RM_FE_TOWARDZERO): Likewise.
8461         (RM_FE_UPWARD): Likewise.
8462         (COMMON_TEST_SETUP): Likewise.
8463         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8464         (COMMON_TEST_CLEANUP): Likewise.
8465         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8466         (RUN_TEST_f_f): Likewise.
8467         (RUN_TEST_LOOP_f_f): Likewise.
8468         (RUN_TEST_fp_f): Likewise.
8469         (RUN_TEST_LOOP_fp_f): Likewise.
8470         (RUN_TEST_2_f): Likewise.
8471         (RUN_TEST_LOOP_2_f): Likewise.
8472         (RUN_TEST_ff_f): Likewise.
8473         (RUN_TEST_LOOP_ff_f): Likewise.
8474         (RUN_TEST_LOOP_fj_f): Likewise.
8475         (RUN_TEST_fi_f): Likewise.
8476         (RUN_TEST_LOOP_fi_f): Likewise.
8477         (RUN_TEST_fl_f): Likewise.
8478         (RUN_TEST_LOOP_fl_f): Likewise.
8479         (RUN_TEST_if_f): Likewise.
8480         (RUN_TEST_LOOP_if_f): Likewise.
8481         (RUN_TEST_fff_f): Likewise.
8482         (RUN_TEST_LOOP_fff_f): Likewise.
8483         (RUN_TEST_fiu_M): Likewise.
8484         (RUN_TEST_LOOP_fiu_M): Likewise.
8485         (RUN_TEST_fiu_U): Likewise.
8486         (RUN_TEST_LOOP_fiu_U): Likewise.
8487         (RUN_TEST_c_f): Likewise.
8488         (RUN_TEST_LOOP_c_f): Likewise.
8489         (RUN_TEST_f_f1): Likewise.
8490         (RUN_TEST_LOOP_f_f1): Likewise.
8491         (RUN_TEST_fF_f1): Likewise.
8492         (RUN_TEST_LOOP_fF_f1): Likewise.
8493         (RUN_TEST_fI_f1): Likewise.
8494         (RUN_TEST_LOOP_fI_f1): Likewise.
8495         (RUN_TEST_ffI_f1_mod8): Likewise.
8496         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8497         (RUN_TEST_Ff_b1): Likewise.
8498         (RUN_TEST_LOOP_Ff_b1): Likewise.
8499         (RUN_TEST_Ffp_b1): Likewise.
8500         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8501         (RUN_TEST_c_c): Likewise.
8502         (RUN_TEST_LOOP_c_c): Likewise.
8503         (RUN_TEST_cc_c): Likewise.
8504         (RUN_TEST_LOOP_cc_c): Likewise.
8505         (RUN_TEST_f_i): Likewise.
8506         (RUN_TEST_LOOP_f_i): Likewise.
8507         (RUN_TEST_f_i_tg): Likewise.
8508         (RUN_TEST_LOOP_f_i_tg): Likewise.
8509         (RUN_TEST_ff_b): Likewise.
8510         (RUN_TEST_LOOP_ff_b): Likewise.
8511         (RUN_TEST_ff_i_tg): Likewise.
8512         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8513         (RUN_TEST_f_b): Likewise.
8514         (RUN_TEST_LOOP_f_b): Likewise.
8515         (RUN_TEST_f_b_tg): Likewise.
8516         (RUN_TEST_LOOP_f_b_tg): Likewise.
8517         (RUN_TEST_f_l): Likewise.
8518         (RUN_TEST_LOOP_f_l): Likewise.
8519         (RUN_TEST_f_L): Likewise.
8520         (RUN_TEST_LOOP_f_L): Likewise.
8521         (RUN_TEST_fFF_11): Likewise.
8522         (RUN_TEST_LOOP_fFF_11): Likewise.
8523         (VEC_SUFF): Likewise.
8524         (STR_CONCAT): Likewise.
8525         (STR_CON3): Likewise.
8526         (HAVE_VECTOR): Likewise.
8527         (START): Likewise.
8528         (END): Likewise.
8529         (END_COMPLEX): Likewise.
8530         (ALL_RM_TEST): Likewise.
8531         (matherr): Likewise.
8532         (initialize): Likewise.
8533         (options): Likewise.
8534         (doc): Likewise.
8535         (parse_opt): Likewise.
8536         (argp): Likewise.
8537         (check_ulp): Likewise.
8538         (main): Likewise.
8539         (do_test): New function.  Call tests of individual functions
8540         previously called from main.
8542         * math/libm-test.inc: Remove comment listing functions tested and
8543         not tested.
8545 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8547         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8548         (allocate_stack): Remove COLORING_INCREMENT usage.
8549         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8550         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8552 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8554         * manual/libm-err-tab.pl (@all_functions): Change to
8555         %all_functions.  Initialize as empty.
8556         (parse_ulps): Add to %all_functions based on functions found in
8557         ulps files.  Ignore results for non-default rounding modes and
8558         vector functions.
8559         (print_platforms): Use %all_platforms.
8560         * manual/math.texi (Errors in Math Functions): Document omissions
8561         from the table.
8563         * math/Makefile (before-compile): Remove.
8565 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8567         [BZ #21075]
8568         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8569         unused assignment.
8570         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8572 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8574         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8575         Add __glibc_unlikely hint.
8577 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8579         [BZ #16640]
8580         * sysdeps/i386/i686/strtok.S: Remove file.
8581         * sysdeps/i386/i686/strtok_r.S: Likewise.
8582         * sysdeps/i386/strtok.S: Likewise.
8583         * sysdeps/i386/strtok_r.S: Likewise.
8584         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8585         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8586         * sysdeps/x86_64/strtok.S: Likewise.
8587         * sysdeps/x86_64/strtok_r.S: Likewise.
8589         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8590         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8591         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8592         (__ASSUME_FADVISE64_AS_64_64): Define.
8593         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8594         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8595         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8596         __ALIGNMENT_ARG usage.
8597         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8598         __NR_fadvise64_64 if it is not defined.
8600 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8602         * version.h (RELEASE): Set to "development"
8603         (VERSION): Set to 2.25.90.
8604         * NEWS: Add 2.26 section.
8606         * version.h (RELEASE): Set to "stable"
8607         (VERSION): Set to 2.25.
8608         * include/features.h (__GLIBC_MINOR__): Set to 25.
8610         * manual/contrib.texi: Add more contributors from this release
8611         and past releases.
8613         * NEWS (2.25): Add list of bugs fixed.
8615         * NEWS: Add missing news items.
8617 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8619         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8620         parent if child exited in that manner.  Print WEXITSTATUS
8621         instead of the raw status.
8622         (do_test_prep): Rename to do_test.
8623         (do_test): Return the result of run_executable_sgid.
8624         (TEST_FUNCTION_ARGV): Adjust.
8626 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8627             Florian Weimer  <fweimer@redhat.com>
8628             Carlos O'Donell  <carlos@redhat.com>
8630         [BZ #20915]
8631         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8632         Do not initialize DTV.
8633         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8635 2017-02-03  David S. Miller  <davem@davemloft.net>
8637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8646         (libm-sysdep_routines): Update.
8647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8652         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8653         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8654         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8655         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8657         Likewise.
8658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8660         Likewise.
8661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8663         Likewise.
8664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8666         Likewise.
8667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8669         (libm-sysdep_routines): Update.
8671 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8673         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8674         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8675         against unrelocated shared library.
8676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8678 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8680         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8681         * elf/tst-env-setuid-tunables.c
8682         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8683         GLIBC_TUNABLES is removed in a setgid process.
8685         [BZ #21073]
8686         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8687         * elf/dl-tunables.c (tunables_strdup): Remove.
8688         (get_next_env): Also return the previous envp.
8689         (parse_tunables): Erase tunables of category
8690         TUNABLES_SECLEVEL_SXID_ERASE.
8691         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8692         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8693         (__tunables_init)[TUNABLES_FRONTEND ==
8694         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8695         after parsing.
8696         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8697         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8698         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8699         to security_level.
8700         * elf/dl-tunables.list: Add security_level annotations for all
8701         tunables.
8702         * scripts/gen-tunables.awk: Recognize and generate enum values
8703         for security_level.
8704         * elf/tst-env-setuid.c: New test case.
8705         * elf/tst-env-setuid-tunables: new test case.
8706         * elf/Makefile (tests-static): Add them.
8708 2017-02-01  Richard Henderson  <rth@twiddle.net>
8710         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8711         adjusting the byte count.
8713 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8715         * conform/Makefile (linknamespace-libs): Define.
8717         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8718         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8719         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8720         operands.
8722 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8724         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8726 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8728         [BZ #21081]
8729         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8730         (L(stosb)): Add VZEROUPPER before ret.
8732 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8733             Alexey Makhalov <amakhalov@vmware.com>
8734             Florian Weimer <fweimer@redhat.com>
8736         [BZ #20116]
8737         * nptl/pthread_create.c: Document concurrency notes.
8738         Enhance thread creation notes.
8739         (create_thread): Use bool *stopped_start.
8740         (START_THREAD_DEFN): Comment ownership of PD.
8741         (__pthread_create_2_1): Add local bool stopped_start and use
8742         that instead of pd->stopped_start where appropriate.
8743         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8744         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8745         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8746         * nptl/tst-create-detached.c: New file.
8747         * nptl/Makefile (tests): Add tst-create-detached.
8748         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8749         Reference the enhanced thread creation notes.
8750         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8751         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8752         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8753         (__pthread_current_priority): Likewise.
8754         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8755         xpthread_attr_init, xpthread_attr_setdetachstate, and
8756         xpthread_attr_setstacksize.
8757         * support/xpthread_attr_destroy.c: New file.
8758         * support/xpthread_attr_init.c: New file.
8759         * support/xpthread_attr_setdetachstate.c: New file.
8760         * support/xpthread_attr_setstacksize.c: New file.
8761         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8762         xpthread_attr_init, xpthread_attr_setdetachstate, and
8763         xpthread_attr_setstacksize.
8765 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8767         * nptl/Makefile (tests): Add tst-robust-fork.
8768         * nptl/tst-robust-fork.c: New file.
8769         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8770         xpthread_mutex_consistent, xpthread_mutex_destroy,
8771         xpthread_mutex_init, xpthread_mutexattr_destroy,
8772         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8773         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8774         xpthread_mutexattr_settype.
8775         * support/xmmap.c: New file.
8776         * support/xmunmap.c: Likewise.
8777         * support/xpthread_mutex_consistent.c: Likewise.
8778         * support/xpthread_mutex_destroy.c: Likewise.
8779         * support/xpthread_mutex_init.c: Likewise.
8780         * support/xpthread_mutexattr_destroy.c: Likewise.
8781         * support/xpthread_mutexattr_init.c: Likewise.
8782         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8783         * support/xpthread_mutexattr_setpshared.c: Likewise.
8784         * support/xpthread_mutexattr_setrobust.c: Likewise.
8785         * support/xpthread_mutexattr_settype.c: Likewise.
8786         * support/xthread.h (xpthread_mutexattr_destroy)
8787         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8788         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8789         (xpthread_mutexattr_settype, xpthread_mutex_init)
8790         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8791         * support/xunistd.h (xmmap, xmunmap): Likewise.
8793 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8795         * string/Makefile (xtests): Add comment.
8796         (LOCALES): Add en_GB.UTF-8.
8797         (tst-strcoll-overflow.out): Depend on generated locales.
8798         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8799         (SIZE, TIMEOUT): Update comments.
8800         (do_test): Define as static.  Fail test if setlocale fails.
8801         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8802         messages.
8803         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8804         TIMEOUT at 300 seconds should be enough to run this test
8805         successfully.
8807 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8809         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8810         /* FALLTHRU */ comments.
8812 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8814         [BZ #21053]
8815         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8816         constants instead of the old R* ones.
8817         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8818         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8819         (NGREG): ... to this, to fit in with other architectures.
8820         (gpregset_t): Use new NGREG macro.
8821         [__USE_GNU]: Remove condition; all architectures other than tile
8822         are unconditional.
8823         (R*): Rename to REG_R*.
8825 2017-01-20  DJ Delorie  <dj@redhat.com>
8827         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8828         (tunable_set_val_if_valid_range_signed) ... this, and ...
8829         (tunable_set_val_if_valid_range_unsigned) ... this.
8830         (tunable_initialize): Call the correct one of the above based on type.
8832 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8834         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8835         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8836         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8837         * sysdeps/microblaze/libm-test-ulps: Likewise.
8838         * sysdeps/sh/libm-test-ulps: Likewise.
8840         * math/README.libm-test: Update list of characters for input and
8841         output types.
8843 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8845         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8846         (__lll_unlock_elision): Fix adapt_count decrement.
8848 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8850         * README.pretty-printers (Known issues): Warn about printers not
8851         always covering everything.
8852         * nptl/nptl-printers.py (MutexPrinter): Change output.
8853         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8855 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8857         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8858         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8859         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8860         (__lll_lock_elision): Do not test futex before starting a
8861         transaction.  Use __glibc_likely instead of __builtin_expect.
8862         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8863         (__lll_trylock_elision): Do not test futex before starting a
8864         transaction.  Use __glibc_likely instead of __builtin_expect.
8866 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8868         * po/Makefile (update-translations): New target.
8870 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8872         [BZ #21061]
8873         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8875 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8877         * elf/dl-tunables (get_next_env): Always advance envp.
8878         * stdlib/tst-empty-env.c: New test case.
8879         * stdlib/Makefile (tests): Use it.
8881 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8883         [BZ #21047]
8884         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8885         name for instruction.
8886         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8888 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8890         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8891         for make install.
8893 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8895         * po/bg.po: Merge from Translation Project.
8896         * po/fr.po: Likewise.
8897         * po/ko.po: Likewise.
8898         * po/nl.po: Likewise.
8899         * po/sv.po: Likewise.
8901 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8903         * manual/install.texi (Tools for Compilation): Update GCC version
8904         known to work to build glibc.
8905         * INSTALL: Regenerated.
8907 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8909         [BZ #21006]
8910         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8912 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8914         [BZ #21045]
8915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8916         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8917         to __sigprocmask.
8919 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8921         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8922         wrap-around.
8923         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8925         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8927 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8929         * NEWS: Fix typo.
8931 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8933         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8934         barriers and comments.
8935         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8936         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8937         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8939 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8941         [BZ #19402]
8942         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8943         mutexes.
8945 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8947         [BZ #20985]
8948         * nptl/Makefile: Adapt.
8949         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8950         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8951         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8952         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8953         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8954         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8955         lll_robust* functions and adapt.
8956         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8957         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8958         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8959         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8960         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8961         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8962         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8963         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8964         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8965         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8966         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8967         * nptl/lowlevelrobustlock.c: Remove file.
8968         * nptl/lowlevelrobustlock.sym: Likewise.
8969         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8970         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8972 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8974         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8976 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8978         * po/cs.po: Merge translations from the Translation Project.
8979         * po/de.po: Likewise.
8980         * po/pl.po: Likewise.
8981         * po/ru.po: Likewise.
8982         * po/tr.po: Likewise.
8983         * po/uk.po: Likewise.
8984         * po/vi.po: Likewise.
8985         * po/zh_CN.po: Likewise.
8987 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
8989         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8991         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8992         object.
8994 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8996         [BZ #16458]
8997         * bits/uintn-identity.h: New file.
8998         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8999         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9000         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9001         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9002         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9003         * string/endian.h: Include <bits/uintn-identity.h>.
9004         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9005         __uint16_identity.
9006         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9007         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9008         __uint32_identity.
9009         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9010         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9011         __uint64_identity.
9012         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9013         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9014         __uint16_identity.
9015         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9016         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9017         __uint32_identity.
9018         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9019         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9020         __uint64_identity.
9021         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9022         * string/Makefile (headers): Add bits/uintn-identity.h.
9023         (tests): Add test-endian-types.
9024         * string/test-endian-types.c: New file.
9025         * inet/Makefile (tests): Add test-hnto-types.
9026         * inet/test-hnto-types.c: New file.
9028 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9030         * po/be.po: Update from Translation Project.
9031         * po/bg.po: Likewise.
9032         * po/ca.po: Likewise.
9033         * po/cs.po: Likewise.
9034         * po/da.po: Likewise.
9035         * po/de.po: Likewise.
9036         * po/el.po: Likewise.
9037         * po/eo.po: Likewise.
9038         * po/es.po: Likewise.
9039         * po/fi.po: Likewise.
9040         * po/fr.po: Likewise.
9041         * po/gl.po: Likewise.
9042         * po/hr.po: Likewise.
9043         * po/hu.po: Likewise.
9044         * po/ia.po: Likewise.
9045         * po/id.po: Likewise.
9046         * po/it.po: Likewise.
9047         * po/ja.po: Likewise.
9048         * po/ko.po: Likewise.
9049         * po/lt.po: Likewise.
9050         * po/nb.po: Likewise.
9051         * po/nl.po: Likewise.
9052         * po/pl.po: Likewise.
9053         * po/pt_BR.po: Likewise.
9054         * po/ru.po: Likewise.
9055         * po/rw.po: Likewise.
9056         * po/sk.po: Likewise.
9057         * po/sl.po: Likewise.
9058         * po/sv.po: Likewise.
9059         * po/tr.po: Likewise.
9060         * po/uk.po: Likewise.
9061         * po/vi.po: Likewise.
9062         * po/zh_CN.po: Likewise.
9063         * po/zh_TW.po: Likewise.
9065 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9067         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9068         -Wformat-truncation instead of -Wformat-length.
9069         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9070         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9071         GCC 7.
9072         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9073         (do_test): Ignore -Wformat-truncation for GCC 7.
9075         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9076         buffer used to print long int value.
9078         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9079         one byte.  Print it with %ld, cast to long int.
9081 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9083         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9084         (re.fullmatch, subprocess.run): Likewise.
9086 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9088         * po/libc.pot: Regenerate.
9090 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9092         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9093         (min_strlen): Likewise.
9094         (disable_tunable): Likewise.
9095         (maybe_disable_malloc_check): Rename to
9096         maybe_enable_malloc_check.
9097         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9098         if /etc/suid-debug file exists.
9099         (__tunables_init): Update caller.
9100         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9101         secure.
9103 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9105         * nptl/DESIGN-rwlock.txt: Remove.
9106         * nptl/lowlevelrwlock.sym: Remove.
9107         * nptl/Makefile: Add new tests.
9108         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9109         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9110         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9111         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9112         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9113         PTHREAD_RWLOCK_FUTEX_USED): New.
9114         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9115         implementation.
9116         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9117         (__pthread_rwlock_rdlock): Adapt.
9118         * nptl/pthread_rwlock_timedrdlock.c
9119         (pthread_rwlock_timedrdlock): Adapt.
9120         * nptl/pthread_rwlock_timedwrlock.c
9121         (pthread_rwlock_timedwrlock): Adapt.
9122         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9123         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9124         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9125         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9126         (__pthread_rwlock_wrlock): Adapt.
9127         * nptl/tst-rwlock10.c: Adapt.
9128         * nptl/tst-rwlock11.c: Adapt.
9129         * nptl/tst-rwlock17.c: New file.
9130         * nptl/tst-rwlock18.c: New file.
9131         * nptl/tst-rwlock19.c: New file.
9132         * nptl/tst-rwlock2b.c: New file.
9133         * nptl/tst-rwlock8.c: Adapt.
9134         * nptl/tst-rwlock9.c: Adapt.
9135         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9136         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9137         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9138         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9139         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9140         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9141         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9142         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9143         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9144         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9145         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9146         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9147         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9148         (pthread_rwlock_t): Adapt.
9149         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9150         (pthread_rwlock_t): Adapt.
9151         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9152         * nptl/nptl-printers.py (): Adapt.
9153         * nptl/nptl_lock_constants.pysym: Adapt.
9154         * nptl/test-rwlock-printers.py: Adapt.
9155         * nptl/test-rwlockattr-printers.c: Adapt.
9156         * nptl/test-rwlockattr-printers.py: Adapt.
9158 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9160         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9161         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9162         (fma_test_data): Likewise.
9163         (hypot_test_data): Likewise.
9164         (log1p_test_data): Likewise.
9165         (modf_test_data): Likewise.
9166         (pow_test_data): Likewise.
9167         (remainder_test_data): Likewise.
9168         (remquo_test_data): Likewise.
9169         (scalb_test_data): Likewise.
9170         (scalbn_test_data): Likewise.
9171         (scalbln_test_data): Likewise.
9172         * math/gen-libm-test.pl (parse_args): Transform
9173         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9174         on the rounding mode.
9176 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9178         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9179         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9180         and those that can underflow to zero.
9181         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9182         add others.
9183         * math/auto-libm-test-out: Regenerated.
9185         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9186         supported.
9187         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9188         modes support if not supported.
9190         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9191         Add libc.so PLT entry.
9192         (__tls_get_addr): Make ld.so PLT entry optional.
9194 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9196         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9197         * string/bits/string3.h: ... here.
9199 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9201         [BZ #21028]
9202         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9203         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9204         if EXCEPTION_TESTS returns false.
9206 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9208         [BZ #20558]
9209         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9210         strings_fortified.h.
9211         [__USE_MISC] (bzero): Likewise.
9212         [__USE_MISC] (explicit_bzero): Likewise.
9213         * string/strings.h: Include strings_fortified.h.
9214         * string/Makefile (headers): Add strings_fortified.h.
9215         * string/bits/strings_fortified.h: New file.
9216         * include/bits/strings_fortified.h: Likewise.
9218 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9220         * elf/tst-tls13.c (TIMEOUT): Remove.
9221         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9222         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9223         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9224         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9225         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9227         [BZ #21026]
9228         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9229         (readahead): New syscall entry.
9231 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9233         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9234         around tests of strncat with large sizes.
9236         * malloc/tst-malloc.c: Include <libc-internal.h>.
9237         (do_test): Disable -Walloc-size-larger-than= around tests of
9238         malloc with negative sizes.
9239         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9240         (do_test): Disable -Walloc-size-larger-than= around tests of
9241         malloc and realloc with negative sizes.
9242         * malloc/tst-realloc.c: Include <libc-internal.h>.
9243         (do_test): Disable -Walloc-size-larger-than= around tests of
9244         realloc with negative sizes.
9246         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9247         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9248         allowed to 16 ulps.
9249         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9250         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9251         * math/auto-libm-test-out: Regenerated.
9253 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9255         * math/Makefile (libm-calls): Move wrappers...
9256         (libm-compat-call-auto): Here.
9257         (libm-routines): Add items in libm-compat-calls-auto.
9258         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9259         the filenames of the wrappers that have been renamed.
9260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9263         * math/w_acos.c: Add _compat suffix to filename.
9264         * math/w_acosf.c: Likewise.
9265         * math/w_acosh.c: Likewise.
9266         * math/w_acoshf.c: Likewise.
9267         * math/w_acoshl.c: Likewise.
9268         * math/w_acosl.c: Likewise.
9269         * math/w_asin.c: Likewise.
9270         * math/w_asinf.c: Likewise.
9271         * math/w_asinl.c: Likewise.
9272         * math/w_atan2.c: Likewise.
9273         * math/w_atan2f.c: Likewise.
9274         * math/w_atan2l.c: Likewise.
9275         * math/w_atanh.c: Likewise.
9276         * math/w_atanhf.c: Likewise.
9277         * math/w_atanhl.c: Likewise.
9278         * math/w_cosh.c: Likewise.
9279         * math/w_coshf.c: Likewise.
9280         * math/w_coshl.c: Likewise.
9281         * math/w_exp10.c: Likewise.
9282         * math/w_exp10f.c: Likewise.
9283         * math/w_exp10l.c: Likewise.
9284         * math/w_exp2.c: Likewise.
9285         * math/w_exp2f.c: Likewise.
9286         * math/w_exp2l.c: Likewise.
9287         * math/w_fmod.c: Likewise.
9288         * math/w_fmodf.c: Likewise.
9289         * math/w_fmodl.c: Likewise.
9290         * math/w_hypot.c: Likewise.
9291         * math/w_hypotf.c: Likewise.
9292         * math/w_hypotl.c: Likewise.
9293         * math/w_j0.c: Likewise.
9294         * math/w_j0f.c: Likewise.
9295         * math/w_j0l.c: Likewise.
9296         * math/w_j1.c: Likewise.
9297         * math/w_j1f.c: Likewise.
9298         * math/w_j1l.c: Likewise.
9299         * math/w_jn.c: Likewise.
9300         * math/w_jnf.c: Likewise.
9301         * math/w_jnl.c: Likewise.
9302         * math/w_log10.c: Likewise.
9303         * math/w_log10f.c: Likewise.
9304         * math/w_log10l.c: Likewise.
9305         * math/w_log2.c: Likewise.
9306         * math/w_log2f.c: Likewise.
9307         * math/w_log2l.c: Likewise.
9308         * math/w_log.c: Likewise.
9309         * math/w_logf.c: Likewise.
9310         * math/w_logl.c: Likewise.
9311         * math/w_pow.c: Likewise.
9312         * math/w_powf.c: Likewise.
9313         * math/w_powl.c: Likewise.
9314         * math/w_remainder.c: Likewise.
9315         * math/w_remainderf.c: Likewise.
9316         * math/w_remainderl.c: Likewise.
9317         * math/w_scalb.c: Likewise.
9318         * math/w_scalbf.c: Likewise.
9319         * math/w_scalbl.c: Likewise.
9320         * math/w_sinh.c: Likewise.
9321         * math/w_sinhf.c: Likewise.
9322         * math/w_sinhl.c: Likewise.
9323         * math/w_sqrt.c: Likewise.
9324         * math/w_sqrtf.c: Likewise.
9325         * math/w_sqrtl.c: Likewise.
9326         * math/w_tgamma.c: Likewise.
9327         * math/w_tgammaf.c: Likewise.
9328         * math/w_tgammal.c: Likewise.
9330         * math/w_acos_compat.c: New file copied from above and
9331         adjusted for new #includes path
9332         * math/w_acosf_compat.c: Likewise.
9333         * math/w_acosh_compat.c: Likewise.
9334         * math/w_acoshf_compat.c: Likewise.
9335         * math/w_acoshl_compat.c: Likewise.
9336         * math/w_acosl_compat.c: Likewise.
9337         * math/w_asin_compat.c: Likewise.
9338         * math/w_asinf_compat.c: Likewise.
9339         * math/w_asinl_compat.c: Likewise.
9340         * math/w_atan2_compat.c: Likewise.
9341         * math/w_atan2f_compat.c: Likewise.
9342         * math/w_atan2l_compat.c: Likewise.
9343         * math/w_atanh_compat.c: Likewise.
9344         * math/w_atanhf_compat.c: Likewise.
9345         * math/w_atanhl_compat.c: Likewise.
9346         * math/w_cosh_compat.c: Likewise.
9347         * math/w_coshf_compat.c: Likewise.
9348         * math/w_coshl_compat.c: Likewise.
9349         * math/w_exp10_compat.c: Likewise.
9350         * math/w_exp10f_compat.c: Likewise.
9351         * math/w_exp10l_compat.c: Likewise.
9352         * math/w_exp2_compat.c: Likewise.
9353         * math/w_exp2f_compat.c: Likewise.
9354         * math/w_exp2l_compat.c: Likewise.
9355         * math/w_fmod_compat.c: Likewise.
9356         * math/w_fmodf_compat.c: Likewise.
9357         * math/w_fmodl_compat.c: Likewise.
9358         * math/w_hypot_compat.c: Likewise.
9359         * math/w_hypotf_compat.c: Likewise.
9360         * math/w_hypotl_compat.c: Likewise.
9361         * math/w_j0_compat.c: Likewise.
9362         * math/w_j0f_compat.c: Likewise.
9363         * math/w_j0l_compat.c: Likewise.
9364         * math/w_j1_compat.c: Likewise.
9365         * math/w_j1f_compat.c: Likewise.
9366         * math/w_j1l_compat.c: Likewise.
9367         * math/w_jn_compat.c: Likewise.
9368         * math/w_jnf_compat.c: Likewise.
9369         * math/w_jnl_compat.c: Likewise.
9370         * math/w_log10_compat.c: Likewise.
9371         * math/w_log10f_compat.c: Likewise.
9372         * math/w_log10l_compat.c: Likewise.
9373         * math/w_log2_compat.c: Likewise.
9374         * math/w_log2f_compat.c: Likewise.
9375         * math/w_log2l_compat.c: Likewise.
9376         * math/w_log_compat.c: Likewise.
9377         * math/w_logf_compat.c: Likewise.
9378         * math/w_logl_compat.c: Likewise.
9379         * math/w_pow_compat.c: Likewise.
9380         * math/w_powf_compat.c: Likewise.
9381         * math/w_powl_compat.c: Likewise.
9382         * math/w_remainder_compat.c: Likewise.
9383         * math/w_remainderf_compat.c: Likewise.
9384         * math/w_remainderl_compat.c: Likewise.
9385         * math/w_scalb_compat.c: Likewise.
9386         * math/w_scalbf_compat.c: Likewise.
9387         * math/w_scalbl_compat.c: Likewise.
9388         * math/w_sinh_compat.c: Likewise.
9389         * math/w_sinhf_compat.c: Likewise.
9390         * math/w_sinhl_compat.c: Likewise.
9391         * math/w_sqrt_compat.c: Likewise.
9392         * math/w_sqrtf_compat.c: Likewise.
9393         * math/w_sqrtl_compat.c: Likewise.
9394         * math/w_tgamma_compat.c: Likewise.
9395         * math/w_tgammaf_compat.c: Likewise.
9396         * math/w_tgammal_compat.c: Likewise.
9398         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9399         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9400         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9401         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9402         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9403         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9404         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9405         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9406         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9407         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9408         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9409         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9410         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9411         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9412         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9413         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9414         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9415         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9416         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9417         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9418         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9419         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9420         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9421         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9422         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9423         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9424         * sysdeps/ia64/fpu/w_log.c: Likewise.
9425         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9426         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9427         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9428         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9429         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9430         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9431         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9432         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9433         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9434         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9435         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9436         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9437         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9438         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9439         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9440         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9441         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9442         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9443         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9444         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9445         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9446         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9447         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9448         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9449         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9450         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9451         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9452         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9453         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9454         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9455         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9456         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9457         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9458         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9459         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9460         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9461         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9462         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9463         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9464         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9465         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9466         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9467         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9468         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9469         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9470         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9471         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9472         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9473         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9474         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9475         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9476         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9477         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9478         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9479         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9480         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9481         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9482         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9483         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9484         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9485         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9486         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9487         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9488         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9489         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9490         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9491         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9492         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9493         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9495         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9496         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9497         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9499         Likewise.
9500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9501         Likewise.
9502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9504         Likewise.
9505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9506         Likewise.
9507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9508         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9509         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9510         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9511         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9512         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9513         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9518         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9519         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9520         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9521         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9523         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9524         and adjusted for new #includes path
9525         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9526         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9527         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9528         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9529         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9530         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9531         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9532         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9533         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9534         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9535         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9536         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9537         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9538         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9539         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9540         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9541         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9542         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9543         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9544         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9545         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9546         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9547         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9548         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9549         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9550         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9551         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9552         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9553         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9554         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9555         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9556         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9557         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9558         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9559         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9560         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9561         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9562         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9563         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9564         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9565         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9566         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9567         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9568         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9569         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9570         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9571         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9572         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9573         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9574         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9575         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9576         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9577         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9578         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9579         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9580         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9581         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9582         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9583         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9584         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9585         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9586         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9587         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9588         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9589         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9590         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9591         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9592         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9593         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9594         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9595         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9596         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9597         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9598         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9599         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9600         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9601         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9602         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9603         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9604         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9605         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9606         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9607         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9608         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9609         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9610         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9611         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9612         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9613         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9614         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9615         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9616         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9617         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9618         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9619         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9620         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9622         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9623         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9625         Likewise.
9626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9627         Likewise.
9628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9629         Likewise.
9630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9631         Likewise.
9632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9633         Likewise.
9634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9635         Likewise.
9636         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9637         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9638         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9639         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9640         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9641         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9643         Likewise.
9644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9645         Likewise.
9646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9647         Likewise.
9648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9649         Likewise.
9650         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9651         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9652         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9653         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9655 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9657         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9658         __jmp_buf_internal_tag.
9660         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9661         preserve NaN payload if [__mips_nan2008].
9662         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9664         [BZ #21022]
9665         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9667 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9669         * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9673         * sysdeps/ia64/strcat.c: Remove file.
9674         * sysdeps/powerpc/strcat.c: Likewise.
9675         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9676         C implementation.
9677         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9678         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9680 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9681             Steven Munroe  <sjmunroe@us.ibm.com>
9682             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9684         [BZ #20822]
9685         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9686         (__lll_lock_elision): Access adapt_count via C11 atomics.
9687         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9688         (__lll_trylock_elision): Likewise.
9689         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9690         (__lll_unlock_elision):  Update adapt_count variable inside the
9691         critical section using C11 atomics.
9693 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9695         * math/test-fenvinline.c (do_test): Disable tests of raised
9696         exceptions if !EXCEPTION_TESTS (FLOAT).
9698 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9700         [BZ #19390]
9701         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9702         maximum string size.
9703         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9704         in pointer addition.
9705         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9706         Likewise.
9708 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9710         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9711         passed to tst-ldconfig-X.sh.
9713 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9715         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9717 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9719         [BZ #21019]
9720         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9721         New syscall entry.
9722         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9723         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9724         lseek.
9726         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9727         power4 glibc for powerpc-linux-gnu.
9729 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9731         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9732         semctl.
9734 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9736         * math/test-nearbyint-except.c: Include <stdbool.h>.
9737         (any_supported): New variable.
9738         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9739         set any_supported.
9740         (do_test): Return 77 if no floating-point type supported
9741         exceptions.
9743         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9744         condition on [__mips_hard_float].
9746 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9748         [BZ #21014]
9749         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9750         in pointer addition.
9751         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9753 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9755         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9756         new condvar.
9758 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9760         * scripts/build-many-glibcs.py (Context.checkout): Default
9761         binutils version to 2.28 branch.
9763 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9765         * support/support_format_netent.c (support_format_netent): Work
9766         around alpha struct netent definition difference.
9768 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9770         * support/xwrite.c (xwrite): Use %td for pointer difference.
9772 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9774         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9775         have-tunables only.
9776         (tests-static): Add tst-malloc-usable-static-tunables for
9777         have-tunables only.
9779 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9781         * scripts/config.guess: Update to version 2017-01-01.
9782         * scripts/config.sub: Update to version 2017-01-01.
9784         * NEWS: Update copyright dates.
9785         * catgets/gencat.c (print_version): Likewise.
9786         * csu/version.c (banner): Likewise.
9787         * debug/catchsegv.sh: Likewise.
9788         * debug/pcprofiledump.c (print_version): Likewise.
9789         * debug/xtrace.sh (do_version): Likewise.
9790         * elf/ldconfig.c (print_version): Likewise.
9791         * elf/ldd.bash.in: Likewise.
9792         * elf/pldd.c (print_version): Likewise.
9793         * elf/sotruss.sh: Likewise.
9794         * elf/sprof.c (print_version): Likewise.
9795         * iconv/iconv_prog.c (print_version): Likewise.
9796         * iconv/iconvconfig.c (print_version): Likewise.
9797         * locale/programs/locale.c (print_version): Likewise.
9798         * locale/programs/localedef.c (print_version): Likewise.
9799         * login/programs/pt_chown.c (print_version): Likewise.
9800         * malloc/memusage.sh (do_version): Likewise.
9801         * malloc/memusagestat.c (print_version): Likewise.
9802         * malloc/mtrace.pl: Likewise.
9803         * manual/libc.texinfo: Likewise.
9804         * nptl/version.c (banner): Likewise.
9805         * nscd/nscd.c (print_version): Likewise.
9806         * nss/getent.c (print_version): Likewise.
9807         * nss/makedb.c (print_version): Likewise.
9808         * posix/getconf.c (main): Likewise.
9809         * scripts/test-installation.pl: Likewise.
9810         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9812         * All files with FSF copyright notices: Update copyright dates
9813         using scripts/update-copyrights.
9814         * intl/plural.c: Regenerated.
9815         * locale/programs/charmap-kw.h: Likewise.
9816         * locale/programs/locfile-kw.h: Likewise.
9818 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9820         [BZ #20593]
9821         Update DNS RR type definitions.
9822         * scripts/gen-rrtypes.py: New file.
9823         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9824         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9825         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9826         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9827         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9828         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9829         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9830         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9831         ns_t_ta, ns_t_dlv.
9832         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9833         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9834         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9835         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9836         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9837         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9838         Define.
9839         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9840         entry for ns_t_zxfr.
9842 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9844         [BZ #18784]
9845         CVE-2015-5180
9846         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9847         T_UNSPEC.  Adjust value.
9848         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9849         * resolv/res_query.c (__libc_res_nquery): Likewise.
9850         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9851         QTYPEs.
9852         * resolv/tst-resolv-qtypes.c: New file.
9853         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9854         (tst-resolv-qtypes): Link against libresolv and libpthread.
9856 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9858         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9860 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9862         * manual/tunables.texi: New chapter.
9863         * manual/Makefile (chapters): Add it.
9864         * manual/probes.texi (@node): Point to the Tunables chapter.
9866         * Makeconfig (have-tunables): Check for non-negative instead
9867         of positive.
9868         * configure.ac: Add 'valstring' as a valid value for
9869         --enable-tunables.
9870         * configure: Regenerate.
9871         * elf/Makefile (have-tunables): Check for non-negative instead
9872         of positive.
9873         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9874         dl-tunables.c.
9875         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9876         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9877         (tunables_strdup): Likewise.
9878         (disable_tunables): Likewise.
9879         (parse_tunables): Likewise.
9880         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9881         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9882         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9883         (TUNABLES_FRONTEND_yes): New macro, define as
9884         TUNABLES_FRONTEND_valstring by default.
9885         * manual/install.texi: Document new acceptable values for
9886         --enable-tunables.
9887         * INSTALL: Regenerate.
9889         * config.make.in (have-loop-to-function): Define.
9890         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9891         -fno-tree-loop-distribute-patterns.
9892         * elf/dl-tunables.c: Include libc-internals.h.
9893         (GLIBC_TUNABLES): New macro.
9894         (tunables_strdup): New function.
9895         (parse_tunables): New function.
9896         (min_strlen): New function.
9897         (__tunables_init): Use the new functions and macro.
9898         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9899         * malloc/tst-malloc-usable-tunables.c: New test case.
9900         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9901         * malloc/Makefile (tests, tests-static): Add tests.
9903         * manual/install.texi: Add --enable-tunables option.
9904         * INSTALL: Regenerate.
9905         * README.tunables: New file.
9906         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9907         (before-compile): Generate dl-tunable-list.h early.
9908         * config.h.in: Add HAVE_TUNABLES.
9909         * config.make.in: Add have-tunables.
9910         * configure.ac: Add --enable-tunables option.
9911         * configure: Regenerate.
9912         * csu/init-first.c (__libc_init_first): Move
9913         __libc_init_secure earlier...
9914         * csu/init-first.c (LIBC_START_MAIN):... to here.
9915         Include dl-tunables.h, libc-internal.h.
9916         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9917         binaries.
9918         * elf/Makefile (dl-routines): Add dl-tunables.
9919         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9920         namespace.
9921         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9922         only when !HAVE_TUNABLES.
9923         * elf/rtld.c (process_envvars): Likewise.
9924         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9925         (_dl_sysdep_start): Call __tunables_init.
9926         * elf/dl-tunable-types.h: New file.
9927         * elf/dl-tunables.c: New file.
9928         * elf/dl-tunables.h: New file.
9929         * elf/dl-tunables.list: New file.
9930         * malloc/tst-malloc-usable-static.c: New test case.
9931         * malloc/Makefile (tests-static): Add it.
9932         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9933         Define TUNABLE_NAMESPACE.
9934         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9935         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9936         callback functions.
9937         (ptmalloc_init): Set tunable values.
9938         * scripts/gen-tunables.awk: New file.
9939         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9940         (_dl_sysdep_start): Call __tunables_init.
9942 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9944         * resolv/resolv.h (RES_BLAST): Deprecate.
9945         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9946         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9947         to RES_BLAST.
9949 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9951         [BZ #19582]
9952         Deprecate RES_USE_INET6.
9953         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9954         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9955         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9956         RES_USE_INET6.
9957         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9958         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9959         (_nss_nisplus_gethostbyaddr_r): Likewise.
9960         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9961         of res_use_inet6.
9962         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9963         instead of RES_USE_INET6.
9964         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9965         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9966         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9967         Likewise.
9968         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9969         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9970         Likewise.
9971         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9972         (_nss_dns_gethostbyname_r): Likewise.
9973         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9974         alternate RES_USE_INET6 handling.
9975         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9976         instead of RES_USE_INET6.
9977         * resolv/res_init.c (res_setoptions): Likewise.
9978         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9979         * resolv/resolv-internal.h: New file.
9980         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9981         make the deprecation warning non-fatal.
9982         * resolv/README (Using the resolver in multi-threaded code): Drop
9983         reference to RES_USE_INET6.
9984         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9985         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9987 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9989         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9990         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9991         tst-resolv-search.
9992         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9993         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9994         with libresolv and libpthread.
9995         * resolv/tst-bug18665.c: New file.
9996         * resolv/tst-bug18665-tcp: Likewise.
9997         * resolv/tst-res_use_inet6: Likewise.
9998         * resolv/tst-resolv-basic: Likewise.
9999         * resolv/tst-resolv-network: Likewise.
10000         * resolv/tst-resolv-search: Likewise.
10001         * support/Makefile (libsupport-routines): Add check_addrinfo,
10002         check_dns_packet, check_hostent, check_netent, resolv_test,
10003         support_format_address_family, support_format_addrinfo,
10004         support_format_dns_packet, support_format_herrno,
10005         support_format_hostent, support_format_netent, support_run_diff,
10006         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10007         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10008         xstrdup, xwrite.
10009         * support/check_addrinfo.c: New file.
10010         * support/check_dns_packet.c: Likewise.
10011         * support/check_hostent.c: Likewise.
10012         * support/check_netent.c: Likewise.
10013         * support/check_nss.h: Likewise.
10014         * support/format_nss.h: Likewise.
10015         * support/resolv_test.c: Likewise.
10016         * support/resolv_test.h: Likewise.
10017         * support/run_diff.h: Likewise.
10018         * support/support_format_address_family.c: Likewise.
10019         * support/support_format_addrinfo.c: Likewise.
10020         * support/support_format_dns_packet.c: Likewise.
10021         * support/support_format_herrno.c: Likewise.
10022         * support/support_format_hostent.c: Likewise.
10023         * support/support_format_netent.c: Likewise.
10024         * support/support_run_diff.c: Likewise.
10025         * support/xaccept.c: Likewise.
10026         * support/xbind.c: Likewise.
10027         * support/xconnect.c: Likewise.
10028         * support/xfclose.c: Likewise.
10029         * support/xfopen.c: Likewise.
10030         * support/xgetsockname.c: Likewise.
10031         * support/xlisten.c: Likewise.
10032         * support/xmemstream.c: Likewise.
10033         * support/xmemstream.h: Likewise.
10034         * support/xpoll.c: Likewise.
10035         * support/xpthread_once.c: Likewise.
10036         * support/xrecvfrom.c: Likewise.
10037         * support/xsendto.c: Likewise.
10038         * support/xsetsockopt.c: Likewise.
10039         * support/xstdio.h: Likewise.
10040         * support/xstrdup.c: Likewise.
10041         * support/support.h (xstrdup): Declare.
10042         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10043         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10044         * support/xthread.h (xpthread_once): Likwise.
10045         * support/xunistd.h (xwrite): Declare.
10047 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10049         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10050         (test_verbose): Declare.
10051         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10052         * support/support_test_main.c (default_options): Likewise.
10053         (usage, support_test_main): Handle 'v'.
10054         (test_verbose): Define.
10055         * support/tst-support_record_failure.c (do_test): Use
10056         test_verbose.
10057         * support/tst-support_record_failure-2.sh (different_status): Add
10058         --verbose test.
10060 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10062         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10063         test failures are recorded.
10064         * support/check.c (support_print_failure_impl): Call
10065         support_record_failure.
10066         (support_exit_failure_impl): Call support_record_failure if status
10067         indicates failure.
10068         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10069         * support/xasprintf.c (xasprintf): Likewise.
10070         * support/xfork.c (xfork): Likewise.
10071         * support/xpthread_check_return.c (xpthread_check_return):
10072         Likewise.
10073         * support/xsocket.c (xsocket): Likeweise.
10074         * support/xwaitpid.c (xwaitpid): Likewise.
10075         * support/support_record_failure.c (struct test_failures): Adjust
10076         to coding style.
10077         * support/support_test_verify_impl.c (support_test_verify_impl):
10078         Adjust error messages.
10079         * support/tst-support_record_failure-2.sh (different_status):
10080         Adjust error messages.
10082 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10084         * support/namespace.h: New file.
10085         * support/support_become_root.c: Likewise.
10086         * support/support_enter_network_namespace.c: Likewise.
10087         * support/tst-support-namespace.c: Likewise.
10088         * support/xsocket.c: Likewise.
10089         * support/xsocket.h: Likewise.
10090         * support/Makefile (libsupport-routines): Add support_become_root,
10091         support_enter_network_namespace, xsocket.
10092         (tests): Add tst-support-namespace.
10094 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10096         [BZ #17252]
10097         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10098         __USE_GNU.
10100 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10102         [BZ #13165]
10103         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10104         use new algorithm.
10105         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10106         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10107         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10108         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10109         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10110         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10111         __condvar_cleanup_waiting, __condvar_dec_grefs,
10112         __pthread_cond_wait_common): New.
10113         (__condvar_cleanup): Remove.
10114         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10115         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10116         Likewise.
10117         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10118         Likewise.
10119         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10120         * nptl/tst-cond1.c: Add comment.
10121         * nptl/tst-cond20.c (do_test): Adapt.
10122         * nptl/tst-cond22.c (do_test): Likewise.
10123         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10124         structure.
10125         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10126         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10127         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10128         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10129         Likewise.
10130         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10131         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10132         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10133         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10134         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10135         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10138         Likewise.
10139         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10140         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10141         (COND_CLOCK_BITS): Adapt.
10142         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10143         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10144         __PTHREAD_COND_SHARED_MASK): New.
10145         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10146         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10147         * nptl/nptl_lock_constants.pysym: Adapt.
10148         * nptl/test-cond-printers.py: Adapt.
10149         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10150         cond_compat_check_and_clear): Adapt.
10151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10152         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10153         (__pthread_cond_timedwait): ... and move here.
10154         * nptl/DESIGN-condvar.txt: Remove file.
10155         * nptl/lowlevelcond.sym: Likewise.
10156         * nptl/pthread_cond_timedwait.c: Likewise.
10157         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10158         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10159         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10160         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10161         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10162         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10163         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10164         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10165         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10166         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10168         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10169         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10170         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10172         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10174 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10176         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10177         (fromfp): New declaration.
10178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10181         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10186         * math/math.h: Include <bits/types.h>.
10187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10188         constant and macro.
10189         (FP_INT_DOWNWARD): Likewise.
10190         (FP_INT_TOWARDZERO): Likewise.
10191         (FP_INT_TONEARESTFROMZERO): Likewise.
10192         (FP_INT_TONEAREST): Likewise.
10193         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10194         (fromfpf): Likewise.
10195         (fromfpl): Likewise.
10196         (ufromfp): Likewise.
10197         (ufromfpf): Likewise.
10198         (ufromfpl): Likewise.
10199         (fromfpx): Likewise.
10200         (fromfpxf): Likewise.
10201         (fromfpxl): Likewise.
10202         (ufromfpx): Likewise.
10203         (ufromfpxf): Likewise.
10204         (ufromfpxl): Likewise.
10205         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10206         s_fromfpxF and s_ufromfpxF.
10207         * math/gen-fromfp-tests.py: New file.
10208         * math/gen-fromfp-tests-inputs: Likewise.
10209         * math/libm-test.inc: Include <stdint.h>
10210         (check_intmax_t): New function.
10211         (check_uintmax_t): Likewise.
10212         (struct test_fiu_M_data): New type.
10213         (struct test_fiu_U_data): Likewise.
10214         (RUN_TEST_fiu_M): New macro.
10215         (RUN_TEST_LOOP_fiu_M): Likewise.
10216         (RUN_TEST_fiu_U): Likewise.
10217         (RUN_TEST_LOOP_fiu_U): Likewise.
10218         (fromfp_test_data): New array.
10219         (fromfp_test): New function.
10220         (fromfpx_test_data): New array.
10221         (fromfpx_test): New function.
10222         (ufromfp_test_data): New array.
10223         (ufromfp_test): New function.
10224         (ufromfpx_test_data): New array.
10225         (ufromfpx_test): New function.
10226         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10227         ufromfpx_test.
10228         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10229         characters.
10230         * math/test-tgmath-ret.c: Include <stdint.h>.
10231         (rm): New variable.
10232         (width): Likewise.
10233         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10234         called function.
10235         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10236         CHECK_RET_CONST_TYPE.
10237         (CHECK_RET_CONST_DOUBLE): Likewise.
10238         (CHECK_RET_CONST_LDOUBLE): Likewise.
10239         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10240         macros.
10241         (fromfp): New CHECK_RET_CONST call.
10242         (ufromfp): Likewise.
10243         (fromfpx): Likewise.
10244         (ufromfpx): Likewise.
10245         (do_test): Call check_return_fromfp, check_return_ufromfp,
10246         check_return_fromfpx and check_return_ufromfpx.
10247         * math/test-tgmath.c: Include <stdint.h>
10248         (NCALLS): Increase to 138.
10249         (F(compile_test)): Initialize i.  Call fromfp functions.
10250         (F(fromfp)): New function.
10251         (F(fromfpx)): Likewise.
10252         (F(ufromfp)): Likewise.
10253         (F(ufromfpx)): Likewise.
10254         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10255         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10256         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10257         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10258         ufromfpxl.
10259         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10260         ufromfp and ufromfpx.
10261         * math/fromfp.h: New file.
10262         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10263         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10264         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10265         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10266         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10267         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10268         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10269         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10270         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10271         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10272         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10273         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10274         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10275         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10276         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10277         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10278         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10279         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10280         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10281         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10282         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10283         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10284         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10285         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10286         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10287         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10288         ufromfp, fromfpx and ufromfpx.
10289         (CFLAGS-nldbl-fromfp.c): New variable.
10290         (CFLAGS-nldbl-fromfpx.c): Likewise.
10291         (CFLAGS-nldbl-ufromfp.c): Likewise.
10292         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10293         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10294         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10295         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10296         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10297         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10298         * sysdeps/nacl/libm.abilist: Update.
10299         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10300         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10301         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10305         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10306         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10307         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10308         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10310         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10312         Likewise.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10314         Likewise.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10316         Likewise.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10318         Likewise.
10319         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10325         Likewise.
10326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10327         Likewise.
10328         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10332 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10334         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10335         compat-gethnamaddr.
10336         (CPPFLAGS): Remove.
10337         * resolv/gethnamaddr.c: Rename ...
10338         * resolv/compat-gethnamaddr.c: ... to this file.
10339         (_endhtent): Make static.
10340         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10341         symbol.
10342         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10343         compat symbol.
10344         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10345         symbol.
10346         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10347         Turn into compat symbol.
10348         * include/resolv.h (_endhtent): Remove declaration.
10350 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10352         * bits/types.h (__intmax_t): New typedef.
10353         (__uintmax_t): Likewise.
10354         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10355         (intmax_t): Define using __intmax_t.
10356         (uintmax_t): Define using __uintmax_t.
10358         * support/Makefile (tests-special): Make definition conditional on
10359         [$(run-built-tests) = yes].
10360         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10361         on [$(run-built-tests) = yes].
10363 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10365         * Rules (tests): Add tests-printers-programs to tests to be
10366         built.
10368 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10370         * sysvipc/Makefile (tests): Add test-sysvshm.
10371         * sysvipc/test-sysvshm.c: New file.
10373         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10374         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10375         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10377         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10378         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10379         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10382         Likewise.
10383         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10384         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10385         is defined.
10387         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10388         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10389         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10390         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10391         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10392         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10393         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10394         Likewise.
10395         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10398         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10399         defined.
10401         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10402         oldshmctl.
10403         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10404         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10405         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10406         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10407         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10408         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10409         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10410         Likewise.
10411         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10412         Likewise.
10413         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10414         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10415         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10416         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10417         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10418         implementation.
10419         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10420         if it is defined.
10422         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10423         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10424         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10425         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10426         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10427         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10428         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10429         Likewise.
10430         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10431         Likewise.
10432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10433         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10434         Define to __NR_osf_shmat.
10435         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10436         defined.
10438         * sysvipc/Makefile (tests): Add test-sysvsem.
10439         * sysvipc/test-sysvsem.c: New file.
10441         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10442         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10443         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10444         Likewise.
10445         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10446         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10447         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10448         Likewise.
10449         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10450         Likewise.
10451         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10452         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10453         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10454         add a comment about s390 syscall difference from default one.
10455         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10456         syscall if it is defined.
10458         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10459         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10460         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10461         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10462         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10463         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10464         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10469         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10470         defined.
10472         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10473         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10474         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10475         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10476         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10477         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10478         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10479         Likewise.
10480         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10481         Likewise.
10482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10483         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10484         if it is defined.
10486         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10487         oldsemctl.
10488         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10489         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10490         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10491         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10492         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10493         implementation.
10494         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10495         syscall if it is defined.
10496         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10497         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10498         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10499         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10500         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10501         Likewise.
10502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10504         * sysvipc/Makefile (tests): Add test-sysvmsg.
10505         * sysvipc/test-sysvmsg.c: New file.
10506         * support/check.h (FAIL_UNSUPPORTED): New define.
10508         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10509         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10510         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10511         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10512         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10513         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10514         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10515         Likewise.
10516         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10517         Likewise.
10518         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10519         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10520         define.
10522         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10523         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10524         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10525         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10526         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10527         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10528         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10529         Likewise.
10530         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10531         Likewise.
10532         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10533         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10534         if defined.
10536         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10537         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10538         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10539         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10540         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10541         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10542         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10543         Likewise.
10544         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10545         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10546         Likewise.
10547         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10548         if defined.
10549         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10551         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10552         oldmsgctl.
10553         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10554         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10555         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10556         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10557         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10558         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10559         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10560         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10561         Likewise.
10562         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10563         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10564         implementation.
10565         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10566         if defined.
10568         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10569         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10570         definition and define its own.
10571         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10572         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10573         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10574         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10575         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10576         definitions to common header.
10577         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10578         operation from ipc_ops.h.
10580         * sysdeps/unix/sysv/linux/kernel-features.h
10581         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10582         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10583         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10584         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10585         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10586         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10587         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10588         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10589         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10590         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10591         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10592         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10593         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10594         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10595         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10597 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10599         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10600         overflow in pointer addition.
10602 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10604         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10605         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10607         (strchr): Add __strchr_power8 to list of strchr functions.
10608         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10609         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10610         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10611         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10612         (strchr): Add __strchr_power8 to ifunc list.
10613         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10614         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10615         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10616         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10618 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10620         * support/Makefile (libsupport-routines): Add
10621         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10622         (tests): Add tst-support_record_failure.
10623         (tests-special): tst-support_record_failure-2.
10624         (tst-support_record_failure-2.out): Depend on
10625         tst-support_record_failure-2.sh and tst-support_record_failure.
10626         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10627         (support_test_verify_impl, support_record_failure)
10628         (support_report_failure, support_report_failure_reset): Declare.
10629         * support/support_test_main.c (adjust_exit_status): New function.
10630         (support_test_main): Call it to incorporate record test failures.
10631         * support/support_test_verify_impl.c: New file.
10632         * support/support_record_failure.c: Likewise.
10633         * support/tst-support_record_failure.c: Likewise.
10634         * support/tst-support_record_failure-2.sh: Likewise.
10635         * support/xunistd.h: Likewise.
10636         * support/xfork.c: Likewise.
10637         * support/xwaitpid.c: Likewise.
10639 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10641         * scripts/check-c++-types.sh: Add comments.
10643 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10645         [BZ #19514]
10646         * resolv/res_send.c: Fix typo in comment.
10647         * sysdeps/i386/i386-mcount.S: Likewise.
10648         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10649         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10650         * sysdeps/sparc/sparc-mcount.S: Likewise.
10652 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10654         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10655         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10656         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10657         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10658         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10659         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10660         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10661         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10663 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10665         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10667 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10669         [BZ #17252]
10670         * posix/unistd.h (getentropy): Declare.
10672 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10674         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10675         Remove.
10676         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10677         (cmd): Remove spoof, nospoof, spoofalert.
10678         (parse_line): Ignore spoof-related lines.
10679         (do_init): Do not process RESOLV_SPOOF_CHECK.
10681 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10683         [BZ #20964]
10684         sunrpc: Always obtain AF_INET addresses from NSS.
10685         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10686         * sunrpc/rpc_gethostbyname.c: New file.
10687         * sunrpc/Makefile (routines): Add it.
10688         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10689         * sunrpc/clnt_simp.c (callrpc): Likewise.
10690         * sunrpc/getrpcport.c (getrpcport): Likewise.
10692 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10694         * sunrpc/rpcinfo.c: Remove.
10695         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10697 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10699         [BZ #19387]
10700         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10701         addition.
10702         * string/test-memchr.c (do_test): Remove alignment limitation.
10703         (test_main): Add test that trigger BZ #19387.
10705 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10707         [BZ #7065]
10708         Enable stack protectore if requested by ./configure.
10709         * Makeconfig (+stack-protector): New variable.
10710         (+cflags): Use it.
10712 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10714         [BZ #7065]
10715         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10717         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10718         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10719         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10721 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10723         [BZ #7065]
10724         * login/Makefile (pt_chown-cflags): Remove.
10725         * nscd/Makefile (CFLAGS-nscd): Likewise.
10726         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10728 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10730         [BZ #7065]
10731         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10732         non-libc-linking testcase.
10734 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10735             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10736             Florian Weimer  <fweimer@redhat.com>
10738         [BZ #7065]
10739         PLT avoidance for __stack_chk_fail*.
10740         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10741         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10742         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10743         __stack_chk_fail_local alias.
10744         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10745         (__stack_chk_fail): Turn into hidden reference to
10746         __stack_chk_fail_local.
10748 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10750         [BZ #7065]
10751         * configure.ac: Add check for unsupported stack-protection level.
10752         (libc_cv_predef_stack_protector): Remove.
10753         (no_ssp): New variable.
10754         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10755         (stack_protector): Set to -fno-stack-protector similarly.
10756         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10757         (libc_cv_asm_set_directive): Likewise.
10758         (libc_cv_protected_data): Likewise.
10759         (libc_cv_z_combreloc): Likewise.
10760         (libc_cv_hashstyle): Likewise.
10761         (libc_cv_has_glob_dat): Likewise.
10762         (libc_cv_output_format): Likewise.
10763         (libc_cv_output_format): Likewise.
10764         (libc_cv_ehdr_start): Likewise.
10765         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10766         (LIBC_LINKER_FEATURE): Likewise.
10767         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10769 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10771         [BZ #7065]
10772         * elf/Makefile (dummy-stack-chk-fail): New.
10773         (librtld.map): Use it.
10775 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10777         [BZ #7065]
10778         Compile the dynamic linker without stack protection.
10779         * elf/Makefile (elide-stack-protector): New.
10780         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10781         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10782         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10783         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10785 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10787         [BZ #7065]
10788         * config.make.in (have-ssp, no-stack-protector): New.
10789         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10790         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10791         (CFLAGS-sbrk.op): Likewise.
10792         (CFLAGS-brk.o): Likewise.
10793         (CFLAGS-brk.op): Likewise.
10794         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10795         (CFLAGS-wordcopy.c): Likewise.
10797 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10799         [BZ #7065]
10800         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10801         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10802         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10803         (__ifunc_resolver): Use it.
10804         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10805         inhibit_stack_protector.
10806         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10807         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10808         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10809         (foo_protected_ifunc): Likewise.
10810         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10811         (foo_protected_ifunc): Likewise.
10812         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10813         * sysdeps/nacl/nacl_interface_query.c
10814         (nacl_interface_query_ifunc): Likewise.
10815         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10816         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10817         Likewise.
10818         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10819         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10820         the generated vDSO syscall resolver.
10822 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10823             Florian Weimer  <fweimer@redhat.com>
10825         [BZ #7065]
10826         Initialize the stack guard earlier when linking statically.
10827         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10828         (__pthread_initialize_minimal): Declare.
10829         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10830         declaration.
10831         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10832         stack canary and apply_irel initialization up.  Call
10833         __pthread_initialize_minimal only if linked in.
10834         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10835         constant values.
10836         (__pthread_initialize_minimal): Remove.
10837         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10838         (__pthread_initialize_minimal_internal): Do not call
10839         __libc_setup_tls.
10841 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10843         [BZ #7065]
10844         * configure.ac (libc_cv_ssp): Move up.
10845         (libc_cv_ssp_strong): Likewise.
10846         (libc_cv_ssp_all): New.
10847         (stack_protector): Augment, adding -fstack-protector-all.
10848         (no_stack_protector): New.
10849         (STACK_PROTECTOR_LEVEL): New.
10850         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10851         * manual/install.texi (--enable-stack-protector): Document it.
10852         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10854 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10856         * README.pretty-printers: Must specify CPPFLAGS-* also.
10857         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10858         (CPPFLAGS-test-mutex-printers.c): Define.
10859         (CPPFLAGS-test-condattr-printers.c): Define.
10860         (CPPFLAGS-test-cond-printers.c): Define.
10861         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10862         (CPPFLAGS-test-rwlock-printers.c): Define.
10864         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10865         (tests): Add tst-cancel-getpwuid_r.
10866         * nss/tst-cancel-getpwuid_r.c: New file.
10868         [BZ #11941]
10869         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10870         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10871         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10872         tst-nodelete-dlclose.
10873         (modules-names): Add tst-nodelete-dlclose-dso and
10874         tst-nodelete-dlclose-plugin.
10875         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10876         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10877         ($(objpfx)tst-nodelete-dlclose): Define.
10878         ($(objpfx)tst-nodelete-dlclose.out): Define.
10880 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10882         * scripts/test_printers_common.py: Log GDB output in case of
10883         Python detection failure.
10885 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10887         * configure.ac: Check for python3 or python.
10888         * configure: Regenerated.
10889         * config.make.in (PYTHON): New variable.
10890         * benchtests/Makefile: Don't define PYTHON.
10891         (bench): Define target only if PYTHON was defined.
10892         * Rules: Don't define PYTHON.
10893         Define pretty printer targets only if PYTHON was defined.
10894         (tests-printers): Add to tests-unsupported if PYTHON is not
10895         found.
10896         (python-flags, python-invoke): Remove.
10897         (tests-printers-out): Use PYTHON instead of python-invoke.
10899 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10901         [BZ #20978]
10902         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10903         Compare name == NULL, not name != NULL.
10905         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10906         trailing whitespace removed.
10907         * scripts/config.guess: Update to version 2016-10-02.
10908         * scripts/config.sub: Update to version 2016-11-19.
10909         * scripts/install-sh: Update to version 2016-01-11.22.
10910         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10911         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10913 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10915         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10916         (do_one_test) Restore original string so iteration works.
10917         * string/string-inlines.c (do_test): Create better input strings.
10918         (test_main) Reduce number of testruns.
10919         * string/string-inlines.c (__old_strsep_1c): New function.
10920         (__old_strsep_2c): Likewise.
10921         (__old_strsep_3c): Likewise.
10922         * string/strsep.c (__strsep): Remove case of small delim string.
10923         Call strcspn directly rather than strpbrk.
10924         * string/bits/string2.h (__strsep): Remove define.
10925         (__strsep_1c): Remove.
10926         (__strsep_2c): Remove.
10927         (__strsep_3c): Remove.
10928         (strsep): Remove.
10929         * sysdeps/unix/sysv/linux/internal_statvfs.c
10930         (__statvfs_getflags): Rename to __strsep.
10932 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10934         * csu/libc-tls.c (_dl_tls_setup): Remove.
10935         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10936         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10937         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10939 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10941         [BZ #7065]
10942         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10943         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10945 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10946             Florian Weimer  <fweimer@redhat.com>
10948         [BZ #7065]
10949         * csu/Makefile (tests): Empty assignment and document it.
10950         (tests-static): Remove.
10951         * csu/tst-empty.c: Move to...
10952         * misc/tst-empty.c: ... here.  Switch to new test driver.
10953         * csu/tst-atomic.c: Move to...
10954         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10955         * csu/tst-atomic-long.c: Move to...
10956         * misc/tst-atomic-long.c: ... here.
10957         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10958         tst-atomic-long.
10959         (tests-static): Add tst-empty.
10961 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10963         * manual/nss.texi: Change incorrect @vtable to @table.
10964         * manual/arith.texi: Convert @tables of variables to @vtables
10965         and remove unnecessary indexing.
10966         * manual/filesys.texi: Likewise.
10967         * manual/llio.texi: Likewise.
10968         * manual/memory.texi: Likewise.
10969         * manual/process.texi: Likewise.
10970         * manual/resource.texi: Likewise.
10971         * manual/search.texi: Likewise.
10972         * manual/signal.texi: Likewise.
10973         * manual/socket.texi: Likewise.
10974         * manual/stdio.texi: Likewise.
10975         * manual/sysinfo.texi: Likewise.
10976         * manual/syslog.texi: Likewise.
10977         * manual/terminal.texi: Likewise.
10978         * manual/time.texi: Likewise.
10979         * manual/users.texi: Likewise.
10981 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10983         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10984         (roundeven): New declaration.
10985         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10986         macro.
10987         * math/Versions (roundeven): New libm symbol at version
10988         GLIBC_2.25.
10989         (roundevenf): Likewise.
10990         (roundevenl): Likewise.
10991         * math/Makefile (libm-calls): Add s_roundevenF.
10992         * math/libm-test.inc (roundeven_test_data): New array.
10993         (roundeven_test): New function.
10994         (main): Call roundeven_test.
10995         * math/test-tgmath.c (NCALLS): Increase to 134.
10996         (F(compile_test)): Call roundeven.
10997         (F(roundeven)): New function.
10998         * manual/arith.texi (Rounding Functions): Document roundeven,
10999         roundevenf and roundevenl.
11000         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11001         * include/math.h (roundeven): Use libm_hidden_proto.
11002         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11003         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11004         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11005         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11006         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11007         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11008         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11009         roundeven.
11010         (CFLAGS-nldbl-roundeven.c): New variable.
11011         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11012         * sysdeps/nacl/libm.abilist: Update.
11013         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11014         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11015         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11016         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11017         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11018         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11019         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11026         Likewise.
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11028         Likewise.
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11030         Likewise.
11031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11032         Likewise.
11033         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11034         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11035         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11036         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11037         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11041         Likewise.
11042         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11043         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11044         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11046 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11048         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11049         preprocessor indentation inside #if.
11051 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11053         * math/libm-test.inc (fmt_ftostr): New function.
11054         (print_float, check_float_internal): Replace some uses of
11055         FTOSTR with uses of fmt_ftostr.
11056         (print_max_error, print_complex_max_error, print_function_ulps)
11057         (print_complex_function_ulps): Remove uses of the macros
11058         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11059         * math/test-double.h (FTOSTR): Define to strfromd.
11060         (PRINTF_EXPR): Delete.
11061         (PRINTF_XEXPR): Likewise.
11062         (PRINTF_NEXPR): Likewise.
11063         * math/test-float.h (FTOSTR): Define to strfromf.
11064         (PRINTF_EXPR): Delete.
11065         (PRINTF_XEXPR): Likewise.
11066         (PRINTF_NEXPR): Likewise.
11067         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11068         (PRINTF_EXPR): Delete.
11069         (PRINTF_XEXPR): Likewise.
11070         (PRINTF_NEXPR): Likewise.
11072 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11074         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11075         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11076         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11077         (__lll_lock_elision): Decrement adapt_count while unlocking
11078         instead of before locking.
11079         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11080         (__lll_trylock_elision): Likewise.
11081         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11082         (__lll_unlock_elision): Likewise.
11084 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11086         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11087         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11088         Use __libc_tbegin_retry macro.
11090 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11092         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11093         Add -msoft-float.
11094         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11095         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11096         Use __libc_t* transaction macros instead of __builtin_t*.
11097         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11098         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11100 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11102         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11103         (__lll_lock_elision): Use atomics to load / store adapt_count.
11104         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11105         (__lll_trylock_elision): Likewise.
11107 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11109         Do not require memset elimination in explicit_bzero test.
11110         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11111         (enum test_expectation): Add NO_EXPECTATIONS.
11112         (subtests): NO_EXPECTATIONS for ordinary clear.
11113         (check_test_buffer): Handle NO_EXPECTATIONS.
11114         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11116 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11118         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11119         (fmaxmag): New declaration.
11120         (fminmag): Likewise.
11121         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11122         macro.
11123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11124         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11125         (fmaxmagf): Likewise.
11126         (fmaxmagl): Likewise.
11127         (fminmag): Likewise.
11128         (fminmagf): Likewise.
11129         (fminmagl): Likewise.
11130         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11131         * math/s_fmaxmag_template.c: New file.
11132         * math/s_fminmag_template.c: Likewise.
11133         * math/libm-test.inc (fmaxmag_test_data): New array.
11134         (fmaxmag_test): New function.
11135         (fminmag_test_data): New array.
11136         (fminmag_test): New function.
11137         (main): Call fmaxmag_test and fminmag_test.
11138         * math/test-tgmath.c (NCALLS): Increase to 132.
11139         (F(compile_test)): Call fmaxmag and fminmag.
11140         (F(fminmag)): New function.
11141         (F(fmaxmag)): Likewise.
11142         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11143         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11144         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11145         fminmag.
11146         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11147         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11148         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11149         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11150         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11151         and fminmag.
11152         (CFLAGS-nldbl-fmaxmag.c): New variable.
11153         (CFLAGS-nldbl-fminmag.c): Likewise.
11154         * sysdeps/nacl/libm.abilist: Update.
11155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11170         Likewise.
11171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11172         Likewise.
11173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11174         Likewise.
11175         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11183         Likewise.
11184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11185         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11186         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11188 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11190         [BZ #20973]
11191         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11192         wake-up in robust mutexes.
11193         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11195 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11197         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11198         (CFLAGS-bench-fmaxf.c): New rule.
11199         (CFLAGS-bench-fminf.c): Likewise.
11200         * benchtests/fmaxf-inputs: New file.
11201         * benchtests/fminf-inputs: Likewise.
11203         * benchtests/Makefile (bench-math): Add fmin and fmax.
11204         (CFLAGS-bench-fmax.c): New rule.
11205         (CFLAGS-bench-fmin.c): Likewise.
11206         * benchtests/fmax-inputs: New file.
11207         * benchtests/fmin-inputs: Likewise.
11209         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11210         parenthesis.
11211         (CMDLINE_PROCESS): Define using function instead of macro.
11212         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11213         of test-skeleton.
11214         * benchtests/bench-memchr.c: Likewise.
11215         * benchtests/bench-memcmp.c: Likewise.
11216         * benchtests/bench-memcpy-large.c: Likewise.
11217         * benchtests/bench-memcpy.c: Likewise.
11218         * benchtests/bench-memmem.c: Likewise.
11219         * benchtests/bench-memmove-large.c: Likewise.
11220         * benchtests/bench-memmove.c: Likewise.
11221         * benchtests/bench-memset-large.c: Likewise.
11222         * benchtests/bench-memset.c: Likewise.
11223         * benchtests/bench-rawmemchr.c: Likewise.
11224         * benchtests/bench-strcasecmp.c: Likewise.
11225         * benchtests/bench-strcasestr.c: Likewise.
11226         * benchtests/bench-strcat.c: Likewise.
11227         * benchtests/bench-strchr.c: Likewise.
11228         * benchtests/bench-strcmp.c: Likewise.
11229         * benchtests/bench-strcpy.c: Likewise.
11230         * benchtests/bench-strcpy_chk.c: Likewise.
11231         * benchtests/bench-strlen.c: Likewise.
11232         * benchtests/bench-strncasecmp.c: Likewise.
11233         * benchtests/bench-strncmp.c: Likewise.
11234         * benchtests/bench-strncpy.c: Likewise.
11235         * benchtests/bench-strnlen.c: Likewise.
11236         * benchtests/bench-strpbrk.c: Likewise.
11237         * benchtests/bench-strrchr.c: Likewise.
11238         * benchtests/bench-strsep.c: Likewise.
11239         * benchtests/bench-strspn.c: Likewise.
11240         * benchtests/bench-strstr.c: Likewise.
11241         * benchtests/bench-strtok.c: Likewise.
11243 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11245         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11246         stepping identification.
11247         (init_cpu_features): Add handle of Haswell.
11249 2016-11-25  Jim Meyering  <meyering@fb.com>
11251         [BZ #20386]
11252         Let gcc detect assert(a = 1) errors.
11253         * assert/assert.h (assert): Rewrite, retaining the old definintion
11254         when required, but otherwise putting the expression as-is in an "if"
11255         expression (hence, with no added parentheses) within a statement
11256         expression.
11258 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11260         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11261         DSO.
11263 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11265         * Rules (python-flags, python-invoke): New.
11266         ($(test-printers-out)): Use $(python-flags).
11268 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11270         * manual/arith.texi (Math Error Reporting): Document that sNaN
11271         arguments are not considered domain errors.
11273 2016-12-16  Zack Weinberg <zackw@panix.com>
11274             Florian Weimer <fweimer@redhat.com>
11275             Nick Mathewson <nickm@torproject.org>
11277         * string/explicit_bzero.c: New routine.
11278         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11279         * string/Makefile (routines, strop-tests, tests): Add them.
11280         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11281         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11283         * debug/explicit_bzero_chk.c: New routine.
11284         * debug/Makefile (routines): Add it.
11285         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11286         * string/bits/string3.h: Fortify explicit_bzero.
11288         * manual/string.texi: Document explicit_bzero.
11289         * NEWS: Mention addition of explicit_bzero.
11291         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11292         data before returning, using explicit_bzero.
11293         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11294         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11295         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11297         * include/string.h: Redirect internal uses of explicit_bzero
11298         to __explicit_bzero_chk[_internal].
11299         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11300         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11301         * sysdeps/arm/nacl/libc.abilist
11302         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11303         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11304         * sysdeps/unix/sysv/linux/arm/libc.abilist
11305         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11306         * sysdeps/unix/sysv/linux/i386/libc.abilist
11307         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11308         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11309         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11310         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11311         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11312         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11314         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11315         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11320         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11321         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11322         * sysdeps/unix/sysv/linux/sh/libc.abilist
11323         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11324         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11327         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11328         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11329         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11330         Add entries for explicit_bzero and __explicit_bzero_chk.
11332 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11334         * math/fenv.h
11335         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11336         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11337         * math/test-fe-snans-always-signal.c: New file.
11338         * math/Makefile (tests): Add test-fe-snans-always-signal.
11339         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11340         * manual/arith.texi (Infinity and NaN): Document
11341         FE_SNANS_ALWAYS_SIGNAL.
11343 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11345         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11346         bracket.
11348 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11350         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11351         before calling execv.
11353 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11355         [BZ #20971]
11356         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11357         overflow in pointer addition.
11358         * string/test-memchr.c (do_test): Add an argument to pass as
11359         the size on memchr.
11360         (test_main): Add check for SIZE_MAX.
11362 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11364         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11365         (libm-calls): Add w_scalblnF.
11366         * math/w_scalbln.c: Remove.
11367         * math/w_scalblnf.c: Likewise.
11368         * math/w_scalblnl.c: Likewise.
11369         * math/w_scalbln_template.c: New file with type-generic
11370         implementation based on math/w_scalbln.c.
11371         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11372         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11374 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11376         [BZ #20947]
11377         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11378         either is a signaling NaN.
11379         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11380         follow fmaxl more closely.
11381         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11382         when either is a signaling NaN.
11383         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11384         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11385         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11386         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11387         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11388         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11389         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11390         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11391         (fmin_test_data): Likewise.
11393 2016-12-15  Andreas Schwab  <schwab@suse.de>
11395         * support/support_test_main.c (support_test_main): Don't shadow
11396         file-local variable test_pid.
11398 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11400         [BZ #20947]
11401         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11402         either is a signaling NaN.
11403         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11405 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #20947]
11408         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11409         when either is a signaling NaN.
11410         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11412         * bits/long-double.h: New file.
11413         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11414         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11415         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11416         * sysdeps/mips/bits/long-double.h: Likewise.
11417         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11418         * math/Makefile (headers): Add bits/long-double.h.
11419         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11420         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11421         <bits/wordsize.h>.
11422         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11423         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11424         * math/math.h: Do not include <bits/mathdef.h>.
11425         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11426         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11427         inclusion.
11428         * sysdeps/ia64/bits/mathdef.h: Remove file.
11429         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11430         * sysdeps/mips/bits/mathdef.h: Likewise.
11431         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11432         * sysdeps/s390/bits/mathdef.h: Likewise.
11433         * sysdeps/sparc/bits/mathdef.h: Likewise.
11434         * sysdeps/x86/bits/mathdef.h: Likewise.
11435         * sysdeps/s390/s390-32/bits/wordsize.h
11436         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11437         conditional code.
11438         * sysdeps/s390/s390-64/bits/wordsize.h
11439         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11440         Likewise.
11441         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11442         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11443         Likewise.
11444         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11445         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11446         Likewise.
11447         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11448         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11449         Likewise.
11451         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11452         <linux/falloc.h>.
11453         (FALLOC_FL_KEEP_SIZE): Remove.
11454         (FALLOC_FL_PUNCH_HOLE): Likewise.
11455         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11456         (FALLOC_FL_ZERO_RANGE): Likewise.
11458 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11460         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11462 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11464         * sysdeps/unix/sysv/linux/renameat.c: New file.
11465         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11467         * sysdeps/unix/sysv/linux/rename.c: New file.
11468         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11470 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11472         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11473         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11474         * string/strtok_r.c (__strtok_r): Optimize for performance.
11475         * string/string-inlines.c (__old_strtok_r_1c): New function.
11476         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11478 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11480         * math/Makefile (gen-libm-calls): Add w_log1pF.
11481         (libm-calls): Remove w_log1pF.
11482         * math/w_log1p.c: Remove.
11483         * math/w_log1pf.c: Likewise.
11484         * math/w_log1pl.c: Likewise.
11485         * math/w_log1p_template.c: New file with type-generic
11486         implementation based on math/w_log1p.c.
11487         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11488         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11490 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11492         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11494 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11496         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11497         kernel version to 4.9.
11499 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11501         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11502         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11504 2016-12-13  Andreas Schwab  <schwab@suse.de>
11506         * sysdeps/powerpc/dl-procinfo.c: Don't define
11507         _dl_powerpc_platforms.
11508         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11509         constants instead of referencing _dl_powerpc_platforms.
11510         (_dl_platform_string): Remove.
11512 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11514         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11516 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11518         * Rules (binaries-shared-tests, binaries-pie-tests)
11519         (binaries-static-tests): Link with $(link-extra-libs-tests).
11520         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11521         Remove $(link-extra-libs-tests).
11523 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11525         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11526         (sysdep_routines): Add strncmp_power9.
11527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11528         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11529         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11530         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11531         (strncmp): Add __strncmp_power9 to ifunc list.
11532         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11534 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11536         [BZ #17252]
11537         Add getentropy, getrandom.
11538         * stdlib/sys/random.h: New file.
11539         (headers): Add it.
11540         * stdlib/Makefile (routines): Add getentropy, getrandom.
11541         (tests): Add tst-getrandom.
11542         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11543         * stdlib/getentropy.c: New file.
11544         * stdlib/getrandom.c: Likewise.
11545         * stdlib/tst-getrandom.c: Likewise.
11546         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11547         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11548         * manual/crypt.texi (Unpredictable Bytes): New section.
11549         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11550         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11551         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11552         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11553         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11554         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11555         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11556         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11557         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11558         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11559         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11560         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11561         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11562         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11563         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11564         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11566         Likewise.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11568         Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11571         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11572         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11573         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11579         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11580         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11582 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11584         [BZ #20956]
11585         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11586         as additional compiler barriers.
11587         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11588         (fn2, do_test): Declare with external linkage.
11589         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11590         (do_test): Declare with external linkage.
11591         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11592         (do_test): Declare with external linkage.
11593         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11594         (do_test): Declare with external linkage.
11596 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11598         * support/support_test_main.c (support_test_main): Use correct
11599         timeout.
11601 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11602             Florian Weimer  <fweimer@redhat.com>
11604         [BZ #16421]
11605         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11606         and __u6_addr32 members.
11607         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11608         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11609         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11610         Use __u6_addr32.
11611         * inet/tst-checks.c: Use <support/test-driver.c>
11612         * inet/tst-checks-posix.c: New file.
11613         * inet/Makefile (tests): Add it.
11614         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11616 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11618         New subdirectory support for build and test infrastructure.
11619         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11620         setting install-lib.
11621         * Makeconfig (link-extra-libs-tests): Define.
11622         (+link-pie-tests, +link-static-tests, +link-tests): Use
11623         link-extra-libs-tests.
11624         (rpath-dirs, all-subdirs): Add support.
11625         (built-modules): Add libsupport.
11626         (libsupport): Define.
11627         * support: New directory.
11628         * support/Makefile: New file.
11629         * support/check.c: Likewise.
11630         * support/check.h: Likewise.
11631         * support/delayed_exit.c: Likewise.
11632         * support/ignore_stderr.c: Likewise.
11633         * support/oom_error.c: Likewise.
11634         * support/set_fortify_handler.c: Likewise.
11635         * support/support.h: Likewise.
11636         * support/temp_file-internal.h: Likewise.
11637         * support/temp_file.c: Likewise.
11638         * support/test-driver.c: Likewise.
11639         * support/test-driver.h: Likewise.
11640         * support/test_main.c: Likewise.
11641         * support/write_message.c: Likewise.
11642         * support/xasprintf.c: Likewise.
11643         * support/xcalloc.c: Likewise.
11644         * support/xmalloc.c: Likewise.
11645         * support/xpthread_barrier_destroy.c: Likewise.
11646         * support/xpthread_barrier_init.c: Likewise.
11647         * support/xpthread_barrier_wait.c: Likewise.
11648         * support/xpthread_cancel.c: Likewise.
11649         * support/xpthread_check_return.c: Likewise.
11650         * support/xpthread_cond_wait.c: Likewise.
11651         * support/xpthread_create.c: Likewise.
11652         * support/xpthread_detach.c: Likewise.
11653         * support/xpthread_join.c: Likewise.
11654         * support/xpthread_mutex_lock.c: Likewise.
11655         * support/xpthread_mutex_unlock.c: Likewise.
11656         * support/xpthread_sigmask.c: Likewise.
11657         * support/xpthread_spin_lock.c: Likewise.
11658         * support/xpthread_spin_unlock.c: Likewise.
11659         * support/xrealloc.c: Likewise.
11660         * support/xsignal.h: Likewise.
11661         * support/xthread.h: Likewise.
11662         * support_tempfile.h: Likewise.
11663         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11664         (TEST_DATA_LIMIT): Remove unused macro.
11665         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11666         <support/check.h>.
11667         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11668         (ignore_stderr, set_fortify_handler): Remove.  Now in
11669         <support/support.h>.
11670         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11671         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11672         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11673         (xpthread_join): Remove.  Now in <support/xthread.h>.
11674         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11675         Introduce legacy wrappers.
11676         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11677         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11678         (write_message): Remove.
11679         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11680         test-skeleton.c.
11681         * io/test-open-tmpfile: Likewise.
11682         * io/tst-posix_fallocate-common.c: Likewise.
11683         * libio/tst-fseek.c: Likewise.
11684         * malloc/tst-malloc-backtrace.c: Likewise.
11685         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11686         * malloc/tst-malloc-thread-exit.c: Likewise.
11687         * nptl/tst-cancel7.c: Likewise.
11688         * nptl/tst-cleanup0.c: Likewise.
11689         * posix/tst-posix_fadvise-common.c: Likewise.
11690         * rt/tst-shm.c: Likewise.
11691         * time/bug-getdate1.c: Likewise.
11692         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11693         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11694         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11696 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11698         * Rules [$(run-built-tests) != no] (tests-expected): Add
11699         $(tests-printers).
11700         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11702 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11704         [BZ #20539]
11705         * math/Makefile (install-lib-ldscripts): Add libm.a.
11706         (install_subdir): Remove.
11707         (install-others): Add.
11708         ($(inst_libdir)/libm.a): Add rule for installation as
11709         linker script.
11710         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11712 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11714         * INSTALL: Regenerated.
11715         * Makeconfig: Add comments and whitespace to make the control flow
11716         clearer.
11717         (+link-printers-tests, +link-pie-printers-tests,
11718         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11719         built-rtld-LDFLAGS, link-libc-rpath,
11720         link-libc-tests-after-rpath-link,
11721         link-libc-printers-tests): New.
11722         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11723         link-libc-tests): Use the new variables as required.
11724         * Makerules ($(py-const)): New rule.
11725         generated: Add $(py-const).
11726         * README.pretty-printers: New file.
11727         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11728         (others): Depend on $(py-const).
11729         (tests): Depend on $(tests-printers-programs) or
11730         $(tests-printers-out),
11731         as required.  Pass $(tests-printers) to merge-test-results.sh.
11732         * manual/install.texi: Add requirements for testing the pretty
11733         printers.
11734         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11735         tests-printers, CFLAGS-test-mutexattr-printers.c
11736         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11737         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11738         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11739         * nptl/nptl-printers.py: New file.
11740         * nptl/nptl_lock_constants.pysym: Likewise.
11741         * nptl/test-cond-printers.c: Likewise.
11742         * nptl/test-cond-printers.py: Likewise.
11743         * nptl/test-condattr-printers.c: Likewise.
11744         * nptl/test-condattr-printers.py: Likewise.
11745         * nptl/test-mutex-printers.c: Likewise.
11746         * nptl/test-mutex-printers.py: Likewise.
11747         * nptl/test-mutexattr-printers.c: Likewise.
11748         * nptl/test-mutexattr-printers.py: Likewise.
11749         * nptl/test-rwlock-printers.c: Likewise.
11750         * nptl/test-rwlock-printers.py: Likewise.
11751         * nptl/test-rwlockattr-printers.c: Likewise.
11752         * nptl/test-rwlockattr-printers.py: Likewise.
11753         * scripts/gen-py-const.awk: Likewise.
11754         * scripts/test_printers_common.py: Likewise.
11755         * scripts/test_printers_exceptions.py: Likewise.
11757 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11759         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11760         argument.
11761         (Glibc.build_glibc): Strip installed shared libraries if
11762         requested.
11763         (get_parser): Add --strip option.
11764         (main): Update Context call.
11766 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11767             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11769         [BZ #20847]
11770         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11771         array bounds for else branch.
11772         (__execvpe): Style fixes.
11773         * posix/tst-vfork3.c (run_script): New function.
11774         (create_script): Likewise.
11775         (do_test): Use run_script internal function.
11776         (do_prepare): Use create_script internal function.
11778 2016-12-07  Andreas Schwab  <schwab@suse.de>
11780         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11781         (__elision_available): Don't declare.
11782         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11783         (__elision_available): Don't define.
11784         (elision_init): Don't set __elision_available.
11786 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11788         [BZ #20940]
11789         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11790         return Inf for arguments Inf and sNaN.
11791         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11792         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11793         Likewise.
11794         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11795         Likewise.
11796         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11797         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11798         for arguments Inf and sNaN.  When returning a NaN, compute it by
11799         arithmetic on the arguments.
11800         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11801         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11802         arguments.
11804 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11806         [BZ #20916]
11807         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11808         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11809         to compute result.
11810         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11811         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11813 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11815         * include/atomic.h (__atomic_check_size_ls): New.
11816         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11817         atomic_store_release): Use it.
11818         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11819         (elision_adapt, ELIDE_LOCK): Use atomics.
11820         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11821         atomics and improve code comments.
11822         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11823         (__lll_trylock_elision): Likewise.
11825 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11827         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11828         programs.
11830 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11832         [BZ #20916]
11833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11834         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11835         arguments to compute result.
11836         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11837         1 for arguments (sNaN, 0) or (1, sNaN).
11838         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11841         [BZ #20919]
11842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11843         NaN first argument when raised to power 0.
11844         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11845         raising to power zero.
11846         * math/w_powf.c (__powf): Likewise.
11847         * math/w_powl.c (__powl): Likewise.
11848         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11849         pow (0, 0) or pow (NaN, 0).
11851 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11853         [BZ #20918]
11854         * configure.ac: Test for static NSS cryptographic libraries and set
11855         libc_cv_static_nss_crypt.
11856         * configure: Regenerate.
11857         * config.make.in (static-nss-crypt): Define.
11858         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11859         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11860         (CFLAGS-tst-linkall-static.c): Define.
11861         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11862         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11863         ($(objpfx)tst-linkall-static): Define.
11864         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11865         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11867 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11869         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11870         (one-hundred, tst-tls-many-dynamic-modules): Define.
11871         (modules-names): Add $(tst-tls-many-dynamic-modules).
11872         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11873         macros.
11874         (tst-tls-manydynamic): Link against libdl, libpthread.
11875         (tst-tls-manydynamic.out): The test needs the test modules at run
11876         time.
11877         * elf/tst-tls-manydynamic.c: New file.
11878         * elf/tst-tls-manydynamic.h: Likewise.
11879         * elf/tst-tls-manydynamicmod.c: Likewise.
11881 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11883         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11884         (TLS_DTV_UNALLOCATED): Add.
11885         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11886         offsets.
11888 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11890         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11892 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11894         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11895         Add -fno-optimize-sibling-calls.
11897 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11899         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11900         New declaration.
11901         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11902         macro.
11903         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11904         New macro.
11905         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11907         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11908         (llogbf): Likewise.
11909         (llogbl): Likewise.
11910         * math/Makefile (gen-libm-calls): Add w_llogbF.
11911         (tests): Add test-fp-llogb-constants.
11912         * math/w_llogb_template.c: New file.  Based on
11913         math/w_ilogb_template.c.
11914         * math/libm-test.inc (llogb_test_data): New array.
11915         (llogb_test): New function.
11916         (main): Call llogb_test.
11917         * math/test-fp-llogb-constants.c: New file.  Based on
11918         math/test-fp-ilogb-constants.c.
11919         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11920         (do_test): Call check_return_llogb.
11921         * math/test-tgmath.c (NCALLS): Increase to 126.
11922         (F(compile_test)): Call llogb.
11923         (F(llogb)): New function.
11924         * manual/math.texi (Exponents and Logarithms): Document llogb,
11925         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11926         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11927         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11928         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11929         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11930         (CFLAGS-nldbl-llogb.c): New variable.
11931         * sysdeps/nacl/libm.abilist: Update.
11932         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11933         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11934         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11935         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11936         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11937         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11938         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11940         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11941         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11942         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11943         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11945         Likewise.
11946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11947         Likewise.
11948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11949         Likewise.
11950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11951         Likewise.
11952         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11953         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11954         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11955         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11956         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11958         Likewise.
11959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11965 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11967         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11968         _Float128 instead of long double.
11969         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11971         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11972         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11973         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11974         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11975         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11976         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11977         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11978         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11979         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11980         Likewise.
11982 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11984         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11985         Remove redirection to __strrchr_ppc.
11987 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11989         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11990         (sysdep_routines): Add strcmp_power9.
11991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11992         (strcmp): Add __strcmp_power9 to list of strcmp functions.
11993         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11994         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11995         (strcmp): Add __strcmp_power9 to ifunc list.
11996         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11998 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12000         * bits/fp-logb.h: New file.
12001         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12002         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12003         * sysdeps/x86/bits/fp-logb.h: Likewise.
12004         * math/Makefile (headers): Add bits/fp-logb.h.
12005         * math/math.h: Include <bits/fp-logb.h>.
12006         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12007         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12008         * bits/mathdef.h (FP_ILOGB0): Remove.
12009         (FP_ILOGBNAN): Likewise.
12010         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12011         (FP_ILOGBNAN): Likewise.
12012         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12013         (FP_ILOGBNAN): Likewise.
12014         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12015         (FP_ILOGBNAN): Likewise.
12016         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12017         (FP_ILOGBNAN): Likewise.
12018         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12019         (FP_ILOGBNAN): Likewise.
12020         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12021         (FP_ILOGBNAN): Likewise.
12022         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12023         (FP_ILOGBNAN): Likewise.
12024         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12025         (FP_ILOGBNAN): Likewise.
12026         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12027         (FP_ILOGBNAN): Likewise.
12029         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12030         time module.
12031         (Context.__init__): Initialize self.logsdir_old.
12032         (Context.run_builds): Handle bot action.
12033         (Context.bot_cycle): Copy logs directory before running builds.
12034         (Context.bot_run_self): Take argument for whether to check
12035         subprocess result.  Flush stdout before running subprocess.
12036         (Context.bot): New function.
12037         (get_parser): Allow bot action.
12039 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12041         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12042         Import email.mime.text, email.utils and smtplib modules.
12043         (Context.__init__): Initialize self.bot_config_json.
12044         (Context.run_builds): Handle bot-cycle action.
12045         (Context.load_bot_config_json): New function.
12046         (Context.part_build_old): Likewise.
12047         (Context.bot_cycle): Likewise.
12048         (Context.bot_build_mail): Likewise.
12049         (Context.bot_run_self): Likewise.
12050         (get_parser): Allow bot-cycle action.
12052 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12055         Remove redirection to __stpcpy_ppc.
12057 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12059         Remove __libc_memalign from ld.so because it is unused.
12060         * elf/dl-minimal.c: Update comment on the malloc implementation.
12061         (malloc): Renamed from __libc_memalign, replacing the original
12062         malloc implementation.  Replace the align parameter with
12063         MALLOC_ALIGNMENT.
12064         * elf/Versions (ld): Update comment and remove __libc_memalign.
12065         * sysdeps/nacl/ld.abilist: Likewise.
12066         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12067         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12068         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12069         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12070         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12071         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12072         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12073         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12074         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12075         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12076         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12077         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12078         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12082         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12083         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12084         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12085         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12086         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12089         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12090         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12091         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12092         * sysdeps/generic/localplt.data (ld.so): Likewise.
12093         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12094         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12095         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12096         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12097         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12098         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12099         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12100         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12101         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12103         (ld.so): Likewise.
12104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12105         (ld.so): Likewise.
12106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12107         Likewise.
12108         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12109         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12110         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12111         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12112         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12114 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12116         [BZ #16628]
12117         Implement _dl_catch_error, _dl_signal_error in libc.so.
12118         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12119         (catch_hook): Define as thread-local or regular variable,
12120         depending on DL_ERROR_BOOTSTRAP.
12121         (CATCH_HOOK): Remove.
12122         (dl_signal_error, _dl_catch_error): Use
12123         catch_hook.  Add hidden definition for libc.
12124         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12125         for DL_ERROR_BOOTSTRAP only.
12126         * elf/dl-error.c: New file.
12127         * elf/dl-error-minimal.c: Likewise.
12128         * elf/tst-latepthread.c: Likewise.
12129         * elf/tst-latepthreadmod.c: Likewise.
12130         * elf/Makefile (routines): Add dl-error.
12131         (dl-routines): Remove dl-error.
12132         (rtld-routines): Add dl-error-minimal.
12133         [build-shared] (tests): Add tst-latepthread.
12134         (module-names): Add tst-latepthreadmod.
12135         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12136         symbol.
12137         (tst-latepthreadmod.so): Link against libpthread.
12138         (tst-latepthread): Link against libdbl.
12139         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12140         _dl_catch_error.
12141         [ld] (GLIBC_PRIVATE): Likewise.
12142         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12143         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12144         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12145         directly.
12146         * elf/dl-tsd.c: Remove file.
12147         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12148         _dl_catch_error, _dl_signal_error.
12149         (_dl_initial_error_catch_tsd): Remove definition.
12150         (do_preload): Remove initialization of dl_error_catch_tsd.
12151         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12152         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12153         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12154         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12155         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12156         set dl_error_catch_tsd.
12157         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12158         _dl_error_catch_tsd member.
12159         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12160         members.
12161         (_dl_initial_error_catch_tsd): Remove declaration.
12162         (_dl_dprintf): Provide definition for use outside of ld.so.
12163         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12164         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12165         prototype for libc.
12166         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12167         _dl_catch_error.
12168         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12169         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12170         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12171         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12172         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12173         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12174         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12175         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12176         Likewise.
12177         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12179         (ld.so): Likewise.
12180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12181         (ld.so): Likewise.
12182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12183         Likewise.
12184         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12185         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12186         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12187         Likewise.
12188         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12189         Likewise.
12190         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12192 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12194         [BZ #4099]
12195         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12196         _IO_BUFSIZ (8192).
12198 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12200         * PROJECTS: Remove file.
12202 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12204         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12206 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12207             Steve Ellcey  <sellcey@caviumnetworks.com>
12209         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12210         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12211         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12212         fxstatat.
12213         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12214         lxstat.
12215         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12216         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12217         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12218         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12219         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12220         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12221         __xstat.
12223 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12225         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12226         Define.
12227         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12228         definition.
12230 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12232         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12233         version and turn into strong alias.  Remove compat symbol.
12235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12236         (__longjmp): Remove.
12238 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12240         * bits/fp-fast.h: New file.
12241         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12242         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12243         * math/Makefile (headers): Add bits/fp-fast.h.
12244         * math/math.h: Include <bits/fp-fast.h>.
12245         * bits/mathdef.h (FP_FAST_FMA): Remove.
12246         (FP_FAST_FMAF): Likewise.
12247         (FP_FAST_FMAL): Likewise.
12248         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12249         (FP_FAST_FMAF): Likewise.
12250         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12251         (FP_FAST_FMAF): Likewise.
12252         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12253         (FP_FAST_FMAF): Likewise.
12254         (FP_FAST_FMAL): Likewise.
12255         * sysdeps/arm/bits/mathdef.h: Remove file.
12256         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12257         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12258         * sysdeps/tile/bits/mathdef.h: Likewise.
12260 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12262         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12263         * math/w_ilogb.c: Remove.
12264         * math/w_ilogbf.c: Likewise.
12265         * math/w_ilogbl.c: Likewise.
12266         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12267         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12268         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12269         (libm-calls): Remove w_ilogbF.
12270         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12271         (LDOUBLE_ilogbl_libm_version): New macro.
12273         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12275         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12276         [!__STRICT_ANSI__ && !__cplusplus].
12278 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12280         [BZ #20750]
12281         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12282         of PIC.
12284 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12285             Yury Norov  <ynorov@caviumnetworks.com>
12286             Steve Ellcey  <sellcey@caviumnetworks.com>
12288         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12289         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12290         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12291         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12292         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12293         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12294         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12295         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12296         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12297         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12298         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12299         to get correct reg name for ILP32.
12300         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12301         (RELA_SIZE): New Macro.
12302         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12303         to support ILP32.
12304         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12305         cast for ILP32 mode.
12306         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12307         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12308         * sysdeps/aarch64/memset.S (__memset): Ditto.
12309         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12310         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12311         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12312         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12313         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12314         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12315         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12316         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12317         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12318         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12319         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12320         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12321         change PTR_MANGLE call to use register numbers instead of names.
12322         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12323         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12324         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12325         * sysdeps/aarch64/start.S (_start): Ditto.
12326         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12327         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12328         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12329         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12330         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12331         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12332         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12333         Make defined values dependent on __ILP32__.
12334         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12335         (sem_t): Change __align type.
12336         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12337         PTR_SIZE): New Macros.
12338         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12339         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12340         Set when in ILP32 mode.
12341         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12342         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12343         Set elf flags for ILP32.
12344         (add_system_dir): Set ILP32 library directories.
12345         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12346         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12347         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12348         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12349         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12350         New Macros.
12351         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12353 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12355         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12356         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12357         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12359 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12361         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12362         <asm/cachectl.h>.
12364 2016-11-27  Zack Weinberg  <zackw@panix.com>
12366         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12367         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12369 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12371         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12372         error_t to fix usage in C++ programs.
12374 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12376         * scripts/build-many-glibcs.py: Import datetime module.
12377         (Context.__init__): Load JSON build state.  Initialize list of
12378         status logs.
12379         (Context.run_builds): Update saved build state.
12380         (Context.add_makefile_cmdlist): Update list of status logs.
12381         (Context.load_build_state_json): New function.
12382         (Context.store_build_state_json): Likewise.
12383         (Context.clear_last_build_state): Likewise.
12384         (Context.update_build_state): Likewise.
12385         (CommandList.status_logs): Likewise.
12387 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12389         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12390         script being executed.
12391         (Context.get_script_text): New function.
12392         (Context.exec_self): Likewise.
12393         (Context.checkout): Re-exec script if changed by checkout process.
12395 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12397         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12398         (setpayloadsig): New declaration.
12399         * math/Versions (setpayloadsig): New libm symbol at version
12400         GLIBC_2.25.
12401         (setpayloadsigf): Likewise.
12402         (setpayloadsigl): Likewise.
12403         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12404         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12405         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12406         (setpayloadsig_test_data): New array.
12407         (setpayloadsig_test): New function.
12408         (main): Call setpayloadsig_test.
12409         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12410         setpayloadsigf and setpayloadsigl.
12411         * manual/libm-err-tab.pl: Update comment on interfaces without
12412         ulps tabulated.
12413         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12414         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12415         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12416         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12417         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12418         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12419         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12420         setpayloadsig.
12421         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12422         * sysdeps/nacl/libm.abilist: Update.
12423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12436         Likewise.
12437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12442         Likewise.
12443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12449         Likewise.
12450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12451         Likewise.
12452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12456         * scripts/build-many-glibcs.py: Import json module.
12457         (Context.__init__): Take replace_sources argument.  Load
12458         versions.json.
12459         (Context.load_versions_json): New function.
12460         (Context.store_json): Likewise.
12461         (Context.store_versions_json): Likewise.
12462         (Context.set_component_version): Likewise.
12463         (Context.checkout): Update versions.json.  Check for and handle
12464         changes of version.  Prefer previously explicitly specified
12465         version to default version.
12466         (Context.checkout_vcs): Return a revision identifier.
12467         (Context.git_checkout): Likewise.
12468         (Context.gcc_checkout): Likewise.
12469         (get_parser): Add --replace-sources option.
12470         (main): Pass replace_sources argument to Context call.
12472 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12474         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12475         * nptl/allocatestack.c (allocate_stack): Likewise.
12476         (__reclaim_stacks): Likewise.
12477         (setxid_signal_thread): Obtain pid through syscall.
12478         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12479         (sighandle_setxid): Likewise.
12480         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12481         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12482         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12483         Likewise.
12484         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12485         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12486         comment.
12487         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12488         * nptl/descr.h (struct pthread): Change comment about pid value.
12489         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12490         pid assert.
12491         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12492         Do not set pid value.
12493         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12494         pid cache check.
12495         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12496         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12497         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12498         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12499         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12500         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12501         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12502         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12503         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12504         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12505         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12506         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12507         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12508         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12509         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12510         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12511         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12512         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12513         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12514         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12515         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12516         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12517         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12518         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12519         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12522         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12523         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12524         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12525         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12526         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12527         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12528         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12529         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12530         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12531         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12532         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12533         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12534         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12535         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12536         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12537         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12540         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12541         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12542         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12543         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12544         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12545         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12546         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12547         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12548         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12549         struct access.
12550         (clone_test): Remove function.
12551         (do_test): Rewrite to take in consideration pid is not cached anymore.
12553 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12555         * bits/flt-eval-method.h: New file.
12556         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12557         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12558         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12559         * math/Makefile (headers): Add bits/flt-eval-method.h.
12560         * math/math.h: Include <bits/flt-eval-method.h>.
12561         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12562         [__USE_ISOC99] (double_t): Likewise.
12563         * bits/mathdef.h (float_t): Remove.
12564         (double_t): Likewise.
12565         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12566         (double_t): Likewise.
12567         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12568         (double_t): Likewise.
12569         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12570         (double_t): Likewise.
12571         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12572         (double_t): Likewise.
12573         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12574         (double_t): Likewise.
12575         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12576         (double_t): Likewise.
12577         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12578         (double_t): Likewise.
12579         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12580         (double_t): Likewise.
12581         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12582         (double_t): Likewise.
12583         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12584         (double_t): Likewise.
12585         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12586         (double_t): Likewise.
12587         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12588         (double_t): Likewise.
12589         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12590         (double_t): Likewise.
12592 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12594         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12595         instead of PIC.
12597 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12599         [BZ #20859]
12600         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12601         (-0x7fffffff) instead of 0x80000001.
12602         * math/test-fp-ilogb-constants.c: New file.
12603         * math/Makefile (tests): Add test-fp-ilogb-constants.
12605 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12607         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12608         (_init): Use it in place of hardcoded R_MIPS_JALR.
12609         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12610         (_init): Use it in place of hardcoded R_MIPS_JALR.
12611         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12612         (_init): Use it in place of hardcoded R_MIPS_JALR.
12614 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12616         [BZ #20787]
12617         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12618         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12619         (double_t): Do not define to double if [__x86_64__] when
12620         __FLT_EVAL_METHOD__ is nonzero.
12621         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12622         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12623         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12624         test-flt-eval-method-387 and test-flt-eval-method-sse.
12625         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12626         variable.
12627         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12629 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12631         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12632         use of -fno-isolate-erroneous-paths options for tilepro.
12634 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12636         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12637         structure initialization is no longer needed.
12639 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12641         [BZ #20855]
12642         * bits/mathdef.h (float_t): Define to float.
12643         * math/test-flt-eval-method.c: New file.
12644         * math/Makefile (tests): Add test-flt-eval-method.
12645         (CFLAGS-test-flt-eval-method.c): New variable.
12647 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12649         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12650         and __fstatfs.  Make them aliases of __fstatfs64 if
12651         STATFS_IS_STATFS64 is set to non-zero.
12652         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12653         and __statfs64.
12654         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12655         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12656         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12657         for __statfs and statfs.
12658         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12659         to 0.
12660         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12661         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12662         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12663         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12664         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12665         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12668         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12669         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12670         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12671         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12673 2016-11-22  Andreas Schwab  <schwab@suse.de>
12675         * misc/mkstemp.c: Include <fcntl.h>.
12676         * misc/mkstemps.c: Likewise.
12677         * misc/mkostemp.c: Likewise.
12678         * misc/mkostemps.c: Likewise.
12680 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12682         [BZ #20847]
12683         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12684         array bounds.
12685         (__execvpe): Likewise.
12687 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12689         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12690         -fno-isolate-erroneous-paths options for tilepro.
12692 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12694         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12695         to 0 when in 32 bit mode.
12696         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12697         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12698         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12699         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12701         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12702         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12703         XSTAT_IS_XSTAT64 test.
12704         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12705         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12706         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12707         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12708         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12709         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12710         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12711         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12712         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12713         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12714         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12716 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12718         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12719         (setpayload): New declaration.
12720         * math/Versions (setpayload): New libm symbol at version
12721         GLIBC_2.25.
12722         (setpayloadf): Likewise.
12723         (setpayloadl): Likewise.
12724         * math/Makefile (libm-calls): Add s_setpayloadF.
12725         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12726         test_Ff_b1_data.
12727         (RUN_TEST_Ff_b1): New macro.
12728         (RUN_TEST_LOOP_Ff_b1): Likewise.
12729         (canonicalize_test_data): Update type.
12730         (setpayload_test_data): New array.
12731         (setpayload_test): New function.
12732         (main): Call setpayload_test.
12733         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12734         setpayloadf and setpayloadl.
12735         * manual/libm-err-tab.pl: Update comment on interfaces without
12736         ulps tabulated.
12737         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12738         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12739         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12740         Likewise.
12741         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12742         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12743         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12744         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12745         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12746         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12747         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12748         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12749         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12750         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12751         setpayload.
12752         (CFLAGS-nldbl-setpayload.c): New variable.
12753         * sysdeps/nacl/libm.abilist: Update.
12754         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12755         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12756         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12757         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12758         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12759         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12762         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12763         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12764         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12765         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12769         Likewise.
12770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12771         Likewise.
12772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12773         Likewise.
12774         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12777         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12780         Likewise.
12781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12782         Likewise.
12783         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12787 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12789         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12790         * include/unistd.h: Extend comment about __access_noerrno return
12791         semantics.
12792         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12793         (access_common): Correct typo for EACCES.
12795 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12797         * sysdeps/tile/math-tests.h: New file.
12799         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12800         (__old_set_dataplane): Rename from set_dataplane and make a
12801         compatibility symbol.
12802         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12803         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12804         sys/dataplane.h.
12806 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12808         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12809         script quote words in command output to log suitably for input to
12810         the shell.
12812 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12813             Maciej W. Rozycki  <macro@imgtec.com>
12815         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12816         `.Lno_weak_fn' label.
12817         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12818         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12820 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12821             Yury Norov  <ynorov@caviumnetworks.com>
12823         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12824         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12825         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12826         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12827         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12829         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12831         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12832         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12833         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12834         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12835         (sysdep_routines): Remove oldgetrlimit64.
12836         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12837         (sysdep_routines): Likewise.
12838         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12839         (sysdep_routines): Likewise.
12840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12841         [$(subdir) = resource] (sysdep_routines): Likewise.
12842         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12843         [$(subdir) = resource] (sysdep_routines): Likewise.
12844         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12845         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12846         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12847         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12848         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12849         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12850         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12851         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12852         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12853         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12854         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12855         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12856         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12857         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12858         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12859         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12860         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12861         setrlimit and getrlimit.
12862         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12864         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12868         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12869         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12870         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12871         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12872         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12873         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12874         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12875         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12876         (__old_getrlimit64): Add compatibility symbol.
12877         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12879 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12881         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12882         newly built gmp, mpfr and mpc.
12884         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12886 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12888         * conform/Makefile (linknamespace-libs): Rename to
12889         linknamespace-libs-thr.
12890         (linknamespace-libs-posix): New variable.
12891         (linknamespace-libs-xsi): Likewise.
12892         (linknamespace-libs-XPG3): Include libcrypt.a.
12893         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12894         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12895         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12896         (linknamespace-libs-XOPEN2K): Likewise.
12897         (linknamespace-libs-XOPEN2K8): Likewise.
12898         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12900         [BZ #20829]
12901         * stdio-common/Versions (__snprintf): Add to version
12902         GLIBC_PRIVATE.
12903         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12904         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12905         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12906         of snprintf.
12907         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12909 2016-11-16  Zack Weinberg  <zackw@panix.com>
12911         * string/string.h: Remove obsolete comment stating that
12912         strcoll_l and strxfrm_l have not yet been standardized.
12914 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12916         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12917         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12918         __access_noerrno.
12919         * io/access.c (__access_noerrno): New function.
12920         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12921         (hurd_fail_seterrno): Likewise.
12922         (access_common): Likewise.
12923         (__access_noerrno): Likewise.
12924         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12925         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12926         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12927         macro.
12929 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12931         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12932         Only declare fpregs if [__SH_FPU_ANY__].
12934 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12936         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12937         Make code unconditional.
12938         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12940 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12942         * manual/sysinfo.texi (S_APPEND): Delete.
12943         (S_IMMUTABLE): Likewise.
12945 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12946             Magnus Granberg  <zorry@gentoo.org>
12947             Mike Frysinger  <vapier@gentoo.org>
12949         [BZ #20662]
12950         * configure.ac (libc_cv_predef_stack_protector): Also check for
12951         __stack_chk_fail_local symbols.
12952         * configure: Regenerated.
12954 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12956         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12957         (libc_hidden_def): Remove redefinition.
12958         (__sigsetjmp): Add hidden definition.
12959         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12960         (libc_hidden_def): Remove redefinition.
12961         (__sigsetjmp): Add hidden definition.
12963 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12965         * scripts/build-many-glibcs.py (os.path): Do not import.
12966         (Context): Inherit explicitly from object.  Remove blank line
12967         between class and docstring.
12968         (Config): Likewise.
12969         (Glibc): Likewise.
12970         (Command): Likewise.
12971         (CommandList): Likewise.
12972         (Context.write_files): Store chmod mode in a variable.
12974         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12975         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12976         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12978 2016-11-14  Zack Weinberg  <zackw@panix.com>
12980         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12981         creating or re-creating it.
12983         * string/bits/string2.h: Fix typo in comment.
12985 2016-11-14  Zack Weinberg  <zackw@panix.com>
12987         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12988         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12989         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12990         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12991         of redirected function names.
12993         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12994         as well.  Document that MESSAGE must be a single string literal.
12996 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
12998         * scripts/build-many-glibcs.py: New file.
13000         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13001         (do_test): Disable -Wmaybe-uninitialized around uses of
13002         except_mask.
13004         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13006 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13008         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13009         (atomic_store_release): Provide tilepro-specific implementations.
13011 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13013         * math/math.h (__MATH_TG): New macro.
13014         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13015         [__USE_ISOC99] (signbit): Likewise.
13016         [__USE_ISOC99] (isfinite): Likewise.
13017         [__USE_ISOC99] (isnan): Likewise.
13018         [__USE_ISOC99] (isinf): Likewise.
13019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13022         __MATH_TG and __MATH_EVAL_FMT2.
13023         * sysdeps/generic/math_private.h (fabs_tg): Define using
13024         __MATH_TG.
13025         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13026         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13027         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13028         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13029         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13030         macro.
13031         (__iscanonical): Likewise.
13032         (iscanonical): Define using __MATH_TG.
13034 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13036         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13037         guards.
13039         * sysdeps/unix/sysv/linux/access.c: New file.
13040         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13042 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13044         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13045         and __WORDSIZE32_PTRDIFF_LONG.
13047 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13049         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13051 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13053         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13054         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13055         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13056         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13057         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13059         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13060         * sysdeps/unix/sysv/linux/truncate.c: New file.
13061         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13062         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13063         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13064         Remove.
13065         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13066         Likewise.
13068         * posix/tst-truncate-common.c: New file.
13069         * posix/tst-truncate.c: Use tst-truncate-common.c.
13070         * posix/tst-truncate64.c: Likewise and add LFS tests.
13071         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13072         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13073         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13074         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13075         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13077         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13078         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13079         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13080         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13081         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13082         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13083         Remove.
13084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13085         Likewise.
13087 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #20790]
13090         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13091         to MAXLINESIZE.
13092         * sunrpc/bug20790.x: New file.
13093         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13094         variable.
13095         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13096         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13098         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13100         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13102         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13103         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13104         calloc, realloc, free, memalign and __libc_memalign rather than
13105         making them optional.
13107         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13108         for libc.so.
13110 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13112         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13113         ptw-lseek64.
13114         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13115         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13116         Likewise.
13117         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13118         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13119         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13120         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13121         * sysdeps/unix/sysv/linux/lseek.c: New file.
13122         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13123         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13124         __libc_lseek64 from auto-generation.
13125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13126         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13128 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13130         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13131         * nptl/tst-cleanup1.c (do_test): Likewise.
13132         * nptl/tst-cleanup3.c (do_test): Likewise.
13133         * nptl/tst-key1.c (do_test): Likewise.
13134         * nptl/tst-key2.c (tf, do_test): Likewise.
13135         * nptl/tst-key3.c (tf, do_test): Likewise.
13136         * nptl/tst-stdio1.c (do_test): Likewise.
13137         * nptl/tst-stdio2.c (do_test): Likewise.
13139         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13140         * nptl/tst-kill6.c (handler): Likewise.
13141         * nptl/tst-tls2.c (CB): Likewise.
13142         * nptl/tst-tls3.c (CB): Likewise.
13144 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13146         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13148 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13149             Steve Ellcey  <sellcey@caviumnetworks.com>
13151         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13152           __ASSUME_ST_INO_64_BIT as 0
13153         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13154         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13155           over the code where __ASSUME_ST_INO_64_BIT is used.
13156         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13157         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13158         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13160 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13162         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13163         Document ABI exposure of the __kind offset.
13164         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13165         Mention reason for the __kind offset exposure in the ABI.
13166         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13167         Likewise.
13168         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13169         Likewise.
13170         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13171         Likewise.
13172         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13173         (struct __pthread_mutex_s): Likewise.
13174         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13175         Likewise.
13176         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13177         Likewise.
13178         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13179         Likewise.
13180         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13181         Likewise.
13182         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13183         Likewise.
13184         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13185         Likewise.
13186         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13187         (struct __pthread_mutex_s): Likewise.
13188         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13189         (struct __pthread_mutex_s): Likewise.
13190         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13191         Likewise.
13193 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13195         * test-skeleton.c: Document do_test usage.
13197 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13199         * iconv/gconv.h (__gconv_info): Define __data element using a
13200         zero-length array.
13202 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13204         * math/test-tgmath2.c: Split up test function.
13206 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13208         * Rules (tests-expected): New variable, depending on
13209         $(run-built-tests).
13210         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13211         $(tests).
13213         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13214         $(tests-unsupported).
13216 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13218         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13219         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13221 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13223         [BZ #20768]
13224         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13225         __fegetenv instead of fegetenv.
13227         [BZ #14139]
13228         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13229         (find_files): Obtain platform name from libm-test-ulps-name and
13230         store in %pplatforms.
13231         (canonicalize_platform): Remove.
13232         (print_platforms): Use $pplatforms directly.
13233         (by_platforms): Do not allow for platforms missing from
13234         %pplatforms.
13235         * sysdeps/aarch64/libm-test-ulps-name: New file.
13236         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13237         * sysdeps/arm/libm-test-ulps-name: Likewise.
13238         * sysdeps/generic/libm-test-ulps-name: Likewise.
13239         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13240         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13241         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13242         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13243         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13244         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13245         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13246         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13247         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13248         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13249         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13250         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13251         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13252         * sysdeps/sh/libm-test-ulps-name: Likewise.
13253         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13254         * sysdeps/tile/libm-test-ulps-name: Likewise.
13255         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13257         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13259         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13260         (test-xfail-check-execstack): New variable.
13262         * sysdeps/mips/localplt.data: New file.
13264 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13265             Steve Ellcey  <sellcey@caviumnetworks.com>
13267         * bits/wordsize.h: Add documentation.
13268         * sysdeps/aarch64/bits/wordsize.h : New file
13269         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13270         definitions.
13271         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13272         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13273         with #if instead of #ifdef.
13274         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13275         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13276         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13277         Add or change defines.
13278         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13279         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13280         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13281         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13282         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13283         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13284         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13285         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13286         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13287         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13288         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13289         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13290         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13291         * sysdeps/x86/bits/wordsize.h: Likewise.
13293 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13294             Kevin Petit  <kevin.petit@arm.com>
13296         * sysdeps/aarch64/memchr.S (__memchr): New file.
13298 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13300         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13302 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13304         [BZ #19398]
13305         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13306         $(linknamespace-symlists-tests).
13308 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13310         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13312 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13313             Carlos O'Donell  <carlos@redhat.com>
13315         [Bug #20729]
13316         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13317         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13318         for -Os related change.
13320 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13322         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13324 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13326         [BZ #19673]
13327         * manual/math.texi (Exponents and Logarithms): Correct description
13328         of clog10.
13330 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13332         [Bz #20729]
13333         * locale/weight.h: Include libc-internal.h.
13334         * locale/weightwc.h: Likewise.
13335         * nptl/nptl_dbP.h: Likewise.
13337 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13339         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13340         when it is MACH_PORT_NULL.
13342 2016-10-31  Andreas Schwab  <schwab@suse.de>
13344         [BZ #20707]
13345         * posix/glob.c (glob): Initialize pglob before checking for
13346         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13347         valid brace expression despite GLOB_BRACE.
13348         * posix/globtest.sh: Test it.
13350 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13352         [BZ #20729]
13353         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13354         Define.
13355         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13356         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13357         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13358         for seq2.back_us and seq1.back_us only for -Os compiles.
13359         * locale/weightwc.h (findix): Likewise.
13360         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13361         DB_GET_FIELD_ADDRESS only for -Os compiles.
13362         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13363         for slen only for -Os compiles.
13364         * string/strcoll_l.c (get_next_seq): Ignore
13365         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13366         for -Os compiles.
13368         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13369         * include/crypt.h: New file.
13371 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13373         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13374         from test-skeleton.c.
13375         (statclass): Replace calls to write with calls to write_message.
13377 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13379         * math/math.h
13380         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13381         New macro.
13382         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13383         Likewise.
13384         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13385         Likewise.
13386         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13387         SNANL.
13388         * math/test-double.h (snan_value_MACRO): New macro.
13389         * math/test-float.h (snan_value_MACRO): Likewise.
13390         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13391         * math/libm-test.inc (issignaling_test_data): Add tests of
13392         snan_value_MACRO.
13394 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13396         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13397         behavior when eliding a lock not held by the current thread.
13398         * sysdeps/powerpc/nptl/elide.h: Likewise.
13400 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13402         [BZ #20728]
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13404         branch to _exit() by a function call.
13406 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13408         * malloc/malloc.c: Update chunk layout comments.
13409         (chunk_main_arena): Update comment.
13411 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13413         * crypt/sha256.c, crypt/sha256-block.c,
13414         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13415         sha256_process_block to __sha256_process_block.
13416         * crypt/sha512.c, crypt/sha512-block.c,
13417         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13418         sha512_process_block to __sha512_process_block.
13420 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13422         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13424         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13426 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13428         [BZ #20019]
13429         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13430         definition in unrelocated shared library.
13431         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13433 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13435         [BZ #20729]
13436         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13437         * sysdeps/unix/sysv/linux/i386/Makefile
13438         (uses-6-syscall-arguments): Define.
13439         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13440         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13441         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13442         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13443         Likewise.
13444         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13445         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13446         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13447         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13448         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13449         (CFLAGS-fallocate64.os): Likewise.
13450         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13451         (CFLAGS-pthread_rwlock_timedrdlock.os)
13452         (CFLAGS-pthread_rwlock_timedwrlock.o)
13453         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13454         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13455         (CFLAGS-sem_timedwait.os): Likewise.
13457 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13459         * elf/tst-linkall-static.c: New file.
13460         * elf/Makefile (tests-static): Add tst-linkall-static.
13461         (tst-linkall-static): Link against static libraries.
13463 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13465         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13466         mmaped chunks.
13468 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13470         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13471         members to mchunk_prev_size, mchunk_size.
13472         (chunk_main_arena): Reverse sense and rename from
13473         chunk_non_main_arena.
13474         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13475         mchunk_size instead of size.
13476         (set_non_main_arena): Define.
13477         (chunksize): Use chunksize_nomask instead of direct member access.
13478         (chunksize_nomask): Define.
13479         (next_chunk): Use chunksize instead of direct member access.
13480         (prev_size, set_prev_size): Define.
13481         (prev_chunk): Use prev_size instead of direct member access.
13482         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13483         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13484         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13485         (mchunk_prev_size, mchunk_size): Poison tokens.
13486         (unlink): Use chunksize_nomask, prev_size accessors.
13487         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13488         (do_check_free_chunk): Use prev_size accessor.
13489         (sysmalloc): Use set_prev_size, set_head accessors.
13490         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13491         (__libc_free): Use chunksize_nomask accessor.
13492         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13493         chunk_main_arena accessors.
13494         (_int_free): Use chunksize_nomask, prev_size accessors.
13495         (malloc_consolidate): Use chunksize, prev_size accessors.
13496         (_int_realloc): Use chunksize_nomask accessor.
13497         (_int_memalign): Use set_prev_size accessor.
13498         (__malloc_info): Use chunksize_nomask accessor.
13499         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13500         accessors.
13501         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13502         (heap_trim): Use chunksize_nomask, prev_size accessors.
13504 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13506         [BZ #19380]
13507         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13508         for inexact results.
13509         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13510         of inexact result where mpfr_subnormalize is the only inexact
13511         step.
13512         * stdlib/tst-strtod-round-data.h: Regenerated.
13513         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13514         Define to 0.
13515         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13517 2016-10-27  David S. Miller  <davem@davemloft.net>
13519         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13521 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13523         * malloc/malloc.c (do_set_mallopt_check): New function.
13524         (do_set_mmap_threshold): Likewise.
13525         (do_set_mmaps_max): Likewise.
13526         (do_set_top_pad): Likewise.
13527         (do_set_perturb_byte): Likewise.
13528         (do_set_trim_threshold): Likewise.
13529         (do_set_arena_max): Likewise.
13530         (do_set_arena_test): Likewise.
13531         (__libc_mallopt): Use them.
13533 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13535         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13536         (canonicalize): New declaration.
13537         * math/Versions (canonicalize): New libm symbol at version
13538         GLIBC_2.25.
13539         (canonicalizef): Likewise.
13540         (canonicalizel): Likewise.
13541         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13542         * math/s_canonicalize_template.c: New file.
13543         * math/libm-test.inc: Update comment on functions tested and
13544         testing of NaN payloads.
13545         (TEST_NAN_PAYLOAD): New macro.
13546         (NO_TEST_INLINE): Update value.
13547         (XFAIL_TEST): Likewise.
13548         (ERRNO_UNCHANGED): Likewise.
13549         (ERRNO_EDOM): Likewise.
13550         (ERRNO_ERANGE): Likewise.
13551         (IGNORE_RESULT): Likewise.
13552         (NON_FINITE): Likewise.
13553         (TEST_SNAN): Likewise.
13554         (NO_TEST_MATHVEC): Likewise.
13555         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13556         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13557         (struct test_Ffp_b1_data): New type.
13558         (RUN_TEST_Ffp_b1): New macro.
13559         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13560         (canonicalize_test_data): New array.
13561         (canonicalize_test): New function.
13562         (main): Call canonicalize_test.
13563         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13564         canonicalizef and canonicalizel.
13565         * manual/libm-err-tab.pl: Update comment on interfaces without
13566         ulps tabulated.
13567         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13568         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13569         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13570         canonicalize.
13571         (CFLAGS-nldbl-canonicalize.c): New variable.
13572         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13573         to ...
13574         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13575         ... here.
13576         (do_test): Also test canonicalizel.
13577         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13578         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13579         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13580         file.
13581         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13582         Use libm_hidden_def.
13583         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13584         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13585         (do_test): Also test canonicalizel.
13586         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13587         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13588         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13589         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13590         libm_hidden_def.
13591         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13592         macro.
13593         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13594         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13595         * sysdeps/nacl/libm.abilist: Update.
13596         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13597         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13598         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13599         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13600         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13601         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13602         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13603         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13604         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13605         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13606         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13607         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13609         Likewise.
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13611         Likewise.
13612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13613         Likewise.
13614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13615         Likewise.
13616         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13617         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13618         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13619         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13620         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13622         Likewise.
13623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13624         Likewise.
13625         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13629         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13630         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13631         getpayload.
13632         (CFLAGS-nldbl-getpayload.c): New variable.
13634 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13636         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13637         integer from the format string.
13639 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13641         [BZ #19473]
13642         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13643         declarations.
13644         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13645         weak aliases.
13646         * malloc/hooks.c (__malloc_get_state): Remove definition.
13647         (malloc_get_state): New stub implementation as
13648         compatibility symbol.
13649         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13650         compat symbol.
13651         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13652         malloc_set_state.
13653         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13655 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13657         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13658         (names): Turn into concatenation of strings.
13659         (gconv_init): Adapt iteration over names.
13661 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13663         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13664         make const.
13665         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13666         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13667         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13668         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13669         character in sbconv.
13670         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13671         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13672         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13674 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13676         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13678         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13679         (M_TRIM_THRESHOLD): Likewise.
13681         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13682         (M_ARENA_MAX): Likewise.
13683         * malloc/malloc.c: Remove obsolete comment.
13685         * manual/memory.texi: Add environment variable alternatives to
13686         setting mallopt parameters.
13688 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13690         * include/atomic.h
13691         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13692         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13694 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13696         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13697         * stdlib/tst-strfrom.h: New file.
13698         * stdlib/tst-strfrom.c: New file.
13699         * stdlib/tst-strfrom-locale.c: New file.
13701         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13702         * stdlib/bug-strtod2.c: Likewise.
13703         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13704         * stdlib/tst-strtod6.c: Likewise.
13705         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13707 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13709         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13710         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13711         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13712         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13713         * stdlib/stdlib.h (strfromd): New declaration.
13714         (strfromf): Likewise.
13715         (strfroml): Likewise.
13716         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13717         strfrom.
13718         * stdlib/strfromd.c: New file.
13719         * stdlib/strfromf.c: Likewise.
13720         * stdlib/strfroml.c: Likewise.
13721         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13722         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13723         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13724         * sysdeps/arm/nacl/libc.abilist: Update.
13725         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13729         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13730         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13731         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13732         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13733         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13734         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13735         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13736         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13737         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13738         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13745         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13746         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13747         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13754 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13756         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13757         instead of cmpli.
13758         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13759         instead of cmpli.
13761 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13763         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13764         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13765         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13766         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13767         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13768         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13770 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13772         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13773         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13774         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13775         SYSCALL_LL64_PRW.
13776         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13777         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13778         __ASSUME_PRW_DUMMY_ARG.
13779         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13780         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13781         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13782         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13783         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13784         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13786 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13788         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13790 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13792         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13793         "C++", to override a potential extern "C" directive around the
13794         header file inclusion.
13796 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13798         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13800 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13802         * sysdeps/powerpc/fpu/fenv_private.h:
13803         (_FPU_MASK_ALL): Rename to...
13804         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13805         XE FPSCR bits.
13807         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13809         (_FPU_MASK_ROUNDING): Rename to...
13810         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13811         NI bits.
13813         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13814         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13815         bits and rounding bits.
13817         (__libc_feholdbits_ppc): New inline function to mask, set,
13818         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13819         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13820         (libc_feholdexcept_setround_ppc): Likewise.
13822         (__libc_femergeenv_ppc): New function to dynamically mask both
13823         old and new FP environments and merge.
13824         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13825         (libc_feresetround_ppc): Likewise.
13826         (libc_feupdateenv_test_ppc): Likewise.
13827         (libc_feupdateenv_ppc): Likewise.
13829         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13830         of ISA RN bits, and update macro names.
13831         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13832         effectively the same as the previously mentioned function.
13834         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13835         usage with fe_resetround_ppc.
13837         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13838         to be used.
13839         (libc_feholdexcept_setround_ctxf): Likewise.
13840         (libc_feholdexcept_setround_ctxl): Likewise.
13842 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13844         [BZ #20715]
13845         * math/math.h [__cplusplus] (iszero): Define as function template.
13846         * math/Makefile [CXX] (tests): Add test-math-iszero.
13847         (CFLAGS-test-math-iszero.cc): Set.
13848         * math/test-math-iszero.cc: New file.
13850 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13852         [BZ #20660]
13853         * sysdeps/arm/e_sqrt.c: New file.
13854         * sysdeps/arm/e_sqrtf.c: Likewise.
13856 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13858         [BZ #20718]
13859         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13860         not use floating-point comparisons to test sign.
13861         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13862         Likewise.
13864         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13865         (getpayload): New declaration.
13866         * math/Versions (getpayload): New libm symbol at version
13867         GLIBC_2.25.
13868         (getpayloadf): Likewise.
13869         (getpayloadl): Likewise.
13870         * math/Makefile (libm-calls): Add s_getpayloadF.
13871         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13872         (struct test_f_f_data): Add comment.
13873         (RUN_TEST_fp_f): New macro.
13874         (RUN_TEST_LOOP_fp_f): Likewise.
13875         (getpayload_test_data): New array.
13876         (getpayload_test): New function.
13877         (main): Call getpayload_test.
13878         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13879         descriptor.
13880         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13881         getpayloadf and getpayloadl.
13882         * manual/libm-err-tab.pl: Update comment on interfaces without
13883         ulps tabulated.
13884         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13885         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13886         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13887         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13888         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13889         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13890         * sysdeps/nacl/libm.abilist: Update.
13891         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13892         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13893         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13894         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13895         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13898         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13899         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13900         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13901         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13902         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13904         Likewise.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13906         Likewise.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13908         Likewise.
13909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13910         Likewise.
13911         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13912         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13913         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13915         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13917         Likewise.
13918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13919         Likewise.
13920         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13921         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13924 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13926         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13927         tst-fallocate{64}.
13928         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13929         on syscall return.
13931 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13933         [BZ #20689]
13934         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13935         usable.
13937 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13939         * sysdeps/generic/nan-high-order-bit.h: New file.
13940         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13941         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13942         * sysdeps/hppa/math_private.h: Remove file.
13943         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13944         not define here.
13945         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13946         <nan-high-order-bit.h>.
13947         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13948         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13949         <nan-high-order-bit.h>.
13950         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13951         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13952         <nan-high-order-bit.h>.
13953         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13954         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13955         <nan-high-order-bit.h>.
13956         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13957         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13958         <nan-high-order-bit.h>.
13959         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13960         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13961         <nan-high-order-bit.h>.
13962         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13963         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13964         <nan-high-order-bit.h>.
13965         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13966         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13967         <nan-high-order-bit.h>.
13968         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13969         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13970         <nan-high-order-bit.h>.
13971         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13972         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13973         <nan-high-order-bit.h>.
13974         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13975         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13976         <nan-high-order-bit.h>.
13977         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13978         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13979         <nan-high-order-bit.h>.
13980         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13981         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13982         <nan-high-order-bit.h>.
13983         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13984         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13985         <nan-high-order-bit.h>.
13986         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13987         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13988         <nan-high-order-bit.h>.
13989         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13990         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13991         <nan-high-order-bit.h>.
13992         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13993         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13994         <nan-high-order-bit.h>.
13995         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13996         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13997         <nan-high-order-bit.h>.
13998         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14000 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14002         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14004 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14006         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14007         abort-instr.h.
14008         (EFAULT): Remove conditional define.
14009         (ENOSYS): Likewise.
14010         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14011         instead of conditional branch instructions.
14013 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14015         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14016         (totalordermag): New declaration.
14017         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14018         New macro.
14019         * math/Versions (totalordermag): New libm symbol at version
14020         GLIBC_2.25.
14021         (totalordermagf): Likewise.
14022         (totalordermagl): Likewise.
14023         * math/Makefile (libm-calls): Add s_totalordermagF.
14024         * math/libm-test.inc (totalordermag_test_data): New array.
14025         (totalordermag_test): New function.
14026         (main): Call totalordermag_test.
14027         * math/test-tgmath.c (NCALLS): Increase to 125.
14028         (F(compile_test)): Call totalordermag.
14029         (F(totalordermag)): New function.
14030         * manual/arith.texi (FP Comparison Functions): Document
14031         totalordermag, totalordermagf and totalordermagl.
14032         * manual/libm-err-tab.pl: Update comment on interfaces without
14033         ulps tabulated.
14034         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14035         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14036         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14037         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14038         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14039         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14040         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14041         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14042         totalordermag.
14043         (CFLAGS-nldbl-totalordermag.c): New variable.
14044         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14045         (do_test): Also test totalordermagl.
14046         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14047         Likewise.
14048         * sysdeps/nacl/libm.abilist: Update.
14049         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14050         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14051         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14052         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14053         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14054         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14055         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14056         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14057         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14058         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14059         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14060         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14062         Likewise.
14063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14064         Likewise.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14066         Likewise.
14067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14068         Likewise.
14069         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14070         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14071         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14072         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14073         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14075         Likewise.
14076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14077         Likewise.
14078         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14079         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14080         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14082 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14084         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14085         boolean.
14087 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14089         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14090         raising FE_INVALID with feraisexcept in case where part of
14091         argument is infinite, subtract that part of argument from itself.
14092         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14093         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14094         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14096 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14098         * math/libm-test.inc (totalorder_test_data): Add more tests.
14100 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14102         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14103         Undefine weak_alias and add a comment why mips64 require
14104         versioning.
14106 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14108         [BZ #20647]
14109         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14110         maximum CPUID level is less than 2.
14112 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14114         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14115         (totalorder): New declaration.
14116         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14117         New macro.
14118         * math/Versions (totalorder): New libm symbol at version
14119         GLIBC_2.25.
14120         (totalorderf): Likewise.
14121         (totalorderl): Likewise.
14122         * math/Makefile (libm-calls): Add s_totalorderF.
14123         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14124         string.
14125         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14126         (qnan_value_pl): Likewise.
14127         (snan_value_pl): Likewise.
14128         (qnan_value): Define using qnan_value_pl.
14129         (snan_value): Define using snan_value_pl.
14130         (struct test_ff_i_data): Add comment about which tests use this
14131         structure.
14132         (RUN_TEST_ff_b): New macro.
14133         (RUN_TEST_LOOP_ff_b): Likewise.
14134         (totalorder_test_data): New array.
14135         (totalorder_test): New function.
14136         (main): Call totalorder_test.
14137         * math/test-tgmath.c (NCALLS): Increase to 122.
14138         (F(compile_test)): Call totalorder.
14139         (F(totalorder)): New function.
14140         * manual/arith.texi (FP Comparison Functions): Document
14141         totalorder, totalorderf and totalorderl.
14142         * manual/libm-err-tab.pl: Update comment on interfaces without
14143         ulps tabulated.
14144         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14145         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14146         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14147         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14148         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14149         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14150         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14151         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14152         totalorder.
14153         (CFLAGS-nldbl-totalorder.c): New variable.
14154         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14155         file.
14156         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14157         Add test-totalorderl-ldbl-128ibm.
14158         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14159         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14160         test-totalorderl-ldbl-96.
14161         * sysdeps/nacl/libm.abilist: Update.
14162         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14163         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14164         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14165         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14166         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14167         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14168         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14169         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14170         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14171         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14172         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14173         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14175         Likewise.
14176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14177         Likewise.
14178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14179         Likewise.
14180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14181         Likewise.
14182         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14183         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14184         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14185         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14186         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14188         Likewise.
14189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14190         Likewise.
14191         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14192         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14193         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14195 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14197         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14198         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14199         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14200         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14201         remove ENOSYS implementation.
14202         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14203         Consolidate all Linux implementations.
14205 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14207         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14208         * resolv/herror.c (herror): Cast away const-ness.
14209         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14210         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14212 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14214         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14215         instead of M_NAN + M_NAN.
14216         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14218 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14220         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14221         unused variable 'p'.
14223 2016-10-09  Alan Modra  <amodra@gmail.com>
14224             Andreas Schwab  <schwab@linux-m68k.org>
14226         [BZ #20554]
14227         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14228         [PIC && !SHARED]: Set up PIC register for PLT call.
14230 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14232         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14233         conditional on value of [__FLT_EVAL_METHOD__].
14234         * math/test-iseqsig-excess-precision.c: New file.
14235         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14237 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14239         * math/s_iseqsig_template.c: Include math-private.h.
14241         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14242         * posix/tst-posix_fadvise.c: New file.
14243         * posix/tst-posix_fadvise64.c: Likewise.
14244         * posix/tst-posix_fadvise-common.c: Likewise.
14245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14246         (__ASSUME_FADVISE64_64_6ARG): Define.
14247         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14248         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14249         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14250         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14251         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14252         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14253         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14254         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14255         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14256         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14257         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14258         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14261         Likewise.
14262         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14263         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14264         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14265         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14266         Alias to __posix_fadvise64_l32.
14267         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14268         Add compat definition to posix_fadvise64.
14269         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14270         Add versioned definition to posix_fadvise64.
14271         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14272         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14273         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14274         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14275         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14277         * io/Makefile (tests): Add tst-posix_fallocate and
14278         tst-posix_fallocate64.
14279         * io/tst-posix_fallocate-common.c: New file.
14280         * io/tst-posix_fallocate.c: Likewise.
14281         * io/tst-posix_fallocate64.c: Likewise.
14282         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14283         file.
14284         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14285         Likewise.
14286         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14287         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14288         Likewise.
14289         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14290         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14291         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14292         SYSCALL_LL to pass both offset and len arguments.
14293         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14294         Likewise.
14295         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14296         __libc_pwrite64 alias used by posix_fallocate64.
14298         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14299         tst-fallocate64.
14300         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14301         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14302         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14303         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14304         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14305         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14306         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14307         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14309         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14310         macro on offset argument.
14311         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14312         SYSCALL_LL64 on offset argument.
14314         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14315         tst-fallocate64.
14316         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14317         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14318         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14319         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14320         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14321         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14322         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14323         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14324         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14325         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14326         macro on offset argument.
14327         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14328         SYSCALL_LL64 on offset argument.
14329         * test-skeleton.c (FAIL_RET): Add macro.
14330         (FAIL_EXIT): Likewise.
14331         (FAIL_EXIT1): Likewise.
14332         (_FAIL): Likewise.
14334 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14336         [BZ #20629]
14337         resolv: Remove RES_USEBSTRING and its implementation.
14338         * resolv/resolv.h (RES_USEBSTRING): Remove.
14339         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14340         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14341         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14342         (labellen): Remove extended label types support.
14343         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14344         * resolv/res_init.c (res_setoptions): Likewise.
14345         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14347 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14349         resolv: Remove RES_NOIP6DOTINT and its implementation.
14350         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14351         (RES_NOIP6DOTINT): Remove.
14352         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14353         handling.
14354         * resolv/res_debug.c (p_option): Likewise.
14355         * resolv/res_init.c (res_setoptions): Likewise.
14356         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14358 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14360         resolv: Deprecate unimplemented flags.
14361         * misc/sys/cdefs.h (__glibc_macro_warning1)
14362         (__glibc_macro_warning): Define.
14363         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14364         (RES_KEEPTSIG): Mark as deprecated.
14365         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14366         RES_NOCHECKNAME, RES_KEEPTSIG.
14367         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14369 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14371         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14372         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14373         Use strong_alias to create symbols for glibc verison 2.19.
14375 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14377         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14379 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14381         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14383 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14385         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14387 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14389         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14390         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14391         in header for using it as type for ifunc function because __GI_* symbols
14392         for ppc32 do not target the ifunc symbols.
14393         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14395 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14397         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14398         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14399         libc_ifunc_hidden_def.
14400         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14401         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14402         Redirect ifunced function in header for using it as type of ifunc'ed
14403         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14404         function for __GI_* symbol.
14405         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14406         * include/libc-symbols.h
14407         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14409 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14411         [BZ #20478]
14412         * sysdeps/s390/multiarch/ifunc-resolve.h
14413         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14414         to create ifunc symbols.
14415         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14416         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14417         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14418         for using it as type for ifunc function.
14419         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14420         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14421         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14422         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14423         * sysdeps/s390/multiarch/strcat.c: Likewise.
14424         * sysdeps/s390/multiarch/strchr.c: Likewise.
14425         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14426         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14427         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14428         * sysdeps/s390/multiarch/strlen.c: Likewise.
14429         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14430         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14431         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14432         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14433         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14434         * sysdeps/s390/multiarch/strspn.c: Likewise.
14435         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14436         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14437         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14438         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14439         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14440         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14441         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14442         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14443         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14444         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14445         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14446         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14448 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14450         * include/libc-symbols.h (__ifunc_resolver):
14451         New macro is used by __ifunc* macros.
14452         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14453         depending on HAVE_GCC_IFUNC.
14454         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14455         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14457         Redirect ifunced function in header for using as type for ifunc function.
14458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14464         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14465         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14466         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14467         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14468         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14469         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14470         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14471         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14477         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14478         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14479         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14480         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14481         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14482         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14483         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14484         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14485         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14486         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14487         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14488         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14489         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14490         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14492         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14493         instead of libc_ifunc() macro.
14494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14495         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14497 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14499         * config.h.in (HAVE_GCC_IFUNC): New undef.
14500         * configure.ac: Add check if gcc supports attribute ifunc feature.
14501         * configure: Regenerated.
14502         * manual/install.texi: Add recommendation for gcc with
14503         indirect-function support.
14504         * INSTALL: Regenerated.
14506 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14508         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14509         macro.
14510         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14511         (__iseqsig): New declaration.
14512         * math/s_iseqsig_template.c: New file.
14513         * math/Versions (__iseqsigf): New libm symbol at version
14514         GLIBC_2.25.
14515         (__iseqsig): Likewise.
14516         (__iseqsigl): Likewise.
14517         * math/libm-test.inc (iseqsig_test_data): New array.
14518         (iseqsig_test): New function.
14519         (main): Call iseqsig_test.
14520         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14521         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14522         * manual/libm-err-tab.pl: Update comment on interfaces without
14523         ulps tabulated.
14524         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14525         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14526         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14527         * sysdeps/nacl/libm.abilist: Update.
14528         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14529         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14530         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14531         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14532         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14533         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14534         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14535         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14536         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14537         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14538         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14539         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14541         Likewise.
14542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14547         Likewise.
14548         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14549         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14550         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14551         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14552         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14554         Likewise.
14555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14556         Likewise.
14557         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14558         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14559         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14561 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14563         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14564         do_sincos_2, sloww, sloww1): Update comments.
14566         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14567         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14569         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14570         K boolean and rename it.
14571         (__sin): Adjust.
14572         (__cos): Adjust.
14574 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14575             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14577         * manual/nss.texi: Fix typos in the manual.
14579 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14581         * manual/contrib.texi: Fix typos in the manual.
14583         * manual/maint.texi: Fix typos in the manual.
14585         * manual/install.texi: Fix typos in the manual.
14586         * INSTALL: Regenerated.
14588         * manual/lang.texi: Fix typos in the manual.
14590         * manual/probes.texi: Fix typos in the manual.
14592         * manual/threads.texi: Fix typos in the manual.
14594         * manual/debug.texi: Fix typos in the manual.
14596         * manual/crypt.texi: Fix typos in the manual.
14598         * manual/conf.texi: Fix typos in the manual.
14600         * manual/sysinfo.texi: Fix typos in the manual.
14602         * manual/users.texi: Fix typos in the manual.
14604         * manual/job.texi: Fix typos in the manual.
14606         * manual/process.texi: Fix typos in the manual.
14608         * manual/argp.texi: Fix typos in the manual.
14609         * manual/getopt.texi: Likewise.
14610         * manual/startup.texi: Likewise.
14612         * manual/signal.texi: Fix typos in the manual.
14614         * manual/setjmp.texi: Fix typos in the manual.
14616         * manual/resource.texi: Fix typos in the manual.
14618         * manual/time.texi: Fix typos in the manual.
14620         * manual/arith.texi: Fix typos in the manual.
14622         * manual/math.texi: Fix typos in the manual.
14624         * manual/syslog.texi: Fix typos in the manual.
14626         * manual/terminal.texi: Fix typos in the manual.
14628         * manual/socket.texi: Fix typos in the manual.
14630         * manual/filesys.texi: Fix typos in the manual.
14632         * manual/llio.texi: Fix typos in the manual.
14634         * manual/stdio.text: Fix typos in the manual.
14636 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14638         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14639         instead of K1.
14641         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14642         SHIFT_QUADRANT and make it bool.
14643         (do_sincos_2): Likewise.
14644         (sloww): Likewise.
14645         (sloww1): Likewise.
14646         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14647         (__cos): Likewise.
14649 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14651         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14653 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14655         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14656         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14657         0x7fffffffL].
14658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14660 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14662         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14663         inline by __inline__.
14664         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14665         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14666         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14667         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14668         sigset_t from signal.h.
14669         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14670         which is already required.
14672 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14674         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14676 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14678         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14679         (struct tcp_repair_window): New type.
14681 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14683         * libio/tst-memstream3.c: Include string.h.
14685 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14687         [BZ #18241]
14688         [BZ #20181]
14689         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14690         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14691         write position is at the end the buffer.
14692         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14693         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14694         (_IO_str_seekoff): Set correct offset from negative displacement and
14695         set EINVAL for invalid ones.
14696         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14697         buffer length.
14698         (_IO_wstr_switch_to_get_mode): New function.
14699         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14700         set EINVAL for invalid ones.
14701         * libio/tst-memstream3.c: New file.
14702         * libio/tst-wmemstream3.c: Likewise.
14703         * manual/examples/memstrm.c: Remove warning when priting size_t.
14705 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14707         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14708         macro to use __builtin_fma.
14709         * sysdeps/x86_64/fpu/dla.h: Remove file.
14711         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14712         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14713         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14715 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14717         [BZ #20292]
14718         * elf/Makefile (routines): Add dl-addr-obj.
14719         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14720         tst-_dl_addr_inside_object.
14721         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14722         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14723         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14724         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14725         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14726         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14727         * elf/dl-open.c: Likewise.
14728         * elf/dl-addr-obj.c: New file.
14729         * elf/tst-_dl_addr_inside_object.c: New file.
14731 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14733         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14734         <bits/iscanonical.h>.
14735         * bits/iscanonical.h: New file.
14736         * math/s_iscanonicall.c: Likewise.
14737         * math/Versions (__iscanonicall): New libm symbol at version
14738         GLIBC_2.25.
14739         * math/libm-test.inc (iscanonical_test_data): New array.
14740         (iscanonical_test): New function.
14741         (main): Call iscanonical_test.
14742         * math/Makefile (headers): Add bits/iscanonical.h.
14743         (type-ldouble-routines): Add s_iscanonicall.
14744         * manual/arith.texi (Floating Point Classes): Document
14745         iscanonical.
14746         * manual/libm-err-tab.pl: Update comment on interfaces without
14747         ulps tabulated.
14748         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14749         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14750         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14751         Likewise.
14752         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14753         test-iscanonical-ldbl-128ibm.
14754         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14755         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14756         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14757         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14758         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14759         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14760         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14762         Likewise.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14764         Likewise.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14768         Likewise.
14769         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14770         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14772 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14774         * string/bits/string3.h: Remove C++ style comments.
14776 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14778         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14779         instead of ternary condition.
14780         (do_sincos_2): Likewise.
14781         (__sin): Likewise.
14782         (__cos): Likewise.
14783         (slow): Likewise.
14784         (sloww): Likewise.
14785         (sloww1): Likewise.
14786         (bsloww): Likewise.
14787         (bsloww1): Likewise.
14789         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14790         instead of ternary condition.
14791         (do_sin_slow): Likewise.
14792         (do_sincos_1): Likewise.
14793         (do_sincos_2): Likewise.
14794         (__cos): Likewise.
14795         (sloww): Likewise.
14796         (sloww1): Likewise.
14797         (sloww2): Likewise.
14798         (bsloww): Likewise.
14799         (bsloww1): Likewise.
14800         (bsloww2): Likewise.
14802         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14803         check from here...
14804         (slow2): ... and here...
14805         (__sin): ... to here.
14807 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14809         * math/math.h
14810         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14811         Cast argument to its own type.
14812         * math/test-iszero-excess-precision.c: New file.
14813         * math/Makefile (tests): Add test-iszero-excess-precision.
14814         (CFLAGS-test-iszero-excess-precision.c): New variable.
14816 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14818         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14819         field, add err field.
14820         (__spawni_child): Report error through err member instead of pipe.
14821         (__spawnix): Likewise.
14823 2016-09-28  Zack Weinberg  <zackw@panix.com>
14825         * scripts/check-installed-headers.sh: Generalize treatment of
14826         sys/elf.h to all target architectures.
14828         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14829         deleted typedef ucontext_t.
14831 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14833         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14834         (__INTERNAL_SYSCALL1): Likewise.
14835         (__INTERNAL_SYSCALL2): Likewise.
14836         (__INTERNAL_SYSCALL3): Likewise.
14837         (__INTERNAL_SYSCALL4): Likewise.
14838         (__INTERNAL_SYSCALL5): Likewise.
14839         (__INTERNAL_SYSCALL6): Likewise.
14840         (__INTERNAL_SYSCALL7): Likewise.
14841         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14842         (__INTERNAL_SYSCALL_NARGS): Likewise.
14843         (__INTERNAL_SYSCALL_DISP): Likewise.
14844         (INTERNAL_SYSCALL_CALL): Likewise.
14845         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14846         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14847         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14848         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14849         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14850         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14851         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14852         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14853         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14854         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14855         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14856         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14857         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14859 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14861         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14862         macro.
14863         * math/libm-test.inc (iszero_test_data): New array.
14864         (iszero_test): New function.
14865         (main): Call iszero_test.
14866         * manual/arith.texi (Floating Point Classes): Document iszero.
14867         * manual/libm-err-tab.pl: Update comment on interfaces without
14868         ulps tabulated.
14870 2016-09-23  Zack Weinberg  <zackw@panix.com>
14872         * scripts/check-installed-headers.sh: New script.
14873         * Rules: In each directory that defines header files to be installed,
14874         run check-installed-headers.sh on them as a special test.
14875         * Makefile: Likewise for the headers installed at top level.
14877         * include/aliases.h, include/alloca.h, include/argz.h
14878         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14879         * include/elf.h, include/envz.h, include/err.h
14880         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14881         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14882         * include/link.h, include/malloc.h, include/mcheck.h
14883         * include/mntent.h, include/netinet/ether.h
14884         * include/nss.h, include/obstack.h, include/printf.h
14885         * include/pty.h, include/resolv.h, include/rpc/auth.h
14886         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14887         * include/rpc/clnt.h, include/rpc/des_crypt.h
14888         * include/rpc/key_prot.h, include/rpc/netdb.h
14889         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14890         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14891         * include/rpc/rpc_msg.h, include/rpc/svc.h
14892         * include/rpc/svc_auth.h, include/rpc/xdr.h
14893         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14894         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14895         * include/rpcsvc/ypupd.h, include/shadow.h
14896         * include/stdio_ext.h, include/sys/epoll.h
14897         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14898         * include/sys/prctl.h, include/sys/profil.h
14899         * include/sys/statfs.h, include/sys/sysctl.h
14900         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14901         * sysdeps/arm/nacl/include/bits/setjmp.h
14902         * sysdeps/mips/include/sys/asm.h
14903         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14904         * sysdeps/unix/sysv/linux/include/sys/timex.h
14905         * sysdeps/x86/fpu/include/bits/fenv.h:
14906         Add #ifndef _ISOMAC guard around internal declarations.
14907         Add multiple-inclusion guard if not already present.
14909 2016-09-23  Zack Weinberg  <zackw@panix.com>
14911         * sysdeps/generic/sys/ucontext.h
14912         * sysdeps/arm/sys/ucontext.h
14913         * sysdeps/i386/sys/ucontext.h
14914         * sysdeps/m68k/sys/ucontext.h
14915         * sysdeps/mips/sys/ucontext.h
14916         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14917         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14918         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14919         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14920         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14921         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14922         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14923         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14924         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14925         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14926         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14927         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14928         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14929         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14930         Include both bits/sigcontext.h and bits/sigstack.h.
14931         Fix grammar error in comment, if present.
14933         * bits/sigstack.h
14934         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14935         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14936         * sysdeps/unix/sysv/linux/bits/sigstack.h
14937         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14938         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14939         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14940         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14941         * bits/sigcontext.h
14942         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14943         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14944         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14945         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14946         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14947         as well as signal.h, if this was not already allowed.  Request
14948         definition of size_t if necessary.  Minimize semantically-null
14949         differences across files.
14951 2016-09-23  Zack Weinberg  <zackw@panix.com>
14953         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14954         Remove all logic conditional on __need macros.  Move all the
14955         conditionally defined types to their own headers...
14956         * time/bits/types/clock_t.h: Define clock_t here.
14957         * time/bits/types/clockid_t.h: Define clockid_t here.
14958         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14959         * time/bits/types/struct_timespec.h: Define struct timespec here.
14960         * time/bits/types/struct_timeval.h: Define struct timeval here.
14961         * time/bits/types/struct_tm.h: Define struct tm here.
14962         * time/bits/types/time_t.h: Define time_t here.
14963         * time/bits/types/timer_t.h: Define timer_t here.
14964         * time/Makefile: Install the new headers.
14966         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14967         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14968         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14969         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14970         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14971         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14972         * sysdeps/unix/sysv/linux/bits/resource.h
14973         * sysdeps/unix/sysv/linux/bits/timex.h
14974         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14975         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14976         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14977         * sysdeps/unix/sysv/linux/sys/acct.h
14978         * sysdeps/unix/sysv/linux/sys/timerfd.h
14979         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14980         * time/sys/time.h, time/sys/timeb.h
14981         Use the new bits/types headers.
14983         * include/time.h: Remove __need logic.
14984         * include/bits/time.h
14985         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14986         * include/bits/types/time_t.h, include/bits/types/timer_t.h
14987         * include/bits/types/struct_itimerspec.h
14988         * include/bits/types/struct_timespec.h
14989         * include/bits/types/struct_timeval.h
14990         * include/bits/types/struct_tm.h:
14991         New wrapper headers.
14993 2016-09-23  Zack Weinberg  <zackw@panix.com>
14995         * sysdeps/mach/hurd/net/if_ppp.h
14996         * sysdeps/unix/sysv/linux/net/if_ppp.h:
14997         Only define struct ifpppstatsreq and struct ifpppcstatsreq
14998         if __USE_MISC is defined, to ensure struct ifreq is declared.
15000         * inet/netinet/ether.h: Condition all function prototypes
15001         on __USE_MISC, to ensure struct ether_addr is declared.
15003         * socket/bits/types/struct_osockaddr.h: New header.
15004         * include/bits/types/struct_osockaddr.h: New wrapper.
15005         * socket/Makefile: Install the new header.
15006         * socket/sys/socket.h, inet/protocols/talkd.h:
15007         Refer to bits/types/struct_osockaddr.h for the definition of
15008         struct osockaddr.
15010 2016-09-23  Zack Weinberg  <zackw@panix.com>
15012         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15013         * inet/protocols/routed.h, inet/protocols/talkd.h
15014         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15015         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15016         * sysdeps/generic/netinet/if_ether.h
15017         * sysdeps/generic/netinet/in_systm.h
15018         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15019         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15020         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15021         * sysdeps/mach/hurd/net/if_arp.h
15022         * sysdeps/mach/hurd/net/if_ppp.h
15023         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15024         * sysdeps/unix/sysv/linux/bits/in.h
15025         * sysdeps/unix/sysv/linux/net/ethernet.h
15026         * sysdeps/unix/sysv/linux/net/if_arp.h
15027         * sysdeps/unix/sysv/linux/net/if_ppp.h
15028         * sysdeps/unix/sysv/linux/net/if_shaper.h
15029         * sysdeps/unix/sysv/linux/net/route.h
15030         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15031         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15032         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15033         * sysdeps/unix/sysv/linux/netipx/ipx.h
15034         * sysdeps/unix/sysv/linux/sys/acct.h
15035         * include/arpa/nameser.h, include/resolv.h:
15036         Change all uses of u_char to unsigned char,
15037         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15038         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15039         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15040         and u_int64_t and u_quad_t to uint64_t.
15042         * mach/sys/reboot.h: Remove two casts of integer literals
15043         to the types they already have.
15045         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15046         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15047         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15048         from referring to 'unsigned char' to 'uint8_t' for consistency with
15049         the macro definition below.
15051         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15052         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15053         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15054         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15055         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15056         * sysdeps/unix/sysv/linux/sys/acct.h
15057         * include/arpa/nameser.h, include/resolv.h:
15058         Fix indentation disrupted by mechanical edits.
15060         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15061         * sysdeps/generic/netinet/in_systm.h
15062         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15063         * sysdeps/gnu/netinet/udp.h
15064         * sysdeps/unix/sysv/linux/net/ethernet.h
15065         * sysdeps/unix/sysv/linux/net/if_arp.h
15066         * sysdeps/unix/sysv/linux/net/if_ppp.h
15067         * sysdeps/unix/sysv/linux/net/if_shaper.h
15068         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15069         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15070         * sysdeps/unix/sysv/linux/netipx/ipx.h
15071         * sysdeps/unix/sysv/linux/sys/acct.h
15072         Include stdint.h for uintNN_t definitions.
15073         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15075 2016-09-23  Zack Weinberg  <zackw@panix.com>
15077         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15078         * sysdeps/unix/sysv/linux/netrose/rose.h:
15079         Include sys/socket.h and netax25/ax25.h.
15081         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15082         * resolv/arpa/nameser_compat.h:
15083         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15085         * sysdeps/unix/sysv/linux/sys/quota.h:
15086         Use __caddr_t instead of caddr_t.
15087         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15088         Use __clockid_t instead of clockid_t.
15090         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15092         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15093         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15094         expanding it.
15096         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15097         Define __glibc_c99_flexarr_available to 1 when the compiler
15098         supports C99-compatible flexible array members, 0 otherwise.
15099         * sysdeps/unix/sysv/linux/bits/socket.h
15100         * sysdeps/mach/hurd/bits/socket.h
15101         * bits/socket.h: Use __glibc_c99_flexarr_available in
15102         definitions of struct cmsghdr and CMSG_DATA.
15104 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15106         * manual/nss.texi (NSS Modules Interface): Adjust function return
15107         type to enum nss_status.  Document errnop argument.  Clarify
15108         h_errnop semantics.  Fix cross-reference formatting.
15109         (NSS Module Function Internals): Mention that *errnop needs to be
15110         set on failure, but not to zero.
15112 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15114         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15115         (get_random_name): New functions.
15116         (check_wrapper_flags_mode): Use linkat to give the new file a name
15117         determined by get_random_name.
15118         (do_test): Add calls to test open64 and openat64.
15120 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15122         * test-skeleton.c: Remove #include <stdarg.h>.
15124 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15126         [BZ #19826]
15127         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15128         initialization of static TLS entries.
15129         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15130         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15132 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15134         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15135         _hurd_malloc_fork_prepare.
15136         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15137         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15138         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15139         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15140         (_hurd_fork_child_hook): Drop malloc_fork_child.
15141         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15142         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15143         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15144         after locking locks (notably hurd_dtable_lock). Call
15145         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15146         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15147         __malloc_fork_unlock_child.
15148         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15150 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15152         * soft-fp/extendhftf2.c: New.
15153         * soft-fp/fixhfti.c: Likewise.
15154         * soft-fp/fixunshfti.c: Likewise.
15155         * soft-fp/floattihf.c: Likewise.
15156         * soft-fp/floatuntihf.c: Likewise.
15157         * soft-fp/half.h: Likewise.
15158         * soft-fp/trunctfhf2.c: Likewise.
15160 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15162         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15163         macro.
15164         * math/libm-test.inc (issubnormal_test_data): New array.
15165         (issubnormal_test): New function.
15166         * manual/arith.texi (Floating Point Classes): Document
15167         issubnormal.
15168         * manual/libm-err-tab.pl: Update comment on interfaces without
15169         ulps tabulated.
15171         * sysdeps/generic/stdint.h: Define
15172         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15173         <bits/libc-header-start.h> instead of including <features.h>.
15174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15207         * manual/arith.texi (Integers): Document these macros for types
15208         specified by width properties.
15209         * manual/lang.texi (Width of Type): Document these macros for
15210         other standard typedefs.
15211         * stdlib/tst-width-stdint.c: New file.
15212         * stdlib/Makefile (tests): Add tst-width-stdint.
15214 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15216         [BZ #20016]
15217         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15218         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15219         Move ...
15220         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15221         ... here, as compatibility symbols in a new file.
15222         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15223         * resolv/res_init.c (__res_vinit): Adjust member names.
15224         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15225         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15226         (res_send_rhook): Remove.
15227         (struct __res_state): Rename qhook, rhook members.
15229 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15231         malloc: Use __libc_lock wrappers.
15232         * malloc/arena.c (list_lock, free_list_lock): Define using
15233         __libc_lock_define_initialized.
15234         (arena_lock): Adjust formatting.
15235         * malloc/malloc.c (struct malloc_state): Define mutex using
15236         __libc_lock_define.
15237         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15238         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15239         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15240         (mutex_unlock, mutex_trylock): Remove.
15241         (__pthread_initialize): Remove unused macro.
15242         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15243         (mutex_unlock, mutex_trylock): Remove.
15245 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15247         [BZ #20592]
15248         Remove RR type classification macros.
15249         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15250         (ns_t_udp_p, ns_t_xfr_p): Remove.
15252 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15254         Remove misleading version information.
15255         * resolv/arpa/nameser.h (__NAMESER): Remove.
15256         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15258 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15260         Remove the always-defined BIND_4_COMPAT macro.
15261         * resolv/arpa/nameser.h: Unconditionally include
15262         <arpa/nameser_compat.h>.
15263         (BIND_4_COMPAT): Remove.
15264         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15266 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15268         [BZ #20591]
15269         Remove obsolete DNSSEC support.
15270         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15271         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15272         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15273         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15274         (ns_cert_types): Add comment.
15275         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15276         separately.
15277         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15278         (dst_s_dns_key_id): Remove.
15279         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15280         variables.
15282 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15284         [BZ #20524]
15285         * manual/string.texi (String/Array Comparison): Clarify the
15286         strverscmp behavior.
15288 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15290         * test-skeleton.c (xasprintf): Add function.
15291         * io/tst-open-tmpfile.c: New test.
15292         * io/Makefile (tests): Add it.
15294 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15296         Avoid running $(CXX) during build to obtain header file paths.
15297         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15298         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15299         * Makerules (cstdlib, cmath): Remove variables.  Use
15300         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15301         * configure: Regenerate.
15303 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15305         * Makeconfig (all-object-suffixes): Include .op only if
15306         $(build-profile).
15308 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15310         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15311         conditionals.  Do not define PATH_MAX.
15313 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15315         * posix/Makefile (tests): Add tst-spawn3.
15316         * posix/tst-spawn3.c: New file.
15317         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15318         if it is already opened for open action.
15320         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15321         all signals when executing the clone vfork child.
15322         (SIGALL_SET): Remove macro.
15324         * nptl/Makefile (tests): Add tst-exec5.
15325         * nptl/tst-exec5.c: New file.
15326         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15327         asynchronous cancellation.
15329 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15331         * hurd/exc2signal.c: #include <hurd/signal.h>
15332         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15333         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15334         accordingly.
15335         * mach/mach_error.c (mach_error): Fix old-style function definition.
15336         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15338 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15340         * math/Makefile (libm-calls): Remove s_nanF.
15341         (gen-libm-calls): Add s_nanF.
15343         * math/s_nan.c: Refactor into ...
15344         * math/s_nan_template.c: New file.
15346         * math/s_nanf.c: Removed.
15347         * math/s_nanl.c: Removed.
15348         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15349         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15351         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15352         (LDOUBLE_nanl_libm_version): New macro.
15354         * sysdeps/generic/math-type-macros-double.h:
15355         (M_STRTO_NAN): New macro.
15356         * sysdeps/generic/math-type-macros-float.h: Likewise.
15357         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15359         * sysdeps/generic/math-type-macros.h: Document
15360         M_STRTO_NAN.
15362 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15364         * math/s_nanf.c: Remove __nanf undef.
15365         * math/s_nan.c: Remove __nan undef.
15366         * math/s_nanl.c: Remove __nanl undef.
15368         * sysdeps/generic/math_private.h (__nan): Remove macro
15369         override.
15370         (__nanf): Likewise.
15371         (__nanl): Likewise.
15373 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15375         * math/Makefile (gen-all-calls): New variable.
15376         (generated): Replace gen-libm-calls with gen-all-calls.
15377         (gen-libm-templates.stmp): Likewise.  Also, ensure
15378         the output directory exists or is created and add
15379         dependency on the Makefile.
15380         (calls): Move s_ldexpF into gen-calls.
15381         (gen-calls): New variable.
15383         * math/s_ldexpf.c: Removed.
15384         * math/s_ldexpl.c: Removed.
15385         * math/s_ldexp.c: Refactored into ...
15386         * math/s_ldexp_template.c: New file.
15388         * sysdeps/generic/math-type-macros-double.h: Remove
15389         redundant fall-through definition of declare_mgen_alias.
15390         (declare_mgen_alias_2): New macro.
15392         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15393         New macro for function aliased to two exported symbols.
15395         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15396         new template file.
15397         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15399 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15401         * Makeconfig (all-object-suffixes): Remove .og.
15402         * Makerules (elide-routines.og): Remove.
15403         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15404         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15405         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15407 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15409         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15410         .os objects.
15412 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15414         [BZ #20615]
15415         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15416         fpu directory by non-fpu.
15417         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15418         on non-fpu directory from a fpu directory.
15420 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15422         * include/limits.h: Define
15423         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15424         <bits/libc-header-start.h> instead of including <features.h>.
15425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15436         * manual/lang.texi (Width of Type): Document these macros.
15437         * stdlib/tst-width.c: New file.
15438         * stdlib/Makefile (tests): Add tst-width.
15440 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15442         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15443         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15445 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15447         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15448         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15449         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15451 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15453         [BZ #18243]
15454         * rt/Makefile (test): Add tst-shm-cancel.
15455         * rt/tst-shm-cancel.c: New file.
15456         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15458         [BZ #18243]
15459         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15460         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15461         definition.
15462         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15463         uncontended case.
15464         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15465         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15466         (tf): Fix check for uncontended case.
15467         (do_test): Likewise.
15468         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15469         (tf): Fix check for uncontended case.
15470         (do_test): Likewise.
15471         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15472         (tf): Fix check for uncontended case.
15473         (do_test): Likewise.
15474         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15475         (tf): Fix check for uncontended case.
15476         (do_test): Likewise.
15478         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15479         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15481         [BZ #15765]
15482         * nptl/Makefile (tests): Add tst-sem16.
15483         * nptl/tst-sem16.c: New file.
15484         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15486         * nptl/sem_open.c (sem_open): Init pad value to 0.
15487         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15488         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15490 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15492         [BZ #20611]
15493         * inet/Makefile (routines): Add inet6_scopeid_pton.
15494         (tests): Add tst-inet6_scopeid_pton.
15495         * inet/inet6_scopeid_pton.c: New file.
15496         * inet/net-internal.h: Likewise.
15497         * inet/tst-inet6_scopeid_pton.c: New test.
15498         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15499         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15502 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15504         Remove support for compiling wrappers with PTW.
15505         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15506         * nptl/Makefile (pthread-compat-wrappers): Define.
15507         (libpthread-routines): Use pthread-compat-wrappers.
15508         * sysdeps/unix/sysv/linux/alpha/Makefile
15509         (libpthread-routines, libpthread-shared-only-routines): Remove
15510         ptw- prefix.
15511         * sysdeps/s390/nptl/Makefile
15512         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15513         * sysdeps/ia64/nptl/Makefile
15514         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15515         * sysdeps/nacl/Makefile (libpthread-routines): Use
15516         pthread-compat-wrappers to filter the routines list instead of the
15517         ptw- prefix.
15519 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15521         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15522         with L() and remove explicit suffix, convert real literals
15523         which can be equivalentally substituted with integers, and
15524         transform -L(x) to L(-x).
15526         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15528         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15531         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15532         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15533         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15534         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15535         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15536         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15537         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15538         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15539         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15540         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15541         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15542         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15543         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15544         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15545         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15546         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15547         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15548         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15549         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15550         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15551         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15552         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15553         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15554         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15555         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15556         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15557         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15558         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15559         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15560         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15561         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15562         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15563         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15564         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15565         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15566         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15567         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15570         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15571         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15573         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15574         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15575         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15577 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15579         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15581 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15583         * malloc/Makefile (tests): Remove individual static test names
15584         and just add all of tests-static.
15586         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15588 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15590         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15591         file.
15593         * sysdeps/sparc/fpu/fegetmode.c: New file.
15594         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15596         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15597         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15599         * sysdeps/s390/fpu/fegetmode.c: New file.
15600         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15602         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15603         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15604         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15605         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15607         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15609         * sysdeps/mips/fpu/fegetmode.c: New file.
15610         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15612         * sysdeps/m68k/fpu/fegetmode.c: New file.
15613         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15615         * sysdeps/ia64/fpu/fegetmode.c: New file.
15616         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15618         * sysdeps/hppa/fpu/fegetmode.c: New file.
15619         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15621         * sysdeps/arm/fegetmode.c: New file.
15622         * sysdeps/arm/fesetmode.c: Likewise.
15624         * sysdeps/alpha/fpu/fegetmode.c: New file.
15625         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15627         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15628         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15630         * math/fegetmode.c: New file.
15631         * math/fesetmode.c: Likewise.
15632         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15633         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15634         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15635         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15636         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15638         declaration.
15639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15640         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15641         typedef.
15642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15643         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15644         (femode_t): New typedef.
15645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15646         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15647         (femode_t): New typedef.
15648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15649         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15650         (femode_t): New typedef.
15651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15652         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15653         (femode_t): New typedef.
15654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15655         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15656         (femode_t): New typedef.
15657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15658         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15659         (femode_t): New typedef.
15660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15661         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15662         (femode_t): New typedef.
15663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15664         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15665         (femode_t): New typedef.
15666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15667         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15668         (femode_t): New typedef.
15669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15670         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15671         (femode_t): New typedef.
15672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15673         declaration.
15674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15675         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15676         (femode_t): New typedef.
15677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15678         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15679         (femode_t): New typedef.
15680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15681         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15682         (femode_t): New typedef.
15683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15684         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15685         (femode_t): New typedef.
15686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15687         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15688         (femode_t): New typedef.
15689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15690         * manual/arith.texi (FE_DFL_MODE): Document macro.
15691         (fegetmode): Document function.
15692         (fesetmode): Likewise.
15693         * math/Versions (fegetmode): New libm symbol at version
15694         GLIBC_2.25.
15695         (fesetmode): Likewise.
15696         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15697         (tests): Add test-femode and test-femode-traps.
15698         * math/test-femode-traps.c: New file.
15699         * math/test-femode.c: Likewise.
15700         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15701         alias for __fe_dfl_env.
15702         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15703         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15704         (__fe_dfl_mode): Likewise.
15705         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15706         version GLIBC_2.25.
15707         * sysdeps/nacl/libm.abilist: Update.
15708         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15709         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15710         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15711         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15712         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15713         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15714         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15715         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15716         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15717         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15718         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15719         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15721         Likewise.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15723         Likewise.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15725         Likewise.
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15727         Likewise.
15728         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15729         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15730         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15732         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15734         Likewise.
15735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15736         Likewise.
15737         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15738         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15741 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15743         [BZ #20495]
15744         [BZ #20508]
15745         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15746         processors, set Use_dl_runtime_resolve_slow and set
15747         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15748         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15749         New.
15750         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15751         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15752         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15753         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15754         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15755         if Use_dl_runtime_resolve_opt is set.  Use
15756         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15757         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15758         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15759         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15760         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15761         New.
15762         (_dl_runtime_resolve_opt): Likewise.
15763         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15764         defined.
15766 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15768         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15769         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15771 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15773         Convert malloc to __libc_lock.  Automated part, using this Perl
15774         s/// command:
15775           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15776             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15777         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15778         conversion.
15780 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15782         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15783         (linknamespace-symlists-tests): Likewise.
15784         (linknamespace-header-tests): Likewise.
15786 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15788         [BZ #19810]
15789         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15790         * elf/tst-noload.c: New test case.
15791         * elf/Makefile (tests): Add tst-noload.
15793 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15795         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15797         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15798         not any more.
15800         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15802 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15804         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15805         (do_cos_slow): Likewise.
15806         (do_sin): Likewise.
15807         (do_sin_slow): Likewise.
15808         (slow): Likewise.
15809         (slow1): Likewise.
15810         (slow2): Likewise.
15811         (sloww): Likewise.
15812         (sloww1): Likewise.
15813         (sloww2): Likewise.
15814         (bsloww): Likewise.
15815         (bsloww1): Likewise.
15816         (bsloww2): Likewise.
15817         (cslow2): Likewise.
15819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15821         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15822         arguments.  Consolidate input partitioning from callers here.
15823         (do_cos_slow): Likewise.
15824         (do_sin): Likewise.
15825         (do_sin_slow): Likewise.
15826         (do_sincos_1): Remove the no longer necessary input partitioning.
15827         (do_sincos_2): Likewise.
15828         (__sin): Likewise.
15829         (__cos): Likewise.
15830         (slow1): Likewise.
15831         (slow2): Likewise.
15832         (sloww1): Likewise.
15833         (sloww2): Likewise.
15834         (bsloww1): Likewise.
15835         (bsloww2): Likewise.
15836         (cslow2): Likewise.
15838 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15840         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15841         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15842         outside of allocated array.
15844 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15846         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15847         instead of MB_CUR_MAX to avoid variable-length array.
15849 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15851         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15852         (type-double-routines): Add k_rem_pio2.
15853         (type-float-routines): Add k_rem_pio2f.
15855         * sysdeps/generic/math_private.h:
15856         (__kernel_rem_pio2l): Removed.
15858         * math/k_rem_pio2l.c: Removed.
15859         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15860         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15861         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15862         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15864 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15866         * math/Makefile (gen-libm-calls): Add s_fmin
15867         (libm-calls): Remove above.
15869         * math/s_fmin.c: Refactor into ...
15870         * math/s_fmin_template.c: New file.
15872         * math/s_fminf.c: Removed.
15873         * math/s_fminl.c: Removed.
15874         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15875         (LDOUBLE_fmin_libm_version): New macro.
15877         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15878         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15880 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15882         * math/Makefile: (gen-libm-calls): Add s_fmax.
15883         (libm-calls): Remove above.
15885         * math/s_fmax.c: Refactor into ...
15886         * math/s_fmax_template.c: New file.
15887         * math/s_fmaxf.c: Removed.
15888         * math/s_fmaxl.c: Removed.
15890         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15891         (LDOUBLE_fmaxl_libm_version): New macro.
15893         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15894         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15896         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15897         s_fmin.c to pick the aarch64 version of the file.
15898         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15899         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15901 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15903         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15904         (libm-calls): Remove above.
15906         * math/s_nextdown.c: Refactor into ...
15907         * math/s_nextdown_template.c: New file.
15908         * math/s_nextdownf.c: Removed.
15909         * math/s_nextdownl.c: Removed.
15911         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15913 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15915         * math/Makefile (gen-libm-calls): Add s_fdim.
15916         (libm-calls): Move to above.
15918         * math/s_fdim.c: Renamed and refactored into to ...
15919         * math/s_fdim_template.c: New file.
15920         * math/s_fdiml.c: Removed.
15921         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15922         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15924         * sysdeps/generic/math-type-macros-double.h:
15925         (declare_mgen_alias): Don't declare if already declared.
15926         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15927         Likewise.
15929         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15930         (declare_mgen_alias): Don't declare if already declared.
15931         (M_LIBM_NEED_COMPAT): Likewise.
15932         (declare_mgen_libm_compat): Likewise.
15933         (LDOUBLE_fdiml_libm_version): New macro.
15935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15936         Include math/s_fdim.c now that ldbl-opt version is not needed.
15937         (declare_mgen_alias): New macro to disable aliasing.
15939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15940         (declare_mgen_alias): Likewise.
15941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15942         (declare_mgen_alias): Likewise.
15943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15944         (declare_mgen_alias): Likewise.
15945         (M_LIBM_NEED_COMPAT): Likewise.
15947 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15949         [BZ #20525]
15950         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15951         Include <linux/quota.h>.
15952         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15953         and btodb.
15954         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15955         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15956         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15957         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15958         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15959         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15960         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15961         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15962         types.
15963         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15964         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15966 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15968         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15969         (gammal_positive): Fix spacing.
15970         (__ieee754_gammal_r): Likewise.
15972 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15974         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15975         (_Float128): Define as long double, always.
15976         (L): Apply long double type suffix, always.
15978         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15979         _Float128, excepting comments.
15981         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15982         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15983         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15984         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15985         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15986         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15987         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15988         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15989         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15990         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15991         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15992         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15993         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15994         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15995         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15996         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15997         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15998         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15999         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16000         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16001         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16002         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16003         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16004         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16005         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16006         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16007         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16009         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16010         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16011         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16012         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16013         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16014         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16015         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16016         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16024         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16026         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16028         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16043         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16044         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16045         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16046         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16047         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16048         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16050         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16051         _Float128, and include math_private.h.
16052         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16054         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16055         long double semantics.
16056         (_Float128): Likewise.
16057         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16060         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16062 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16064         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16065         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16066         * sysdeps/s390/configure: Regenerated.
16067         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16068         instruction for raising over-/underflow if z196 zarch is supported
16069         by default.
16070         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16072 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16074         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16075         it point to a dumb buffer for RPC to fill it.
16077 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16079         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16080         instead of if/else.
16081         (do_sin_slow): Likewise.
16082         (do_sincos_1): Use fabs instead of if/else.
16083         (do_sincos_2): Likewise.
16084         (__sin): Likewise.
16085         (__cos): Likewise.
16086         (slow2): Likewise.
16087         (sloww): Likewise.
16088         (sloww1): Likewise.  Drop argument M.
16089         (sloww2): Use fabs instead of if/else.
16090         (bsloww): Likewise.
16091         (bsloww1): Likewise.
16092         (bsloww2): Likewise.
16094         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16095         fall through comment.
16096         (do_sincos_1): Likewise.
16098         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16099         Consolidate switch cases 0 and 2.
16101 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16103         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16104         (libm-calls): Remove the above.
16106         * math/s_cexp_template.c: Update using type-generic macros.
16107         * math/s_clog10_template.c: Likewise.
16108         * math/s_cpow_template.c: Likewise.
16109         * math/s_clog_template.c: Likewise.
16110         * math/s_cproj_template.c: Likewise.
16111         * math/s_csqrt_template.c: Likewise.
16113         * math/s_cexp.c: Removed.
16114         * math/s_cexpf.c: Removed.
16115         * math/s_cexpl.c: Removed.
16116         * math/s_clog10.c: Removed.
16117         * math/s_clog10f.c: Removed.
16118         * math/s_clog10l.c: Removed.
16119         * math/s_cpow.c: Removed.
16120         * math/s_cpowf.c: Removed.
16121         * math/s_cpowl.c: Removed.
16122         * math/s_clog.c: Removed.
16123         * math/s_clogf.c: Removed.
16124         * math/s_clogl.c: Removed.
16125         * math/s_cproj.c: Removed.
16126         * math/s_cprojf.c: Removed.
16127         * math/s_cprojl.c: Removed.
16128         * math/s_csqrt.c: Removed.
16129         * math/s_csqrtf.c: Removed.
16130         * math/s_csqrtl.c: Removed.
16132         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16133         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16134         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16135         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16136         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16137         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16139         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16140         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16141         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16142         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16143         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16144         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16145         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16146         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16147         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16148         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16149         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16151         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16152         version.
16154         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16155         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16156         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16157         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16159 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16161         * s_cexp_template.c: Copy of s_cexp.c.
16162         * s_clog_template.c: Copy of s_clog.c.
16163         * s_clog10_template.c: Copy of s_clog10.c.
16164         * s_cpow_template.c: Copy of s_cpow.c.
16165         * s_cproj_template.c: Copy of s_cproj.c.
16166         * s_csqrt_template.c: Copy of s_csqrt.c.
16168 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16170         [BZ #20517]
16171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16172         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16173         exported.
16175 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16177         * math/fetestexceptflag.c: New file.
16178         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16179         Stefan Liebler.
16180         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16181         (fetestexceptflag): New function declaration.
16182         * manual/arith.texi (fetestexceptflag): Document function.
16183         * math/Versions (fetestexceptflag): New libm symbol at version
16184         GLIBC_2.25.
16185         * math/Makefile (libm-support): Add fetestexceptflag.
16186         (tests): Add test-fetestexceptflag.
16187         * math/test-fetestexceptflag.c: New file.
16188         * sysdeps/nacl/libm.abilist: Update.
16189         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16190         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16191         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16192         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16193         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16194         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16195         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16196         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16197         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16198         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16199         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16200         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16202         Likewise.
16203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16204         Likewise.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16206         Likewise.
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16208         Likewise.
16209         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16210         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16211         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16212         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16213         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16215         Likewise.
16216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16217         Likewise.
16218         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16219         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16220         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16222 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16224         [BZ #20432]
16225         Avoid strong references to malloc-internal symbols when linking
16226         statically, to support statically interposed mallocs.
16227         * include/libc-symbols.h (call_function_static_weak): New macro.
16228         * malloc/Makefile (tests): Add tst-interpose-nothread,
16229         tst-interpose-thread, tst-interpose-static-nothread,
16230         tst-interpose-static-thread.
16231         (tests-static): Add tst-interpose-static-nothread,
16232         tst-interpose-static-thread.
16233         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16234         tst-interpose-aux-thread.o.
16235         (test-extras): Add tst-interpose-aux-nothread,
16236         tst-interpose-aux-thread.
16237         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16238         tst-interpose-aux-nothread.o.
16239         (tst-interpose-thread, tst-interpose-static-thread): Link with
16240         tst-interpose-aux-thread.o and libthread.
16241         * malloc/tst-interpose-aux-nothread.c: New file.
16242         * malloc/tst-interpose-aux-thread.c: Likewise.
16243         * malloc/tst-interpose-aux.c: Likewise.
16244         * malloc/tst-interpose-aux.h: Likewise.
16245         * malloc/tst-interpose-nothread.c: Likewise.
16246         * malloc/tst-interpose-skeleton.c: Likewise.
16247         * malloc/tst-interpose-static-nothread.c: Likewise.
16248         * malloc/tst-interpose-static-thread.c: Likewise.
16249         * malloc/tst-interpose-thread.c: Likewise.
16250         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16251         * sysdeps/mach/hurd/fork.c (__fork): Only call
16252         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16253         __malloc_fork_unlock_child if defined.
16254         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16256 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16258         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16259         timespec C99 designated initialization.
16261 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16263         [BZ #19946]
16264         Avoid expected SIGALRM signals.
16265         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16266         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16267         (xpthread_create, xpthread_detach, xpthread_join)
16268         (delayed_exit_thread, delayed_exit): New functions.
16269         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16270         (tf): Use xpthread_cond_wait.
16271         (do_test): Likewise.  Replace alarm with delayed_exit.
16272         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16273         (do_test): Call delayed_exit.  Report failure.
16274         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16275         (do_test): Call delayed_exit.
16276         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16277         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16278         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16279         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16280         error.
16281         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16282         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16283         error.
16284         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16285         (do_test): Call delayed_exit.
16286         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16287         (do_test): Call delayed_exit.
16288         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16289         (do_test): Call delayed_exit instead of alarm.  Use
16290         xpthread_mutex_lock.
16291         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16292         (do_test): Call delayed_exit instead of alarm.  Use
16293         xpthread_mutex_lock.
16294         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16295         (do_test): Call delayed_exit instead of alarm.
16296         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16297         (do_test): Call delayed_exit instead of alarm.  Use
16298         xpthread_spin_lock.
16299         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16300         (do_test): Call delayed_exit instead of alarm.  Use
16301         xpthread_join.
16303 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16305         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16306         adjust CFA when allocating register save area on re-aligned
16307         stack.
16309 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16311         * string/tst-cmp.c: New test.
16312         * string/Makefile (tests): Add it.
16314 2016-08-25  Mark Wielaard  <mark@klomp.org>
16316         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16317         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16318         (check_tree_recurse): Use newly defined accessors.
16319         (check_tree): Likewise.
16320         (maybe_split_for_insert): Likewise.
16321         (__tfind): Likewise.
16322         (__tdelete): Likewise.
16323         (trecurse): Likewise.
16324         (tdestroy_recurse): Likewise.
16325         (__tsearch): Likewise. And add asserts for malloc alignment.
16326         (__twalk): Cast root to node in case CHECK_TREE is defined.
16328 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16330         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16332 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16334         * math/Makefile (libm-gen-calls): Add
16335         catan, catanh, ctan, ctanh.
16336         (libm-calls): Remove the above.
16338         * math/s_catan_template.c: Update using type-generic macros.
16339         * math/s_catanh_template.c: Likewise.
16340         * math/s_ctan_template.c: Likewise.
16341         * math/s_ctanh_template.c: Likewise.
16343         * math/s_catanf.c: Removed.
16344         * math/s_catan.c: Removed.
16345         * math/s_catanl.c: Removed.
16346         * math/s_catanhf.c: Removed.
16347         * math/s_catanh.c: Removed.
16348         * math/s_catanhl.c: Removed.
16349         * math/s_ctanf.c: Removed.
16350         * math/s_ctan.c: Removed.
16351         * math/s_ctanl.c: Removed.
16352         * math/s_ctanhf.c: Removed.
16353         * math/s_ctanh.c: Removed.
16354         * math/s_ctanhl.c: Removed.
16356         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16357         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16358         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16359         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16360         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16361         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16363         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16364         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16365         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16366         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16368 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16370         * s_catan_template.c: Copy of s_catan.c.
16371         * s_catanh_template.c: Copy of s_catanh.c.
16372         * s_ctan_template.c: Copy of s_ctan.c.
16373         * s_ctanh_template.c: Copy of s_ctanh.c.
16375 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16377         * math/Makefile (gen-libm-calls): Move
16378         casin, casinh, csin, csinh here.
16379         (libm-calls): Remove the above.
16381         * math/s_casin_template.c: Update using type-generic macros.
16382         * math/s_casinh_template.c: Likewise.
16383         * math/s_csin_template.c: Likewise.
16384         * math/s_csinh_template.c: Likewise.
16385         * math/k_casinh_template.c: Likewise.
16387         * math/s_casinf.c: Removed.
16388         * math/s_casin.c: Removed.
16389         * math/s_casinl.c: Removed.
16390         * math/s_casinh.c: Removed.
16391         * math/s_casinhf.c: Removed.
16392         * math/s_casinhl.c: Removed.
16393         * math/s_csin.c: Removed.
16394         * math/s_csinf.c: Removed.
16395         * math/s_csinl.c: Removed.
16396         * math/s_csinh.c: Removed.
16397         * math/s_csinhf.c: Removed.
16398         * math/s_csinhl.c: Removed.
16399         * math/k_casinh.c: Removed.
16400         * math/k_casinhf.c: Removed.
16401         * math/k_casinhl.c: Removed.
16403         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16404         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16405         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16406         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16408         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16409         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16410         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16411         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16412         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16413         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16414         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16415         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16417         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16418         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16419         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16420         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16422         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16423         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16424         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16425         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16427 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16429         * s_casin_template.c: Copy of s_casin.c.
16430         * s_casinh_template.c: Copy of s_casinh.c.
16431         * s_csin_template.c: Copy of s_csin.c.
16432         * s_csinh_template.c: Copy of s_csinh.c.
16433         * k_casinh_template.c: Copy of k_casinh.c.
16435 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16437         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16439 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16441         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16442         (mul_split) Remove, rename as mul_splitl, remove
16443         redundant float.h include, and include via mul_splitl.h
16445         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16446         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16447         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16448         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16449         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16451         * math/mul_splitl.h: New file.
16453         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16454         Move into mul_split.h, and remove redundant float.h include.
16456         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16457         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16458         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16459         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16461         * math/mul_split.h: New file.
16463 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16465         * math/Makefile (libm-gen-calls): Move
16466         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16467         (libm-calls): Remove above.
16469         * math/s_cacos_template.c: Update using type-generic macros.
16470         * math/s_cacosh_template.c: Likewise.
16471         * math/s_ccos_template.c: Likewise.
16472         * math/s_ccosh_template.c: Likewise.
16474         * math/s_cacosf.c: Removed.
16475         * math/s_cacos.c: Removed.
16476         * math/s_cacosl.c: Removed.
16477         * math/s_cacoshf.c: Removed.
16478         * math/s_cacosh.c: Removed.
16479         * math/s_cacoshl.c: Removed.
16480         * math/s_ccosf.c: Removed.
16481         * math/s_ccos.c: Removed.
16482         * math/s_ccosl.c: Removed.
16483         * math/s_ccoshf.c: Removed.
16484         * math/s_ccosh.c: Removed.
16485         * math/s_ccoshl.c: Removed.
16487         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16488         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16489         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16490         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16491         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16492         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16494         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16495         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16496         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16497         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16499         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16500         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16501         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16502         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16504 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16506         * s_cacos_template.c: Copy of s_cacos.c.
16507         * s_cacosh_template.c: Copy of s_cacosh.c.
16508         * s_ccos_template.c: Copy of s_ccos.c.
16509         * s_ccosh_template.c: Copy of s_ccosh.c.
16511 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16513         * stdlib/tst-strtod-round-skeleton.c:
16514         Refactored from tst-strtod-round.c.
16516         (L_): New macro to apply literal modifier.
16517         (FNPFX): New macro to select str or wcs prefix.
16518         (CHAR): New macro to choose wchar_t or char.
16519         (STRM): New macro to choose printf for tested character type.
16521         (STRTO): New macro to choose appropriate string -> real function.
16522         (FNPFXS): Stringitized version of FNPFX.
16523         (STR): Support for above macro.
16524         (STRX): Likewise.
16526         (TEST): Update with above macros.
16527         (test): Likewise.
16528         (GEN_ONE_TEST): Likewise.
16529         (test_in_one_mode): Likewise.
16531         * stdlib/tst-strtod-round.c: New file.
16532         * wcsmbs/tst-wcstod-round.c: New file.
16534         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16535         (tst-wcstod-round): Add libm depencency for fesetround.
16537 2016-08-19  Zack Weinberg  <zackw@panix.com>
16539         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16541 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16543         [BZ #20477]
16544         * resolv/res_hconf.c (do_init): Use atomic access.
16545         * resolv/res_hconf.h: Add comments.
16546         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16547         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16550 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16552         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16553         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16554         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16555         Likewise.
16557 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16559         [BZ #16907]
16560         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16561         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16562         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16563         (__attribute__): Remove definition.
16565 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16567         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16568         Remove unused sqrtl declaration.
16570 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16572         * math/Makefile: (gen-libm-templates.stmp): New rule.
16573         (libm-calls): Move carg conj cimag and cabs into ...
16574         (gen-libm-calls): New variable.
16575         (generated): Inform Make objects from gen-libm-calls
16576         may be generated.
16578         * sysdeps/generic/math-type-macros.h: New file.
16579         * sysdeps/generic/math-type-macros-float.h: Likewise.
16580         * sysdeps/generic/math-type-macros-double.h: Likewise.
16581         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16582         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16583         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16585         * math/cabs.c: Refactor into
16586         * math/cabs_template.c: new file.
16587         * math/cabsf.c: Removed.
16588         * math/cabsl.c: Removed.
16589         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16590         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16592         * math/carg.c: Refactor into
16593         * math/carg_template.c: new file.
16594         * math/cargf.c: Removed.
16595         * math/cargl.c: Removed.
16596         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16597         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16599         * math/conj.c: Refactor into
16600         * math/conj_template.c: new file.
16601         * math/conjf.c: Removed.
16602         * math/conjl.c: Removed.
16603         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16604         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16606         * math/cimag.c: Refactor into
16607         * math/cimag_template.c: new file.
16608         * math/cimagf.c: Removed.
16609         * math/cimagl.c: Removed.
16610         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16611         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16613         * math/cimag.c: Refactor into
16614         * math/cimag_template.c: new file.
16615         * math/cimagf.c: Removed.
16616         * math/cimagl.c: Removed.
16617         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16618         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16620 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16622         Reduce time to expected nptl/tst-once5 failure.
16623         * nptl/tst-once5.cc (TIMEOUT): Define.
16625 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16627         [BZ #20452]
16628         Avoid additional copies of objects in libc.a in static libraries.
16629         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16630         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16631         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16632         rt-sysdep.
16633         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16634         Add nptl-sysdep.
16635         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16636         Add ptw-sysdep.
16637         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16638         rt-sysdep.
16639         * sysdeps/unix/sysv/linux/alpha/Makefile
16640         (libpthread-shared-only-routines): Add ptw-sysdep,
16641         ptw-sigprocmask, ptw-rt_sigaction.
16642         * sysdeps/unix/sysv/linux/ia64/Makefile
16643         (librt-shared-only-routines): Add rt-sysdep.
16644         * sysdeps/unix/sysv/linux/i386/Makefile
16645         (libpthread-shared-only-routines): Add libc-do-syscall.
16646         * sysdeps/unix/sysv/linux/microblaze/Makefile
16647         (libpthread-shared-only-routines): Add sysdep.
16648         * sysdeps/unix/sysv/linux/powerpc/Makefile
16649         (librt-shared-only-routines): Add rt-sysdep.
16650         (libpthread-shared-only-routines): Add sysdep.
16651         * sysdeps/unix/sysv/linux/s390/Makefile
16652         (librt-shared-only-routines): Add rt-sysdep.
16653         * sysdeps/unix/sysv/linux/sparc/Makefile
16654         (librt-shared-only-routines): Add rt-sysdep.
16655         (libpthread-shared-only-routines): Add sysdep.
16656         * sysdeps/unix/sysv/linux/tile/Makefile
16657         (libpthread-shared-only-routines): Likewise.
16659 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16661         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16662         Mask implicit bit out of unpacked value.
16663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16667         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16669         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16671         * sysdeps/s390/fpu/fesetexcept.c: New file.
16673         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16674         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16675         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16677         * sysdeps/mips/fpu/fesetexcept.c: New file.
16679         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16681         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16683         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16685         * sysdeps/arm/fesetexcept.c: New file.
16687         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16689         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16691         * math/fesetexcept.c: New file.
16692         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16693         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16694         * math/fenv.h: Define
16695         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16696         <bits/libc-header-start.h> instead of including <features.h>.
16697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16698         declaration.
16699         * manual/arith.texi (fesetexcept): Document function.
16700         * math/Versions (fesetexcept): New libm symbol at version
16701         GLIBC_2.25.
16702         * math/Makefile (libm-support): Add fesetexcept.
16703         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16704         * math/test-fesetexcept.c: New file.
16705         * math/test-fesetexcept-traps.c: Likewise.
16706         * sysdeps/nacl/libm.abilist: Update.
16707         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16709         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16710         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16711         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16712         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16713         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16714         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16715         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16716         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16717         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16718         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16720         Likewise.
16721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16722         Likewise.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16724         Likewise.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16726         Likewise.
16727         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16728         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16729         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16730         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16731         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16733         Likewise.
16734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16735         Likewise.
16736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16738         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16740 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16742         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16743         New.
16744         (do_test): Apply default_stack_size_in_mb if not set.
16745         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16747 2016-08-15  Andreas Schwab  <schwab@suse.de>
16749         [BZ #20435]
16750         CVE-2016-6323
16751         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16752         as .cantunwind.
16754 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16756         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16757         comment from fraiseexcpt.c.
16759         * math/test-fexcept.c (feraiseexcept_exact): New function.
16760         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16761         (test_except): Likewise.
16763 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16765         [BZ #20455]
16766         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16767         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16768         to be restored.
16770         * math/test-fexcept-traps.c: New file.
16771         * math/test-fexcept.c: Likewise.
16772         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16773         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16774         macro.
16775         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16776         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16778 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16780         * include/atomic.h (atomic_fetch_and_relaxed,
16781         atomic_fetch_and_release, atomic_fetch_or_release,
16782         atomic_fetch_xor_release): New.
16784 2016-08-06  Christian Seiler  <christian@iwakd.de>
16786         [BZ #20444]
16787         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16788         MACH_PORT_NULL.
16790 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16792         * math/s_fdim.c: Avoid alias renamed.
16793         * math/s_fdimf.c: Likewise.
16794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16795         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16796         Add s_fdimf-vis3, s_fdim-vis3.
16797         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16798         (CFLAGS-s_fdim-vis3.c): Likewise.
16799         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16800         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16802 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16805         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16806         Remove s_fdimf-vis3, s_fdim-vis3.
16807         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16808         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16815         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16816         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16818 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16820         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16821         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16822         -Wa,-Av9a -mvis.
16824 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16826         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16827         LIT() to individual constants in simple expressions
16828         after splitting on spaces.
16829         (_apply_lit): Rename replaced version, and use it to
16830         apply to what appears to be a token.
16832         * math/libm-test.inc: Fix many, many issues with
16833         spacing.
16835 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16837         * math/math.h: Move comment about <bits/mathdef.h> definitions
16838         above inclusion of <bits/mathdef.h>.  Do not mention
16839         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16841 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16843         * include/atomic.h (atomic_exchange_relaxed): New.
16845 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16847         * math/e_scalb.c: Do not include <fenv.h>.
16848         (invalid_fn): Do calculation resulting in NaN instead of raising
16849         FE_INVALID and returning a NaN explicitly.
16850         * math/e_scalbf.c: Do not include <fenv.h>.
16851         (invalid_fn): Do calculation resulting in NaN instead of raising
16852         FE_INVALID and returning a NaN explicitly.
16853         * math/e_scalbl.c: Do not include <fenv.h>.
16854         (invalid_fn): Do calculation resulting in NaN instead of raising
16855         FE_INVALID and returning a NaN explicitly.
16857 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16859         * po/de.po: Updated from Translation Project.
16860         * po/fi.po: Likewise.
16861         * po/sv.po: Likewise.
16863 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16865         [BZ #20452]
16866         Use sysdep.o from libc.a in static libraries.
16867         * sysdeps/unix/sysv/linux/i386/Makefile
16868         (libpthread-shared-only-routines): Add sysdep.
16869         (librt-shared-only-routines): Likewise.
16871 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16873         * math/tgmath.h (nextdown): Define if
16874         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16875         (nextup): Likewise.
16877         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16878         macro.
16879         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16880         Document.
16881         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16882         Document macro.
16883         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16884         (exp10f): Likewise.
16885         (exp10l): Likewise.
16886         * math/bits/mathcalls.h (exp10): Declare if
16887         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16889         * manual/arith.texi (nextup): Fix typo in last change.
16891 2016-08-03  Zack Weinberg  <zackw@panix.com>
16893         [BZ #19239]
16894         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16895         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16896         define major, minor, and makedev to issue deprecation warnings on use.
16897         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16898         previously-activated deprecation warnings for these macros and prevent
16899         subsequent inclusions of this header from having any effect.
16900         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16901         including <sys/sysmacros.h>, and undefine it again afterward.
16903 2016-08-03  Zack Weinberg  <zackw@panix.com>
16905         * sysdeps/generic/sys/sysmacros.h: Delete file.
16906         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16907         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16908         * bits/sysmacros.h: ... here; this encoding is now the generic
16909         encoding.  Now defines only the following macros:
16910         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16911         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16912         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16914         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16915         bits/sysmacros.h and the above new macros to generate the
16916         public implementations of major, minor, and makedev.
16917         * misc/tst-makedev.c: New test.
16918         * include/sys/sysmacros.h: New wrapper.
16920         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16921         (routines): Add makedev.
16922         (tests): Add tst-makedev.
16923         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16924         gnu_dev_makedev.
16925         * posix/Makefile (headers): Remove sys/sysmacros.h.
16926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16928         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16929         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16930         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16931         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16932         * sysdeps/unix/sysv/linux/arm/libc.abilist
16933         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16934         * sysdeps/unix/sysv/linux/i386/libc.abilist
16935         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16936         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16937         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16938         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16939         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16940         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16941         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16942         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16943         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16948         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16949         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16950         * sysdeps/unix/sysv/linux/sh/libc.abilist
16951         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16952         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16955         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16956         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16957         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16958         Add GLIBC_2.25.
16960         * include/features.h (__glibc_clang_prereq): New macro.
16961         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16962         (__attribute_deprecated_msg__): New macros.
16964 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16966         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16967         macro.
16968         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16969         * manual/arith.texi (issignaling): Document as ISO from TS
16970         18661-1:2014.
16971         (nextup): Likewise.
16972         (nextupf): Likewise.
16973         (nextupl): Likewise.
16974         (nextdown): Likewise.
16975         (nextdownf): Likewise.
16976         (nextdownl): Likewise.
16977         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16978         macro.
16979         * math/math.h: Define
16980         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16981         <bits/libc-header-start.h> instead of including <features.h>.
16982         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16983         [__USE_GNU].
16984         * math/bits/mathcalls.h (nextdown): Declare if
16985         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16986         (nextup): Likewise.
16987         (__issignaling): Likewise.
16989 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16991         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16992         check, and remove __glibc_likely hint
16993         from FP_INFINITE check.
16994         * s_csinhf.c (__csinhf): Likewise.
16996         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16997         hint from FP_INFINITE check.
16998         * s_csinhl.c (__csinhl): Likewise.
17000 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17002         * math/Makefile (libm-calls): Insert F placeholder into
17003         object names.  Move w_lgamma_compat* routines into
17004         (libm-compat-calls): New variable.
17005         (libm-compat-calls-ldouble-yes): New variable.
17006         (calls): Insert F placeholder.
17007         (generated): Redefine using new type-foreach macro call.
17008         (routines): Likewise.
17010         (types): New variable to hold a list of symbolic names
17011         for each type supported by the target machine.
17012         (libm-routines): Redefine using new types variable.
17013         (type-foreach): macro to replace fooF with the
17014         appropriately suffixed foo for each types.
17016         (type-ldouble-suffix): New variable.
17017         (type-ldouble-routines): Likewise.
17018         (type-ldouble-yes): Likewise.
17019         (type-double-suffix): Likewise.
17020         (type-double-routines): Likewise.
17021         (type-float-suffix): Likewise.
17022         (type-float-routines): Likewise.
17024         (dbl-only-routines): Remove.
17025         (long-c-yes): Likewise.
17026         (long-m-routines): Likewise.
17027         (long-m-support): Likewise.
17028         (long-m-yes): Likewise.
17029         (test-longdouble-yes): Likewise.
17031         (test-float.o): Simplify by increasing the scope of the
17032         recipe which adds libm-test.stmp to the vector types.
17033         (test-ifloat.o): Likewise.
17034         (test-float-finite.o): Likewise.
17035         (test-double.o): Likewise
17036         (test-idouble.o): Likewise.
17037         (test-double-finite.o): Likewise.
17038         (test-ldouble.o): Likewise
17039         (test-ildoubl.o): Likewise.
17040         (test-ldouble-finite.o): Likewise.
17042         (libm-tests): Redefine type tests using foreach and the
17043         list of types in types.
17045         (CPPFLAGS-test-ildoubl.c): Rename to
17046         (CPPFLAGS-test-ildouble.c): New variable
17048         * math/test-ildoubl.c: Rename to
17049         * math/test-ildouble.c: New file.
17051 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17053         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17054         Use fabsl instead of fabs.
17055         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17056         Likewise.
17057         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17058         Add long double suffix to constant to ensure proper
17059         promotion to long double.
17061 2016-08-03  Tom Tromey  <tom@tromey.com>
17063         [BZ #20311]
17064         * nptl_db/Makefile (headers): Add proc_service.h.
17065         * nptl_db/proc_service.h: Add include guard.  Use
17066         __BEGIN/__END_DECLS.
17067         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17068         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17069         arguments.
17072 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17074         [BZ #17730]
17075         Avoid using memalign for TCB allocations.
17076         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17077         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17078         Avoid alignment gap in the TLS_DTV_AT_TP case.
17079         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17080         determine the pointer to free.
17081         * nptl/tst-tls3-malloc.c: New test.
17082         * nptl/Makefile (tests): Add it.
17083         (tst-tls3-malloc): Link with libdl, libpthread.
17084         (LDFLAGS-tst-tls3-malloc): Set.
17085         (tst-tls3-malloc.out): Depend on DSO used in test.
17087 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17089         [BZ #17730]
17090         Avoid using memalign for TLS allocations.
17091         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17092         is_static member with to_free member.
17093         (union dtv): Use struct dtv_pointer.
17094         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17095         dtv_pointer instead of is_static.
17096         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17097         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17098         instead of val.
17099         (allocate_dtv_entry): New function.
17100         (allocate_and_init): Return struct dtv_pointer.  Call
17101         allocate_dtv_entry instead of __libc_memalign.
17102         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17103         instead of val.
17104         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17105         instead of is_static.  Adjust call to allocate_and_init.
17106         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17107         struct dtv_pointer instead of val.
17109 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17111         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17112         (MALLOC_ALIGN_MASK): Move ...
17113         * malloc/malloc-internal.h: ... to here.
17114         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17116 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17118         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17119         (UDP_ENCAP_GTP1U): Likewise.
17121         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17122         (PF_MAX): Update value.
17123         (AF_QIPCRTR): New macro.
17125 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17127         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17128         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17129         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17131         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17132         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17133         s_truncf-vis3, s_trunc-vis3.
17134         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17135         (CFLAGS-s_ceil-vis3.c): Likewise.
17136         (CFLAGS-s_floorf-vis3.c): Likewise.
17137         (CFLAGS-s_floor-vis3.c): Likewise.
17138         (CFLAGS-s_truncf-vis3.c): Likewise.
17139         (CFLAGS-s_trunc-vis3.c): Likewise.
17140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17148         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17149         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17150         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17151         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17153 2016-08-02  David S. Miller  <davem@davemloft.net>
17155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17156         (__nearbyint_vis3): Don't check for sNaN before float register is
17157         loaded with the incoming argument.
17158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17159         (__nearbyintf_vis3): Likewise.
17160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17161         Likewise.
17162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17163         Likewise.
17165         * string/test-strncmp.c (do_test_limit): Make sure the test data
17166         stream is aligned as required for the type "CHAR".
17167         (do_test): Likewise.
17169 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17171         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17172         by beq instructions jumping to the end of the function.
17173         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17174         clobber list. Use "i" constraint instead of "X".
17175         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17176         of "X".
17178 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17180         * bits/libc-header-start.h: New file.
17181         * Makefile (headers): Add bits/libc-header-start.h.
17182         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17183         (__GLIBC_USE): New macro.
17184         * libio/stdio.h: Define
17185         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17186         <bits/libc-header-start.h> instead of including <features.h>.
17187         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17188         (open_memstream): Likewise.
17189         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17190         (__asprintf): Likewise.
17191         (asprintf): Likewise.
17192         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17193         (getdelim): Likewise.
17194         (getline): Likewise.
17195         * string/string.h: Define
17196         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17197         <bits/libc-header-start.h> instead of including <features.h>.
17198         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17199         (strndup): Likewise.
17200         * wcsmbs/wchar.h: Define
17201         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17202         <bits/libc-header-start.h> instead of including <features.h>.
17203         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17204         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17206 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17208         Support linking against compatibility symbols, for use in tests.
17209         * include/libc-symbols.h (symbol_version_reference): New macro.
17210         (symbol_version): Use it.
17211         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17212         (compat_symbol): Use compat_symbol_reference.
17213         (compat_symbol_1, compat_symbol_2): Remove.
17214         (compat_symbol_reference, compat_symbol_reference_1)
17215         (compat_symbol_reference_2): New macro.  Use
17216         symbol_version_reference.
17218 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17220         [BZ #19469]
17221         * malloc/Makefile (CPPFLAGS): Compile tests with
17222         -DTEST_NO_MALLOPT.
17223         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17225 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17227         [BZ #20033]
17228         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17229         finite version.
17230         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17232         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17233         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17234         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17235         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17239         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17240         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17241         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17242         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17244         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17247         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17248         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17249         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17250         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17251         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17252         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17253         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17254         in zero power.
17256 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17258         [BZ #20370]
17259         * malloc/arena.c (get_free_list): Update comment.  Assert that
17260         arenas on the free list have no attached threads.
17261         (remove_from_free_list): New function.
17262         (reused_arena): Call it.
17264 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17266         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17267         when it is a NaN.
17268         [_IEEE_FP_INEXACT] Remove.
17269         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17270         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17271         when it is a NaN.
17272         [_IEEE_FP_INEXACT] Remove.
17273         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17274         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17275         when it is a NaN.
17276         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17277         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17278         when its absolute value is greater than 0x1.0p52.
17279         [_IEEE_FP_INEXACT] Remove.
17280         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17281         when its absolute value is greater than 0x1.0p23.
17282         [_IEEE_FP_INEXACT] Remove.
17284 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17286         * version.h (RELEASE): Set to "development"
17287         (VERSION): Set to 2.24.90.
17288         * NEWS: Add 2.25 section.
17290         * version.h (RELEASE): Set to "stable"
17291         (VERSION): Set to 2.24.
17292         * include/features.h (__GLIBC_MINOR__): Set to 24.
17294         * NEWS: Add 2.24 fixed bugs.
17295         * po/libc.pot: Regenerate.
17297 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17300         [$(subdir) = math] (libm-sysdep_routines): Remove.
17301         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17302         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17303         s_truncf-vis3, s_trunc-vis3.
17304         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17306         file.
17307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17334         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17340         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17341         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17342         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17343         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17344         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17345         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17346         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17347         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17348         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17349         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17351 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17353         [BZ #20384]
17354         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17355         test-double-libmvec-sincos-avx-main.o,
17356         test-double-libmvec-sincos-avx2-main.o,
17357         test-double-libmvec-sincos-main.o,
17358         test-float-libmvec-sincosf-avx-main.o,
17359         test-float-libmvec-sincosf-avx2-main.o and
17360         test-float-libmvec-sincosf-main.o.
17361         test-float-libmvec-sincosf-avx512-main.o.
17362         ($(objpfx)test-double-libmvec-sincos): Also link with
17363         $(objpfx)test-double-libmvec-sincos-main.o.
17364         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17365         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17366         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17367         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17368         ($(objpfx)test-float-libmvec-sincosf): Also link with
17369         $(objpfx)test-float-libmvec-sincosf-main.o.
17370         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17371         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17372         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17373         test-double-libmvec-sincos-avx512-main.o and
17374         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17375         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17376         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17377         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17378         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17379         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17380         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17381         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17382         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17383         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17384         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17385         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17386         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17387         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17388         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17389         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17390         -DREQUIRE_AVX2.
17391         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17392         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17393         -DREQUIRE_AVX512F.
17394         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17395         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17396         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17397         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17398         file.
17399         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17400         Likewise.
17401         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17402         Likewise.
17403         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17404         Likewise.
17405         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17406         Likewise.
17407         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17408         Likewise.
17409         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17410         Likewise.
17411         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17412         Likewise.
17414 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17416         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17418 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17420         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17421         and typo in a comment about AT_HWCAP entry.
17423 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17425         * sysdeps/aarch64/libm-test-ulps: Updated.
17427 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17429         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17430         of r13 as it is not restored in mvcle case.
17432 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17434         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17435         Rename "ret" to "__ret".
17436         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17437         inline_syscall5, inline_syscall6): Likewise.
17439 2016-07-19   Will Newton  <will.newton@gmail.com>
17441         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17442         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17443         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17444         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17445         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17447 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17449         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17450         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17451         -mfpmath=387 with $(rtld-CFLAGS).
17452         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17453         $(rtld-CFLAGS).
17455 2016-07-18   Ross Burton  <ross.burton@intel.com>
17456              Khem Raj  <raj.khem@gmail.com>
17458         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17459         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17460         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17461         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17462         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17463         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17464         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17465         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17466         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17467         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17468         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17469         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17470         R_METAG_TLS_DTPOFF): New.
17472 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17473             Matt Clay  <mclay@lycos.com>
17475         [BZ #20357]
17476         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17477         to call __mpsin/__mpcos and to negate values.
17478         * math/auto-libm-test-in: Add test.
17479         * math/auto-libm-test-out: Regenerate.
17481 2016-07-18  Zack Weinberg  <zackw@panix.com>
17483         * grp/Makefile: Don't install the internal header grp-merge.h.
17485 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17487         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17489 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17491         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17493 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17495         [BZ #15368]
17496         * sysdeps/unix/sysv/linux/nptl-signals.h
17497         (__nptl_clear_internal_signals): New function.
17498         (__libc_signal_block_all): Likewise.
17499         (__libc_signal_block_app): Likewise.
17500         (__libc_signal_restore_set): Likewise.
17501         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17502         implementation.
17503         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17504         the cached pid/tid value in pthread structure.
17506 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17508         [BZ #20347]
17509         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17511 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17513         [BZ #20348]
17514         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17515         preadv64, pwrite64 and pwritev64.
17517 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17519         [BZ #20350]
17520         * posix/tst-preadwrite.c: Renamed to ...
17521         * posix/tst-preadwrite-common.c: This.
17522         (PREAD): Removed.
17523         (PWRITE): Likewise.
17524         (STRINGIFY): Likewise.
17525         (STRINGIFY2): Likewise.
17526         (do_prepare): Make it static and remove function arguments.
17527         (do_test): Likewise.
17528         (PREPARE): Updated.
17529         (TEST_FUNCTION): New.
17530         (name): Make it static.
17531         (fd): Likewise.
17532         (do_prepare): Use create_temp_file.
17533         (do_test): Renamed to ...
17534         (do_test_with_offset): This.  Make it static and accept offset.
17535         Properly check return value of PWRITE and PREAD.  Return bytes
17536         read.  Don't close fd nor unlink name.
17537         * posix/tst-preadwrite.c: Rewrite.
17538         * posix/tst-preadwrite64.c: Likewise.
17540 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17542         [BZ #20309]
17543         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17544         -mtls-dialect=gnu2 works.
17545         * configure: Regenerated.
17546         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17547         (tests): Add tst-gnu2-tls1.
17548         (modules-names): Add tst-gnu2-tls1mod.
17549         ($(objpfx)tst-gnu2-tls1): New.
17550         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17551         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17552         * elf/tst-gnu2-tls1.c: New file.
17553         * elf/tst-gnu2-tls1mod.c: Likewise.
17554         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17555         bytes for push in the PLT entry to align the stack.
17557 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17559         [BZ #20349]
17560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17562 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17564         [BZ #18707]
17565         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17566         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17568 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17570         * sysdeps/unix/sysv/linux/sysdep.h
17571         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17572         guards.
17573         * misc/tst-preadvwritev-common.c: New file.
17574         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17575         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17576         a check for files larger than 2GB.
17578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17579         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17580         * sysdeps/unix/sysv/linux/pread.c
17581         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17582         __OFF_T_MATCHES_OFF64_T.
17583         * sysdeps/unix/sysv/linux/pread64.c
17584         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17585         * sysdeps/unix/sysv/linux/preadv.c
17586         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17587         * sysdeps/unix/sysv/linux/preadv64.c
17588         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17589         * sysdeps/unix/sysv/linux/pwrite.c
17590         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17591         * sysdeps/unix/sysv/linux/pwrite64.c
17592         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17593         * sysdeps/unix/sysv/linux/pwritev.c
17594         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17595         * sysdeps/unix/sysv/linux/pwritev64.c
17596         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17598 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17600         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17601         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17603 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17605         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17607 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17609         [BZ #20240]
17610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17611         (CFLAGS-s_modf-ppc32.c): New variable.
17612         (CFLAGS-s_modff-ppc32.c): Likewise.
17613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17614         (CFLAGS-s_modf-ppc64.c): Likewise.
17615         (CFLAGS-s_modff-ppc64.c): Likewise.
17617 2016-07-07  Andreas Schwab  <schwab@suse.de>
17619         [BZ #20263]
17620         * nptl/tst-robust10.c: New test.
17621         * nptl/Makefile (tests): Add tst-robust10.
17623 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17625         [BZ #20263]
17626         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17628 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17630         * sysdeps/s390/linkmap.h (struct link_map_machine):
17631         Remove member gotplt and add member jmprel.
17632         * sysdeps/s390/s390-32/dl-machine.h
17633         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17634         instead of gotplt with &got[3].
17635         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17636         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17638 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17640         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17642 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17644         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17645         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17646         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17647         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17648         * libio/vtables.c (_IO_vtable_check)
17649         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17650         * libio/libioP.h (IO_set_accept_foreign_vtables)
17651         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17653 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17655         [BZ #20314]
17656         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17657         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17658         $(common-objpfx)cmath.
17659         ($(common-objpfx)cstdlib): New target.
17660         ($(common-objpfx)cmath): Likewise.
17662 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17664         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17666 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17668         [BZ #20327]
17669         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17670         are not part of the string.
17672 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17674         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17675         * nptl/tst-cancel4-common.h (fifoname): New variable.
17676         (fifofd): Likewise.
17677         (cl_fifo): New function.
17678         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17679         SIGINT.
17680         (tf_open): Add early cancel test.
17682 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17684         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17686 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17688         * sysdeps/generic/ldsodefs.h
17689         (dl_symbol_visibility_binds_local_p): New inline function.
17690         * elf/dl-addr.c (determine_info): Treat hidden and internal
17691         symbols as local.
17692         * elf/dl-lookup.c (do_lookup_x): Likewise.
17693         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17695 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17697         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17698         invalid exception for a sNaN input.
17699         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17700         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17701         (__nearbyint_vis3): Likewise
17702         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17703         (__nearbyintf_vis3): Likewise
17704         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17705         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17706         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17707         Likewise.
17708         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17709         Likewise.
17711 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17713         [BZ #20139]
17714         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17715         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17716         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17717         2.24 or above.
17718         (HAVE_AVX512_ASM_SUPPORT): Removed.
17719         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17720         * sysdeps/x86_64/configure: Regenerated.
17721         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17722         check unconditional.
17723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17724         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17725         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17726         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17727         Likewise.
17728         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17729         Likewise.
17730         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17731         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17732         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17733         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17734         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17735         Likewise.
17736         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17737         Likewise.
17738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17740         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17741         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17742         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17743         Likewise.
17744         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17745         Likewise.
17746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17747         Likewise.
17748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17749         Likewise.
17750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17751         Likewise.
17752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17753         Likewise.
17754         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17755         Likewise.
17756         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17757         Likewise.
17758         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17759         Likewise.
17760         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17761         Likewise.
17762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17763         Likewise.
17765 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17767         [BZ #20024]
17768         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17770         of this implementation of vector function.
17771         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17772         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17773         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17774         Likewise.
17775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17777         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17778         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17779         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17780         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17781         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17782         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17783         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17784         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17785         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17786         for testing vector sincos with fixed ABI.
17787         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17788         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17789         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17790         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17791         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17793         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17794         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17795         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17796         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17797         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17798         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17799         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17800         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17801         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17802         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17804 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17806         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17808 2016-06-30  Anton Blanchard  <anton@samba.org>
17810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17811         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17812         s_sinf-ppc64.
17813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17816         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17818 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17822         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17823         e_expf-ppc64.
17824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17827         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17829 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17831         [BZ #20277]
17832         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17833         when SHARED is defined.
17835 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17837         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17838         (index_arch_Prefer_ERMS): Likewise.
17839         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17840         __memcpy_erms for Prefer_ERMS.
17841         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17842         (__memmove_erms): Enabled for libc.a.
17843         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17844         __memmove_erms or Prefer_ERMS.
17845         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17846         __mempcpy_erms for Prefer_ERMS.
17847         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17848         __memset_erms for Prefer_ERMS.
17850 2016-06-30  Andreas Schwab  <schwab@suse.de>
17852         [BZ #20262]
17853         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17854         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17855         of memory.
17857 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17859         [BZ #18645]
17860         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17861         (test-extras): Add tst-cleanupx4aux.
17862         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17863         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17864         tst-cleanupx4aux.o.
17865         * nptl/tst-cleanupx4aux.c: New file.
17867 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17869         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17871 2016-06-29  Andreas Schwab  <schwab@suse.de>
17873         [BZ #20260]
17874         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17875         address before the beginning of the string as an integer to avoid
17876         array-bounds warning.
17878 2016-06-28  Richard Henderson  <rth@redhat.com>
17880         * elf/elf.h (EM_BPF): New.
17881         (EM_NUM): Update.
17882         (R_BPF_NONE, R_BPF_MAP_FD): New.
17884         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17885         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17886         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17887         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17888         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17889         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17890         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17891         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17892         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17893         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17894         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17895         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17896         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17897         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17898         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17899         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17900         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17901         (EM_NUM): Update.
17903 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17905         [BZ #18960]
17906         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17907         Set _nl_current_LC_CATEGORY_used to two instead of one.
17909 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17911         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17912         (do_test): ... this.
17913         (TEST_FUNCTION): New macro.
17914          Include test-skeleton.c.
17915         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17916         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17918 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17920         [BZ #15479]
17921         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17922         floating-point environment rather than just control word.
17923         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17924         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17925         floating-point environment, with "invalid" exceptions merged in,
17926         rather than just control word.
17927         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17928         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17929         "inexact" exceptions.
17931         [BZ #15479]
17932         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17933         floating-point environment rather than just control word.
17934         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17935         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17936         floating-point environment, with "invalid" exceptions merged in,
17937         rather than just control word.
17938         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17939         * math/libm-test.inc (floor_test_data): Do not allow spurious
17940         "inexact" exceptions.
17942         [BZ #15479]
17943         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17944         floating-point environment rather than just control word.
17945         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17946         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17947         floating-point environment, with "invalid" exceptions merged in,
17948         rather than just control word.
17949         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17950         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17951         "inexact" exceptions.
17953 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17955         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17956         __libc_vfork.
17957         (__vfork) [IS_IN (libc)]: Remove alias.
17958         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17959         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17960         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17962 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17964         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17965         of atomic_compare_and_exchange_bool_rel.
17966         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17967         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17968         catomic_compare_and_exchange_bool_rel): Remove.
17969         * sysdeps/aarch64/atomic-machine.h
17970         (atomic_compare_and_exchange_bool_rel): Likewise.
17971         * sysdeps/alpha/atomic-machine.h
17972         (atomic_compare_and_exchange_bool_rel): Likewise.
17973         * sysdeps/arm/atomic-machine.h
17974         (atomic_compare_and_exchange_bool_rel): Likewise.
17975         * sysdeps/mips/atomic-machine.h
17976         (atomic_compare_and_exchange_bool_rel): Likewise.
17977         * sysdeps/microblaze/atomic-machine.h
17978         ( __arch_compare_and_exchange_bool_8_rel,
17979         __arch_compare_and_exchange_bool_16_rel): Likewise.
17980         * sysdeps/powerpc/atomic-machine.h
17981         ( __arch_compare_and_exchange_bool_8_rel,
17982         __arch_compare_and_exchange_bool_16_rel): Likewise.
17983         * sysdeps/powerpc/powerpc32/atomic-machine.h
17984         ( __arch_compare_and_exchange_bool_32_rel,
17985         __arch_compare_and_exchange_bool_64_rel): Likewise.
17986         * sysdeps/powerpc/powerpc64/atomic-machine.h
17987         ( __arch_compare_and_exchange_bool_32_rel,
17988         __arch_compare_and_exchange_bool_64_rel): Likewise.
17989         * sysdeps/tile/atomic-machine.h
17990         (atomic_compare_and_exchange_bool_rel): Likewise.
17992 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
17994         [BZ #20296]
17995         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17996         when either argument is a NaN.
17997         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17998         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18000         * math/libm-test.inc (snan_value_ld): New macro.
18001         (isgreater_test_data): Add sNaN tests.
18002         (isgreaterequal_test_data): Likewise.
18003         (isless_test_data): Likewise.
18004         (islessequal_test_data): Likewise.
18005         (islessgreater_test_data): Likewise.
18006         (isunordered_test_data): Likewise.
18007         (nextafter_test_data): Likewise.
18008         (nexttoward_test_data): Likewise.
18009         (remainder_test_data): Likewise.
18010         (remquo_test_data): Likewise.
18011         (significand_test_data): Likewise.
18012         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18014 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18016         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18017         environment macros are defined.
18018         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18020 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18022         [BZ #20191]
18023         Implement vtable verification in libio.
18024         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18025         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18026         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18027         _IO_new_file_init_internal instead of _IO_file_init.
18028         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18029         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18030         * libio/Makefile (routines): Add vtables.
18031         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18032         (_IO_init): Remove, not for internal use.
18033         (_IO_init_internal): Declare, internal replacement for _IO_init.
18034         (_IO_file_init): Remove, not for internal use.
18035         (_IO_new_file_init): Remove, not for internal use.
18036         (_IO_new_file_init_internal): Declare, internal replacement for
18037         _IO_new_file_init.
18038         (_IO_old_file_init): Remove, not for internal use.
18039         (_IO_old_file_init_internal): Declare, internal replacement for
18040         _IO_old_file_init.
18041         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18042         internal use.
18043         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18044         Declare.
18045         (libio_vtable): New macro.
18046         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18047         functions.
18048         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18049         _IO_new_file_init.
18050         (_IO_new_file_init): New externally visible wrapper which disables
18051         vtable verification.
18052         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18053         Define as vtables.
18054         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18055         (_IO_init): New externally visible wrapper which disables
18056         vtable verification.
18057         * libio/iofdopen.c (_IO_new_fdopen): Call
18058         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18059         comment.
18060         * libio/iofopen.c (__fopen_internal): Call
18061         _IO_new_file_init_internal instead of _IO_file_init.
18062         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18063         Define as vtables.
18064         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18065         _IO_new_file_init_internal instead of _IO_file_init.
18066         * libio/iopopen.c (_IO_new_popen): Likewise.
18067         (_IO_proc_jumps): Define as vtable.
18068         * libio/iovdprintf.c (_IO_vdprintf): Call
18069         _IO_new_file_init_internal instead of _IO_file_init.
18070         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18071         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18072         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18073         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18074         _IO_old_file_init.
18075         (_IO_old_file_init): New externally visible wrapper which disables
18076         vtable verification.
18077         (_IO_old_file_jumps): Define as vtable.
18078         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18079         _IO_old_file_init_internal instead of _IO_old_file_init.
18080         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18081         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18082         (_IO_old_proc_jumps): Define as vtable.
18083         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18084         Define as vtables.
18085         * libio/vtables.c: New file.
18086         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18087         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18088         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18089         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18090         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18091         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18092         instead of _IO_init.
18094 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18096         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18098 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18100         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18101         potentially unused.
18103 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18105         * test-skeleton.c (write_message): New function.
18106         * malloc/tst-mallocfork2.c (write_message): Remove.
18107         * debug/tst-longjmp_chk2.c (write_indented): New function.
18108         (write_message): Remove.
18109         (stackoverflow_handler): Call write_indented.
18111 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18113         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18114         "inexact" exceptions after fnstenv.
18115         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18116         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18117         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18119 2015-06-22  Zack Weinberg  <zackw@panix.com>
18121         * sysdeps/generic/bits/hwcap.h: Moved to ...
18122         * bits/hwcap.h: Here.
18124 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18126         * sysdeps/aarch64/memcpy.S (memcpy):
18127         Further tuning for performance.
18129 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18131         [BZ #20284]
18132         * malloc/arena.c (reused_arena): Do not return NULL if we start
18133         out with a non-corrupted arena.
18135 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18137         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18138         * misc/tst-preadvwritev.c: New file.
18139         * misc/tst-preadvwritev64.c: Likewise.
18140         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18141         usage.
18142         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18143         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18144         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18145         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18147 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18149         [BZ #19654]
18150         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18151         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18152         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18153         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18154         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18155         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18156         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18157         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18158         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18159         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18160         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18161         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18162         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18163         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18164         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18165         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18166         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18167         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18168         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18169         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18170         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18171         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18172         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18173         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18174         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18175         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18177 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18179         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18180         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18182 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18184         * sysdeps/aarch64/memcpy.S (memcpy):
18185         Rewrite of optimized memcpy and memmove.
18186         * sysdeps/aarch64/memmove.S (memmove): Remove
18187         memmove code (merged into memcpy.S).
18189 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18191         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18192         * sysdeps/generic/dl-dtv.h: New file.
18193         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18194         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18195         (dtv_t): Remove.
18196         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18197         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18198         (dtv_t): Remove.
18199         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18200         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18201         (dtv_t): Remove.
18202         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18203         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18204         (dtv_t): Remove.
18205         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18206         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18207         (dtv_t): Remove.
18208         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18209         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18210         (dtv_t): Remove.
18211         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18212         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18213         (dtv_t): Remove.
18214         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18215         (dtv_t): Remove.
18216         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18217         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18218         (dtv_t): Remove.
18219         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18220         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18221         (dtv_t): Remove.
18222         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18223         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18224         (dtv_t): Remove.
18225         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18226         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18227         (dtv_t): Remove.
18228         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18229         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18230         (dtv_t): Remove.
18231         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18232         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18233         (dtv_t): Remove.
18234         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18235         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18236         (dtv_t): Remove.
18237         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18238         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18239         (dtv_t): Remove.
18241 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18243         Revert symbol poisoning of  __malloc_initialize_hook.
18244         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18245         poisoning.
18246         * malloc/Makefile: Remove un-poisoning.
18247         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18248         instead of old__malloc_initialize_hook.
18249         * malloc/malloc-hooks.h: Likewise.
18250         * malloc/malloc.c: Likewise.
18251         * malloc/mcheck-init.c: Likewise.
18253 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18255         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18257 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18259         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18260         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18261         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18262         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18264 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18266         * NEWS: Mention addition of nextup and nextdown.
18267         * manual/arith.texi: Document nextup and nextdown.
18268         * manual/libm-err-tab.pl: Add nextup and nextdown.
18269         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18270         * math/Versions (libm): Add GLIBC_2.24.
18271         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18272         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18273         Add new test.
18274         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18275         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18276         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18277         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18278         (nextup_test_data): Likewise.
18279         (nextdown_test_data): Likewise.
18280         * math/s_nextdown.c: New file.
18281         * math/s_nextdownf.c: Likewise.
18282         * math/s_nextdownl.c: Likewise.
18283         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18284         F(nextup): New function.
18285         F(nextdown): Likewise.
18286         * math/tgmath.h: Add nextup and nextdown.
18287         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18288         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18289         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18290         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18291         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18292         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18293         Add nextup and nextdown.
18294         (CFLAGS-nldbl-nextup.c): New variable.
18295         (CFLAGS-nldbl-nextdown.c): Likewise.
18296         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18297         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18298         * sysdeps/nacl/libm.abilist: Update.
18299         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18300         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18301         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18302         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18303         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18305         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18306         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18307         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18308         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18310         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18313         Likewise.
18314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18316         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18317         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18318         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18319         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18320         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18323         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18324         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18325         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18326         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18328 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18330         * manual/pattern.texi: Fix typos & grammar errors.
18332 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18334         * manual/search.texi: Fix typos & grammar errors.
18336 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18338         * manual/message.texi: Fix typos & grammar errors.
18340 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18342         * manual/contrib.texi: Fix spelling typos.
18343         * manual/crypt.texi: Likewise.
18344         * manual/filesys.texi: Likewise.
18345         * manual/locale.texi: Likewise.
18346         * manual/message.texi: Likewise.
18347         * manual/nss.texi: Likewise.
18348         * manual/string.texi: Likewise.
18350 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18352         * manual/locale.texi: Fix typos & grammar errors.
18354 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18356         * manual/charset.texi: Fix typos & grammar errors.
18358 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18360         * manual/string.texi: Fix typos.
18362 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18364         * manual/ctype.texi: Fix typos.
18366 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18368         * manual/memory.texi: Fix various typos & grammar errors.
18370 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18372         [BZ #20255]
18373         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18374         * math/libm-test.inc (fdim_test_data): Add another test.
18376         [BZ #6796]
18377         [BZ #20255]
18378         [BZ #20256]
18379         * math/s_fdim.c: Include <math_private.h>.
18380         (__fdim): Use math_narrow_eval on result.
18381         * math/s_fdimf.c: Include <math_private.h>.
18382         (__fdimf): Use math_narrow_eval on result.
18383         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18384         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18385         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18386         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18387         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18388         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18389         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18390         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18391         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18392         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18393         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18394         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18395         overflow.  Add sNaN tests.
18397         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18398         fpclassify.
18399         * math/s_fdimf.c (__fdimf): Likewise.
18400         * math/s_fdiml.c (__fdiml): Likewise.
18402 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18404         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18405         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18407         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18408         ifunc'ed strcasecmp/strncasecmp.
18409         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18410         [EALIGN]: Removed.
18411         [END]: Likewise.
18412         [__strcasecmp]: Define instead of the above to control symbol name.
18413         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18414         for __strcasecmp_power8.
18415         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18416         for __strncasecmp_power8.
18417         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18419         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18420         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18421         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18422         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18424 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18426         [BZ #20252]
18427         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18428         arguments when second argument is a NaN.
18429         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18430         qNaN tests.
18432         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18433         (conj_test_data): Likewise.
18434         (copysign_test_data): Likewise.
18435         (creal_test_data): Likewise.
18436         (fma_test_data): Likewise.
18437         (fmod_test_data): Likewise.
18439         [BZ #20250]
18440         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18441         itself.
18442         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18443         zero input to itself.
18444         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18445         Likewise.
18446         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18447         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18448         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18449         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18450         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18452 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18454         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18455         * nptl/tst-cancel4-common.c: New file.
18456         * nptl/tst-cancel4-common.h: Likewise.
18457         * nptl/tst-cancel4.c: Move common definitions to
18458         tst-cancel4-common.{c,h} file.
18459         * nptl/tst-cancel4_1.c: New test.
18460         * nptl/tst-cancel4_2.c: New test.
18462 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18464         [BZ #20248]
18465         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18466         (write_message): New function.
18467         (stackoverflow_handler): Call it instead of printf, to avoid
18468         excessive stack usage by printf.
18469         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18471 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18473         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18474         (prio_inherit_missing): Remove define.
18475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18476         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18478         Likewise.
18479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18480         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18482         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18483         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18484         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18486 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18488         [BZ #19670]
18489         [BZ #19672]
18491         * io/test-lfs.c (do_prepare): Use xmalloc.
18492         * io/tst-fcntl.c (do_prepare): Likewise.
18493         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18494         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18495         * login/tst-utmp.c (do_prepare): Likewise.
18496         * posix/tst-exec.c (do_prepare): Likewise.
18497         * posix/tst-pathconf.c (prepare): Likewise.
18498         * posix/tst-spawn.c (do_prepare): Likewise.
18499         * posix/tst-truncate.c (do_prepare): Likewise.
18500         * rt/tst-aio.c (do_prepare): Likewise.
18501         * rt/tst-aio64.c (do_prepare): Likewise.
18503 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18505         [BZ #20237]
18506         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18507         (get*ent): Set entidx to NULL during initialization.  If entidx is
18508         NULL, start iteration from the beginning.
18510 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18512         * malloc/malloc.c (musable): Return correct size for dumped fake
18513         mmapped chunk.
18515 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18517         [BZ #20222]
18518         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18519         (_IO_cookie_write): Likewise.
18520         (_IO_cookie_seek): Likewise.
18521         (_IO_cookie_close): Likewise.
18522         (_IO_old_cookie_seek): Likewise.
18523         (set_callbacks): New function.
18524         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18526 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18528         * locale/programs/localedef.c (oldstyle_tables): Remove.
18529         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18531 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18533         [BZ #20240]
18534         * math/Makefile (CFLAGS-s_modf.c): New variable.
18535         (CFLAGS-s_modff.c): Likewise.
18536         (CFLAGS-s_modfl.c): Likewise.
18537         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18539 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18541         [BZ #20215]
18542         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18543         [!__GNUC_PREREQ (3,2)]: Likewise.
18545 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18547         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18548         (msghdr.msg_controllen): Likewise.
18549         (cmsghdr.cmsg_len): Likewise.
18550         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18551         ptw-oldsendmsg.
18552         (CFLAGS-oldrecvmsg.c): Remove rule.
18553         (CFLAGS-oldsendmsg.c): Likewise.
18554         (CFLAGS-recvmsg.c): Add rule.
18555         (CFLAGS-sendmsg.c): Likewise.
18556         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18557         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18558         (CFLAGS-recvmsg.c): Remove rule.
18559         (CFLAGS-sendmsg.c): Likewise.
18560         (CFLAGS-oldrecvmsg.c): Likewise.
18561         (CFLAGS-oldsendmsg.c): Likewise.
18562         (CFLAGS-recvmmsg.c): Likewise.
18563         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18564         to kernel defined interfaces.
18565         (msghdr.msg_controllen): Likewise.
18566         (cmsghdr.cmsg_len): Likewise.
18567         (msghdr.__glibc_reserved1): Remove member.
18568         (msghdr.__glibc_reserved2): Likewise.
18569         (cmsghdr.__glibc_reserved1): Likewise.
18570         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18571         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18572         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18573         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18574         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18575         version.
18576         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18577         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18578         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18579         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18580         Remove recvmsg and sendmsg.
18581         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18582         Likewise.
18583         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18584         Likewise.
18585         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18586         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18587         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18588         Likewise.
18589         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18590         Likewise.
18591         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18592         [libc] (GLIBC_2.24): Likewise.
18593         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18594         Likewise.
18595         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18596         Likewise.
18597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18598         [libc] (GLIBC_2.24): Likewise.
18599         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18600         Likewise.
18601         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18602         Likewise.
18603         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18604         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18605         Likewise.
18606         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18607         Likewise.
18608         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18609         Likewise.
18610         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18611         Likewise.
18612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18613         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18614         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18615         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18616         version for {recv,send,recm,sendm}msg.
18617         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18618         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18619         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18620         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18621         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18622         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18623         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18624         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18625         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18626         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18627         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18628         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18630         Likewise.
18631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18632         Likewise.
18633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18635         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18636         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18637         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18638         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18639         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18640         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18643         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18644         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18645         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18647 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18649         [BZ #19564]
18650         Remove __malloc_initialize_hook from the API.
18651         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18652         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18653         #pragma GCC poison.
18654         * malloc/malloc-hooks.h: New file.
18655         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18656         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18657         (old__malloc_initialize_hook): Rename from
18658         __malloc_initialize_hook to evade poisoning.  Turn into compat
18659         symbol.
18660         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18661         __malloc_initialize_hook.
18662         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18663         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18664         * manual/memory.texi (Hooks for Malloc): Remove
18665         __malloc_initialize_hook.  Adjust hook example.
18667 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18669         [BZ #20235]
18670         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18671         itself.
18672         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18673         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18675         [BZ #20234]
18676         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18677         infinity or NaN input to itself.
18679         [BZ #20233]
18680         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18681         to itself.
18683         [BZ #20232]
18684         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18685         itself.
18687 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18689         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18690         __libc_start_main via GOT.
18692 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18694         * sysdeps/x86_64/memcopy.h: New file.
18695         * sysdeps/x86_64/wordcopy.c: Likewise.
18697 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18699         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18700         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18701         <cstdlib>.
18702         (optimization_barrier): New.
18703         (do_test): Use it.  Call quick_exit in the global namespace.
18704         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18705         instead of <cstdlib>, <thread>.
18706         (optimization_barrier): New.
18707         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18708         Call quick_exit in the global namespace.
18709         (do_test): Call optimization_barrier.  Use pthread_create,
18710         pthread_join instead of std::thread.
18712 2016-06-09  Andreas Schwab  <schwab@suse.de>
18714         [BZ #19755]
18715         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18716         new entries in auto-propagate mode.
18717         * nscd/grpcache.c (cache_addgr): Likewise.
18719 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18721         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18722         New functions.
18723         (add_temp_file): Use them.
18725 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18727         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18729 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18731         [BZ #20229]
18732         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18733         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18734         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18736         [BZ #20228]
18737         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18738         itself.
18739         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18740         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18742         [BZ #20227]
18743         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18744         itself.
18745         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18746         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18747         * math/libm-test.inc (log_test_data): Add sNaN tests.
18749         [BZ #20226]
18750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18751         itself.
18752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18753         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18754         (exp10_test_data): Likewise.
18755         (expm1_test_data): Likewise.
18757         [BZ #20225]
18758         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18759         itself.
18760         * math/s_ldexpf.c (__ldexpf): Likewise.
18761         * math/s_ldexpl.c (__ldexpl): Likewise.
18762         * math/w_scalbln.c (__w_scalbln): Likewise.
18763         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18764         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18765         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18766         (scalbln_test_data): Likewise.
18768         [BZ #20224]
18769         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18770         argument to itself.
18771         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18773 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18775         [BZ #19776]
18776         * sysdeps/x86_64/memcpy.S: Make it dummy.
18777         * sysdeps/x86_64/mempcpy.S: Likewise.
18778         * sysdeps/x86_64/memmove.S: New file.
18779         * sysdeps/x86_64/memmove_chk.S: Likewise.
18780         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18781         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18782         * sysdeps/x86_64/memmove.c: Removed.
18783         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18784         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18785         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18786         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18787         Likewise.
18788         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18789         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18791         memcpy-sse2-unaligned, memmove-avx-unaligned,
18792         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18794         (__libc_ifunc_impl_list): Replace
18795         __memmove_chk_avx512_unaligned_2 with
18796         __memmove_chk_avx512_unaligned.  Remove
18797         __memmove_chk_avx_unaligned_2.  Replace
18798         __memmove_chk_sse2_unaligned_2 with
18799         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18800         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18801         with __memmove_avx512_unaligned.  Replace
18802         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18803         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18804         with __memcpy_chk_avx512_unaligned.  Remove
18805         __memcpy_chk_avx_unaligned_2.  Replace
18806         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18807         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18808         Replace __memcpy_avx512_unaligned_2 with
18809         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18810         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18811         with __mempcpy_chk_avx512_unaligned.  Remove
18812         __mempcpy_chk_avx_unaligned_2.  Replace
18813         __mempcpy_chk_sse2_unaligned_2 with
18814         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18815         Replace __mempcpy_avx512_unaligned_2 with
18816         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18817         Replace __mempcpy_sse2_unaligned_2 with
18818         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18819         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18820         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18821         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18822         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18823         (ENTRY): Removed.
18824         (END): Likewise.
18825         (ENTRY_CHK): Likewise.
18826         (libc_hidden_builtin_def): Likewise.
18827         Don't include ../memcpy.S.
18828         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18829         __memcpy_chk_avx512_unaligned_erms and
18830         __memcpy_chk_avx512_unaligned.  Use
18831         __memcpy_chk_avx_unaligned_erms and
18832         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18833         Default to __memcpy_chk_sse2_unaligned.
18834         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18835         Change function suffix from unaligned_2 to unaligned.
18836         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18837         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18838         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18839         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18840         (ENTRY): Removed.
18841         (END): Likewise.
18842         (ENTRY_CHK): Likewise.
18843         (libc_hidden_builtin_def): Likewise.
18844         Don't include ../mempcpy.S.
18845         (mempcpy): New.  Add a weak alias.
18846         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18847         __mempcpy_chk_avx512_unaligned_erms and
18848         __mempcpy_chk_avx512_unaligned.  Use
18849         __mempcpy_chk_avx_unaligned_erms and
18850         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18851         Default to __mempcpy_chk_sse2_unaligned.
18853 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18855         [BZ #19881]
18856         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18857         into ...
18858         * sysdeps/x86_64/memset.S: This.
18859         (__bzero): Removed.
18860         (__memset_tail): Likewise.
18861         (__memset_chk): Likewise.
18862         (memset): Likewise.
18863         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18864         defined.
18865         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18866         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18867         (__memset_zero_constant_len_parameter): Check SHARED instead of
18868         PIC.
18869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18870         memset-avx2 and memset-sse2-unaligned-erms.
18871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18872         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18873         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18874         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18875         (__bzero): Enabled.
18876         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18877         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18878         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18879         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18880         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18881         (memset): Removed.
18882         (__memset_chk): Likewise.
18883         (MEMSET_SYMBOL): New.
18884         (libc_hidden_builtin_def): Replace __memset_sse2 with
18885         __memset_sse2_unaligned.
18886         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18887         __memset_chk_sse2 and __memset_chk_avx2 with
18888         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18889         Use __memset_chk_sse2_unaligned_erms or
18890         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18891         __memset_chk_avx512_unaligned_erms and
18892         __memset_chk_avx512_unaligned.
18894 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18896         * math/gen-auto-libm-test.c (fp_format_desc): remove
18897         suffix member.
18898         (output_generic_value): Remove usage of suffix member,
18899         and the resulting unuse of the fp_format argument.
18900         (output_for_one_input_case): Remove unused fp_format
18901         parameter.
18903         * math/auto-libm-test-out: Regenerate.
18905         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18906         usage with TEST_COND_ibm128.
18907         (TEST_COND_flt_32): Remove.
18908         (TEST_COND_dbl_64): Remove.
18909         (TEST_COND_ldbl_96_intel): Remove.
18910         (TEST_COND_ldbl_96_m68k): Remove.
18911         (TEST_COND_ldbl_128): Remove.
18913 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18915         * auto-libm-test-in:
18916         Replace flt-32 usage with binary32.
18917         Replace dbl-64 usage with binary64.
18918         Replace ldbl-intel-96 usage with intel96.
18919         Replace ldbl-m68k-96 usage with m68k96.
18920         Replace ldbl-128ibm usage with ibm128.
18921         Replace ldbl-128 usage with binary128.
18923         * auto-libm-test-out: Regenerate.
18925 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18927         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18928         (parse_ulps): Dynamically generate type name matching
18929         string from all_floats.
18930         (get_ulps): Generate the ulps as an array instead.
18931         (output_ulps): Dynamically compose the type based
18932         on the number of supported formats, and print
18933         the indices as type specific helper macros.
18935         * math/libm-test.inc: Remove comment about CHOOSE.
18936         (ulp_data): Generate the type in libm-test-ulps.h.
18937         (ULP_IDX): New macro.
18938         (find_ulps): Update usage of max_ulp.
18940         * math/test-double-vlen2.h (CHOOSE): Remove.
18941         * math/test-double-vlen4.h (CHOOSE): Likewise.
18942         * math/test-double-vlen8.h (CHOOSE): Likewise.
18943         * math/test-float.c (CHOOSE): Likewise.
18944         * math/test-float-finite.c (CHOOSE): Likewise.
18945         * math/test-double.c (CHOOSE): Likewise.
18946         * math/test-double-finite.c (CHOOSE): Likewise.
18947         * math/test-idouble.c (CHOOSE): Likewise.
18948         * math/test-ifloat.c (CHOOSE): Likewise.
18949         * math/test-ildoubl.c (CHOOSE): Likewise.
18950         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18951         * math/test-ldouble.c (CHOOSE): Likewise.
18953         * math/test-float.h (TEST_FLOAT): Remove.
18954         * math/test-double.h (TEST_DOUBLE): Likewise.
18955         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18957 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18959         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18960         (parse_args): Strip C suffix from floating point literals
18961         typed with 'f' and wrap them with LIT().
18963         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18964         (test_ff_f_data_nexttoward): Rename to
18965         (test_fj_f_data): New struct.
18966         (nexttoward_test_data): Relabel tests as
18967         TEST_fj_f instead of TEST_ff_f.
18969 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18971         Emacs bug 23726.
18972         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18973         (__libc_realloc): Correct size computation for dumped fake mmapped
18974         chunks.
18976 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18978         [BZ #20219]
18979         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18980         to itself.
18981         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18983         [BZ #20218]
18984         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18985         to itself.
18986         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18988 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
18990         [BZ #20195]
18991         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18992         check to ...
18993         (init_cpu_features): Here.
18995 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
18997         [BZ #20214]
18998         * sysdeps/unix/sysv/linux/bits/in.h
18999         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19000          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19001         Define to 1.
19002         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19003          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19004         Define to 0.
19005         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19006         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19008 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19010         [BZ #20198]
19011         * stdlib/Makefile (tests): Add tst-quick_exit, and
19012         tst-thread-quick_exit.
19013         [ifeq ($(have-cxx-thread_local),yes)]
19014         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19015         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19016         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19017         (LDLIBS-tst-thread-quick_exit): Likewise.
19018         [ifneq ($(have-cxx-thread_local),yes)]
19019         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19020         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19021         If run_dtors is true call __call_tls_dtors.
19022         (exit): Call __run_exit_handlers with run_dtors set to true.
19023         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19024         definition.
19025         * stdlib/quick_exit.c (quick_exit): Remove function.
19026         (__new_quick_exit): New function.
19027         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19028         function.
19029         * stdlib/tst-quick_exit.cc: New file.
19030         * stdlib/tst-thread-quick_exit.cc: New file.
19031         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19032         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19033         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19034         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19035         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19036         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19037         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19038         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19039         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19040         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19041         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19042         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19043         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19044         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19046         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19051         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19052         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19053         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19054         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19055         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19059         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19060         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19062 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19064         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19065         a typo in comments.
19067 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19069         [BZ #20213]
19070         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19071         argument to itself.
19072         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19074 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19076         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19077         required flags.
19078         (CFLAGS-pwritev64.c): Likewise.
19079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19081         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19082         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19083         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19084         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19085         syscall from auto-generation.
19086         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19087         [WORDSIZE == 64] (pwritev64): Remove macro.
19088         [!PWRITEV] (PWRITEV): Likewise.
19089         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19090         [!PWRITEV] (PWRITE): Likewise.
19091         [!PWRITEV] (OFF_T): Likewise.
19092         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19093         (LO_HI_LONG): Remove macro.
19094         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19095         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19096         (PWRITEV): Remove macro.
19097         (PWRITEV_REPLACEMENTE): Likewise.
19098         (PWRITE): Likewise.
19099         (OFF_T): Likewise.
19100         (pwritev64): New function.
19101         * nptl/tst-cancel4.c (tf_writev): Add test.
19103         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19104         required flags.
19105         (CFLAGS-preadv64.c): Likewise.
19106         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19107         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19108         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19109         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19110         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19111         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19112         syscall from auto-generation.
19113         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19114         [WORDSIZE == 64] (preadv64): Remove macro.
19115         [!PREADV] (PREADV): Likewise.
19116         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19117         [!PREADV] (PREAD): Likewise.
19118         [!PREADV] (OFF_T): Likewise.
19119         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19120         (LO_HI_LONG): Remove macro.
19121         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19122         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19123         (PREADV): Remove macro.
19124         (PREADV_REPLACEMENTE): Likewise.
19125         (PREAD): Likewise.
19126         (OFF_T): Likewise.
19127         (preadv64): New function.
19128         * nptl/tst-cancel4.c (tf_preadv): Add test.
19130 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #20212]
19133         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19134         argument to itself.
19135         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19137 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19139         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19140         New symbol defined as libc_hidden_def.
19141         (strcasestr): Became a weak alias to __strcasestr.
19142         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19143         according to multi-arch support.  Move __stpncpy hidden
19144         definition from here to...
19145         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19146         symbol stpncpy.
19147         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19148         libc_hidden_builtin_def.
19149         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19150         memset symbol to use when multi-arch support is available.
19152 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19154         * dlfcn/tst-rec-dlopen.c: Include string.h.
19156 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19158         * manual/install.texi: Remove mention of --without-tls
19159         * INSTALL: Regenerate.
19161 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19163         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19164         Remove.
19165         (call_function, interposed_malloc_called): New variables.
19166         (malloc): New function.
19167         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19168         and clear call_function as needed.
19170 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19172         * include/wchar.h (__wmemset): Use __typeof.
19174 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19176         * include/wchar.h (__wmemset): Declare function without typeof.
19178 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19180         [BZ #20205]
19181         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19182         exponent when incrementing negative subnormal with low mantissa
19183         word zero.
19184         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19185         Add another test.
19187 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19189         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19190         __wmemset instead of wmemset.
19192 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19194         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19195         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19196         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19197         __USE_KERNEL_IPV6_DEFS to 0.
19198         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19199         Update comment.
19201 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19203         [BZ #19861]
19204         Do not use IFUNC resolver with potentially unrelocated symbol.
19205         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19206         (DEFINE_FORK): Remove macro and inline definition.
19207         (fork_alias): Renamed from fork_ifunc.
19208         (__fork_alias): Renamed from __fork_ifunc.
19210 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19212         [BZ 19653]
19213         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19214         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19216 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19218         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19219         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19220         i386-linux-gnu).
19221         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19222         Set to no.
19223         * sysdeps/mach/hurd/configure: Refresh.
19225 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19227         [BZ #20178]
19228         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19229         on failure instead of exit.
19231 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19233         [BZ #3629]
19234         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19235         of POSIX.1-2008.
19237 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19239         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19240           Use PLT entry for calling _hurd_self_sigstate.
19242 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19244         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19245         available logical processors with SMT level type sharing L2
19246         cache for Intel processors.
19248 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19250         [BZ #20160]
19251         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19252         argument to itself before returning the result.
19253         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19254         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19255         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19257         Likewise.
19258         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19259         Likewise.
19260         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19261         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19262         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19263         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19264         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19265         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19267         [BZ #20160]
19268         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19269         argument to itself before returning the result.
19270         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19271         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19272         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19274         Likewise.
19275         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19276         Likewise.
19277         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19278         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19279         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19280         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19281         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19282         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19284 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19286         * libm-test.inc: Replace usage of M_El with
19287         (lit_e): New macro.
19289 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19291         * libm-test.inc: Replace usage of M_PI_4l with
19292         (lit_pi_4_d): New macro.
19294 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19296         * libm-test.inc: Replace usage of M_PIl with
19297         (lit_pi): New macro.
19299 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19301         * libm-test.inc: Replace usage of M_PI2l with
19302         (lit_pi_2_d): New macro.
19304         * math/test-double.h (LITM): New macro.
19305         * math/test-float.h (LITM): Likewise.
19306         * math/test-ldouble.h (LITM): Likewise.
19308 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19310         * libm-test.inc (M_PI_34l): Rename to
19311         (lit_pi_3_m_4_d): New Macro.
19312         (M_PI_34_LOG10El): Rename to
19313         (lit_pi_3_m_4_ln10_m_d): New Macro.
19314         (M_PI2_LOG10El): Rename to
19315         (lit_pi_2_ln10_m_d):  New Macro.
19316         (M_PI4_LOG10El): Rename to
19317         (lit_pi_4_ln10_m_d):  New Macro.
19318         (M_PI_LOG10El): Rename to
19319         (lit_pi_ln10_d):  New Macro.
19321 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19323         [BZ #20157]
19324         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19325         determine whether to negate low half if [_ARCH_PPCGR], and integer
19326         comparison otherwise.
19327         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19328         determine whether to negate low half.
19330         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19331         (NO_TEST_INLINE_DOUBLE): Likewise.
19332         (TEST_COND_x86_64): Likewise.
19333         (TEST_COND_x86): Likewise.
19334         (M_PI_6l): Likewise.
19336 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19338         * math/libm-test.inc:
19339         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19340         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19341         (TEST_LDOUBLE): Update usage to evaluate as true if
19342         the guarded tests match the property being tested.
19343         (LDBL_MAX_EXP): Change to MAX_EXP.
19344         (LDBL_MIN_EXP): Change to MIN_EXP.
19345         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19346         nexttoward tests.
19348 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19350         * math/libm-test.inc:
19351         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19352         (TYPE_MIN): Likewise.
19353         (TYPE_TRUE_MIN): Likewise.
19354         (TYPE_MAX): Likewise.
19355         (MIN_EXP): Likewise.
19356         (MAX_EXP): Likewise.
19357         (MANT_DIG): Likewise.
19359         (FSTR_MAX): New macro.
19360         (__CONCATX): Likewise.
19361         (QTYPE_STR): Likewise.
19362         (TEST_COND_binary32): Likewise.
19363         (TEST_COND_binary64): Likewise.
19364         (TEST_COND_binary128): Likewise.
19365         (TEST_COND_ibm128): Likewise.
19366         (TEST_COND_intel96): Likewise.
19367         (TEST_COND_m68k96): Likewise.
19369         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19370         (TEST_COND_dbl_64): Likewise.
19371         (TEST_COND_ldbl_96_intel): Likewise.
19372         (TEST_COND_ldbl_96_m68k): Likewise.
19373         (TEST_COND_ldbl_128): Likewise.
19374         (TEST_COND_ldbl_128ibm): Likewise.
19376         (plus_zero): Redefine using LIT macro.
19377         (minus_zero): Likewise.
19378         (plus_infty): Redefine as (INF).
19379         (minux_infty): Redefine as (-INF).
19380         (max_value): Redefine as TYPE_MAX.
19381         (min_value): Redefine as TYPE_MIN.
19382         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19384         (print_float): Refactor to use snprintf to convert FLOAT values
19385         to string. This brings it closer to dropin replacement of strtof
19386         for the TS 18661 defined types.
19387         (update_stats): Likewise.
19388         (print_complex_function_ulps): Likewise.
19389         (print_max_error): Likewise.
19390         (print_complex_max_error): Likewise.
19391         (check_float_internal): Likewise.
19393         * math/test-float.h (PREFIX): New macro.
19394         (LIT): Likewise.
19395         (TYPE_STR): Likewise.
19396         (FTOSTR): Likewise.
19398         * math/test-double.h (PREFIX): New macro.
19399         (LIT): Likewise.
19400         (TYPE_STR): Likewise.
19401         (FTOSTR): Likewise.
19403         * math/test-ldouble.h (PREFIX): New macro.
19404         (LIT): Likewise.
19405         (TYPE_STR): Likewise.
19406         (FTOSTR): Likewise.
19408 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19410         [BZ #20156]
19411         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19412         to itself when zero or not finite.
19413         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19414         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19415         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19416         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19418 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19420         [BZ #20153]
19421         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19422         x * x + x for infinities and NaNs.
19424         [BZ #20151]
19425         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19426         argument to itself before returning result.
19427         (__ieee754_y0l): Likewise.
19428         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19429         (__ieee754_y1l).
19431         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19432         (atan_test_data): Likewise.
19433         (ceil_test_data): Likewise.
19434         (cos_test_data): Likewise.
19435         (cosh_test_data): Likewise.
19436         (erf_test_data): Likewise.
19437         (exp2_test_data): Likewise.
19438         (fabs_test_data): Likewise.
19439         (floor_test_data): Likewise.
19440         (ilogb_test_data): Likewise.
19441         (j0_test_data): Likewise.
19442         (j1_test_data): Likewise.
19443         (jn_test_data): Likewise.
19444         (lgamma_test_data): Likewise.
19445         (lrint_test_data): Likewise.
19446         (llrint_test_data): Likewise.
19447         (logb_test_data): Likewise.
19448         (lround_test_data): Likewise.
19449         (llround_test_data): Likewise.
19450         (nearbyint_test_data): Likewise.
19451         (rint_test_data): Likewise.
19452         (round_test_data): Likewise.
19453         (sin_test_data): Likewise.
19454         (sincos_test_data): Likewise.
19455         (sinh_test_data): Likewise.
19456         (sqrt_test_data): Likewise.
19457         (tan_test_data): Likewise.
19458         (tanh_test_data): Likewise.
19459         (tgamma_test_data): Likewise.
19460         (trunc_test_data): Likewise.
19461         (y0_test_data): Likewise.
19462         (y1_test_data): Likewise.
19463         (yn_test_data): Likewise.
19465         * math/libm-test.inc: Update comment about NaN testing.
19466         (TEST_SNAN): New macro.
19467         (snan_value): Likewise.
19468         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19469         (fpclassify_test_data): Add sNaN tests.
19470         (isfinite_test_data): Likewise.
19471         (isinf_test_data): Likewise.
19472         (isnan_test_data): Likewise.
19473         (isnormal_test_data): Likewise.
19474         (issignaling_test_data): Likewise.
19475         (signbit_test_data): Likewise.
19476         * math/gen-libm-test.pl (%beautify): Add snan_value.
19477         (show_exceptions): Add argument $test_snan.
19478         (parse_args): Handle snan_value as non-finite.  Update call to
19479         show_exceptions.
19480         * math/Makefile (libm-test-no-inline-cflags): Add
19481         -fsignaling-nans.
19483 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19485         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19486         (CFLAGS-oldsendmsg.c): Add rule.
19487         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19488         Correct recvmsg symbol name.
19489         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19490         Likewise.
19492 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19494         * sysdeps/unix/sysv/linux/Makefile
19495         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19496         oldsendmmsg.
19497         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19498         sendmmsg.
19499         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19500         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19501         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19502         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19504         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19505         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19507         Likewise.
19508         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19509         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19510         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19511         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19512         iovlen and controllen fields to adjust to POSIX specification.
19513         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19515         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19516         and change to correct expected type.
19517         (msghdr.msg_controllen): Likewise.
19518         (cmsghdr.cmsg_len): Likewise.
19519         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19520         expected POSIX assumption about the size.
19521         (msghdr.msg_controllen): Likewise.
19522         (msghdr.__glibc_reserved1): Likewise.
19523         (msghdr.__glibc_reserved2): Likewise.
19524         (cmsghdr.cmsg_len): Likewise.
19525         (cmsghdr.__glibc_reserved1): Likewise.
19526         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19527         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19528         (CFLAGS-sendmsg.c): Remove rule.
19529         (CFLAGS-recvmsg.c): Likewise.
19530         (CFLAGS-oldsendmsg.c): Add rule.
19531         (CFLAGS-oldrecvmsg.c): Likewise.
19532         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19533         recvmsg and sendmsg.
19534         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19535         Likewise.
19536         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19537         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19538         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19539         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19540         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19541         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19542         Likewise.
19543         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19544         Likewise.
19545         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19546         Likewise.
19547         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19548         Likewise.
19549         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19550         Likewise.
19551         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19552         Likewise.
19553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19554         (GLIBC_2.24): Likewise.
19555         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19556         Likewise.
19557         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19558         Likewise.
19559         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19560         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19561         Likewise.
19562         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19563         Likewise.
19564         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19565         Likewise.
19566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19567         (GLIBC_2.24): Likewise.
19568         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19569         Likewise.
19570         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19571         Likewise.
19572         * sysdeps/unix/sysv/linux/Makefile
19573         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19574         (CFLAGS-sendmsg.c): Add rule.
19575         (CFLAGS-recvmsg.c): Likewise.
19576         (CFLAGS-oldsendmsg.c): Likewise.
19577         (CFLAGS-oldrecvmsg.c): Likewise.
19578         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19579         initialization.
19580         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19581         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19582         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19583         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19584         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19585         iovlen and controllen fields to adjust to POSIX specification.
19586         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19587         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19588         added recvmsg and sendmsg.
19589         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19590         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19591         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19592         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19593         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19594         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19595         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19596         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19597         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19598         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19599         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19600         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19602         Likewise.
19603         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19605         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19606         Likewise.
19607         Likewise.
19608         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19609         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19610         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19611         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19612         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19613         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19615         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19617         Likewise.
19618         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19619         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19621         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19622         from auto-generation.
19623         (sendmsg): Likewise.
19624         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19625         (sendmsg): Likewise.
19626         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19627         (sendmsg): Likewise.
19628         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19629         (sendmsg): Likewise.
19630         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19631         (sendmsg): Likewise.
19632         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19633         (sendmsg): Likewise.
19634         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19635         Likewise.
19636         (sendmsg): Likewise.
19637         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19638         (sendmsg): Likewise.
19639         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19641         Remove.
19642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19643         Likewise.
19644         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19645         Undefine.
19646         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19647         Likewise.
19648         * sysdeps/unix/sysv/linux/kernel-features.h
19649         (__ASSUME_SENDMSG_SYSCALL): Define.
19650         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19651         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19652         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19653         Remove.
19654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19655         Likewise.
19656         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19657         Undefine.
19658         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19659         Likewise.
19660         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19661         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19662         Remove.
19663         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19664         Likewise.
19665         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19666         Undefine.
19667         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19668         Likewise.
19669         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19670         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19671         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19672         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19673         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19674         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19675         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19676         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19677         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19679 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19681         * stdlib/gen-tst-strtod-round.c: Add backslash to
19682         compile command in comment.
19683         (printfp): Remove the literal suffix, and define an infinite
19684         value as INF to avoid expansion clash with INFINITY.
19685         (round_str): Remove the literal suffix.
19686         (round_for_all): Likewise, remove the now duplicate ldbl-64
19687         entry, and remove some magic constants.
19689         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19690         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19691         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19692         (_CONCAT): New macro.
19693         (CONCAT): Likewise.
19694         (CHOOSE_ld): Likewise.
19695         (CHOOSE_f): Likewise.
19696         (CHOOSE_d): Likewise.
19697         (FTYPE_MEMBER): Likewise.
19698         (BOOL_MEMBER): Likewise.
19699         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19700         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19701         (_XNTRY): Likewise.
19702         (XNTRY): Likewise.
19703         (_ENTRY): Likewise.
19704         (ENTRY): Likewise.
19705         (test_exactness): Generate members via macro.
19706         (test_results): Likewise.
19707         (test): Update members.
19708         (TEST): Redefine using new macros.
19709         (INF): New macro.
19710         (fetestmodes): New structure.
19711         (do_test): Refactor to be type generic.
19712         (test_in_one_mode): Refactor duplicate code into
19713         (GEN_ONE_TEST): New macro.
19715         * stdlib/tst-strtod-round-data.h: Regenerate.
19717         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19718         Extend to pass additional arbitrary parameters to
19719         generators.
19721 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #15479]
19724         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19725         floating-point state after first floating-point operation on
19726         input.  Restore full floating-point state instead of just rounding
19727         mode.
19728         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19729         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19730         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19731         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19732         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19734         [BZ #15479]
19735         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19736         floating-point state after first floating-point operation on
19737         input.  Restore full floating-point state instead of just rounding
19738         mode.
19739         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19740         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19741         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19742         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19743         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19745 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19747         [BZ #19727]
19748         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19749         valid high surrogate.
19750         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19751         of an utf16 surrogate.
19752         * iconv/gconv_simple.c (BODY): Likewise.
19753         * iconvdata/bug-iconv12.c: New file.
19754         * iconvdata/Makefile (tests): Add bug-iconv12.
19756 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19758         [BZ #19726]
19759         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19760         outptrp in case of an illegal input.
19761         * iconv/tst-iconv6.c: New file.
19762         * iconv/Makefile (tests): Add tst-iconv6.
19764 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19766         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19767         an error in case of a value in range of an utf16 low surrogate.
19769 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19771         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19772         an error in case of a value in range of an utf16 low surrogate.
19774 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19776         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19777         Move to ...
19778         * sysdeps/s390/Makefile: ... here.
19779         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19780         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19781         (BRANCH_ON_COUNT): New define.
19782         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19783         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19784         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19785         run on s390-32, too.
19786         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19787         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19788         run on s390-32, too.
19789         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19790         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19791         run on s390-32, too.
19793 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19795         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19796         etf3eh or new vector loop-variant.
19798 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19800         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19801         etf3eh or new vector loop-variant.
19803 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19805         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19806         or new vector loop-variant.
19808 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19810         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19811         Rename to TR_LOOP and usage of tr instead of troo instruction.
19813 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19815         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19816         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19818 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19820         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19821         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19822         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19823         New override define.
19824         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19826 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19828         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19829         * sysdeps/s390/configure.ac: Add test for S390 vector register
19830         support in gcc.
19831         * sysdeps/s390/configure: Regenerated.
19833 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19835         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19836         Install file from $(objpfx)gconv-modules.
19837         ($(objpfx)gconv-modules): Concatenate architecture specific file
19838         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19839         * sysdeps/s390/gconv-modules: New file.
19840         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19841         Deleted.
19842         ($(objpfx)gconv-modules-s390): Deleted.
19843         (sysdeps-gconv-modules): New variable.
19845 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #15479]
19848         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19849         of immediate operand to rounding instruction.
19850         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19851         Likewise.
19852         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19853         Likewise.
19854         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19855         Likewise.
19857 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19859         * math/libm-test.inc (MIN_EXP): Directly define as
19860         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19862 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19864         * math/libm-test.inc (MANT_DIG): Directly define as
19865         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19867 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19869         * stdlib/gen-tst-strtod-round.c (main):
19870           Change usage to more closely match the generated
19871           output.  Add usage and compilation instructions.
19872           (string_to_fp): Add and use FILE* parameter as
19873           output target.
19874           (print_fp): Likewise.
19875           (round_str): Likewise.
19876           (round_for_all): Likewise.
19877         * stdlib/tst-strtod-round.c (tests): Move into
19878         * stdlib/tst-strtod-round-data.h: New file.
19880 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19882         [BZ #15479]
19883         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19884         (__round): Do not force "inexact" exception.
19885         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19886         variable.
19887         (__round): Do not force "inexact" exception.
19888         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19889         (__roundf): Do not force "inexact" exception.
19890         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19891         (__roundl): Do not force "inexact" exception.
19892         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19893         (__roundl): Do not force "inexact" exception.
19894         * math/libm-test.inc (round_test_data): Do not allow spurious
19895         "inexact" exceptions.
19897         [BZ #15479]
19898         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19899         exception in comment.
19900         (huge): Remove variable.
19901         (__floor): Do not force "inexact" exception.
19902         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19903         "inexact" exception in comment.
19904         (huge): Remove variable.
19905         (__floor): Do not force "inexact" exception.
19906         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19907         exception in comment.
19908         (huge): Remove variable.
19909         (__floorf): Do not force "inexact" exception.
19910         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19911         exception in comment.
19912         (huge): Remove variable.
19913         (__floorl): Do not force "inexact" exception.
19915         [BZ #15479]
19916         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19917         exception in comment.
19918         (huge): Remove variable.
19919         (__ceil): Do not force "inexact" exception.
19920         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19921         "inexact" exception in comment.
19922         (huge): Remove variable.
19923         (__ceil): Do not force "inexact" exception.
19924         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19925         (__ceilf): Do not force "inexact" exception.
19926         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19927         exception in comment.
19928         (huge): Remove variable.
19929         (__ceill): Do not force "inexact" exception.
19931 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19933         * config.h.in (BIND_NOW): New.
19934         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19935         * configure: Regenerated.
19936         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19937         indirect branch via the GOT slot.
19939 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19941         [BZ #19765]
19942         * sysdeps/s390/mempcpy.S: New File.
19943         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19944         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19945         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19946         Add mempcpy variants.
19947         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19948         (memcpy): Adjust to be usable from mempcpy entry point.
19949         (__memcpy_mvcle): Likewise.
19950         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19951         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19952         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19953         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19954         (__memcpy_z10): Likewise.
19955         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19957 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19959         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19960         Remove __GI_ symbol.
19961         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19962         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19963         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19964         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19965         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19966         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19968 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19970         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19971         Use cghi instead of chi to compare 64bit value.
19973 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19975         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19976         Jump to 1MB check before executing mvc-loop.
19978 2016-05-24  Florian Weimer  <fweimer@redhat.com>
19980         [BZ #6527]
19981         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19982         unconditionally.
19983         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19985 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19987         * stdlib/tst-strtod6.c (do_test): Use new type generic
19988         invocation of the test function.
19989         (test): Refactor into ...
19990         (TEST_STRTOD): New macro base function.
19992 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19994         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19995         (TEST_STRTOD): New macro.
19996         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19998 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20000         * stdlib/tst-strtod6.c (do_test): Use new type generic
20001         invocation of the test function.
20002         (test): Refactor into ...
20003         (TEST_STRTOD): New macro base function.
20005 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20007         CVE-2016-4429
20008         [BZ #20112]
20009         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20010         payload.
20012 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20014         [BZ #20111]
20015         * bits/sockaddr.h (_SS_SIZE): Define.
20016         * bits/socket.h (_SS_SIZE): Remove.
20017         (_SS_PADSIZE): Adjust to account for all padding.
20018         (struct sockaddr_storage): Update comment.  Avoid implicit
20019         padding.
20020         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20021         (_SS_PADSIZE): Adjust to account for all padding.
20022         (struct sockaddr_storage): Update comment.  Avoid implicit
20023         padding.
20024         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20025         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20026         (_SS_PADSIZE): Adjust to account for all padding.
20027         (struct sockaddr_storage): Update comment.  Avoid implicit
20028         padding.
20029         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20030         __SS_SIZE is 126 in this version.
20031         * inet/tst-sockaddr.c: New file.
20032         * inet/Makefile (tests): Add tst-sockaddr.c
20033         (tst-sockaddr.c): Compile with non-strict aliasing.
20035 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20037         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20038         [XPG3 || XPG4].
20039         (NL_ARGMAX): Also expect for [XPG3].
20040         (NL_LANGMAX): Likewise.
20041         (NL_MSGMAX): Likewise.
20042         (NL_NMAX): Likewise.
20043         (NL_SETMAX): Likewise.
20044         (NL_TEXTMAX): Likewise.
20045         (NZERO): Likewise.
20046         (TMP_MAX): Likewise.
20047         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20048         variable.
20050         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20051         (PF_MAX): Update value.
20052         (AF_KCM): New macro.
20053         (SOL_NETBEUI): Likewise.
20054         (SOL_LLC): Likewise.
20055         (SOL_DCCP): Likewise.
20056         (SOL_NETLINK): Likewise.
20057         (SOL_TIPC): Likewise.
20058         (SOL_RXRPC): Likewise.
20059         (SOL_PPPOL2TP): Likewise.
20060         (SOL_BLUETOOTH): Likewise.
20061         (SOL_PNPIPE): Likewise.
20062         (SOL_RDS): Likewise.
20063         (SOL_IUCV): Likewise.
20064         (SOL_CAIF): Likewise.
20065         (SOL_ALG): Likewise.
20066         (SOL_NFC): Likewise.
20067         (SOL_KCM): Likewise.
20068         (MSG_BATCH): New enum value and macro.
20070 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20072         [BZ #18185]
20073         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20074         sharing L2 cache to 2 for Knights Landing.
20076 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20078         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20079         (FTW_DP): Do not expect for [XPG3 || XPG4].
20080         (FTW_SL): Do not expect for [XPG3].
20081         (FTW_SLN): Likewise.
20082         (FTW_PHYS): Likewise.
20083         (FTW_MOUNT): Likewise.
20084         (FTW_DEPTH): Likewise.
20085         (FTW_CHDIR): Likewise.
20086         (nftw): Likewise.
20087         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20088         variable.
20090 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20092         * manual/errno.texi: Fix various typos & grammar errors.
20094 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20096         * manual/intro.texi: Fix duplicated typo.
20098 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20100         [BZ #13304]
20101         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20102         <float.h>, <math_private.h> and <stdlib.h>.
20103         (add_split): New function.
20104         (mul_split): Likewise.
20105         (ext_val): New typedef.
20106         (store_ext_val): New function.
20107         (mul_ext_val): New function.
20108         (compare): New function.
20109         (add_split_ext): New function.
20110         (__fmal): After checking for Inf, NaN and zero, compute result as
20111         an exact sum of scaled double values in round-to-nearest before
20112         adding those up and adjusting for other rounding modes.
20113         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20114         tests of fma.
20115         * math/auto-libm-test-out: Regenerated.
20117 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20119         [BZ #20119]
20120         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20121         processor level type mask for CPUID with EAX == 11.
20123 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20125         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20126         logical threads if the HTT bit is 0.
20127         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20128         (index_cpu_HTT): Likewise.
20129         (reg_HTT): Likewise.
20131 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20133         [BZ #20115]
20134         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20135         Remove alignments on jump targets.
20137 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20139         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20140         (getpwent): Likewise.
20141         (setpwent): Likewise.
20142         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20143         variable.
20145         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20146         (remque): Likewise.
20147         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20148         variable.
20150 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20152         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20153         not being tested.
20155 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20158         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20159         call.
20160         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20161         (__condvar_cleanup1): Likewise.
20163 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20165         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20166         New
20167         (__pthread_unwind): Renamed to ...
20168         (PTHREAD_UNWIND): This.
20169         (__pthread_enable_asynccancel): Replace
20170         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20172 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20174         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20175         (CLONE_NEWCGROUP): New macro.
20177         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20178         (Q_GETNEXTQUOTA): New macro.
20180 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20182         [BZ #19907]
20183         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20184         buffer updated by the previous run.
20185         * string/test-memcpy.c (do_one_test): Likewise.
20186         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20187         * string/test-memmove.c (do_one_test): Likewise.
20189 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20191         [BZ #20094]
20192         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20193         not [__USE_XOPEN].
20194         (unlockpt): Likewise.
20195         (ptsname): Likewise.
20196         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20197         variable.
20199         [BZ #20076]
20200         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20201         instead of [__USE_UNIX98].
20202         (S_ISSOCK): Likewise.
20203         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20204         variable.
20206         [BZ #20074]
20207         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20208         [__USE_POSIX].
20209         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20210         variable.
20212         [BZ #20051]
20213         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20214         (ttyslot): Do not declare.
20215         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20216         (ttyslot): New prototype.
20217         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20218         variable.
20219         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20221 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20223         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20225 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20227         Fix race condition in tst-mallocfork2, use fewer resources.
20228         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20229         to current process group.
20230         (signal_sender): Yield in the non-sleeping case.
20232 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20234         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20235         (ecvt): Likewise.
20236         (fcvt): Likewise.
20237         (gcvt): Likewise.
20238         (getsubopt): Likewise.
20239         (grantpt): Likewise.
20240         (initstate): Likewise.
20241         (l64a): Likewise.
20242         (mktemp): Likewise.
20243         (mkstemp): Likewise.
20244         (ptsname): Likewise.
20245         (random): Likewise.
20246         (realpath): Likewise.
20247         (setstate): Likewise.
20248         (srandom): Likewise.
20249         (ttyslot): Likewise.
20250         (unlockpt): Likewise.
20251         (valloc): Likewise.
20253         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20254         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20255         variable.
20257 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20259         [BZ #20072]
20260         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20261         init_cpu_features only if SHARED is defined.
20262         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20264 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20266         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20267         non-inclusive caches on Intel processors.
20269 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20271         * malloc/malloc.c (dumped_main_arena_start)
20272         (dumped_main_arena_end): New variables.
20273         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20274         (do_check_chunk): Skip dumped fake mmapped chunks.
20275         (munmap_chunk): Likewise.
20276         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20277         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20278         mmapped chunks.
20279         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20280         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20281         and dumped_main_arena_end to cover the dumped heap.
20283 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20285         * conform/data/time.h-data (getdate_err): Do not expect for
20286         [XPG3].
20287         (getdate): Likewise.
20288         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20289         variable.
20291         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20292         (F_ULOCK): Likewise.
20293         (F_TEST): Likewise.
20294         (F_TLOCK): Likewise.
20295         (useconds_t): Likewise.
20296         (intptr_t): Do not expect for [XPG3] or [XPG4].
20297         (brk): Do not expect for [XPG3]
20298         (fchown): Likewise.
20299         (fchdir): Likewise.
20300         (ftruncate): Likewise.
20301         (getdtablesize): Likewise.
20302         (gethostid): Likewise.
20303         (getpagesize): Likewise.
20304         (getpgid): Likewise.
20305         (getsid): Likewise.
20306         (getwd): Likewise.
20307         (lchown): Likewise.
20308         (lockf): Likewise.
20309         (readlink): Likewise.
20310         (sbrk): Likewise.
20311         (setpgrp): Likewise.
20312         (setregid): Likewise.
20313         (setreuid): Likewise.
20314         (symlink): Likewise.
20315         (sync): Likewise.
20316         (truncate): Likewise.
20317         (ualarm): Likewise.
20318         (usleep): Likewise.
20319         (vfork): Likewise.
20320         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20321         variable.
20323         [BZ #20054]
20324         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20325         not [__USE_UNIX98].
20326         * conform/data/unistd.h-data (gethostname): Do not expect for
20327         [XPG3].
20329         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20330         [!POSIX] (S_IFBLK): Likewise.
20331         [!POSIX] (S_IFCHR): Likewise.
20332         [!POSIX] (S_IFIFO): Likewise.
20333         [!POSIX] (S_IFREG): Likewise.
20334         [!POSIX] (S_IFDIR): Likewise.
20335         [!POSIX] (S_IFLNK): Likewise.
20336         [!POSIX] (S_IFSOCK): Likewise.
20337         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20338         variable.
20339         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20341 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20343         * sysdeps/aarch64/memset.S (__memset):
20344         Rewrite of optimized memset.
20346 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20348         [BZ #19703]
20349         Partially async-signal-safe fork for single-threaded processes.
20350         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20351         variable.  Do not acquire and reset/release malloc and libio locks
20352         in single-threaded processes.
20353         * malloc/tst-mallocfork2.c: New file.
20354         * malloc/Makefile (tests): Add it.
20356 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20358         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20359         argument.  Use scratch buffer instead of extend_alloca.
20360         (gethosts): Use scratch buffer instead of extend_alloca.
20361         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20362         extend_alloca.
20363         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20365 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20367         [BZ #20055]
20368         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20369         instead of [__USE_UNIX98].
20370         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20371         [__USE_UNIX98].
20372         * conform/data/termios.h-data (tcgetsid): Do not expect for
20373         [XPG3].
20374         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20375         variable.
20376         (test-xfail-XPG4/termios.h/conform): Likewise.
20378 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20380         Do not use mcheck in localedef.
20381         * locale/programs/localedef.c (turn_on_mcheck)
20382         (__malloc_initialize_hook): Remove.
20384 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20386         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20387         * sysdeps/s390/s390-64/Makefile: Likewise.
20389 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20391         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20392         Remove ifunc-defines.sym.
20393         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20394         Likewise.
20395         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20396         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20397         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20398         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20399         rtld-global-offsets.sym.
20400         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20401         * sysdeps/x86/cpu-features-offsets.sym: This.
20402         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20403         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20405 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20407         [BZ #20073]
20408         * io/sys/stat.h (fchmod): Declare for
20409         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20410         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20411         variable.
20413         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20414         [XPG3] (S_IFSOCK): Likewise.
20415         [XPG3] (S_ISVTX): Likewise.
20416         [XPG3] (S_ISLNK): Likewise.
20417         [XPG3] (S_ISSOCK): Likewise.
20418         [XPG3] (fchmod): Likewise.
20419         [XPG3] (lstat): Likewise.
20420         [XPG3] (mknod): Likewise.
20422         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20423         [XPG3].  Expect type long and XFAIL for [XPG4].
20424         (st_blocks): Likewise.
20426         [BZ #20044]
20427         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20428         (pthread_atfork): New prototype.
20429         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20430         variable.
20432         [BZ #20043]
20433         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20434         prototype.
20436 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20438         [BZ #20017]
20439         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20440         gmtime.
20442 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20444         [BZ #19994]
20445         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20446         flag in _res.options.
20448 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20450         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20451         [XPG3 || XPG4].
20452         (blksize_t): Likewise.
20453         (clockid_t): Likewise.
20454         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20455         variable.
20456         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20458 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20460         * sysdeps/unix/sysv/linux/s390/init-first.c:
20461         Add VDSO_SYMBOL(getcpu).
20462         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20463         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20464         Add VDSO_SYMBOL(getcpu).
20465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20466         New define HAVE_GETCPU_VSYSCALL.
20467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20469 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20471         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20472         instead of <sysdeps/x86_64/cacheinfo.c>.
20473         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20474         * sysdeps/x86/cacheinfo.c: Here.
20476 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20478         * malloc/malloc-internal.h: Adjust header file guard.
20480 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20482         [BZ #19787]
20483         * inet/getnameinfo.c (check_sprintf_result): New function.
20484         (CHECKED_SNPRINTF): New macro.
20485         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20486         to the host buffer.
20487         (gni_host_local): Use checked_copy to copy the host name.
20488         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20489         (gni_serv_local): Use checked_copy to copy the service name.
20490         (getnameinfo): Remove unnecessary truncation of result buffers.
20492 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20494         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20495         in case of inet_ntop failure.
20497 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20499         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20500         avoid long lines.
20501         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20502         variables.
20503         (gni_host_inet, gni_host_local): Add comment.
20504         (gni_host): Add comment.  Use temporary to avoid long lines.
20506 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20508         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20509         registers specifiers where general purpose registers specifiers should
20510         have been used.
20512 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20514         [BZ #19779]
20515         CVE-2016-1234
20516         Avoid copying names of directory entries.
20517         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20518         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20519         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20520         (struct readdir_result): New type.
20521         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20522         (GL_READDIR): New macros.
20523         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20524         (convert_dirent, convert_dirent64): New functions.
20525         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20526         convert_dirent64.  Adjust references to the readdir result.
20527         * sysdeps/unix/sysv/linux/i386/glob64.c:
20528         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20529         * posix/bug-glob2.c (LONG_NAME): Define.
20530         (filesystem): Add LONG_NAME.
20531         (my_DIR): Increase the size of room_for_dirent.
20533 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20535         [BZ #20041]
20536         * misc/sys/select.h (__need_timespec): Only define if
20537         [__USE_XOPEN2K].
20538         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20539         variable.
20540         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20541         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20542         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20544 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20545             Segher Boessenkool  <segher@gcc.gnu.org>
20547         [BZ #20004]
20548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20549         (__novec_swapcontext): Add missing load.
20551 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20553         [BZ #20023]
20554         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20555         <time.h>.
20556         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20557         variable.
20558         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20560 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20563         flags CLONE_VM compare.
20565 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20567         [BZ #20031]
20568         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20569         completely empty.
20571 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20573         [BZ #19573]
20574         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20575         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20576         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20577         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20578         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20579         (hesiod_free_list): Mark as hidden.
20580         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20581         res_set, res_get.
20582         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20583         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20584         (hesiod_init): Remove obsolete res_ninit call.
20585         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20586         (hesiod_bind): Do not call init.
20587         (get_txt_records): Use res_mkquery, res_send instead of
20588         res_nmkquery, res_nsend.
20589         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20590         instead of _nss_hesiod_init.
20591         (_nss_hesiod_initgroups_dyn): Likewise.
20592         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20593         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20594         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20596 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20598         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20599         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20601 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20603         * hesiod/hesiod.h: Remove RCS keyword.
20604         * hesiod/hesiod_p.h: Likewise.
20606         * hesiod/hesiod.c: Likewise.
20608 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20610         [BZ #12450]
20611         * locale/iso-639.def: Add Samogitian/sgs.
20613 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20615         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20617         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20619 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20620             Carlos O'Donell  <carlos@redhat.com>
20622         [BZ #19072]
20623         * grp/Makefile (headers): Add grp-merge.h
20624         (routines): Add grp-merge.
20625         * grp/getgrgid_r.c: Include grp-merge.h.
20626         (DEEPCOPY_FN): Define.
20627         (MERGE_FN): Define.
20628         * grp/getgrname_r.c: Include grp-merge.h.
20629         (DEEPCOPY_FN): Define.
20630         (MERGE_FN): Define.
20631         * grp/grp-merge.c: New file.
20632         * grp/grp-merge.h: New file.
20633         * include/grp-merge.h: New file.
20634         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20635         __copy_grp@GLIBC_PRIVATE.
20636         * manual/nss.texi (Actions in the NSS configuration): Describe
20637         return, continue, and merge.
20638         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20639         (DEEPCOPY_FN): Define.
20640         (MERGE_FN): Define.
20641         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20642         (DEEPCOPY_FN): Define.
20643         (MERGE_FN): Define.
20644         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20645         [!MERGE_FN]: Define __merge_einval.
20646         (CHECK_MERGE): Define.
20647         (REENTRANT_NAME): Process merge if do_merge is true.
20648         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20649         (__nss_getent_r): Likewise.
20650         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20651         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20653 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20655         [BZ #20012]
20656         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20657         length to calculate the buffer to read.
20658         (fmemopen_write): Set the buffer position based on bytes written.
20659         (fmemopen_seek): Return EINVAL for invalid whence modes.
20661         [BZ #19957]
20662         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20663         tst-getpid2.
20664         (test): Add tst-clone2.
20665         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20666         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20667         pid/tid fields for CLONE_VM.
20668         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20669         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20670         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20671         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20672         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20673         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20674         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20675         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20677         Likewise.
20678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20679         Likewise.
20680         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20681         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20682         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20683         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20684         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20685         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20686         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20687         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20689 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20691         [BZ #19642]
20692         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20693         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20694         (gni_serv_local, gni_serv): New functions extracted from
20695         getnameinfo.
20696         (getnameinfo): Call gni_host and gni_serv to perform the
20697         processing.  Always free scratch buffer.
20699 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20701         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20702         remaining bytes in the dest string, with zeros.
20704 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20706         [BZ #20010]
20707         CVE-2016-3706
20708         * sysdeps/posix/getaddrinfo.c
20709         (convert_hostent_to_gaih_addrtuple): New function.
20710         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20711         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20712         AF_INET data.
20714 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20716         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20717         callback function gl_readdir.
20718         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20719         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20720         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20721         memcpy to copy the name.
20722         * manual/pattern.texi (Calling Glob): Document requirements for
20723         implementations of the gl_readdir callback function.
20724         * manual/examples/mkdirent.c: New example.
20725         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20726         per the manual guidance.
20727         * posix/tst-gnuglob.c (my_readdir): Likewise.
20729 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20731         [BZ #20014]
20732         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20733         not [__USE_POSIX].
20734         (getchar_unlocked): Likewise.
20735         (putc_unlocked): Likewise.
20736         (putchar_unlocked): Likewise.
20737         (flockfile): Likewise.
20738         (ftrylockfile): Likewise.
20739         (funlockfile): Likewise.
20740         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20741         variable.
20742         (test-xfail-XPG4/stdio.h/conform): Likewise.
20744         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20745         Expect constant.
20746         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20747         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20748         variable.
20749         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20750         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20752         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20753         [__USE_LARGEFILE64] (off64_t): Likewise.
20754         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20755         variable.
20757 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20759         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20761 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20763         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20764         * resolv/res_init.c: Likewise.
20765         * resolv/res_mkquery.c: Likewise.
20767 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20769         * resolv/res_init.c (isascii): Do not define.  Use definition in
20770         <ctype.h>.
20771         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20772         (LOG_AUTH): Remove.
20773         (SPRINTF): Remove, adjust caller.
20774         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20776 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20778         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20779         SUNSECURITY conditional.
20780         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20782 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20784         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20785         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20786         Remove BSD-related preprocessor conditionals.
20787         * conf/portability.h: Remove.
20789 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20791         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20792         * resolv/res_data.c: Likewise.
20794 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20796         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20797         * resolv/res_data.c: Remove code conditional on ultrix.
20799 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20801         * resolv/res_init.c (RFC1535): Do not define.  Remove
20802         RFC1535 preprocessor conditionals.
20803         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20804         because there configuration options which make the resolver
20805         behavior different.
20807 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20809         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20810         RESOLVSORT preprocessor conditionals.
20811         * resolv/nss_dns/dns-host.c: Likewise.
20812         * resolv/res_init.c: Likewise.
20814 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20816         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20817         is never defined.
20819 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20821         * inet/inet_lnaof.c: Remove SCSS keyword.
20822         * inet/inet_mkadr.c: Likewise.
20823         * inet/inet_net.c: Likewise.
20824         * inet/inet_netof.c: Likewise.
20825         * inet/rcmd.c: Likewise.
20826         * inet/rexec.c: Likewise.
20827         * inet/ruserpass.c: Likewise.
20829 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20831         * resolv/inet_addr.c: Remove _LIBC conditionals.
20832         * resolv/res_data.c: Likewise.
20833         * resolv/res_init.c: Likewise.
20834         * resolv/res_mkquery.c: Likewise.
20835         * resolv/res_libc.c: Update comment.
20836         * resolv/README: Update.
20838 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20840         * resolv/gethnamaddr.c: Remove SCSS keyword.
20841         * resolv/herror.c: Likewise.
20842         * resolv/inet_addr.c: Likewise.
20843         * resolv/inet_net_ntop.c: Likewise.
20844         * resolv/inet_net_pton.c: Likewise.
20845         * resolv/inet_neta.c: Likewise.
20846         * resolv/inet_ntop.c: Likewise.
20847         * resolv/inet_pton.c: Likewise.
20848         * resolv/ns_date.c: Remove RCS keyword.
20849         * resolv/ns_name.c: Likewise.
20850         * resolv/ns_netint.c: Likewise.
20851         * resolv/ns_parse.c: Likewise.
20852         * resolv/ns_print.c: Likewise.
20853         * resolv/ns_samedomain.c: Likewise.
20854         * resolv/ns_ttl.c: Likewise.
20855         * resolv/nsap_addr.c: Likewise.
20856         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20857         * resolv/res_data.c: Remove RCS keyword.
20858         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20859         * resolv/res_init.c: Likewise.
20860         * resolv/res_mkquery.c: Likewise.
20861         * resolv/res_query.c: Likewise.
20862         * resolv/res_send.c: Likewise.
20864 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20866         * conform/data/stdio.h-data (fdopen): Expect also for
20867         [XPG3 || XPG4].
20869         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20870         (fseeko): Likewise.
20871         (ftello): Likewise.
20872         (ftrylockfile): Likewise.
20873         (funlockfile): Likewise.
20874         (getc_unlocked): Likewise.
20875         (getchar_unlocked): Likewise.
20876         (putc_unlocked): Likewise.
20877         (putchar_unlocked): Likewise.
20879 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20881         [BZ #19868]
20882         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20883         DNS packet syntax checks (which were not needed before).  Skip
20884         over non-PTR records.
20886 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20888         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20889         definition.  Include <stddef.h> instead.
20891 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20893         [BZ #19831]
20894         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20895         function.
20896         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20897         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20899 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20901         [BZ #19862]
20902         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20903         (getanswer_r): Do not call syslog.
20904         (gaih_getanswer_slice): Likewise.
20905         * resolv/gethnamaddr.c (AskedForGot): Remove.
20906         (getanswer): Do not call syslog.
20907         (gethostbyaddr): Likewise.
20909 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20911         * conform/data/signal.h-data (union sigval): Expect also if
20912         [XOPEN2K].
20913         (struct sigevent): Likewise.
20914         (SIGEV_NONE): Likewise.
20915         (SIGEV_SIGNAL): Likewise.
20916         (SIGEV_THREAD): Likewise.
20917         (SIGRTMIN): Likewise.
20918         (SIGRTMAX): Likewise.
20919         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20920         variable.
20921         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20923 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20925         [BZ #19830]
20926         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20927         (gaih_getanswer_slice): Likewise.
20928         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20929         Also check for availability of RR metadata.
20931 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20933         [BZ #19825]
20934         * resolv/res_send.c (send_vc): Remove early *resplen2
20935         initialization.  Set *resplen2 on socket error.  Call
20936         close_and_return_error for other errors.
20938 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20940         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20941         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20942         (SCM_IUCV_TRGCLS): New define.
20944 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20946         [BZ #20005]
20947         * libio/fmemopen.c (fmemopen_write): Update internal position after
20948         write.
20949         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20950         * stdio-common/tst-fmemopen4.c: New file..
20952 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20954         [BZ #19996]
20955         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20956         not [__USE_XOPEN2K].
20957         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20958         variable.
20960         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20961         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20962         variable.
20964         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20965         [__USE_XOPEN2K8].
20966         [__USE_LARGEFILE64] (off64_t): Likewise.
20967         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20968         variable.
20970 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20972         [BZ #19989]
20973         * libio/stdio.h (cuserid): Do not declare if
20974         [__USE_XOPEN2K && !__USE_GNU].
20975         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20976         variable.
20978 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20980         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20981         (sysdep_routines): Add P8 and PPC64 strcspn targets.
20982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20983         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20984         ifunc'ed strcspn.
20985         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20986         [EALIGN]: Removed.
20987         [END]: Likewise
20988         [STRSPN]: Define instead of the above to control symbol name.
20989         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20990         New file.
20991         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20992         Likewise.
20993         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20994         Likewise.
20995         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20996         Likewise.
20997         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20998         [INITIAL_MASK]: New macro.
20999         [STRCSPN]: Likewise.
21000         [UPDATE_MASK]: Likewise.
21001         [USE_AS_STRCSPN]: Likewise.
21003 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21005         [BZ #19931]
21006         * stdio-common/tst-vfprintf-width-prec.c: New file.
21007         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21008         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21009         (generated): Add mtrace-related files.
21010         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21011         (tst-%-mem.out): New pattern rule, replaces
21012         tst-printf-bz18872-mem.out.
21013         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21014         specifier, deallocate any previously allocated work buffer.
21016 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21018         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21019         Add nop before __startcontext, add explaining comments.
21021 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21023         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21024         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21025         completely different API.
21027         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21028         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21029         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21030         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21031         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21032         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21033         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21034         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21035         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21036         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21038 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21040         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21042 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21044         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21045         when it is the default of 0.
21047 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21049         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21050         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21051         (sysdep_routines): Add new strcasestr targets.
21052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21053         (__libc_ifunc_impl_list): Likewise.
21054         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21055         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21056         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21057         * sysdeps/powerpc/powerpc64/power8/Makefile:
21058         New file to add strcasestr-ppc64 to sysdep_routines.
21059         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21060         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21062 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21064         * benchtests/Makefile (wcsmbs-benchset): Include only for
21065         native builds and runs.
21066         (LOCALES): Likewise.
21067         (bench-build): Build timing-type here instead of the bench
21068         target.  Generate locale only for native builds.
21069         * benchtests/README: Add note for cross-building.
21071         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21073         * benchtests/README: Update README to include instructions on
21074         using bench-build.
21076         * Makefile.in (bench-build): New target.
21077         * Rules (PHONY): Add bench-build target.
21078         * benchtests/Makefile (bench): Depend on bench-build.
21079         (bench-build): New target.
21081 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21083         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21084         profil_reply_port.
21085         (profile_waiter): Do not initialize profil_reply_port.
21086         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21087         frequency instead of tick length in us.
21089 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21091         [BZ #18712]
21092         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21093         (__old_mempcpy_small): Likewise.
21094         (__old_strcpy_small): Likewise.
21095         (__old_stpcpy_small): Likewise.
21096         (__old_strpbrk_c2): Fix compat symbol name.
21097         (__old_strpbrk_c3): Likewise.
21098         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21099         (__mempcpy_small): Remove.
21100         (__strcpy_small): Remove.
21101         (__stpcpy_small): Remove.
21103 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21105         [BZ #19400]
21106         * locale/iso-639.def: Add the Talossan/tzl language.
21108 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21110         [BZ #16983]
21111         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21112         comment.  Add "ln" to strchr check on postal_fmt.
21114 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21116         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21117         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21118         tel_dom_fmt.
21120 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21122         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21123         (sysdep_routines): Added __strlen_power8.
21124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21125         __strlen_power8 entry.
21126         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21127         Implementation for POWER8.
21128         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21129         for __strlen_power8.
21130         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21131         Implementation for POWER8.
21133 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21135         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21137 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21139         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21140         Goldmont and Airmont processors.
21142 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21144         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21145         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21146         (__STRING2_SMALL_GET32): Remove.
21147         (memset): Remove.
21148         (__memset_1): Remove.
21149         (__memset_gc): Remove.
21150         (__mempcpy): Remove.
21151         (mempcpy): Remove.
21152         (__mempcpy_args): Remove.
21153         (strchr): Remove.
21154         (strcpy): Remove.
21155         (strcpy_args): Remove.
21156         (__stpcpy_args): Remove.
21157         (__strcmp_cc): Remove.
21158         (__strcmp_gc): Remove.
21159         (strstr): Remove.
21161 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21163         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21164         * nis/nis_call.c (nis_server_cache_add): Likewise.
21166 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21168         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21170 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21172         * malloc/arena.c (__malloc_fork_lock_parent)
21173         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21174         internal_function attribute.
21176 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21178         * stdio-common/printf_fp.c (__printf_fp_l):
21179         Rename ___printf_fp_l to __printf_fp_l and
21180         remove strong alias. Use libc_hidden_def instead
21181         of ldbl_hidden_def macro.
21183 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21185         Remove malloc hooks from fork handler.  They are no longer needed
21186         because malloc runs right before fork, and no malloc calls from
21187         other fork handlers are not possible anymore.
21188         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21189         declarations.
21190         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21191         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21192         (atfork_recursive_cntr): Remove.
21193         (__malloc_fork_lock_parent): Do not override malloc hooks and
21194         thread_arena.
21195         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21196         thread_arena.
21197         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21198         thread_arena instead of save_arena.
21200 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21202         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21203         (thread_atfork, thread_atfork_static): Remove.
21204         * sysdeps/mach/hurd/malloc-machine.h:
21205         (thread_atfork, thread_atfork_static): Remove.
21207 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21209         [BZ #19431]
21210         Run the malloc fork handler as late as possible to avoid deadlocks.
21211         * malloc/malloc-internal.h: New file.
21212         * malloc/malloc.c: Include it.
21213         * malloc/arena.c (ATFORK_MEM): Remove.
21214         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21215         Update comment.
21216         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21217         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21218         Remove outdated comment.
21219         (ptmalloc_init): Do not call thread_atfork.  Remove
21220         thread_atfork_static.
21221         * malloc/tst-malloc-fork-deadlock.c: New file.
21222         * Makefile (tests): Add tst-malloc-fork-deadlock.
21223         (tst-malloc-fork-deadlock): Link against libpthread.
21224         * manual/memory.texi (Aligned Memory Blocks): Update safety
21225         annotation comments.
21226         * sysdeps/nptl/fork.c (__libc_fork): Call
21227         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21228         __malloc_fork_unlock_child.
21229         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21231 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21233         [BZ #19613]
21234         Remove union wait.
21235         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21236         (w_stopsig, w_stopval): Remove.
21237         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21238         stat_loc argument.
21239         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21240         (__WAIT_STATUS_DEFN): Remove.
21241         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21242         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21243         (wait, wait3, wait4): Use int * for the stat_loc argument.
21244         * posix/wait.c (__wait): Likewise.
21245         * posix/wait3.c (__wait3): Likewise.
21246         * posix/wait4.c (__wait4): Likewise.
21247         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21248         (__WAIT_STATUS_DEFN): Remove.
21249         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21250         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21251         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21252         argument.
21253         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21254         * sysdeps/posix/wait3.c (__wait3): Likewise.
21255         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21256         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21257         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21258         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21259         stat_loc argument.
21260         * manual/process.texi (BSD Wait Functions): Remove union wait.
21262 2016-04-13  Andreas Schwab  <schwab@suse.de>
21264         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21265         (test-extras): Add tst-tlsalign-vars.
21266         * math/Makefile: Wrap long lines.
21267         (libm-vec-test-wrappers): Define.
21268         (test-extras): Add $(libm-vec-test-wrappers).
21269         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21270         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21271         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21272         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21273         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21274         (extra-test-objs): Add corresponding objects.
21276 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21278         [BZ #19928]
21279         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21280         New.
21281         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21282         times of shared cache size.
21283         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21284         (VMOVNT): New.
21285         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21286         (VMOVNT): Likewise.
21287         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21288         (VMOVNT): Likewise.
21289         (VMOVU): Changed to movups for smaller code sizes.
21290         (VMOVA): Changed to movaps for smaller code sizes.
21291         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21292         comments.
21293         (PREFETCH): New.
21294         (PREFETCH_SIZE): Likewise.
21295         (PREFETCHED_LOAD_SIZE): Likewise.
21296         (PREFETCH_ONE_SET): Likewise.
21297         Rewrite to use forward and backward loops, which move 4 vector
21298         registers at a time, to support overlapping addresses and use
21299         non temporal store if size is above the threshold and there is
21300         no overlap between destination and source.
21302 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21304         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21305         Include dl-vdso.
21306         * sysdeps/unix/sysv/linux/mips/Versions: Add
21307         __vdso_clock_gettime.
21308         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21309         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21310         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21311         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21312         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21313         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21314         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21315         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21316         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21318 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21320         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21321         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21322         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21323         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21324         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21325         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21328         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21330         syscalls generation.
21331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21332         [__NR_pwrite64] (__NR_write): Remove define.
21333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21334         [__NR_pwrite64] (__NR_write): Remove define.
21335         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21336         Remove define.
21337         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21338         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21339         Remove define.
21340         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21341         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21342         Linux implementation as base.
21343         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21345         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21346         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21351         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21352         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21353         syscall generation.
21354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21355         [__NR_pread64] (__NR_pread): Remove define.
21356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21357         [__NR_pread64] (__NR_pread): Likewise.
21358         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21359         define.
21360         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21361         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21362         Remove define.
21363         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21364         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21365         Linux implementation as base.
21366         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21367         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21368         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21370         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21371         definition.
21372         (__ALIGNMENT_COUNT): Likewise.
21373         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21374         (__ALIGNMENT_COUNT): Likewise.
21375         (SYSCALL_LL): New define.
21376         (SYSCALL_LL64): Likewise.
21377         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21378         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21379         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21380         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21382         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21383         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21384         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21385         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21386         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21387         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21389 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21391         [BZ #19865]
21392         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21393         original buffer before retry.
21395 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21397         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21398         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21399         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21400         GLRO(dl_auxv) list.
21401         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21402         including <ldsodefs.h>.
21403         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21405 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21407         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21408         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21409         $(CPPFLAGS).
21411 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21413         [BZ #17950]
21414         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21415         Add -mfpmath=387.
21417 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21419         * sysdeps/i386/configure.ac: Change == to = when calling test.
21420         * sysdeps/x86_64/configure.ac: Likewise.
21421         * sysdeps/i386/configure: Regenerated.
21422         * sysdeps/x86_64/configure: Likewise.
21424 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21426         [BZ #16137]
21427         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21428         * benchtests/bench-strcoll.c (input_files): Likewise.
21429         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21430         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21431         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21433 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21435         [BZ #19929]
21436         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21437         [__USE_XOPEN2K8 && !__USE_GNU].
21438         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21439         variable.
21441         [BZ #19925]
21442         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21443         define if [!__USE_MISC && __USE_XOPEN2K].
21444         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21445         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21446         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21447         Likewise.
21448         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21449         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21450         variable.
21451         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21453 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21455         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21456         (sysdep_routines): Add new strspn targets.
21457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21458         (__libc_ifunc_impl_list): Add strspn.
21459         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21460         New file.
21461         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21462         Likewise.
21463         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21464         Likewise.
21465         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21466         Likewise.
21468 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21470         * misc/hsearch_r.c: Include <limits.h>.
21472 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21474         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21476 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21478         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21479         (MEMCPY_SYMBOL): New.
21480         (MEMPCPY_SYMBOL): Likewise.
21481         (MEMMOVE_CHK_SYMBOL): Likewise.
21482         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21483         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21484         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21485         Provide alias for memcpy in libc.a and ld.so.
21487 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21489         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21490         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21491         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21492         Disabled fro now.
21493         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21494         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21496 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21498         * benchtests/Makefile (string-benchset): Add memcpy-large,
21499         memmove-large and memset-large.
21500         * benchtests/bench-memcpy-large.c: New file.
21501         * benchtests/bench-memmove-large.c: Likewise.
21502         * benchtests/bench-memmove-large.c: Likewise.
21503         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21505 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21507         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21508         32-bit displacement to avoid long nop between instructions.
21510 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21512         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21513         a comment on VMOVU and VMOVA.
21515 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21517         [BZ #19633]
21518         Use specified locale for number formatting in strfmon_l.
21519         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21520         (__nl_lookup_word): New inline functions.
21521         * include/printf.h (__print_fp_l): Declare.
21522         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21523         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21524         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21525         (___printf_fp): New function.
21526         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21527         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21528         * stdlib/tst-strfmon_l.c (do_test): New test.
21529         * stdlib/Makefile (tests): Add kt.
21530         (LOCALES): Build additional locales.
21531         (tst-strfmon_l.out): Require locales.
21533 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21535         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21536         if not in libc.
21537         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21538         Likewise.
21539         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21540         Likewise.
21541         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21542         Likewise.
21544 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21546         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21547         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21548         with unaligned_erms.
21549         (__memmove_erms): Skip if source == destination.
21550         (__memmove_unaligned_erms): Don't check source == destination
21551         first.
21553 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21555         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21556         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21558 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21560         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21561         * string/strspn.c (strspn): Likewise.
21563 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21565         * benchtests/bench-memset.c (do_test): Support 64-byte
21566         alignment.
21567         (test_main): Test 64-byte alignment.
21569 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21571         * benchtests/bench-memmove.c (test_main): Test 64-byte
21572         alignment.
21574 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21576         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21578 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21580         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21581         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21582         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21584         * string/strpbrk.c (strpbrk): Rewrite function.
21585         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21586         (__strpbrk_c2): Likewise.
21587         (__strpbrk_c3): Likewise.
21588         * string/string-inlines.c
21589         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21590         Likewise.
21591         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21592         Likewise.
21594         * string/strspn.c (strcspn): Rewrite function.
21595         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21596         (__strspn_c1): Remove inline function.
21597         (__strspn_c2): Likewise.
21598         (__strspn_c3): Likewise.
21599         * string/string-inlines.c
21600         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21601         compatibility symbol.
21602         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21603         Likewise.
21604         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21605         Likewise.
21606         * string/string-inlines.c: Include generic version.
21608 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21609             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21611         * string/Version (libc): Add GLIBC_2.24.
21612         * string/strcspn.c (strcspn): Rewrite function.
21613         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21614         (__strcspn_c1): Remove inline function.
21615         (__strcspn_c2): Likewise.
21616         (__strcspn_c3): Likewise.
21617         * string/string-inline.c
21618         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21619         compatibility symbol.
21620         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21621         Likewise.
21622         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21623         Likewise.
21624         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21626 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21628         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21629         Use ahi instead of aghi to adjust stack pointer.
21631 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21633         [BZ #19853]
21634         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21635         TEST to take significant digits as second parameter.
21636         [TEST]: Redefine in terms of TEST_N taking 30
21637         significant digits.
21638         (do_test): Add test case to demonstrate precision
21639         failure in the ldbl-128ibm printf.
21640         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21641         (__mpn_extract_long_double): Carry 7 extra intermediate
21642         bits of precision to aide computing difference when
21643         signs differ.
21645 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21647         [BZ #19881]
21648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21649         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21650         memset-avx512-unaligned-erms.
21651         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21652         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21653         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21654         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21655         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21656         __memset_sse2_unaligned_erms, __memset_erms,
21657         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21658         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21659         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21660         file.
21661         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21662         Likewise.
21663         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21664         Likewise.
21665         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21666         Likewise.
21668 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21670         [BZ #19776]
21671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21672         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21673         memmove-avx512-unaligned-erms.
21674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21675         (__libc_ifunc_impl_list): Test
21676         __memmove_chk_avx512_unaligned_2,
21677         __memmove_chk_avx512_unaligned_erms,
21678         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21679         __memmove_chk_sse2_unaligned_2,
21680         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21681         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21682         __memmove_avx512_unaligned_erms, __memmove_erms,
21683         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21684         __memcpy_chk_avx512_unaligned_2,
21685         __memcpy_chk_avx512_unaligned_erms,
21686         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21687         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21688         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21689         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21690         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21691         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21692         __mempcpy_chk_avx512_unaligned_erms,
21693         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21694         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21695         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21696         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21697         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21698         __mempcpy_erms.
21699         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21700         file.
21701         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21702         Likewise.
21703         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21704         Likewise.
21705         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21706         Likewise.
21708 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21710         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21711         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21712         (La_s390_64_regs): Likewise.
21713         (La_s390_32_retval): Append vector register lrv_v24.
21714         (La_s390_64_retval): Likeweise.
21715         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21716         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21717         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21718         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21720 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21722         [BZ #19916]
21723         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21724         to create a non-vector/vector version for _dl_runtime_resolve and
21725         _dl_runtime_profile. Move implementation to ...
21726         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21727         (_dl_runtime_resolve) Save and restore fpr/vrs.
21728         (_dl_runtime_profile) Save and restore vrs and fix some issues
21729         if _dl_call_pltexit is called.
21730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21731         Choose the correct resolver function if running on a machine with vx.
21732         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21733         to create a non-vector/vector version for _dl_runtime_resolve and
21734         _dl_runtime_profile. Move implementation to ...
21735         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21736         (_dl_runtime_resolve) Save and restore fpr/vrs.
21737         (_dl_runtime_profile) Save and restore vrs and fix some issues
21738         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21739         Choose the correct resolver function if running on a machine with vx.
21741 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21743         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21745 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21747         [BZ #19509]
21748         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21749         skip_map != NULL.
21750         * elf/tst-dlsym-error.c: New file.
21751         * elf/Makefile (tests): Add tst-dlsym-error.
21752         (tst-dlsym-error): Link against libdl.
21754 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21756         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21757         (__ASSUME_FUTIMESAT): Remove macro.
21758         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21760 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21762         [BZ #19879]
21763         CVE-2016-3075
21764         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21765         copy name.
21767 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21769         [BZ #19837]
21770         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21771         error if parse_line fails.
21773 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21775         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21776         (index_cpu_ERMS): Likewise.
21777         (reg_ERMS): Likewise.
21779 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21781         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21782         PER_LINUX_FDPIC): Add.
21784 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21787         memcpy-avx512-no-vzeroupper.
21788         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21789         to ...
21790         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21791         (MEMCPY): Don't define.
21792         (MEMCPY_CHK): Likewise.
21793         (MEMPCPY): Likewise.
21794         (MEMPCPY_CHK): Likewise.
21795         (MEMPCPY_CHK): Renamed to ...
21796         (__mempcpy_chk_avx512_no_vzeroupper): This.
21797         (MEMPCPY_CHK): Renamed to ...
21798         (__mempcpy_chk_avx512_no_vzeroupper): This.
21799         (MEMCPY_CHK): Renamed to ...
21800         (__memmove_chk_avx512_no_vzeroupper): This.
21801         (MEMCPY): Renamed to ...
21802         (__memmove_avx512_no_vzeroupper): This.
21803         (__memcpy_avx512_no_vzeroupper): New alias.
21804         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21806 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21808         [BZ #18858]
21809         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21810         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21811         and mempcpy-avx512-no-vzeroupper.
21812         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21813         New.
21814         (MEMPCPY): Likewise.
21815         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21816         (MEMPCPY_CHK): New.
21817         (MEMPCPY): Likewise.
21818         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21819         (MEMPCPY): Likewise.
21820         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21821         (MEMPCPY): Likewise.
21822         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21823         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21824         Likewise.
21825         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21826         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21828 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21829              Amit Pawar  <Amit.Pawar@amd.com>
21831         [BZ #19583]
21832         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21833         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21834         processors.  Set Fast_Copy_Backward for AMD Excavator
21835         processors.
21836         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21837         New.
21838         (index_arch_Fast_Unaligned_Copy): Likewise.
21839         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21840         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21842 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21844         [BZ #19791]
21845         * resolv/res_send.c (close_and_return_error): New function.
21846         (send_dg): Initialize *resplen2 after reopen failure.  Call
21847         close_and_return_error for error returns.  On error paths without
21848         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21849         successful return.
21851 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21853         [BZ #19860]
21854         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21855         zero if the compiler does not provide the AVX512F bit.
21857 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21859         [BZ #19848]
21860         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21861         from 8 to 4.
21862         (__ieee754_powl): Compare integer exponent against 4 not 8.
21863         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21864         from 8 to 4.
21865         (__ieee754_powl): Compare integer exponent against 4 not 8.
21866         * math/auto-libm-test-in: Add more tests of pow.
21867         * math/auto-libm-test-out: Regenerated.
21868         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21871 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21873         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21874         Make code unconditional.
21875         [!__NR_utimensat]: Remove conditional code.
21876         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21877         Make code unconditional.
21878         [!__NR_utimensat]: Remove conditional code.
21879         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21880         Make code unconditional.
21881         [!__NR_utimensat]: Remove conditional code.
21883 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21885         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21886         Make code unconditional.
21888 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21890         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21891         call-clobbered %eax on retry path.
21892         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21894 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21896         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21897         Don't set %rcx twice before "rep movsb".
21899 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21901         [BZ #19583]
21902         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21903         inline.  Check family before setting family, model and
21904         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21905         bits here.
21906         (init_cpu_features): Replace HAS_CPU_FEATURE and
21907         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21908         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21909         for Intel processors with usable AVX2.  Call get_common_indeces
21910         for other processors with family == NULL.
21911         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21912         (CPU_FEATURES_ARCH_P): Likewise.
21913         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21914         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21916 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21918         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21919         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21920         $(shared-thread-library) instead of hardcoding the path to libpthread.
21922 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21924         * sysdeps/unix/sysv/linux/kernel-features.h
21925         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21926         * sysdeps/unix/sysv/linux/getdents.c
21927         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21928         [!have_no_getdents64_defined]: Likewise.
21929         (__GETDENTS): Remove __have_no_getdents64 conditional.
21931 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21933         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21934         Remove macro.
21935         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21936         <kernel-features.h>.
21937         (signalfd) [__NR_signalfd4]: Make code unconditional.
21938         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21940 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21942         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21943         style.
21945 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21947         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21948         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21949         __pthread_unwind.
21950         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21951         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21952         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21953         (__condvar_cleanup1): Likewise.
21955 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21957         [BZ #19822]
21958         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21959         move it to the final $@ location.
21961 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21963         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21964         access where posix_spawn success and pid argument is null.
21965         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21966         success case.
21968 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21970         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21972         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21974         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21975         and __fcntl.
21976         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21977         __fcntl only.
21978         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21979         adding attribute_hidden to __open and __fcntl.
21981         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21982         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21983         depend on libc-modules.h,
21984         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21986 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
21988         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21989         Remove macro.
21990         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21991         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21992         entry.
21994         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21995         Remove macro.
21996         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21997         include <kernel-features.h>.
21998         [!__ASSUME_FALLOCATE]: Remove conditional code.
21999         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22001 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22003         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22004         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22005         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22006         (_ZGVdN4v_cos_avx2): Likewise.
22007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22008         (_ZGVdN4v_cos): Likewise.
22009         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22010         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22011         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22012         (_ZGVdN4v_exp_avx2): Likewise.
22013         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22014         (_ZGVdN4v_exp): Likewise.
22015         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22016         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22017         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22018         (_ZGVdN4v_log_avx2): Likewise.
22019         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22020         (_ZGVdN4v_log): Likewise.
22021         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22022         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22023         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22024         (_ZGVdN4vv_pow_avx2): Likewise.
22025         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22026         (_ZGVdN4vv_pow): Likewise.
22027         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22028         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22029         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22030         (_ZGVdN4v_sin_avx2): Likewise.
22031         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22032         (_ZGVdN4v_sin): Likewise.
22033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22034         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22036         (_ZGVdN4vvv_sincos_avx2): Likewise.
22037         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22038         (_ZGVdN4vvv_sincos): Likewise.
22039         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22040         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22041         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22042         (_ZGVbN4v_cosf_sse4): Likewise.
22043         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22044         (_ZGVdN8v_cosf_avx2): Likewise.
22045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22046         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22047         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22048         (_ZGVbN4v_expf_sse4): Likewise.
22049         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22050         (_ZGVdN8v_expf_avx2): Likewise.
22051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22052         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22053         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22054         (_ZGVbN4v_logf_sse4): Likewise.
22055         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22056         (_ZGVdN8v_logf_avx2): Likewise.
22057         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22058         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22059         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22060         (_ZGVbN4vv_powf_sse4): Likewise.
22061         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22062         (_ZGVdN8vv_powf_avx2): Likewise.
22063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22064         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22065         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22066         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22067         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22068         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22070         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22072         (_ZGVbN4v_sinf_sse4): Likewise.
22073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22074         (_ZGVdN8v_sinf_avx2): Likewise.
22075         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22076         Use JUMPTARGET to call callee.
22077         (WRAPPER_IMPL_SSE2_ff): Likewise.
22078         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22079         (WRAPPER_IMPL_AVX): Likewise.
22080         (WRAPPER_IMPL_AVX_ff): Likewise.
22081         (WRAPPER_IMPL_AVX_fFF): Likewise.
22082         (WRAPPER_IMPL_AVX512): Likewise.
22083         (WRAPPER_IMPL_AVX512_ff): Likewise.
22084         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22085         Likewise.
22086         (WRAPPER_IMPL_SSE2_ff): Likewise.
22087         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22088         (WRAPPER_IMPL_AVX): Likewise.
22089         (WRAPPER_IMPL_AVX_ff): Likewise.
22090         (WRAPPER_IMPL_AVX_fFF): Likewise.
22091         (WRAPPER_IMPL_AVX512): Likewise.
22092         (WRAPPER_IMPL_AVX512_ff): Likewise.
22093         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22095 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22097         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22098         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22099         qualifier.
22100         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22101         internal_function qualifiers.
22103 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22105         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22106         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22107         * math/atest-exp.c (exp_mpn): Mark chk unused.
22108         * math/atest-exp2.c (exp_mpn): Likewise.
22109         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22110         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22112 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22115         Remove macro.
22116         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22117         <kernel-features.h>.
22118         [__NR_ppoll]: Make code unconditional.
22119         [!__ASSUME_PPOLL]: Remove conditional code.
22121         * sysdeps/unix/sysv/linux/kernel-features.h
22122         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22123         (__ASSUME_ACCEPT4): Likewise.
22124         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22125         Define.
22126         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22127         Likewise.
22128         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22129         Likewise.
22130         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22131         Likewise.
22132         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22133         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22134         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22135         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22136         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22140         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22143         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22144         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22145         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22146         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22148         Likewise.
22149         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22150         Likewise.
22151         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22152         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22153         0x040300].
22154         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22155         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22157         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22158         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22159         0x030300].
22160         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22162         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22163         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22164         0x040300].
22165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22167         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22168         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22169         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22170         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22171         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22172         0x030300].
22173         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22174         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22175         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22177         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22178         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22179         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22181         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22182         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22183         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22184         0x040300].
22185         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22187         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22188         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22189         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22190         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22191         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22192         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22193         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22194         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22196         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22197         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22198         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22199         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22200         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22202         Likewise.
22203         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22204         Likewise.
22206 2016-03-15  Andreas Schwab  <schwab@suse.de>
22208         [BZ #19257]
22209         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22210         statp->_u._ext.nscount as loop count.
22212 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22214         * math/test-signgam-finite-c99.c: Also #undef
22215         __LIBC_INTERNAL_MATH_INLINES.
22216         * math/test-signgam-main.c: Likewise.
22218 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22220         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22221         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22222         (MADV_FREE): Likewise.
22223         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22224         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22225         EPOLLEXCLUSIVE.
22227 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22229         * timezone/README: Remove mention of checktab.awk. Mention wiki
22230         SharedSourceFiles.
22232 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22234         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22235         WUNTRACED.
22237 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22239         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22240         order to match the type of p when calling atomic_exchange_acq().
22242 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22244         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22245         cfi_offset calls.
22246         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22247         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22248         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22249         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22250         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22252 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22254         * timezone/checktab.awk: Removed.
22256 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22258         * manual/math.texi (Errors in Math Functions): Document relaxed
22259         accuracy goals for IBM long double.
22260         * math/libm-test.inc (test_exceptions): Always allow spurious
22261         "underflow" and "inexact" exceptions for IBM long double.
22263 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22265         [BZ #19762]
22266         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22267         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22268         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22269         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22270         (bit_arch_*): This for feature array.
22271         (bit_*): Renamed to ...
22272         (bit_cpu_*): This for cpu array.
22273         (index_*): Renamed to ...
22274         (index_arch_*): This for feature array.
22275         (index_*): Renamed to ...
22276         (index_cpu_*): This for cpu array.
22277         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22278         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22279         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22280         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22281         bit_##name with index_cpu_##name and bit_cpu_##name.
22282         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22283         bit_##name with index_arch_##name and bit_arch_##name.
22285 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22287         [BZ #19792]
22288         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22289         Terminate FDE before return label.
22291 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22293         [BZ #19790]
22294         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22295         (rintl): Define as macro.
22296         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22297         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22298         of fesetround.  Ensure results are evaluated before end of scope.
22299         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22300         USE_AS_NEARBYINTL and include s_rintl.c.
22301         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22302         Disable exception traps in new environment.
22303         (libc_feholdsetround_ppc_ctx): Likewise.
22305 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22307         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22308         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22309         (tst_audit10_aux) [__AVX512F__]: ... here.
22311 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22313         * include/sys/auxv.h: New file.
22315 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22317         [BZ #19759]
22318         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22320 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22322         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22323         operand modifier.
22324         (feclearexcept): Likewise.
22326 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22328         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22329         to reflect the entire 32-bit HWCAP.
22330         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22331         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22333 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22335         [BZ #19783]
22336         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22337         $(test-via-rtld-prefix).
22338         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22340 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22342         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22343         union wait.  Report any non-zero exit status as error.
22345 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22347         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22348         configured with --enable-hardcoded-path-in-tests.
22350 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22352         [BZ #19677]
22353         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22354         (__ieee754_remainderl): Put zero low parts in canonical form.
22355         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22356         file.  Based on
22357         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22358         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22359         with wrapper round test-fmodrem-ldbl-128ibm.c.
22360         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22361         file.
22362         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22363         Likewise.
22364         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22365         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22367 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22369         [BZ #19610]
22370         * elf/ldconfig.c (opt_link): Update comment.
22371         (options): Update help string for option -X.
22372         (search_dir): Unlink stale symbolic link only if updating symbolic
22373         links.
22374         * elf/tst-ldconfig-X.sh: New file.
22375         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22376         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22378 2016-03-07  Andreas Schwab  <schwab@suse.de>
22380         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22381         needed arguments.
22383 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22385         [BZ #15333]
22386         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22387         to lstat64.
22389 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22391         * libio/filedoalloc.c (isatty): Remove.
22392         (local_isatty): Add comment.  Call __isatty directly.
22393         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22394         * libio/wfiledoalloc.c (isatty): Remove.
22395         (_IO_wfile_doallocate): Update comment.
22397 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22399         [BZ #19269]
22400         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22401         tst-audit4-aux.o.
22402         (tst-audit10): Depend on tst-audit10-aux.o.
22403         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22404         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22405         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22406         instead of inline AVX code.
22407         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22408         instead of inline AVX512 code.
22409         * sysdeps/x86_64/tst-audit4-aux.c: New file
22410         * sysdeps/x86_64/tst-audit10-aux.c: New file
22412         [BZ #19648]
22413         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22415 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22417         [BZ #14750]
22418         [BZ #10354]
22419         [BZ #18433]
22420         * include/sched.h (__clone): Add hidden prototype.
22421         (__clone2): Likewise.
22422         * include/unistd.h (__dup): Likewise.
22423         * posix/Makefile (tests): Add tst-spawn2.
22424         * posix/tst-spawn2.c: New file.
22425         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22426         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22427         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22428         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22429         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22430         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22431         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22432         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22433         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22434         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22435         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22437         Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22439         Likewise.
22440         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22441         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22442         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22443         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22444         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22445         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22446         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22447         * sysdeps/unix/sysv/linux/nptl-signals.h
22448         (____nptl_is_internal_signal): New function.
22449         * sysdeps/unix/sysv/linux/spawni.c: New file.
22451         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22452         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22453         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22454         * posix/tst-execvp2.c (do_test): Likewise.
22455         * posix/tst-execvp3.c (do_test): Likewise.
22456         * posix/tst-execvp4.c (do_test): Likewise.
22457         * posix/tst-execvpe1.c: New file.
22458         * posix/tst-execvpe2.c: Likewise.
22459         * posix/tst-execvpe3.c: Likewise.
22460         * posix/tst-execvpe4.c: Likewise.
22461         * posix/tst-execvpe5.c: Likewise.
22462         * posix/tst-execvpe6.c: Likewise.
22464         [BZ #19534]
22465         * posix/execl.c (execl): Remove dynamic memory allocation.
22466         * posix/execle.c (execle): Likewise.
22467         * posix/execlp.c (execlp): Likewise.
22469 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22471         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22472         Replace .text with .text.avx512.
22473         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22474         Likewise.
22476 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22478         * sysdeps/generic/libnsl.abilist: New file.
22479         * sysdeps/generic/libutil.abilist: New file.
22481 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22483         [BZ #19762]
22484         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22485         HAS_ARCH_FEATURE with Fast_Rep_String.
22486         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22487         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22488         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22489         Likewise.
22490         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22491         Likewise.
22492         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22493         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22494         Likewise.
22495         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22496         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22497         Likewise.
22499 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22501         [BZ #19745]
22502         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22503         with *%rax in call.
22505 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22507         [BZ #19745]
22508         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22509         with *__libc_start_main@GOTPCREL(%rip) in call.
22511 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22513         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22514         inside conditional for nonempty $(CXX).
22516         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22517         nonempty.
22519         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22520         to test for empty $(CXX) rather than $(CXX) of "no".
22522 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22524         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22526 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22527             H.J. Lu  <hongjiu.lu@intel.com>
22529         [BZ #18880]
22530         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22531         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22532         enable __memcpy_ssse3_back.
22534 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22536         [BZ #19758]
22537         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22538         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22540 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22542         [BZ #19490]
22543         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22544         (__fentry__): Likewise.
22546 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22548         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22549         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22551 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22553         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22554         __mcount_internal directly.
22555         (C_LABEL(__fentry__)): Likewise.
22556         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22557         directly.
22559 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22561         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22562         (__start_context): Call __setcontext directly.
22564 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22566         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22567         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22568         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22569         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22571         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22572         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22573         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22574         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22575         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22576         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22577         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22578         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22579         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22580         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22581         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22582         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22584         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22585         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22586         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22588         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22589         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22590         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22591         Remove conditional code.
22592         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22593         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22594         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22595         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22596         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22597         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22598         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22599         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22600         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22601         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22602         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22603         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22605 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22607         * NEWS (2.23): Fix typo in bug 19048 text.
22609 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22611         [BZ #14259]
22612         * Makeconfig: Rename msgcatdir to localedir.
22613         Rename inst_msgcatdir to inst_localedir.
22614         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22615         * config.make.in: Add localedir.
22616         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22617         (ldd-rewrite): Likewise.
22618         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22619         (install-others): Use inst_localedir.
22620         (CPPFLAGS): Use localedir.
22621         * locale/Makefile (locale-CPPFLAGS): Likewise.
22622         * po/Makefile (mo-installed): Use inst_localedir.
22624         [BZ #19575]
22625         * localedata/charmaps/GB18030: Update comments regarding PAU to
22626         non-PUA mappings.
22628 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22630         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22631         test for header.
22632         * sysdeps/unix/sysv/linux/configure: Regenerated.
22633         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22634         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22635         Remove conditional code.
22636         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22638         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22639         Define to 3.2.0.
22640         (arch_minimum_kernel): Likewise.
22641         * sysdeps/unix/sysv/linux/configure: Regenerated.
22642         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22643         Define to 2.6.32.
22644         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22645         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22646         (arch_minimum_kernel): Define to 2.6.32.
22647         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22648         * README: Document Linux 3.2 requirement.
22649         * manual/install.texi (Linux): Document Linux 3.2 headers
22650         requirement.
22651         * INSTALL: Regenerated.
22653 2016-02-24  Andreas Schwab  <schwab@suse.de>
22655         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22656         if !NO_LONG_DOUBLE.
22658 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22660         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22661         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22663 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22665         [BZ #19512]
22666         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22668 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22670         * posix/tst-dir.c: Include libc-internal.h.
22672 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22674         [BZ #19056]
22675         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22676         * manual/filesys.texi (Reading/Closing Directory): Mention
22677         deprecaion.
22678         * posix/tst-dir.c (main): Disable deprecation warning in test.
22680 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22682         [BZ #19679]
22683         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22684         Renamed to ...
22685         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22686         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22687         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22688         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22689         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22690         * sysdeps/x86_64/dl-trampoline.h
22691         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22692         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22694 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22696         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22698 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22700         * elf/elf.h (R_386_GOT32X): New.
22701         (R_386_NUM): Update.
22702         (R_X86_64_GOTPCRELX: New.
22703         (R_X86_64_REX_GOTPCRELX): New.
22704         (R_X86_64_NUM): Update.
22706 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22708         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22710 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22712         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22713         assign attr->stackaddr to it, and adjust it down when
22714         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22715         [_STACK_GROWS_UP]: Delete assert.
22716         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22717         Implement stack grows up logic.
22718         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22719         stack grows up logic.
22721 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22723         * NEWS: Update with 2.24 template.
22725 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22727         [BZ #19678]
22728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22729         Ensure +0.0 is returned when taking the next value below the least
22730         positive value.
22732 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22734         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22735         available.  Do not define NO_THREADS.
22736         * malloc/malloc.c: Do not check NO_THREADS.
22737         * malloc/arena.c: Likewise.
22739 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22741         * malloc/malloc.c (__libc_mallinfo): Update comment.
22742         (struct malloc_par): Remove max_total_mem member, it was always 0.
22743         (int_mallinfo): Store 0 into usmblks (no functional change).
22744         * malloc/hooks.c (struct malloc_state): Document that
22745         max_total_mem is always 0.
22746         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22747         always 0.
22748         * manual/memory.texi (Statistics of Malloc): Likewise.
22750 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22752         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22753         * malloc/arena.c (arena_max): Remove.
22754         (heap_trim, _int_new_arena): Do not update arena_max.
22756 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22758         * resolv/res_init.c (res_ninit): Update comment.
22760 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22762         [BZ #19505]
22763         * posix/spawn_int.h: Add headers and include guard.
22764         (__spawn_valid_fd): New function.
22765         * posix/spawn_faction_addopen.c
22766         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22767         * posix/spawn_faction_addclose.c
22768         (posix_spawn_file_actions_addclose): Likewise.
22769         * posix/spawn_faction_adddup2.c
22770         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22771         second file descriptor.
22772         * posix/spawn_valid_fd.c: New file.
22773         * posix/tst-posix_spawn-fd.c: New file.
22774         * posix/Makefile (routines): Add spawn_valid_fd.
22775         (tests): Add tst-posix_spawn-fd.
22777 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22779         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22780         (do_test): Limit the number of arenas, so that we can use fewer
22781         outer threads.  Limit timeout to 3 seconds, in preparation for a
22782         larger TIMEOUT value.
22784 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22786         [BZ #19674]
22787         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22788         sign in overflowing and underflowing results when overflow or
22789         underflow is detected early.  Include sign in result before rather
22790         than after scaling.
22792         [BZ #19603]
22793         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22794         (__ieee754_remainderl): Adjust sign of integer version of low part
22795         when taking absolute value of high part.
22796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22797         * math/libm-test.inc (remainder_test_data): Add another test.
22798         (remquo_test_data): Likewise.
22800 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22802         [BZ #19602]
22803         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22804         equal high parts and both low parts zero specially.
22805         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22806         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22807         Add test-fmodl-ldbl-128ibm.
22809         [BZ #19595]
22810         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22811         common logic for all cases of shifting subnormal results.  Do not
22812         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22813         exponent to ldbl_insert_mantissa in subnormal case.
22815         [BZ #19594]
22816         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22817         on high and low parts then adjust result and use
22818         ldbl_canonicalize_int if needed.
22820         [BZ #19593]
22821         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22822         on high part and __floor or __ceil on low part then use
22823         ldbl_canonicalize_int if needed.
22825         [BZ #19592]
22826         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22827         high and low parts then use ldbl_canonicalize_int if needed.
22829         [BZ #17899]
22830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22831         New function.
22832         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22833         on high and low parts then use ldbl_canonicalize_int if needed.
22835 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22837         * configure: Regenerated.
22839         * po/libc.pot: Regenerated.
22841         * po/be.po: Updated translation.
22842         * po/bg.po: Likewise.
22843         * po/ca.po: Likewise.
22844         * po/cs.po: Likewise.
22845         * po/da.po: Likewise.
22846         * po/el.po: Likewise.
22847         * po/eo.po: Likewise.
22848         * po/es.po: Likewise.
22849         * po/fi.po: Likewise.
22850         * po/fr.po: Likewise.
22851         * po/gl.po: Likewise.
22852         * po/hr.po: Likewise.
22853         * po/hu.po: Likewise.
22854         * po/ia.po: Likewise.
22855         * po/id.po: Likewise.
22856         * po/it.po: Likewise.
22857         * po/ja.po: Likewise.
22858         * po/lt.po: Likewise.
22859         * po/nb.po: Likewise.
22860         * po/nl.po: Likewise.
22861         * po/pt_BR.po: Likewise.
22862         * po/rw.po: Likewise.
22863         * po/sk.po: Likewise.
22864         * po/sl.po: Likewise.
22865         * po/sv.po: Likewise.
22866         * po/tr.po: Likewise.
22867         * po/zh_CN.po: Likewise.
22868         * po/zh_TW.po: Likewise.
22870         * version.h (RELEAES): Set to "development".
22871         (VERSION): Set to 2.23.90.
22873         * version.h (RELEASE): Set to "stable".
22874         (VERSION): Set to 2.23.
22875         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22877         * NEWS: Updated fixed bugs.
22879 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22880             Wilco Dijkstra  <wdijkstr@arm.com>
22882         [BZ #19462]
22883         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22884         (_STRING_INLINE_unaligned): This.
22885         * include/string.h: Include <string_private.h>.
22886         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22887         _STRING_INLINE_unaligned.
22888         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22889         (_STRING_INLINE_unaligned): New.
22890         * sysdeps/aarch64/string_private.h: New file.
22891         * sysdeps/generic/string_private.h: Likewise.
22892         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22893         * sysdeps/s390/string_private.h: Likewise.
22894         * sysdeps/x86/string_private.h: Likewise.
22895         * sysdeps/m68k/m680x0/m68020/bits/string.h
22896         (_STRING_ARCH_unaligned): Renamed to ...
22897         (_STRING_INLINE_unaligned): This.
22898         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22899         to ...
22900         (_STRING_INLINE_unaligned): This.
22901         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22902         to ...
22903         (_STRING_INLINE_unaligned): This.
22904         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22905         to ...
22906         (_STRING_INLINE_unaligned): This.
22908 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22909             H.J. Lu  <hongjiu.lu@intel.com>
22911         [BZ #19590]
22912         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22913         relocation.
22915 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22917         [BZ #18665]
22918         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22919         *herrno_p.
22920         (gaih_getanswer): Document functional behviour. Return tryagain
22921         if any result is tryagain.
22922         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22923         when freed.
22924         * resolv/res_send.c: Add copyright text.
22925         (__libc_res_nsend): Document that MAXPACKET is expected.
22926         (send_vc): Document. Remove buffer reuse.
22927         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22928         size of the buffer. Add Dprint for truncated UDP buffer.
22930 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22932         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22933         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22934         * INSTALL: Regenerate.
22936 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22937             Jonathan Wakely  <jwakely@redhat.com>
22938             Carlos O'Donell  <carlos@redhat.com>
22940         [BZ 19439]
22941         * math/Makefile (tests): Add test-math-isinff.
22942         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22943         * math/bits/mathcalls.h [__USE_MISC]: Use
22944         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22945         functions not in C++11 and which don't conflict e.g. isinff,
22946         isinfl etc.
22947         * math/test-math-isinff.cc: New file.
22949 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22951         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22953 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22955         [BZ #19529]
22956         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22958 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22960         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22962 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22964         [BZ #19550]
22965         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22966         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22967         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22968         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22969         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22970         New syscall entry.
22971         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22972         New syscall entry.
22973         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22974         syscall entry.
22976 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22978         [BZ #18240]
22979         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22980         unsigned int wraparound.
22982 2016-01-27  Florian Weimer  <fweimer@redhat.com>
22984         [BZ #18240]
22985         * misc/bug18240.c: New test.
22986         * misc/Makefile (tests): Add it.
22988 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
22989             Joseph Myers  <joseph@codesourcery.com>
22991         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22992         load in branch delay slot when less than a word of input left.
22994 2016-01-27  Andreas Schwab  <schwab@suse.de>
22996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22997         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22998         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22999         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23001 2016-01-26  David S. Miller  <davem@davemloft.net>
23003         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23005 2016-01-25  David S. Miller  <davem@davemloft.net>
23007         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23008         __sqrtl_finite.
23009         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23010         instead using versioned_symbol.
23011         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23012         of entries.
23014         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23015         __sqrtl_finite to GLIBC_2.23
23017 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23019         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23021 2016-01-25  Andreas Schwab  <schwab@suse.de>
23023         [BZ #17514]
23024         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23025         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23026         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23027         * nptl/tst-mutex-errorcheck.c: New file.
23029 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23031         [BZ #18560]
23032         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23033         (IPCOP_semop): Likewise.
23034         (IPCOP_semget): Likewise.
23035         (IPCOP_semctl): Likewise.
23036         (IPCOP_msgsnd): Likewise.
23037         (IPCOP_msgrcv): Likewise.
23038         (IPCOP_msgget): Likewise.
23039         (IPCOP_msgctl): Likewise.
23040         (IPCOP_shmat): Likewise.
23041         (IPCOP_shmdt): Likewise.
23042         (IPCOP_shmget): Likewise.
23043         (IPCOP_shmctl): Likewise.
23045 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23047         * string/tst-endian.c: Include <libc-internal.h>.
23048         (do_test): Ignore tautological-compare warnings around
23049         "htobeXX (beXXtoh (i)) != i" and
23050         "htoleXX (leXXtoh (i)) != i" if-statements.
23052 2016-01-24  David S. Miller  <davem@davemloft.net>
23054         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23055         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23056         alias.
23057         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23058         __sqrtl_finite.
23060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23062 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23064         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23065         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23066         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23068 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23070         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23071         (thread_func): Use new function to simplify barrier check.
23072         (do_test): Use new function to simplify checking barrier exit
23073         code, and actually join the child thread.
23075 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23077         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23078         semicolon.
23079         (__libc_tend): Likewise.
23080         (__libc_tabort): Likewise.
23082 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23084         * sysdeps/nios2/libm-test-ulps: Update.
23085         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23086         (__gtsf2): Likewise.
23087         (__unorddf2): Likewise.
23088         (__unordsf2): Likewise.
23089         (__ledf2): Likewise.
23091 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23093         * nis/nis_table.c (__follow_path): Disable diagnostic for
23094         uninitialized variable that is a false positive for gcc 4.7.
23095         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23097 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23099         * sysdeps/nacl/lowlevellock-futex.h
23100         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23101         Always evaluate PRIVATE argument.
23103 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23105         [BZ #19490]
23106         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23107         (pthread_cond_broadcast): Use ENTRY/END
23108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23109         (pthread_cond_signal): Likewise.
23110         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23111         Likewise.
23112         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23113         Likewise.
23114         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23115         Likewise.
23117 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23119         * sysdeps/ieee754/dbl-64/s_finite.c
23120         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23121         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23122         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23123         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23124         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23127         (__gtsf2): Add as optional for libc.so.
23128         (__unordsf2): Likewise.
23129         (__signbit): Remove for libc.so.
23130         (__signbitl): Likewise.
23132 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23134         * iconvdata/bug-iconv11.c (test_ibm93x):
23135         Use %zu printf format specifier for size_t argument.
23137 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23139         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23140         already-recorded ulps.
23141         * sysdeps/arm/libm-test-ulps: Regenerated.
23142         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23143         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23144         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23146 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23147             Paul Pluzhnikov  <ppluzhnikov@google.com>
23149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23150         assembler not supporting AVX-512.
23152 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23154         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23156 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23158         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23159         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23161         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23163         * sysdeps/arm/libm-test-ulps: Regenerated.
23165 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23167         [BZ #19451]
23168         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23170 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23172         [BZ #19486]
23173         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23174         * sysdeps/generic/fix-fp-int-convert-overflow.h
23175         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23176         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23177         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23178         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23179         Likewise.
23180         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23181         Avoid conversions to long int where inexact exceptions
23182         could be raised.
23183         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23184         Likewise.
23185         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23186         Avoid conversions to long long int where inexact exceptions
23187         could be raised.
23188         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23189         Likewise.
23191 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23193         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23194         * configure: Regenerated.
23196 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23198         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23200 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23202         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23203         outside of comment.
23205 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23207         * nptl/tst-barrier1.c: Add description on first line.
23208         * nptl/tst-barrier2.c: Likewise.
23209         * nptl/tst-barrier3.c: Likewise.
23210         * nptl/tst-barrier4.c: Likewise.
23211         * nptl/tst-barrier5.c: Likewise.
23213 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23215         [BZ #18868]
23216         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23218 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23222         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23223         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23224         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23225         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23226         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23227         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23228         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23229         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23232 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23234         [BZ #13065]
23235         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23236         new implementation.
23237         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23238         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23239         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23240         (BARRIER_IN_THRESHOLD): New macro.
23241         * nptl/pthread_barrierattr_setpshared.c
23242         (pthread_barrierattr_setpshared): Clean up.
23243         * nptl/tst-barrier4.c: Correct comment.
23244         * nptl/tst-barrier5.c: New file.
23245         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23246         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23247         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23248         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23249         * nptl/lowlevelbarrier.sym: Remove.
23250         * nptl/DESIGN-barrier.txt: Remove.
23251         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23252         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23253         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23254         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23255         error.
23256         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23257         implementation.
23259 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23261         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23262         (do_child): Mask SIGRTMIN while thr is running.
23264 2016-01-15  Martin Sebor  <msebor@redhat.com>
23266         [BZ #19432]
23267         * iconvdata/Makefile: Add bug-iconv11.
23268         * iconvdata/bug-iconv11.c: New test.
23269         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23270         * iconvdata/ibm933.c: Same.
23271         * iconvdata/ibm935.c: Same.
23272         * iconvdata/ibm937.c: Same.
23273         * iconvdata/ibm939.c: Same.
23275 2016-01-15  Martin Sebor  <msebor@redhat.com>
23277         [BZ #19443]
23278         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23279         [DEBUG] (_ufc_set_bits): Declare used.
23280         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23281         [DEBUG] (print_all): Declare used.
23282         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23283         operands of the ternary ?: expression to target type.
23284         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23285         calling the undeclared abort.
23286         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23288 2016-01-15  Martin Sebor  <msebor@redhat.com>
23290         [BZ #18755]
23291         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23292         warnings.
23293         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23294         (__gai_create_helper_thread): Same.
23295         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23296         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23297         to suppress -Wmaybe-uninitialized warnings.
23299 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23301         [BZ #19465]
23302         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23303         inside if.
23304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23305         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23306         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23308 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23310         [BZ #19466]
23311         * time/tst-mktime2.c (time_t_max): Removed.
23312         (time_t_min): Likewise.
23313         (TYPE_SIGNED): New.
23314         (TYPE_MINIMUM): Likewise.
23315         (TYPE_MAXIMUM): Likewise.
23316         (TIME_T_MIN): Likewise.
23317         (TIME_T_MAX): Likewise.
23318         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23319         and TIME_T_MIN.
23320         (do_test): Likewise.
23322 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23324         [BZ #19467]
23325         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23326         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23328 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23330         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23332 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23334         * benchtests/Makefile (PYTHON): Define.
23335         (bench-func): Use $(PYTHON) to run python scripts.
23336         ($(objpfx)bench-%.c): Likewise.
23338 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23340         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23341         leading slash when `file_name' is "/".
23343 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23345         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23346         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23347         Likewise.
23348         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23349         Likewise.
23350         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23351         Likewise.
23352         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23353         enum constant and macro.
23354         (PTRACE_SETSIGMASK): Likewise.
23355         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23356         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23357         (PTRACE_GETSIGMASK): Likewise.
23358         (PTRACE_SETSIGMASK): Likewise.
23359         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23360         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23361         Likewise.
23362         (PTRACE_SETSIGMASK): Likewise.
23363         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23364         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23365         (PTRACE_GETSIGMASK): Likewise.
23366         (PTRACE_SETSIGMASK): Likewise.
23367         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23368         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23369         Likewise.
23370         (PTRACE_SETSIGMASK): Likewise.
23371         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23372         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23373         Likewise.
23374         (PTRACE_SETSIGMASK): Likewise.
23375         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23376         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23377         Likewise.
23378         (PTRACE_SETSIGMASK): Likewise.
23379         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23381 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23382             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23384         [BZ #19439]
23385         * math/bits/mathcalls.h
23386         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23387         prototype.
23388         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23390 2016-01-11  Andreas Schwab  <schwab@suse.de>
23392         [BZ #19253]
23393         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23394         cache when TZDEFRULES was used.
23395         * time/tst-tzname.c: New file.
23396         * time/Makefile (test): Add tst-tzname.
23397         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23398         * timezone/Makefile (test-zones): Add $(posixrules-file).
23399         ($(testdata)/$(posixrules-file)): New rule.
23401 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23403         Fix doc quoting problems with Texinfo 5
23404         Without this change, in the info file output, Texinfo 5 quotes code
23405         in text with undirected single quotes 'like this' and generates
23406         code examples that with many PDF readers cannot be cut out of PDFs
23407         and pasted into code.
23408         * manual/libc.texinfo: Configure the libc manual like the GNU
23409         Emacs manual, by using @documentencoding and setting
23410         txicodequoteundirected and txicodequotebacktick.  This way,
23411         Texinfo 5 quotes code in text with directed single quotes ‘like
23412         this’ and produces examples that can be cut out of PDFs.  This
23413         change causes Texinfo 5 to generate info files that contain UTF-8
23414         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23415         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23417 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23419         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23420         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23421         barriers to their respective compiler built-ins.
23422         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23423         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23424         * sysdeps/powerpc/sysdep.h: Likewise.
23425         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23426         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23427         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23429 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23431         * scripts/config.guess: Revert previous shebang change.
23432         * scripts/config.sub: Likewise.
23433         * scripts/mkinstalldirs: Likewise.
23435 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23437         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23438         PPC_FEATURE2_HAS_IEEE128.
23439         * sysdeps/powerpc/dl-procinfo.c:
23440         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23442 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23444         [BZ #19415]
23445         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23446         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23447         (_dl_lookup_address): Rewrite using function resolver trampoline.
23448         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23449         two bits in address.
23451 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23453         * longlong.h: Change !__SHMEDIA__ to
23454         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23455         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23457 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23458             Joseph Myers  <joseph@codesourcery.com>
23459             Mark Shinwell  <shinwell@codesourcery.com>
23460             Andrew Stubbs  <ams@codesourcery.com>
23461             Rich Felker <dalias@libc.org>
23463         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23465 2016-01-07  Richard Henderson  <rth@redhat.com>
23467         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23469 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23471         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23472         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23473         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23474         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23475         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23477 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23478             Joseph Myers  <joseph@codesourcery.com>
23480         * timezone/private.h: Update from tzcode 2015g.
23481         * timezone/tzfile.h: Likewise.
23482         * timezone/tzselect.ksh: Likewise.
23483         * timezone/zdump.c: Likewise.
23484         * timezone/zic.c: Likewise.
23485         * timezone/ialloc.c: Remove file.
23486         * timezone/scheck.c: Likewise.
23487         * timezone/Makefile (extra-objs): Remove variable.
23488         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23489         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23490         -Wno-maybe-uninitialized.
23491         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23492         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23493         (CFLAGS-ialloc.c): Remove variable.
23494         (CFLAGS-scheck.c): Likewise.
23495         * timezone/README: Update list of files from tzcode.
23497 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23499         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23500         instead of __fxprintf when _LIBC is undefined.
23502 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23504         * catgets/test-gencat.sh: Remove space after shebang.
23505         * conform/GlibcConform.pm: Likewise.
23506         * conform/check-header-lists.sh: Likewise.
23507         * conform/conformtest.pl: Likewise.
23508         * conform/linknamespace.pl: Likewise.
23509         * conform/list-header-symbols.pl: Likewise.
23510         * debug/catchsegv.sh: Likewise.
23511         * elf/genrtldtbl.awk: Likewise.
23512         * elf/tst-pathopt.sh: Likewise.
23513         * elf/tst-rtld-load-self.sh: Likewise.
23514         * grp/tst_fgetgrent.sh: Likewise.
23515         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23516         * iconvdata/gen-8bit-gap.sh: Likewise.
23517         * iconvdata/gen-8bit.sh: Likewise.
23518         * iconvdata/run-iconv-test.sh: Likewise.
23519         * intl/tst-gettext.sh: Likewise.
23520         * intl/tst-gettext2.sh: Likewise.
23521         * intl/tst-gettext4.sh: Likewise.
23522         * intl/tst-gettext6.sh: Likewise.
23523         * intl/tst-translit.sh: Likewise.
23524         * io/ftwtest-sh: Likewise.
23525         * libio/test-freopen.sh: Likewise.
23526         * locale/gen-translit.pl: Likewise.
23527         * malloc/tst-mtrace.sh: Likewise.
23528         * manual/check-safety.sh: Likewise.
23529         * manual/libc-texinfo.sh: Likewise.
23530         * manual/tsort.awk: Likewise.
23531         * manual/xtract-typefun.awk: Likewise.
23532         * nptl/tst-cancel-wrappers.sh: Likewise.
23533         * nptl/tst-tls6.sh: Likewise.
23534         * posix/globtest.sh: Likewise.
23535         * posix/tst-getconf.sh: Likewise.
23536         * posix/wordexp-tst.sh: Likewise.
23537         * scripts/check-c++-types.sh: Likewise.
23538         * scripts/check-local-headers.sh: Likewise.
23539         * scripts/config.guess: Likewise.
23540         * scripts/config.sub: Likewise.
23541         * scripts/cpp: Likewise.
23542         * scripts/cross-test-ssh.sh: Likewise.
23543         * scripts/documented.sh: Likewise.
23544         * scripts/evaluate-test.sh: Likewise.
23545         * scripts/gen-libc-abis: Likewise.
23546         * scripts/gen-sorted.awk: Likewise.
23547         * scripts/list-fixed-bugs.py: Likewise.
23548         * scripts/merge-test-results.sh: Likewise.
23549         * scripts/mkinstalldirs: Likewise.
23550         * scripts/rellns-sh: Likewise.
23551         * scripts/test-installation.pl: Likewise.
23552         * scripts/update-copyrights: Likewise.
23553         * stdio-common/tst-printf.sh: Likewise.
23554         * stdio-common/tst-unbputc.sh: Likewise.
23555         * stdlib/tst-fmtmsg.sh: Likewise.
23556         * stdlib/tst-setcontext3.sh: Likewise.
23557         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23558         * sysdeps/unix/make-syscalls.sh: Likewise.
23560 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23562         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23563         asm stw with atomic_exchange_rel.  Add explanatory comment.
23564         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23565         Likewise.
23567 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23569         [BZ #19122]
23570         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23571         * sysdeps/generic/dl-unistd.h: New file.
23572         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23574 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23576          [BZ #19122]
23577          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23578          * sysdeps/generic/dl-mman.h: New file.
23579          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23581 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23583         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23584         trailing whitespace removed.
23585         * scripts/config.guess: Update to version 2016-01-01.
23586         * scripts/config.sub: Update to version 2016-01-01.
23587         * scripts/move-if-change: Update from gnulib.
23589 2016-01-04  Anton Blanchard  <anton@samba.org>
23591         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23592         for array indices.
23593         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23595 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23597         * NEWS: Update copyright dates.
23598         * catgets/gencat.c (print_version): Likewise.
23599         * csu/version.c (banner): Likewise.
23600         * debug/catchsegv.sh: Likewise.
23601         * debug/pcprofiledump.c (print_version): Likewise.
23602         * debug/xtrace.sh (do_version): Likewise.
23603         * elf/ldconfig.c (print_version): Likewise.
23604         * elf/ldd.bash.in: Likewise.
23605         * elf/pldd.c (print_version): Likewise.
23606         * elf/sotruss.sh: Likewise.
23607         * elf/sprof.c (print_version): Likewise.
23608         * iconv/iconv_prog.c (print_version): Likewise.
23609         * iconv/iconvconfig.c (print_version): Likewise.
23610         * locale/programs/locale.c (print_version): Likewise.
23611         * locale/programs/localedef.c (print_version): Likewise.
23612         * login/programs/pt_chown.c (print_version): Likewise.
23613         * malloc/memusage.sh (do_version): Likewise.
23614         * malloc/memusagestat.c (print_version): Likewise.
23615         * malloc/mtrace.pl: Likewise.
23616         * manual/libc.texinfo: Likewise.
23617         * nptl/version.c (banner): Likewise.
23618         * nscd/nscd.c (print_version): Likewise.
23619         * nss/getent.c (print_version): Likewise.
23620         * nss/makedb.c (print_version): Likewise.
23621         * posix/getconf.c (main): Likewise.
23622         * scripts/test-installation.pl: Likewise.
23623         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23625         * All files with FSF copyright notices: Update copyright dates
23626         using scripts/update-copyrights.
23627         * intl/plural.c: Regenerated.
23628         * locale/programs/charmap-kw.h: Likewise.
23629         * locale/programs/locfile-kw.h: Likewise.
23631 2016-01-02  Helge Deller  <deller@gmx.de>
23633         [BZ #19285]
23634         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23635         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23636         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23637         (MADV_xxK_PAGES): Remove.
23639 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23641         [BZ #15421]
23642         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23643         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23644         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23645         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23647 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23649         [BZ #19408]
23650         * sysdeps/unix/sysv/linux/personality.c: New file.
23651         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23652         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23653         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23654         (sysdep_routines): Add personality.
23655         (tests): Add tst-personality.
23656         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23658         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23659         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23660         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23661         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23662         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23663         Likewise.
23664         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23665         Likewise.
23666         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23667         Likewise.
23668         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23669         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23670         Likewise.
23672 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23674         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23675         (PATH_ARM_SYSTYPE): Remove.
23676         (PATH_CPUINFO): Likewise.
23677         (IO_BASE_FOOTBRIDGE): Likewise.
23678         (IO_SHIFT_FOOTBRIDGE): Likewise.
23679         (struct platform): Likewise.
23680         (init_iosys): Remove compatibility code for 2.4 kernels.
23681         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23683 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23685         * malloc/tst-malloc-thread-fail.c: New file.
23686         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23687         (tst-malloc-thread-fail): Link against libpthread.
23689 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23691         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23692         (get_parser): New function.
23693         (main): New function.
23695 2015-12-29  Rob Wu  <rob@robwu.nl>
23697         [BZ #19369]
23698         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23700 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23702         [BZ #19270]
23703         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23705 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23707         [BZ #15421]
23708         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23710 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23712         [BZ #13690]
23713         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23714         after releasing it.
23715         (__lll_robust_unlock): Likewise.
23716         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23717         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23718         (lll_robust_unlock): Likewise.
23719         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23720         Prevent warnings in callers.
23722 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23724         * malloc/arena.c (list_lock): Update comment.
23726 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23728         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23729         __parse_hwcap_and_convert_at_platform to libc.a.
23731 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23733         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23734         platform and feature support for POWER9.
23735         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23736         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23737         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23738         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23739         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23740         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23741         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23742         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23744 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23746         Harmonize generic stdio-lock support with nptl
23748         This fixes build when _IO_funlockfile is a macro, fixes build where
23749         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23750         stack unwind.
23752         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23753         _IO_release_lock ): Use cleanup attribute on new
23754         _IO_acquire_lock_file variable instead of assuming that
23755         _IO_release_lock will be called.
23756         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23757         _IO_acquire_lock_needs_exceptions_enabled.
23758         (_IO_acquire_lock_clear_flags2): New macro.
23760 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23762         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23764 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23766         [BZ #19182]
23767         * malloc/arena.c (list_lock): Document lock ordering requirements.
23768         (free_list_lock): New lock.
23769         (ptmalloc_lock_all): Comment on free_list_lock.
23770         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23771         (detach_arena): Update comment.  free_list_lock is now needed.
23772         (_int_new_arena): Use free_list_lock around detach_arena call.
23773         Acquire arena lock after list_lock.  Add comment, including FIXME
23774         about incorrect synchronization.
23775         (get_free_list): Switch to free_list_lock.
23776         (reused_arena): Acquire free_list_lock around detach_arena call
23777         and attached threads counter update.  Add two FIXMEs about
23778         incorrect synchronization.
23779         (arena_thread_freeres): Switch to free_list_lock.
23780         * malloc/malloc.c (struct malloc_state): Update comments to
23781         mention free_list_lock.
23783 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23785         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23786         Remove functions.
23787         (sloww, sloww1): Accept argument to offset quadrant.
23788         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23789         quadrant.
23790         (__sin, __cos): Consolidate common code into new functions.
23791         (reduce_sincos_1, do_sincos_1): New functions.
23792         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23794         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23795         code to new functions.
23796         (reduce_sincos_2, do_sincos_2): New functions.
23797         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23799         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23800         common code for sincos.
23801         (__cos) [!IN_SINCOS]: Likewise.
23802         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23803         New function.
23804         (__sincos): Use it.
23806 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23808         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23809         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23810         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23812 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23814         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23817         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23818         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23819         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23820         index_Prefer_No_VZEROUPPER): New feature.
23821         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23822         Prefer_No_VZEROUPPER for Knights Landing.
23824 015-12-18  Torvald Riegel  <triegel@redhat.com>
23826         * math/atest-exp2.c (mp_exp_m1): Remove.
23828 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23830         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23831         syscalls.
23832         (__SYSCALL0): New macro.
23833         (__SYSCALL1): Likewise.
23834         (__SYSCALL2): Likewise.
23835         (__SYSCALL3): Likewise.
23836         (__SYSCALL4): Likewise.
23837         (__SYSCALL5): Likewise.
23838         (__SYSCALL6): Likewise.
23839         (__SYSCALL_CONCAT_X): Likewise.
23840         (__SYSCALL_CONCAT): Likewise.
23841         (__SYSCALL_DIST): Likewise.
23842         (__SYSCALL_CALL): Likewise.
23844 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23846         [BZ #19363]
23847         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23849 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23851         [BZ #19375]
23852         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23853         negative subnormals.
23855 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23858         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23859         (INTERNAL_SYSCALL_NCS): Use it.
23860         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23862 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23864         [BZ #19243]
23865         * malloc/arena.c (get_free_list): Remove assert and adjust
23866         reference count handling.  Add comment about reused_arena
23867         interaction.
23868         (reused_arena): Add comments abount get_free_list interaction.
23869         * malloc/tst-malloc-thread-exit.c: New file.
23870         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23871         (tst-malloc-thread-exit): Link against libpthread.
23873 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23875         [BZ #19367]
23876         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23877         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23878         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23879         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23880         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23882 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23884         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23885         Silvermont optimizations for Knights Landing.
23887 2015-12-15  Andreas Schwab  <schwab@suse.de>
23889         [BZ #17197]
23890         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23891         immediately after emitting SI.
23892         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23893         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23894         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23895         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23896         * iconvdata/bug-iconv10.c: New file.
23897         * iconvdata/Makefile (tests): Add bug-iconv10.
23898         ($(objpfx)bug-iconv10.out): New rule.
23900 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23902         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23903         aliasing violation.
23905 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23907         [BZ #18472]
23908         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23909         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23910         conditionals for them.
23911         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23912         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23914         sys/kdaemon.h.
23915         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23916         compat-only syscall, obsoleted in glibc 2.23.
23917         (create_module): Likewise.
23918         (get_kernel_syms): Likewise.
23919         (query_module): Likewise.
23920         (uselib): Likewise.
23921         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23923 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23925         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23926         <linux/version.h>.
23927         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23928         conditional code.
23929         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23930         and ioshift_name initialization.
23932 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23934         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23935         Fix indentation.
23937 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23939         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23941 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23943         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23945 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23946             Jakub Wilk  <jwilk@debian.org>
23948         [BZ #19347]
23949         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23950         to change the group of the device to the tty group.
23952 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23954         Split large string section; add truncation advice
23955         * manual/examples/strncat.c: Remove.
23956         This example was misleading, as the code would have undefined
23957         behavior if "hello" was longer than SIZE.  Anyway, the manual
23958         shouldn't encourage strncpy+strncat for this sort of thing.
23959         * manual/string.texi (Copying Strings and Arrays): Split into
23960         three sections Copying Strings and Arrays, Concatenating Strings,
23961         and Truncating Strings, as this section was way too long.  All
23962         cross-referenced changed.  Add advice about string-truncation
23963         functions.  Remove misleading strncat example.
23965 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23967         * manual/nss.texi (NSS Modules Interface): Document
23968         NSS_STATUS_NOTFOUND and SUCCESS.
23970 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23972         [BZ 18568]
23973         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23974         201505L, for Unicode 8.
23976 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23978         * locale/C-translit.h: Regenerate.
23980 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23982         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23983         and U+0153.
23985 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
23987         [BZ #19351]
23988         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23989         expanding log(1+z), compare z rather than its square with epsilon
23990         to determine when to avoid evaluating the expansion.
23992         [BZ #19350]
23993         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23994         Increase overflow threshold.
23996         [BZ #19349]
23997         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23998         when small.
24000         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24001         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24002         New macro.
24003         [__LINUX_KERNEL_VERSION >= 0x040300]
24004         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24005         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24006         Likewise.
24007         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24008         Likewise.
24009         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24010         Likewise.
24011         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24012         Likewise.
24013         [__LINUX_KERNEL_VERSION >= 0x040300]
24014         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24015         [__LINUX_KERNEL_VERSION >= 0x040300]
24016         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24017         [__LINUX_KERNEL_VERSION >= 0x040300]
24018         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24019         [__LINUX_KERNEL_VERSION >= 0x040300]
24020         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24021         [__LINUX_KERNEL_VERSION >= 0x040300]
24022         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24023         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24024         Likewise.
24025         [__LINUX_KERNEL_VERSION >= 0x040300]
24026         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24027         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24028         Likewise.
24029         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24030         Likewise.
24031         [__LINUX_KERNEL_VERSION >= 0x040300]
24032         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24033         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24034         Likewise.
24035         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24036         Likewise.
24037         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24039         Likewise.
24040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24041         Likewise.
24042         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24043         Likewise.
24044         [__LINUX_KERNEL_VERSION >= 0x040300]
24045         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24047         Likewise.
24048         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24049         Likewise.
24050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24051         Likewise.
24052         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24053         Likewise.
24054         [__LINUX_KERNEL_VERSION >= 0x040300]
24055         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24056         [__LINUX_KERNEL_VERSION >= 0x040300]
24057         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24058         [__LINUX_KERNEL_VERSION >= 0x040300]
24059         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24060         [__LINUX_KERNEL_VERSION >= 0x040300]
24061         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24062         [__LINUX_KERNEL_VERSION >= 0x040300]
24063         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24065         Likewise.
24066         [__LINUX_KERNEL_VERSION >= 0x040300]
24067         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24068         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24069         Likewise.
24070         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24071         Likewise.
24072         [__LINUX_KERNEL_VERSION >= 0x040300]
24073         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24074         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24075         Likewise.
24076         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24077         Likewise.
24078         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24079         (__ASSUME_SOCKET_SYSCALL): Likewise.
24080         (__ASSUME_BIND_SYSCALL): Likewise.
24081         (__ASSUME_CONNECT_SYSCALL): Likewise.
24082         (__ASSUME_LISTEN_SYSCALL): Likewise.
24083         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24084         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24085         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24086         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24087         (__ASSUME_SEND_SYSCALL): Likewise.
24088         (__ASSUME_SENDTO_SYSCALL): Likewise.
24089         (__ASSUME_RECV_SYSCALL): Likewise.
24090         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24091         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24092         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24093         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24094         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24095         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24096         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24097         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24098         Likewise.
24099         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24100         Likewise.
24101         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24102         Likewise.
24103         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24104         Likewise.
24105         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24106         Likewise.
24107         [__LINUX_KERNEL_VERSION >= 0x020625]
24108         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24109         [__LINUX_KERNEL_VERSION >= 0x020625]
24110         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24111         [__LINUX_KERNEL_VERSION >= 0x020625]
24112         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24113         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24114         Likewise.
24115         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24116         Likewise.
24117         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24118         Likewise.
24119         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24120         Likewise.
24121         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24122         Likewise.
24123         [__LINUX_KERNEL_VERSION >= 0x020625]
24124         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24125         [__LINUX_KERNEL_VERSION >= 0x020625]
24126         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24127         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24128         Likewise.
24129         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24130         Likewise.
24132 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24134         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24135         record the current if the current ABI and CPU support the FP64
24136         extension.
24137         (has-modd-spreg): Define to record the current if the current ABI and
24138         CPU support 32-bit floating point values in odd FPU registers.
24139         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24140         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24141         $(has-modd-spreg) equals yes.
24142         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24143         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24144         $(has-modd-spreg) equal yes.
24146 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24148         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24149         basename.
24151 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24153         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24154         (bench-string): ... here.
24155         (bench): Add bench-string.
24156         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24157         to *-benchset to reflect what they are.
24158         (benchset): Adjust.
24160         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24161         cos-inputs.
24163 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24165         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24166         __attribute__ ((__simd__)) for vector math function declarations.
24168 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24170         Fix typo in strncat, wcsncat manual entries
24171         * manual/string.texi (Copying and Concatenation): Fix typos in
24172         sample implementations of strncat and wcsncat, by having them use
24173         the old value of the destination length, not the new one.
24175 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24177         [BZ #16961]
24178         [BZ #16962]
24179         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24180         string on the stack for strtod.
24181         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24182         a string on the stack for strtof.
24183         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24184         constructing a string on the stack for strtold.
24185         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24186         __strtold_nan to GLIBC_PRIVATE.
24187         * math/test-nan-overflow.c: New file.
24188         * math/test-nan-payload.c: Likewise.
24189         * math/Makefile (tests): Add test-nan-overflow and
24190         test-nan-payload.
24192 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24194         Consistency about byte vs character in string.texi
24195         * manual/string.texi (String and Array Utilities):
24196         Distinguish more carefully among bytes, multibyte characters,
24197         and wide characters.  Use "byte" when talking about C 'char',
24198         to distinguish it more clearly from multibyte characters.
24199         Say "wide character" or "multibyte character" instead of
24200         "character", when a wide or multibyte character is intended.
24201         Similarly for "multibyte string" versus "string".
24202         Define these terms more carefully.
24204 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24206         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24207         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24208         Likewise.
24209         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24210         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24211         * sysdeps/sh/math_private.h: New file.
24212         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24213         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24214         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24215         long double function name.
24216         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24217         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24218         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24219         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24222         Remove __finitel, __isinfl, and __isnanl.
24223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24224         Likewise.
24225         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24227         Remove __finitel.
24228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24229         Likewise.
24230         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24232 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24234         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24235         installed libmvec_nonshared.a.
24237 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24239         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24240         (sysdep_routines): Likewise.
24241         (sysdep-rtld-routines): Likewise.
24242         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24243         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24244         * sysdeps/powerpc/Versions: Added new
24245         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24246         * sysdeps/powerpc/hwcapinfo.c: New file.
24247         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24248         and parse hwcap, hwcap2 and platform number information.
24249         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24250         to store HWCAP+HWCAP2 and platform number.
24251         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24252         for HWCAP+HWCAP2 and platform number in the TCB.
24253         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24254         the HWCAP, HWCAP2 and platform number in the TCB.
24255         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24256         (TLS_INIT_TP): Included calls to add the hwcap and
24257         at_platform values in the TCB in TP initialization.
24258         (TLS_DEFINE_INIT_TP): Likewise.
24259         (THREAD_GET_HWCAP): New macro.
24260         (THREAD_SET_HWCAP): Likewise.
24261         (THREAD_GET_AT_PLATFORM): Likewise.
24262         (THREAD_SET_AT_PLATFORM): Likewise.
24263         * sysdeps/powerpc/powerpc32/dl-machine.h:
24264         (dl_platform_init): New function that calls
24265         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24266         powerpc32.
24267         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24268         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24269         this functionality, static linking case.
24270         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24271         linking case.
24272         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24273         __parse_hwcap_and_convert_at_platform for the static linking case.
24274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24275         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24276         ABI list for GLIBC 2.23.
24277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24278         Likewise.
24279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24280         Likewise.
24282 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24284         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24285         * configure: Regenerate.
24286         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24287         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24289 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24291         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24292         * iconvdata/ibm933.c: Likewise.
24293         * iconvdata/ibm935.c: Likewise.
24294         * iconvdata/ibm937.c: Likewise.
24295         * iconvdata/ibm939.c: Likewise.
24297 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24299         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24300         pthread_join.
24301         * nptl/tst-cancel21.c (tf): Likewise.
24303 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24305         [BZ #19313]
24306         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24307         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24308         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24309         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24310         Likewise.
24311         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24312         Likewise.
24313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24314         Likewise.
24315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24316         Likewise.
24317         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24318         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24319         unsigned long int with __CPU_MASK_TYPE.
24321 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24323         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24325 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24327         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24328         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24329         t512.x.
24330         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24332 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24334         [BZ #19214]
24335         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24336         argument to return extended model.  Update family and model
24337         with extended family and model when family == 0x0f.
24338         (init_cpu_features): Updated.
24340 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24342         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24343         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24345         * sysdeps/mach/hurd/mmap64.c: New file.
24347 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24349         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24350         rights for its main user thread in NEWTASK.
24352 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24354         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24355         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24357 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24359         [BZ #14259]
24360         * Makeconfig: Rename localedir to complocaledir.
24361         Rename inst_localedir to inst_complocaledir.
24362         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24363         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24364         * configure.ac: Use libc_cv_complocaledir.
24365         * configure: Regenerate.
24366         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24367         -DCOMPLOCALEDIR.
24368         * locale/findlocale.c: Use COMPLOCALEDIR.
24369         * locale/loadarchive.c: Likewise.
24370         * locale/programs/locale.c: Likewise.
24371         * locale/programs/localedef.c: Likewise.
24372         * locale/programs/locarchive.c: Likewise.
24373         * localedata/Makefile: Use inst_complocaledir.
24374         * sysdeps/gnu/configure: Regenerate.
24375         * sysdeps/hppa/configure: Regenerate.
24376         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24377         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24379         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24380         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24381         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24382         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24384 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24386         [BZ #19058]
24387         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24388         AS_NEEDED.
24389         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24390         workaround.
24391         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24392         libmvec-static-only-routines): Added new file.
24393         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24395 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24397         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24398         of interrupted RPC instead of restoring it.
24400         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24401         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24402         libc_hidden_def.
24403         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24404         into initialized data instead of common. Define rtld_hidden_data_def.
24405         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24406         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24407         libc_hidden_def.
24408         (if_freenameindex): Add libc_hidden_weak.
24409         (if_nameindex): Add libc_hidden_weak.
24410         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24411         __open64.
24412         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24413         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24414         * sysdeps/mach/nanosleep.c: Include <time.h>
24415         (__nanosleep): Rename to __libc_nanosleep.
24416         (__nanosleep): Add weak_alias.
24417         (nanosleep): Update alias.
24419 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24421         * stdlib/strtod_nan.c: New file.
24422         * stdlib/strtod_nan_double.h: Likewise.
24423         * stdlib/strtod_nan_float.h: Likewise.
24424         * stdlib/strtod_nan_main.c: Likewise.
24425         * stdlib/strtod_nan_narrow.h: Likewise.
24426         * stdlib/strtod_nan_wide.h: Likewise.
24427         * stdlib/strtof_nan.c: Likewise.
24428         * stdlib/strtold_nan.c: Likewise.
24429         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24430         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24431         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24432         * wcsmbs/wcstod_nan.c: Likewise.
24433         * wcsmbs/wcstof_nan.c: Likewise.
24434         * wcsmbs/wcstold_nan.c: Likewise.
24435         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24436         strtold_nan.
24437         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24438         wcstof_nan.
24439         * include/stdlib.h (__strtof_nan): Declare and use
24440         libc_hidden_proto.
24441         (__strtod_nan): Likewise.
24442         (__strtold_nan): Likewise.
24443         (__wcstof_nan): Likewise.
24444         (__wcstod_nan): Likewise.
24445         (__wcstold_nan): Likewise.
24446         * include/wchar.h (____wcstoull_l_internal): Declare.
24447         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24448         (____strtoull_l_internal): Remove declaration.
24449         (STRTOF_NAN): Define macro.
24450         (SET_MANTISSA): Remove macro.
24451         (STRTOULL): Likewise.
24452         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24453         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24454         (STRTOF_NAN): Define macro.
24455         (SET_MANTISSA): Remove macro.
24456         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24457         (SET_MANTISSA): Remove macro.
24458         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24459         macro.
24460         (SET_MANTISSA): Remove macro.
24461         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24462         macro.
24463         (SET_MANTISSA): Remove macro.
24464         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24465         (SET_MANTISSA): Remove macro.
24466         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24467         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24468         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24470         [BZ #19266]
24471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24472         upper case and lower case letters inside NAN(), not using TOLOWER.
24473         * stdlib/tst-strtod-nan-locale-main.c: New file.
24474         * stdlib/tst-strtod-nan-locale.c: Likewise.
24475         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24476         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24477         Depend on $(gen-locales).
24478         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24479         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24480         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24481         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24482         Depend on $(gen-locales).
24483         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24485 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24487         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24489         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24491         __finitel, __isinfl, and __isnanl.
24492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24493         Likewise.
24494         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24496         __finitel.
24497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24498         Likewise.
24499         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24501 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24503         * malloc/memusage.c (me): Remove redundant getenv call.
24505 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24507         [BZ #19143]
24508         [BZ #19164]
24509         * nptl/check-cpuset.h: Remove.
24510         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24511         Remove CPU set size check.
24512         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24513         Likewise.
24514         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24515         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24516         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24517         (__pthread_setaffinity_new): Remove CPU set size check.
24518         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24519         (__kernel_cpumask_size): Remove.
24520         (__sched_setaffinity_new): Remove CPU set size check.
24521         * manual/threads.texi (Default Thread Attributes): Remove stale
24522         reference to check_cpuset_attr, determine_cpumask_size in comment.
24523         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24524         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24525         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24526         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24527         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24528         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24529         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24530         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24531         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24532         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24533         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24534         skeleton test file.
24535         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24536         tst-affinity-pid.
24538 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24540         * scripts/update-abilist.sh: New file.
24541         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24542         * Makerules (update-all-abi-%, update-all-abi)
24543         (subdir_update-all-abi): New targets.
24544         * elf/Makefile (update-all-abi): New target.
24546 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24548         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24549         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24550         (__libc_lock_define_initialized): Use it.
24551         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24552         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24553         * malloc/malloc.c (main_arena): Likewise.
24554         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24555         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24557 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24559         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24560         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24561         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24562         (PTRACE_O_MASK): Update value.
24563         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24564         New value in enum __ptrace_setoptions.
24565         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24566         (PTRACE_O_MASK): Update value.
24567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24568         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24569         (PTRACE_O_MASK): Update value.
24570         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24571         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24572         (PTRACE_O_MASK): Update value.
24573         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24574         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24575         (PTRACE_O_MASK): Update value.
24576         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24577         New value in enum __ptrace_setoptions.
24578         (PTRACE_O_MASK): Update value.
24579         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24580         New value in enum __ptrace_setoptions.
24581         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24582         (PTRACE_O_MASK): Update value.
24584         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24585         New macro.
24586         (PACKET_AUXDATA): Likewise.
24587         (PACKET_ORIGDEV): Likewise.
24588         (PACKET_VERSION): Likewise.
24589         (PACKET_HDRLEN): Likewise.
24590         (PACKET_RESERVE): Likewise.
24591         (PACKET_TX_RING): Likewise.
24592         (PACKET_LOSS): Likewise.
24593         (PACKET_VNET_HDR): Likewise.
24594         (PACKET_TX_TIMESTAMP): Likewise.
24595         (PACKET_TIMESTAMP): Likewise.
24596         (PACKET_FANOUT): Likewise.
24597         (PACKET_TX_HAS_OFF): Likewise.
24598         (PACKET_QDISC_BYPASS): Likewise.
24599         (PACKET_ROLLOVER_STATS): Likewise.
24600         (PACKET_FANOUT_DATA): Likewise.
24601         (PACKET_MR_UNICAST): Likewise.
24603         [BZ #19242]
24604         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24605         (TOUPPER): Likewise.
24606         * stdlib/tst-strtol-locale-main.c: New file.
24607         * stdlib/tst-strtol-locale.c: Likewise.
24608         * stdlib/Makefile (tests): Add tst-strtol-locale.
24609         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24610         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24611         Depend on $(gen-locales).
24612         * wcsmbs/tst-wcstol-locale.c: New file.
24613         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24614         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24615         tr_TR.ISO-8859-9.
24616         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24617         Depend on $(gen-locales).
24619 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24621         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24622         __glibc_likely instead of __builtin_expect.  After falling back to
24623         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24624         system interface to register the code pages as occupied.
24626 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24628         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24629         [!ARM_MATH_PRIVATE_H].
24630         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24631         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24632         [!HPPA_MATH_PRIVATE_H].
24633         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24634         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24635         to [!I386_MATH_PRIVATE_H].
24636         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24637         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24638         Change guard to [!M68K_MATH_PRIVATE_H].
24639         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24640         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24641         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24642         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24643         macro.
24644         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24645         [!MIPS_MATH_PRIVATE_H].
24646         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24647         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24648         [!NIO2_MATH_PRIVATE_H].
24649         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24650         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24651         [!TILE_MATH_PRIVATE_H].
24652         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24654         [BZ #15421]
24655         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24656         initialize with 0 and define as weak alias of __signgam.
24657         * include/math.h [!_ISOMAC] (__signgam): Declare.
24658         * math/Makefile (libm-calls): Add w_lgamma_compat.
24659         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24660         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24661         test-signgam-ullong-init.
24662         (tests-static): Add test-signgam-uchar-static,
24663         test-signgam-uchar-init-static, test-signgam-uint-static,
24664         test-signgam-uint-init-static, test-signgam-ullong-static and
24665         test-signgam-ullong-init-static.
24666         (CFLAGS-test-signgam-uchar.c): New variable.
24667         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24668         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24669         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24670         (CFLAGS-test-signgam-uint.c): Likewise.
24671         (CFLAGS-test-signgam-uint-init.c): Likewise.
24672         (CFLAGS-test-signgam-uint-static.c): Likewise.
24673         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24674         (CFLAGS-test-signgam-ullong.c): Likewise.
24675         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24676         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24677         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24678         * math/Versions (libm): Add GLIBC_2.23.
24679         * math/lgamma-compat.h: New file.
24680         * math/test-signgam-main.c: Likewise.
24681         * math/test-signgam-uchar-init-static.c: Likewise.
24682         * math/test-signgam-uchar-init.c: Likewise.
24683         * math/test-signgam-uchar-static.c: Likewise.
24684         * math/test-signgam-uchar.c: Likewise.
24685         * math/test-signgam-uint-init-static.c: Likewise.
24686         * math/test-signgam-uint-init.c: Likewise.
24687         * math/test-signgam-uint-static.c: Likewise.
24688         * math/test-signgam-uint.c: Likewise.
24689         * math/test-signgam-ullong-init-static.c: Likewise.
24690         * math/test-signgam-ullong-init.c: Likewise.
24691         * math/test-signgam-ullong-static.c: Likewise.
24692         * math/test-signgam-ullong.c: Likewise.
24693         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24694         wrapper of w_lgamma_main.c.
24695         * math/w_lgamma_compat.c: New file.
24696         * math/w_lgamma_compatf.c: Likewise.
24697         * math/w_lgamma_compatl.c: Likewise.
24698         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24699         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24700         defining compatibility symbols.
24701         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24702         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24703         wrapper of w_lgammaf_main.c.
24704         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24705         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24706         defining compatibility symbols.
24707         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24708         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24709         wrapper of w_lgammal_main.c.
24710         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24711         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24712         defining compatibility symbols.
24713         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24714         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24715         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24716         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24717         <lgamma-compat.h>.
24718         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24719         (__ieee754_gamma): Define as alias.
24720         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24721         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24722         <lgamma-compat.h>.
24723         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24724         (__ieee754_gammaf): Define as alias.
24725         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24726         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24727         <lgamma-compat.h>.
24728         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24729         (__ieee754_gammal): Define as alias.
24730         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24731         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24732         <math/w_lgamma_compat.c>.
24733         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24734         Define as alias of __lgamma_compat and use in defining lgammal.
24735         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24736         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24737         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24738         (USE_AS_COMPAT): New macro.
24739         (LGAMMA_OLD_VER): Undefine and redefine.
24740         (lgammal): Do not define here.
24741         (gammal): Only define here if [GAMMA_ALIAS].
24742         * conform/linknamespace.pl (@whitelist): Remove signgam.
24743         * sysdeps/nacl/libm.abilist: Update.
24744         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24745         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24746         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24747         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24748         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24749         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24750         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24751         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24752         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24753         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24754         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24755         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24757         Likewise.
24758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24759         Likewise.
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24761         Likewise.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24763         Likewise.
24764         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24765         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24766         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24767         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24768         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24770         Likewise.
24771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24772         Likewise.
24773         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24774         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24775         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24777 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24779         [BZ #16364]
24780         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24781         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24783 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24785         * sysdeps/s390/fpu/bits/mathinline.h:
24786         Use __asm__ [__volatile__] instead of asm [volatile].
24787         * sysdeps/s390/abort-instr.h: Likewise.
24788         * sysdeps/s390/atomic-machine.h: Likewise.
24789         * sysdeps/s390/bits/string.h: Likewise.
24790         * sysdeps/s390/dl-tls.h: Likewise.
24791         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24792         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24793         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24794         * sysdeps/s390/fpu/fesetround.c: Likewise.
24795         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24796         * sysdeps/s390/fpu/s_fma.c: Likewise.
24797         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24798         * sysdeps/s390/memusage.h: Likewise.
24799         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24800         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24801         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24802         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24803         * sysdeps/s390/nptl/tls.h: Likewise.
24804         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24805         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24806         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24807         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24808         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24809         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24810         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24811         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24812         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24813         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24814         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24815         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24816         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24817         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24818         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24819         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24820         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24821         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24822         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24823         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24824         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24825         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24826         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24828 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24829             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24831         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24832         Add lwarx hint, and use macro for acquire instruction.
24833         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24834         Likewise.
24835         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24836         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24837         update to use new atomic macros.
24839 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24841         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24842         (__lll_trylock_elision): Fix setting of adapt_count.
24843         * sysdeps/unix/sysv/linux/powerpc/htm.h
24844         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24845         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24846         (_ABORT_SYSCALL): Renumber, and clarify definition.
24847         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24849 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24851         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24852         after system headers to prevent MIN/MAX redefinition.  Define
24853         HAVE_ALLOCA to preserve builtin alloca usage.
24855 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24858         static and don't set or restore rounding.
24859         (__cos)[IN_SINCOS]: Likewise.
24860         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24861         (__sincos): Set and restore rounding mode.  Remove check for infinite
24862         or NaN input.
24864         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24866         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24867         as used.
24869 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24871         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24873 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24875         * config.make.in (have-glob-dat-reloc): New.
24876         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24877         target supports GLOB_DAT relocaton. AC_SUBST.
24878         * configure: Regenerated.
24879         * elf/Makefile (tests): Add tst-prelink.
24880         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24881         (tst-prelink-ENV): New.
24882         ($(objpfx)tst-prelink-conflict.out): Likewise.
24883         ($(objpfx)tst-prelink-cmp.out): Likewise.
24884         * sysdeps/x86/tst-prelink.c: Moved to ...
24885         * elf/tst-prelink.c: Here.
24886         * sysdeps/x86/tst-prelink.exp: Moved to ...
24887         * elf/tst-prelink.exp: Here.
24888         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24889         (tst-prelink-ENV): Removed.
24890         ($(objpfx)tst-prelink-conflict.out): Likewise.
24891         ($(objpfx)tst-prelink-cmp.out): Likewise.
24892         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24894 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24896         [BZ #14551]
24897         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24898         (__mpn_construct_long_double): If high part overflows to infinity,
24899         set errno and recompute overflowed result of the correct sign.
24900         * sysdeps/ieee754/ldbl-128ibm/Makefile
24901         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24902         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24903         $(libm).
24904         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24906 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24908         [BZ #15479]
24909         [BZ #19238]
24910         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24911         floating-point state after first operation on input.  Restore full
24912         state rather than just rounding mode.
24913         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24914         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24915         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24917         [BZ #19235]
24918         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24919         add 0.5 to integer arguments.
24920         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24921         Likewise.
24922         (.LC2): New object.
24924 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24926         * scripts/pylintrc (reports): Set to no.
24928 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24930         * elf/dl-load.c (open_verify): Take new argument FD.
24931         Skip __open call if passed FD is not -1.
24932         (_dl_map_object, open_path): Update callers.
24933         * elf/dl-sysdep-open.h: New file.
24934         * elf/dl-load.c: Include it.
24935         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24936         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24937         * sysdeps/nacl/dl-sysdep-open.h: New file.
24938         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24939         from libc to rtld.
24941 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24943         [BZ #19228]
24944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24945         and restore full floating-point state.
24946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24947         Likewise.
24948         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24949         Likewise.
24950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24951         Likewise.
24952         * math/test-nearbyint-except-2.c: New file.
24953         * math/Makefile (tests): Add test-nearbyint-except-2.
24955 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24957         [BZ #19178]
24958         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24959         (tst-prelink-ENV): New.
24960         ($(objpfx)tst-prelink-conflict.out): Likewise.
24961         ($(objpfx)tst-prelink-cmp.out): Likewise.
24962         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24963         * sysdeps/x86/tst-prelink.c: New file.
24964         * sysdeps/x86/tst-prelink.exp: Likewise.
24966 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24968         * math/auto-libm-test-in: Add another test of pow.
24969         * math/auto-libm-test-out: Regenerated.
24970         * math/libm-test.inc (pow_test_data): Add another test.
24972 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24974         [BZ #19219]
24975         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24976         weak_alias to nearbyintl.
24978 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24980         * sysdeps/aarch64/bits/string.h: New file.
24981         (_STRING_ARCH_unaligned): Define.
24983 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24985         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24986         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24987         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24988         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24991 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
24993         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24994         for original name of the DSO.  Add it to the name list of the DSO
24995         if it is actually given.
24996         (_dl_map_object): Keep track of whether an audit module rewrote
24997         the file name.  If yes, pass the original name to
24998         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
24999         debugging is enabled, log the change of the file name.
25000         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25001         _dl_map_object_from_fd.
25002         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25003         * elf/tst-audit11.c: New file
25004         * elf/tst-auditmod11.c: New file.
25005         * elf/tst-audit11mod1.c: New file.
25006         * elf/tst-audit11mod2.c: New file.
25007         * elf/tst-audit11mod2.map: New file.
25008         * elf/tst-audit12.c: New file
25009         * elf/tst-auditmod12.c: New file.
25010         * elf/tst-audit12mod1.c: New file.
25011         * elf/tst-audit12mod2.c: New file.
25012         * elf/tst-audit12mod2.map: New file.
25013         * elf/tst-audit12mod3.c: New file.
25015 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25017         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25018         Don't create weak aliases,
25019         because versioned symbols are created later.
25020         * sysdeps/s390/s390-32/setjmp.S
25021         (setjmp, _setjmp): Remove weak and rename to an unique name
25022         in SHARED case due to existing versioned symbols.
25023         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25024         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25025         (getcontext): Create weak alias only in non SHARED case.
25026         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25028 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25030         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25031         (__ASSUME_*_SYSCALL) Define new macros.
25032         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25033         Remove socketcall syscalls.
25034         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25035         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25036         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25037         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25038         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25039         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25041 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25043         [BZ #12926]
25044         Terminate process on invalid netlink response.
25045         * sysdeps/unix/sysv/linux/netlinkaccess.h
25046         (__netlink_assert_response): Declare.
25047         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25048         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25049         (sysdep_routines): Add netlink_assert_response.
25050         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25051         __netlink_assert_response.
25052         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25053         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25054         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25055         __netlink_assert_response.
25057 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25059         [BZ #19178]
25060         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25061         (RTYPE_CLASS_PLT): Likewise.
25062         (RTYPE_CLASS_COPY): Likewise.
25063         (RTYPE_CLASS_TLS): Likewise.
25064         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25065         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25066         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25067         DL_DEBUG_PRELINK.
25069 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25071         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25072         calls with argument -0.5.
25073         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25075         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25076         (libc_cv_z_nodlopen): Likewise.
25077         (libc_cv_z_initfirst): Likewise.
25078         * configure: Regenerated.
25080 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25082         Simplify abilist format to be line-based.
25083         * scripts/abilist.awk: Collect descriptors in the descs variable.
25084         (emit): Write descs variable and sort it
25085         externally, with sort.
25086         * sysdeps/**/*.abilist: Convert to new format.
25088 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25090         [BZ #11460]
25091         * io/Makefile (routines): Add fts64.
25092         (tests): Add tst-fts and tst-fts-lfs.
25093         (CFLAGS-fts64.c): New.
25094         * io/Versions (GLIBC_2.23): New.
25095         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25096         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25097         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25098         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25099         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25100         (FTSENT64): Likewise.
25101         (fts64_children): Likewise.
25102         (fts64_close): Likewise.
25103         (fts64_open): Likewise.
25104         (fts64_read): Likewise.
25105         (fts64_set): Likewise.
25106         * io/fts64.c: New file.
25107         * io/tst-fts.c: New test.
25108         * io/tst-fts-lfs.c: Likewise.
25109         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25110         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25111         fts64_set.
25112         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25113         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25114         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25115         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25116         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25117         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25118         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25119         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25120         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25121         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25122         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25124         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25126         Likewise.
25127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25128         Likewise.
25129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25131         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25132         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25133         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25134         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25135         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25138         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25139         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25140         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25141         * sysdeps/wordsize-64/fts.c: New file.
25142         * sysdeps/wordsize-64/fts64.c: Likewise.
25143         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25144         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25145         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25146         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25148 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25150         * math/libm-test.inc (NON_FINITE): New macro.
25151         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25152         * math/gen-libm-test.pl (show_exceptions): Add argument
25153         $non_finite.
25154         (parse_args): Update call to show_exceptions.
25155         * math/test-math-finite.h: New file.
25156         * math/test-math-no-finite.h: Likewise.
25157         * math/test-double-finite.c: Likewise.
25158         * math/test-float-finite.c: Likewise.
25159         * math/test-ldouble-finite.c: Likewise.
25160         * math/test-double.c: Include "test-math-no-finite.h".
25161         * math/test-float.c: Include "test-math-no-finite.h".
25162         * math/test-ldouble.c: Include "test-math-no-finite.h".
25163         * math/test-math-inline.h (TEST_FINITE): New macro.
25164         * math/test-math-vector.h (TEST_FINITE): Likewise.
25165         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25166         (libm-tests): Add test-float-finite and test-double-finite.
25167         ($(objpfx)test-float-finite.o): New dependency on
25168         $(objpfx)libm-test.stmp.
25169         ($(objpfx)test-double-finite.o): Likewise.
25170         ($(objpfx)test-ldouble-finite.o): Likewise.
25171         (libm-test-no-inline-cflags): New variable.
25172         (libm-test-finite-cflags): Likewise.
25173         (CFLAGS-test-float-finite.c): Likewise.
25174         (CFLAGS-test-double-finite.c): Likewise.
25175         (CFLAGS-test-ldouble-finite.c): Likewise.
25176         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25177         (CFLAGS-test-double.c): Likewise.
25178         (CFLAGS-test-ldouble.c): Likewise.
25180 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25182         * io/fcntl.c (__fcntl): Add ... to prototype.
25183         * misc/ioctl.c (__ioctl): Likewise.
25184         * misc/syscall.c (syscall): Likewise.
25186 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25188         * scripts/list-fixed-bugs.py: New file.
25190         [BZ #19213]
25191         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25192         returned for argument 1.
25193         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25194         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25195         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25196         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25197         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25198         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25200         [BZ #19211]
25201         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25202         __USE_XOPEN], not if [!__USE_ISOC99].
25203         (lgammaf): Likewise.
25204         (lgammal): Likewise.
25205         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25206         (gammaf): Likewise.
25207         (gammal): Likewise.
25208         * math/test-signgam-finite-c11.c: New file.
25209         * math/test-signgam-finite-c99.c: Likewise.
25210         * math/test-signgam-finite.c: Likewise.
25211         * math/Makefile (tests): Add test-signgam-finite,
25212         test-signgam-finite-c99 and test-signgam-finite-c11.
25213         (CFLAGS-test-signgam-finite.c): New variable.
25214         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25215         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25217         [BZ #19212]
25218         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25219         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25220         500].
25221         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25222         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25223         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25224         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25225         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25226         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25227         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25228         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25229         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25230         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25232         [BZ #19209]
25233         * math/bits/math-finite.h (ldexp): Remove declaration.
25234         (ldexpf): Likewise.
25235         (ldexpl): Likewise.
25237         [BZ #19205]
25238         * math/bits/math-finite.h (acosf): Condition declaration on
25239         [__USE_ISOC99].
25240         (acosl): Likewise.
25241         (acoshf): Likewise.
25242         (acoshl): Likewise.
25243         (asinf): Likewise.
25244         (asinl): Likewise.
25245         (atan2f): Likewise.
25246         (atan2l): Likewise.
25247         (atanhf): Likewise.
25248         (atanhl): Likewise.
25249         (coshf): Likewise.
25250         (coshl): Likewise.
25251         (expf): Likewise.
25252         (expl): Likewise.
25253         (fmodf): Likewise.
25254         (fmodl): Likewise.
25255         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25256         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25257         (j0l): Likewise.
25258         (y0f): Likewise.
25259         (y0l): Likewise.
25260         (j1f): Likewise.
25261         (j1l): Likewise.
25262         (y1f): Likewise.
25263         (y1l): Likewise.
25264         (jnf): Likewise.
25265         (jnl): Likewise.
25266         (ynf): Likewise.
25267         (ynl): Likewise.
25268         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25269         (lgammal_r): Likewise.
25270         (__lgamma_r_finite): New declaration.
25271         (__lgammaf_r_finite): Likewise.
25272         (__lgammal_r_finite): Likewise.
25273         (lgamma): Use __lgamma_r_finite.
25274         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25275         __lgammaf_r_finite.
25276         (lgammal): Condition definition on [__USE_ISOC99].  Use
25277         __lgammal_r_finite.
25278         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25279         __lgamma_r_finite.
25280         (gammaf): Condition definition on [__USE_ISOC99].  Use
25281         __lgammaf_r_finite.
25282         (gammal): Condition definition on [__USE_ISOC99].  Use
25283         __lgammal_r_finite.
25284         (logf): Condition declaration on [__USE_ISOC99].
25285         (logl): Likewise.
25286         (log10f): Likewise.
25287         (log10l): Likewise.
25288         (ldexpf): Likewise.
25289         (ldexpl): Likewise.
25290         (powf): Likewise.
25291         (powl): Likewise.
25292         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25293         __USE_ISOC99].
25294         (remainderf): Condition declaration on [__USE_ISOC99].
25295         (remainderl): Likewise.
25296         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25297         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25298         (scalbl): Likewise.
25299         (sinhf): Condition declaration on [__USE_ISOC99].
25300         (sinhl): Likewise.
25301         (sqrtf): Likewise.
25302         (sqrtl): Likewise.
25304 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25306         * sysdeps/arm/atomic-machine.h
25307         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25308         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25309         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25310         Remove conditional code.
25311         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25312         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25313         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25314         Change conditional to [__ASSEMBLER__].
25315         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25316         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25317         [!__ASSEMBLER__].
25318         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25319         code.
25320         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25321         conditional macro definitions.
25322         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25323         (__arch_compare_and_exchange_val_16_acq): Likewise.
25324         (__arch_compare_and_exchange_val_32_acq): Likewise.
25325         (atomic_exchange_and_add): Likewise.
25326         (atomic_add): Likewise.
25327         (atomic_add_negative): Likewise.
25328         (atomic_add_zero): Likewise.
25329         (atomic_bit_set): Likewise.
25330         (atomic_bit_test_set): Likewise.
25331         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25332         code unconditional.
25333         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25335         * math/test-math-errno.h: New file.
25336         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25337         empty.
25338         (TEST_ERRNO): New macro.
25339         (TEST_EXCEPTIONS): Likewise.
25340         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25341         (TEST_EXCEPTIONS): Likewise.
25342         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25343         * math/test-double.c: Include "test-math-errno.h".
25344         * math/test-float.c: Likewise.
25345         * math/test-ldouble.c: Likewise.
25346         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25347         code unconditional.
25348         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25349         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25350         unconditional.
25351         (test_errno): Only run code if TEST_ERRNO.
25352         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25354 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25356         * nptl/tst-once5.cc: Remove attribution.
25358 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25360         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25361         sqrt, tan, tanh, y0, y1 and yn.
25362         * math/auto-libm-test-out: Regenerated.
25363         * math/libm-test.inc (scalb_test_data): Add more tests.
25364         (scalbn_test_data): Likewise.
25365         (scalbln_test_data): Likewise.
25366         (signbit_test_data): Likewise.
25367         (sin_test_data): Likewise.
25368         (sincos_test_data): Likewise.
25369         (sinh_test_data): Likewise.
25370         (sqrt_test_data): Likewise.
25371         (tan_test_data): Likewise.
25372         (tanh_test_data): Likewise.
25373         (tgamma_test_data): Likewise.
25374         (y0_test_data): Likewise.
25375         (y1_test_data): Likewise.
25376         (yn_test_data): Likewise.
25377         (significand_test_data): Likewise.
25378         * sysdeps/i386/fpu/libm-test-ulps: Update.
25380 2015-11-03  David Kastrup  <dak@gnu.org>
25382         [BZ #18604]
25383         * assert/assert.h (assert): Don't macro-expand failed assertion
25384         expression in error message.
25385         * malloc/malloc.c (assert): Likewise.
25387 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25389         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25390         test.
25391         * configure: Regenerated.
25393 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25395         * math/libm-test.inc (modf_test_data): Add more tests.
25396         (nearbyint_test_data): Likewise.
25397         (nextafter_test_data): Likewise.
25398         (nexttoward_test_data): Likewise.
25399         (pow_test_data): Likewise.
25400         (remainder_test_data): Likewise.
25401         (remquo_test_data): Likewise.
25402         (rint_test_data): Likewise.
25404         [BZ #19201]
25405         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25406         Check for zero remainder in case of large exponents and ensure
25407         correct sign of result in that case.
25408         * math/libm-test.inc (remainder_test_data): Add more tests.
25410         [BZ #6799]
25411         * math/s_nextafter.c: Include <errno.h>.
25412         (__nextafter): Set errno on overflow and underflow.
25413         * math/s_nexttowardf.c: Include <errno.h>.
25414         (__nexttowardf): Set errno on overflow and underflow.
25415         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25416         (__nextafterl): Set errno on overflow and underflow.
25417         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25418         (__nexttoward): Set errno on overflow and underflow.
25419         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25420         (__nexttowardf): Set errno on overflow and underflow.
25421         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25422         (__nextafterf): Set errno on overflow and underflow.
25423         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25424         (__nextafterl): Set errno on overflow and underflow.
25425         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25426         (__nexttoward): Set errno on overflow and underflow.
25427         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25428         (__nexttowardf): Set errno on overflow and underflow.
25429         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25430         (__nextafterl): Set errno on overflow and underflow.
25431         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25432         (__nexttoward): Set errno on overflow and underflow.
25433         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25434         (__nexttowardf): Set errno on overflow and underflow.
25435         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25436         (__nexttoward): Set errno on overflow and underflow.
25437         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25438         (__nexttowardf): Set errno on overflow and underflow.
25439         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25440         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25441         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25442         (__nextafterl): Set errno on overflow and underflow.
25443         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25444         setting to be missing on overflow.  Add more tests.
25445         (nexttoward_test_data): Likewise.
25447         * configure.ac (libc_cv_initfini_array): Remove configure test.
25448         * configure: Regenerated.
25450 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25452         [BZ #19189]
25453         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25454         non-finite argument handle arguments with negative sign.
25456         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25457         result from infinite argument.
25458         (j1_test_data): Likewise.
25459         (jn_test_data): Likewise.
25460         (y0_test_data): Likewise.
25461         (y1_test_data): Likewise.
25462         (yn_test_data): Likewise.
25464         [BZ #16171]
25465         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25466         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25467         * math/w_remainderf.c (dremf): Define as weak alias of
25468         __remainderf.
25469         * math/w_remainderl.c (dreml): Define as weak alias of
25470         __remainderl.
25471         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25472         __remainder.
25473         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25474         __remainderf.
25475         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25476         __remainderl.
25477         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25478         weak alias of remainderl.
25479         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25480         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25481         alias of __remainder.
25482         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25483         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25484         strong alias of __remainderl.
25485         (dreml): Use long_double_symbol.
25486         * math/Makefile (libm-calls): Remove w_drem.
25487         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25488         (CFLAGS-nldbl-drem.c): Remove variable.
25489         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25490         * math/w_drem.c: Remove file.
25491         * math/w_dremf.c: Likewise.
25492         * math/w_dreml.c: Likewise.
25493         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25494         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25495         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25497         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25498         * sysdeps/i386/configure: Regenerated.
25499         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25500         * sysdeps/x86_64/configure: Regenerated.
25502         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25503         test.
25504         (libc_cv_visibility_attribute): Likewise.
25505         (libc_cv_protected_data): Test unconditionally.
25506         (libc_cv_broken_visibility_attribute): Remove configure test.
25507         (libc_cv_have_sdata_section): Test unconditionally.
25508         * configure: Regenerated.
25510         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25511         * include/scratch_buffer.h: Include <stddef.h> instead of
25512         <libc-internal.h>.
25513         (struct scratch_buffer): Use max_align_t instead of
25514         libc_max_align_t.
25516 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25518         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25519         instead of extend_alloca.  Change control flow to avoid a goto.
25520         Remove assert which is trivially always true.
25522 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25524         [BZ #16068]
25525         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25526         (FE_ALL_EXCEPT_X86): New macro.
25527         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25528         FE_ALL_EXCEPT.  Ensure precision control is included in
25529         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25530         handle "denormal operand exception" and clear FZ and DAZ bits.
25531         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25532         (FE_ALL_EXCEPT_X86): New macro.
25533         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25534         FE_ALL_EXCEPT.  Ensure precision control is included in
25535         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25536         handle "denormal operand exception" and clear FZ and DAZ bits.
25537         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25538         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25539         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25540         test-fenv-x87 and test-fenv-sse-2.
25541         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25543         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25544         * math/test-double.h (BUILD_COMPLEX): New macro.
25545         * math/test-float.h (BUILD_COMPLEX): Likewise.
25546         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25548         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25549         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25550         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25552         instead of DBL_DENORM_MIN in comment.
25553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25554         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25555         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25556         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25558         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25560 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25562         [BZ #19048]
25563         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25564         attached_threads member.
25565         (main_arena): Initialize attached_threads.
25566         * malloc/arena.c (list_lock): Update comment.
25567         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25568         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25569         (deattach_arena): New function.
25570         (_int_new_arena): Initialize arena reference count and deattach
25571         replaced arena.
25572         (get_free_list, reused_arena): Update reference count and deattach
25573         replaced arena.
25574         (arena_thread_freeres): Update arena reference count and only put
25575         unreferenced arenas on the free list.
25577 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25579         [BZ #19181]
25580         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25581         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25582         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25583         * math/test-fenv-clear-main.c: New file.
25584         * math/test-fenv-clear.c: Likewise.
25585         * math/Makefile (tests): Add test-fenv-clear.
25586         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25587         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25588         test-fenv-clear-sse.
25589         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25591         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25592         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25593         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25595 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25597         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25598         static libc.
25600 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25602         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25603         test.
25604         * sysdeps/i386/configure: Regenerated.
25605         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25606         test.
25607         * sysdeps/x86_64/configure: Regenerated.
25608         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25610         memset-avx2 unconditionally instead of conditionally on
25611         [$(config-cflags-avx2) = yes].
25612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25613         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25614         unconditional.
25615         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25616         * sysdeps/x86_64/multiarch/memset_chk.S
25617         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25618         to [IS_IN (libc) && SHARED].
25620 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25622         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25623         configure test.
25624         * sysdeps/arm/configure: Regenerated.
25625         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25626         Define variable if not already defined.
25628         [BZ #17404]
25629         * sysdeps/mips/atomic-machine.h
25630         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25631         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25632         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25634         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25635         unconditional.
25636         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25637         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25638         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25639         unconditional.
25640         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25641         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25642         unconditional.
25643         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25644         * stdlib/setenv.c
25645         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25646         code unconditional.
25647         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25648         Remove conditional code.
25649         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25650         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25651         unconditional.
25652         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25653         code.
25654         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25655         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25656         unconditional.
25657         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25658         code.
25659         * sysdeps/ieee754/ldbl-128/k_tanl.c
25660         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25661         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25662         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25663         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25664         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25665         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25666         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25667         unconditional.
25668         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25669         code.
25670         * sysdeps/ieee754/ldbl-96/k_tanl.c
25671         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25672         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25674         * nptl/tst-initializers1-c11.c: New file.
25675         * nptl/tst-initializers1-gnu11.c: Likewise.
25676         * nptl/Makefile (tests): Add these new tests.
25677         (CFLAGS-tst-initializers1-c11.c): New variable.
25678         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25680         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25681         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25682         instead of -std=gnu99.
25683         * configure.ac (systemtap): Test with -std=gnu11 instead of
25684         -std=gnu99.
25685         * configure: Regenerated.
25686         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25687         in compilation command in comment.
25689         * sysdeps/nptl/configure.ac: Remove file.
25690         * sysdeps/nptl/configure: Remove generated file.
25691         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25692         * configure: Regenerated.
25693         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25694         * config.make.in (have-forced-unwind): Remove variable.
25695         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25696         unconditional.
25697         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25698         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25699         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25700         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25701         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25702         unconditional.
25704 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25706         [BZ #19174]
25707         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25708         .skip_lock_out_of_tbegin_retries.
25709         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25710         (__lll_lock_elision): Likewise, and respect a value of
25711         try_tbegin <= 0.
25713 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25715         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25716         statement.
25718 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25720         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25721         variable.
25722         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25723         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25725         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25726         of -std=c1x -D_ISOC11_SOURCE.
25728         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25729         * configure: Regenerated.
25730         * manual/install.texi (Tools for Compilation): Document
25731         requirement for GCC 4.7 or later.
25732         * INSTALL: Regenerated.
25734 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25736         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25737         on CNT to a conditional jump to 'puntdata'.
25739 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25741         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25742         (libc_cv_gcc_tls_model_attr): Likewise.
25743         * configure: Regenerated.
25745         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25746         * configure: Regenerated.
25747         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25749 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25751         * configure.ac (old_glibc_headers): Remove configure test.
25752         * configure: Regenerated.
25753         * config.make.in (old-glibc-headers): Remove variable.
25754         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25755         (install): Remove dependency on remove-old-headers.
25756         (headers2_0): Remove variable.
25757         (remove-old-headers): Remove rule.
25759         * configure.ac (libc_cv_dot_text): Remove configure test.
25760         (libc_cv_asm_set_directive): Use .text instead of
25761         ${libc_cv_dot_text} in configure test.
25762         * configure: Regenerated.
25764 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25766         [BZ #19168]
25767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25769 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25771         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25772         not support static linking.
25773         * configure: Regenerate.
25775 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25777         * math/libm-test.inc (check_float_internal): Do not special-case
25778         errors up to 0.5 ulp.
25780         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25781         log2.
25782         * math/auto-libm-test-out: Regenerated.
25783         * math/libm-test.inc (MAX_EXP): New macro.
25784         (ilogb_test_data): Add more tests.
25785         (isfinite_test_data): Likewise.
25786         (isgreater_test_data): Likewise.
25787         (isgreaterequal_test_data): Likewise.
25788         (isinf_test_data): Likewise.
25789         (isless_test_data): Likewise.
25790         (islessequal_test_data): Likewise.
25791         (islessgreater_test_data): Likewise.
25792         (isnan_test_data): Likewise.
25793         (isnormal_test_data): Likewise.
25794         (issignaling_test_data): Likewise.
25795         (isunordered_test_data): Likewise.
25796         (j0_test_data): Likewise.
25797         (j1_test_data): Likewise.
25798         (jn_test_data): Likewise.
25799         (lgamma_test_data): Likewise.
25800         (log_test_data): Likewise.
25801         (log10_test_data): Likewise.
25802         (log1p_test_data): Likewise.
25803         (log2_test_data): Likewise.
25804         (logb_test_data): Likewise.
25805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25807         [BZ #18611]
25808         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25809         avoid excess range and precision on underflow.
25810         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25811         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25812         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25813         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25814         underflow.
25815         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25816         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25817         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25818         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25819         * math/auto-libm-test-in: Do not allow missing errno setting for
25820         tests of j1 and jn.
25821         * math/auto-libm-test-out: Regenerated.
25823 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25825         [BZ #15491]
25826         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25827         floating-point environment instead of clearing all exceptions.
25828         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25829         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25830         merging in "invalid" exceptions from frndint.
25831         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25832         * math/test-nearbyint-except.c: New file.
25833         * math/Makefile (tests): Add test-nearbyint-except.
25835 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25837         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25839         * sysdeps/tile/libm-test-ulps: Regenerated.
25841 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25844         (__NR_sync_file_range2): Assume it is always defined.
25845         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25846         (__NR_sync_file_range): Assume it is always defined.
25848 2015-10-22  Andreas Schwab  <schwab@suse.de>
25850         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25851         INTERNAL_SYSCALL_ERRNO.
25852         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25853         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25854         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25855         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25856         Likewise.
25857         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25859 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25861         * io/tst-fcntl.c (fd): New static variable.
25862         (do_prepare): Open temporary file here....
25863         (do_test): ...not here.
25865         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25867 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25869         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25870         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25871         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25872         Moved before "#ifdef __ASSEMBLER__".
25874 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #19156]
25877         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25878         arguments very close to 0.
25880 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25882         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25883         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25885 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25887         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25888         New.  Defined for GCC 5 and above when not compiling for
25889         profiling.
25890         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25892         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25893         Renamed to ...
25894         (CFLAGS-epoll_pwait.o): This.
25895         (CFLAGS-mmap.c): Renamed to ...
25896         (CFLAGS-mmap.o): This.
25897         (CFLAGS-mmap64.c): Renamed to ...
25898         (CFLAGS-mmap64.o): This.
25899         (CFLAGS-epoll_pwait.os): New.
25900         (CFLAGS-mmap.os): Likewise.
25901         (CFLAGS-mmap64.os): Likewise.
25902         (CFLAGS-semtimedop.os): Likewise.
25903         (CFLAGS-semtimedop.c): Renamed to ...
25904         (CFLAGS-semtimedop.o): This.
25906 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25908         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25909         warning message.
25911 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25913         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25914         * Makefile ($(objpfx)c++-types-check.out): Filter out
25915         $(+gccwarn-c) instead of -Wstrict-prototypes.
25917         * io/fts.c (fts_open): Convert to prototype-style function
25918         definition.
25919         * malloc/mcheck.c (mcheck): Likewise.
25920         (mcheck_pedantic): Likewise.
25921         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25922         internal_function.
25923         (re_search_internal): Likewise.
25924         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25925         prototype-style function definition.
25926         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25927         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25928         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25929         (xdr_utmpptr): Likewise.
25930         (xdr_utmparr): Likewise.
25931         (xdr_utmpidle): Likewise.
25932         (xdr_utmpidleptr): Likewise.
25933         (xdr_utmpidlearr): Likewise.
25935         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25936         log, log10 and log2.
25937         * math/auto-libm-test-out: Regenerated.
25938         * math/libm-test.inc (fmod_test_data): Add more tests.
25939         (fpclassify_test_data): Likewise.
25940         (frexp_test_data): Likewise.
25941         (hypot_test_data): Likewise.
25942         (ilogb_test_data): Likewise.
25944 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25946         * debug/fortify_fail.c (__fortify_fail): Convert to
25947         prototype-style function definition.  Use internal_function.
25948         * libio/genops.c (save_for_backup): Convert to prototype-style
25949         function definition.
25950         * libio/wgenops.c (save_for_wbackup): Likewise.
25951         * login/grantpt.c (grantpt): Likewise.
25952         * login/ptsname.c (ptsname): Likewise.
25953         (__ptsname_r): Likewise.
25954         * login/unlockpt.c (unlockpt): Likewise.
25955         * mach/msgserver.c (__mach_msg_server): Likewise.
25956         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25957         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25958         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25959         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25960         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25961         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25962         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25963         Likewise.
25964         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25965         internal_function.
25966         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25967         prototype-style function definition.
25968         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25969         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25970         (__pthread_create_2_0): Likewise.
25971         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25972         * nptl/register-atfork.c (__register_atfork): Likewise.
25973         * posix/glob.c (glob): Likewise.
25974         * posix/regcomp.c (re_comp): Likewise.
25975         * posix/regexec.c (re_exec): Likewise.
25976         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25977         [!__STDC__]: Remove conditional code.
25978         * stdlib/cmp.c [__STDC__]: Make code unconditional.
25979         [!__STDC__]: Remove conditional code.
25980         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25981         [!__STDC__]: Remove conditional code.
25982         * stdlib/divrem.c [__STDC__]: Make code unconditional.
25983         [!__STDC__]: Remove conditional code.
25984         * stdlib/lshift.c [__STDC__]: Make code unconditional.
25985         [!__STDC__]: Remove conditional code.
25986         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25987         [!__STDC__]: Remove conditional code.
25988         * stdlib/mul.c [__STDC__]: Make code unconditional.
25989         [!__STDC__]: Remove conditional code.
25990         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25991         [!__STDC__]: Remove conditional code.
25992         * stdlib/rshift.c [__STDC__]: Make code unconditional.
25993         [!__STDC__]: Remove conditional code.
25994         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25995         function definition.
25996         (STRTOF): Likewise.
25997         * stdlib/strtod_l.c (__STRTOF): Likewise.
25998         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25999         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26000         (__strtol_l): Likewise.
26001         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26002         [!__STDC__]: Remove conditional code.
26003         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26004         definition.
26005         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26006         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26007         type.
26008         (__strcasecmp): Convert to prototype-style function definition.
26009         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26010         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26011         type.
26012         (__strncasecmp): Convert to prototype-style function definition.
26013         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26014         * sunrpc/xdr.c (xdr_union): Likewise.
26015         * sunrpc/xdr_array.c (xdr_array): Likewise.
26016         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26017         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26018         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26019         Likewise.
26020         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26021         Likewise.
26022         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26023         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26024         Likewise.
26025         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26026         (LOCALE_PARAM_PROTO): Likewise.
26027         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26028         argument type.
26029         (ut_argument_spec): Remove macro.
26030         (ut_argument_spec_iso): Rename to ut_argument_spec.
26031         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26032         prototype-style function definition.
26033         (memcpy_uppcase): Likewise.
26034         (__strftime_internal): Likewise.
26035         (my_strftime): Likewise.
26036         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26037         (LOCALE_PARAM_DECL): Likewise.
26038         [_LIBC] (LOCALE_PARAM): Include argument type.
26039         (__strptime_internal): Convert to prototype-style function
26040         definition.
26041         (strptime): Likewise.
26042         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26043         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26044         type.
26045         (__wcscasecmp): Convert to prototype-style function definition.
26046         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26047         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26048         type.
26049         (__wcsncasecmp): Convert to prototype-style function definition.
26051         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26052         function definition.
26053         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26054         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26055         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26056         * elf/dl-minimal.c (_itoa): Likewise.
26057         * hurd/hurdmalloc.c (malloc): Likewise.
26058         (free): Likewise.
26059         (realloc): Likewise.
26060         * inet/inet6_option.c (inet6_option_space): Likewise.
26061         (inet6_option_init): Likewise.
26062         (inet6_option_append): Likewise.
26063         (inet6_option_alloc): Likewise.
26064         (inet6_option_next): Likewise.
26065         (inet6_option_find): Likewise.
26066         * io/ftw.c (FTW_NAME): Likewise.
26067         (NFTW_NAME): Likewise.
26068         (NFTW_NEW_NAME): Likewise.
26069         (NFTW_OLD_NAME): Likewise.
26070         * libio/iofwide.c (_IO_fwide): Likewise.
26071         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26072         (_IO_str_init_static): Likewise.
26073         (_IO_str_init_readonly): Likewise.
26074         (_IO_str_overflow): Likewise.
26075         (_IO_str_underflow): Likewise.
26076         (_IO_str_count): Likewise.
26077         (_IO_str_seekoff): Likewise.
26078         (_IO_str_pbackfail): Likewise.
26079         (_IO_str_finish): Likewise.
26080         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26081         (_IO_wstr_overflow): Likewise.
26082         (_IO_wstr_underflow): Likewise.
26083         (_IO_wstr_count): Likewise.
26084         (_IO_wstr_seekoff): Likewise.
26085         (_IO_wstr_pbackfail): Likewise.
26086         (_IO_wstr_finish): Likewise.
26087         * locale/programs/localedef.c (normalize_codeset): Likewise.
26088         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26089         (add_locales_to_archive): Likewise.
26090         (delete_locales_from_archive): Likewise.
26091         * malloc/malloc.c (__libc_mallinfo): Likewise.
26092         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26093         * misc/tsearch.c (__tfind): Likewise.
26094         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26095         * nptl/pthread_attr_getdetachstate.c
26096         (__pthread_attr_getdetachstate): Likewise.
26097         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26098         Likewise.
26099         * nptl/pthread_attr_getinheritsched.c
26100         (__pthread_attr_getinheritsched): Likewise.
26101         * nptl/pthread_attr_getschedparam.c
26102         (__pthread_attr_getschedparam): Likewise.
26103         * nptl/pthread_attr_getschedpolicy.c
26104         (__pthread_attr_getschedpolicy): Likewise.
26105         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26106         Likewise.
26107         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26108         Likewise.
26109         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26110         Likewise.
26111         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26112         Likewise.
26113         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26114         (__pthread_attr_init_2_0): Likewise.
26115         * nptl/pthread_attr_setdetachstate.c
26116         (__pthread_attr_setdetachstate): Likewise.
26117         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26118         Likewise.
26119         * nptl/pthread_attr_setinheritsched.c
26120         (__pthread_attr_setinheritsched): Likewise.
26121         * nptl/pthread_attr_setschedparam.c
26122         (__pthread_attr_setschedparam): Likewise.
26123         * nptl/pthread_attr_setschedpolicy.c
26124         (__pthread_attr_setschedpolicy): Likewise.
26125         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26126         Likewise.
26127         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26128         Likewise.
26129         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26130         Likewise.
26131         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26132         Likewise.
26133         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26134         Likewise.
26135         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26136         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26137         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26138         use internal_function.
26139         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26140         prototype-style function definition.
26141         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26142         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26143         internal_function.
26144         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26145         Convert to prototype-style function definition.
26146         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26147         Likewise.
26148         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26149         Likewise.
26150         (__pthread_mutex_unlock): Likewise.
26151         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26152         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26153         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26154         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26155         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26156         * nss/makedb.c (process_input): Likewise.
26157         * posix/fnmatch.c (__strchrnul): Likewise.
26158         (__wcschrnul): Likewise.
26159         (fnmatch): Likewise.
26160         * posix/fnmatch_loop.c (FCT): Likewise.
26161         * posix/glob.c (globfree): Likewise.
26162         (__glob_pattern_type): Likewise.
26163         (__glob_pattern_p): Likewise.
26164         * posix/regcomp.c (re_compile_pattern): Likewise.
26165         (re_set_syntax): Likewise.
26166         (re_compile_fastmap): Likewise.
26167         (regcomp): Likewise.
26168         (regerror): Likewise.
26169         (regfree): Likewise.
26170         * posix/regexec.c (regexec): Likewise.
26171         (re_match): Likewise.
26172         (re_search): Likewise.
26173         (re_match_2): Likewise.
26174         (re_search_2): Likewise.
26175         (re_search_stub): Likewise.  Use internal_function
26176         (re_copy_regs): Likewise.
26177         (re_set_registers): Convert to prototype-style function
26178         definition.
26179         (prune_impossible_nodes): Likewise.  Use internal_function.
26180         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26181         prototype-style function definition.
26182         (inet_net_pton_ipv4): Likewise.
26183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26184         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26185         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26186         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26187         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26188         Make variadic.
26189         * time/strptime_l.c (localtime_r): Convert to prototype-style
26190         function definition.
26191         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26192         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26193         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26194         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26196         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26197         definition.
26198         (_ufc_doit_r): Likewise.
26199         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26200         (_ufc_output_conversion_r): Likewise.
26201         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26202         * inet/rcmd.c (rcmd_af): Likewise.
26203         (rcmd): Likewise.
26204         (ruserok_af): Likewise.
26205         (ruserok): Likewise.
26206         (ruserok2_sa): Likewise.
26207         (ruserok_sa): Likewise.
26208         (iruserok_af): Likewise.
26209         (iruserok): Likewise.
26210         (__ivaliduser): Likewise.
26211         (__validuser2_sa): Likewise.
26212         * inet/rexec.c (rexec_af): Likewise.
26213         (rexec): Likewise.
26214         * inet/ruserpass.c (ruserpass): Likewise.
26215         * locale/programs/xmalloc.c (xcalloc): Likewise.
26216         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26217         * math/w_drem.c (__drem): Likewise.
26218         * math/w_dremf.c (__dremf): Likewise.
26219         * math/w_dreml.c (__dreml): Likewise.
26220         * misc/daemon.c (daemon): Likewise.
26221         * resolv/res_debug.c (p_fqnname): Likewise.
26222         * stdlib/div.c (div): Likewise.
26223         * string/memcmp.c (memcmp_bytes): Likewise.
26224         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26225         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26227         * crypt/cert.c (main): Convert to prototype-style function
26228         definition.
26229         * io/pipe.c (__pipe): Likewise.
26230         * io/pipe2.c (__pipe2): Likewise.
26231         * misc/futimesat.c (futimesat): Likewise.
26232         * misc/utimes.c (__utimes): Likewise.
26233         * posix/execve.c (__execve): Likewise.
26234         * posix/execvp.c (execvp): Likewise.
26235         * posix/execvpe.c (__execvpe): Likewise.
26236         * posix/fexecve.c (fexecve): Likewise.
26237         * socket/socketpair.c (socketpair): Likewise.
26238         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26239         * stdlib/erand48.c (erand48): Likewise.
26240         * stdlib/erand48_r.c (__erand48_r): Likewise.
26241         * stdlib/jrand48.c (jrand48): Likewise.
26242         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26243         * stdlib/lcong48.c (lcong48): Likewise.
26244         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26245         * stdlib/nrand48.c (nrand48): Likewise.
26246         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26247         * stdlib/seed48.c (seed48): Likewise.
26248         * stdlib/seed48_r.c (__seed48_r): Likewise.
26249         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26250         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26251         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26253 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26255         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26256         * configure: Regenerated.
26257         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26258         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26259         unconditional.
26260         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26261         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26262         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26263         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26264         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26265         unconditional.
26266         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26268         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26269         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26271         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26272         function definition.
26273         * crypt/crypt_util.c (__encrypt_r): Likewise.
26274         * libio/genops.c (_IO_no_init): Likewise.
26275         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26276         (_IO_old_fopencookie): Likewise.
26277         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26278         * libio/iogetline.c (_IO_getline): Likewise.
26279         (_IO_getline_info): Likewise.
26280         * libio/iogetwline.c (_IO_getwline): Likewise.
26281         (_IO_getwline_info): Likewise.
26282         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26283         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26284         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26285         (find_entry): Likewise.
26286         (iterate_table): Likewise.
26287         (lookup): Likewise.
26288         * login/forkpty.c (forkpty): Likewise.
26289         * misc/hsearch_r.c (__hsearch_r): Likewise.
26290         * misc/select.c (__select): Likewise.
26291         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26292         Likewise.
26293         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26294         Likewise.
26295         * nptl/old_pthread_cond_timedwait.c
26296         (__pthread_cond_timedwait_2_0): Likewise.
26297         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26298         * nptl/pthread_barrierattr_getpshared.c
26299         (pthread_barrierattr_getpshared): Likewise.
26300         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26301         Likewise.
26302         * nptl/pthread_mutex_setprioceiling.c
26303         (pthread_mutex_setprioceiling): Likewise.
26304         * nptl/pthread_mutexattr_getprioceiling.c
26305         (pthread_mutexattr_getprioceiling): Likewise.
26306         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26307         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26308         Likewise.
26309         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26310         Likewise.
26311         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26312         Likewise.
26313         * socket/recvfrom.c (__recvfrom): Likewise.
26314         * socket/sendto.c (__sendto): Likewise.
26315         * socket/setsockopt.c (__setsockopt): Likewise.
26316         * stdio-common/_itoa.c (_itoa): Likewise.
26317         * stdio-common/_itowa.c (_itowa): Likewise.
26318         * stdio-common/reg-printf.c (__register_printf_specifier):
26319         Likewise.
26320         (__register_printf_function): Likewise.
26321         * stdio-common/tempname.c (__path_search): Likewise.
26322         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26323         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26324         * stdlib/random_r.c (__initstate_r): Likewise.
26325         * stdlib/setenv.c (__add_to_environ): Likewise.
26326         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26327         * streams/getpmsg.c (getpmsg): Likewise.
26328         * streams/putmsg.c (putmsg): Likewise.
26329         * streams/putpmsg.c (putpmsg): Likewise.
26330         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26331         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26332         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26333         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26334         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26335         * sunrpc/svc_udp.c (cache_get): Likewise.
26336         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26337         * sysdeps/mach/hurd/getcwd.c
26338         (__canonicalize_directory_name_internal): Likewise.
26339         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26340         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26341         * sysdeps/mach/hurd/select.c (__select): Likewise.
26342         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26343         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26344         * sysdeps/sparc/nptl/pthread_barrier_init.c
26345         (__pthread_barrier_init): Likewise.
26346         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26347         (__pthread_cond_timedwait): Likewise.
26348         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26349         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26350         Likewise.
26351         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26352         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26353         Likewise.
26354         * sysvipc/semtimedop.c (semtimedop): Likewise.
26355         * time/setitimer.c (__setitimer): Likewise.
26356         * time/strftime_l.c (emacs_strftime): Likewise.
26358 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26360         * config.make.in (have-ssp): Delete.
26361         (stack-protector): New variable.
26362         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26363         cache test for -fstack-protector-strong.  Export stack_protector to
26364         the best ssp flag.
26365         * configure: Regenerated.
26366         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26367         * nscd/Makefile (CFLAGS-nscd): Likewise.
26368         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26370 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26372         [BZ #19122]
26373         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26374         attribute_hidden.
26376 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26378         [BZ #18743]
26379         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26380         code to...
26381         (ELIDE_LOCK): ...here.
26382         (__get_new_count): New function with part of the code from
26383         __elide_lock that updates the value of adapt_count after a
26384         transaction abort.
26385         (__elided_trylock): Moved this code to...
26386         (ELIDE_TRYLOCK): ...here.
26388 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26390         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26391         * configure: Regenerate.
26392         * INSTALL: Regenerate.
26393         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26394         and tweak grammar.
26396 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26398         * login/programs/pt_chown.c: Include signal.h
26399         (main): Clear any signal mask from the parent process.
26401 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26403         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26404         * configure: Regenerated.
26405         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26406         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26407         $(gnu89-inline-CFLAGS).
26409         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26410         test.
26411         (libc_cv_asm_weakext_directive): Likewise.
26412         * configure: Regenerated.
26413         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26414         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26415         * include/libc-symbols.h
26416         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26417         #error.
26418         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26419         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26421         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26422         prototype-style function definition.
26423         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26424         * sysdeps/i386/ffs.c (__ffs): Likewise.
26425         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26426         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26427         Likewise.
26428         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26429         Likewise.
26430         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26431         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26432         Likewise.
26433         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26434         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26435         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26436         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26437         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26438         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26439         * sysdeps/mach/hurd/access.c (__access): Likewise.
26440         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26441         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26442         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26443         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26444         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26445         (cthread_getspecific): Likewise.
26446         (cthread_setspecific): Likewise.
26447         (__libc_getspecific): Likewise.
26448         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26449         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26450         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26451         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26452         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26453         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26454         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26455         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26456         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26457         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26458         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26459         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26460         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26461         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26462         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26463         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26464         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26465         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26466         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26467         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26468         * sysdeps/mach/hurd/link.c (__link): Likewise.
26469         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26470         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26471         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26472         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26473         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26474         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26475         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26476         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26477         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26478         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26479         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26480         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26481         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26482         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26483         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26484         * sysdeps/mach/hurd/send.c (__send): Likewise.
26485         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26486         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26487         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26488         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26489         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26490         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26491         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26492         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26493         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26494         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26495         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26496         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26497         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26498         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26499         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26500         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26501         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26502         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26503         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26504         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26505         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26506         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26507         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26508         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26509         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26510         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26511         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26512         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26513         * sysdeps/posix/alarm.c (alarm): Likewise.
26514         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26515         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26516         * sysdeps/posix/dup.c (__dup): Likewise.
26517         * sysdeps/posix/dup2.c (__dup2): Likewise.
26518         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26519         (main): Likewise.
26520         * sysdeps/posix/flock.c (__flock): Likewise.
26521         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26522         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26523         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26524         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26525         * sysdeps/posix/isatty.c (__isatty): Likewise.
26526         * sysdeps/posix/killpg.c (killpg): Likewise.
26527         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26528         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26529         * sysdeps/posix/raise.c (raise): Likewise.
26530         * sysdeps/posix/remove.c (remove): Likewise.
26531         * sysdeps/posix/rename.c (rename): Likewise.
26532         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26533         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26534         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26535         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26536         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26537         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26538         * sysdeps/posix/sigset.c (sigset): Likewise.
26539         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26540         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26541         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26542         * sysdeps/posix/time.c (time): Likewise.
26543         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26544         (ttyname): Likewise.
26545         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26546         * sysdeps/posix/utime.c (utime): Likewise.
26547         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26548         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26549         Likewise.
26550         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26551         (pthread_spin_trylock): Likewise.
26552         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26553         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26554         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26555         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26556         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26557         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26558         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26559         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26560         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26561         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26562         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26563         * sysdeps/s390/ffs.c (__ffs): Likewise.
26564         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26565         Likewise.
26566         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26567         Likewise.
26568         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26569         Likewise.
26570         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26571         (pthread_barrier_destroy): Likewise.
26572         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26573         (__pthread_barrier_wait): Likewise.
26574         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26575         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26576         (__pthread_barrier_wait): Likewise.
26577         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26578         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26579         (memcmp_not_common_alignment): Likewise.
26580         (MEMCMP): Likewise.
26581         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26582         (_wordcopy_fwd_dest_aligned): Likewise.
26583         (_wordcopy_bwd_aligned): Likewise.
26584         (_wordcopy_bwd_dest_aligned): Likewise.
26585         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26586         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26587         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26588         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26589         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26590         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26591         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26592         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26593         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26594         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26595         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26596         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26597         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26598         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26599         * sysdeps/unix/stime.c (stime): Likewise.
26600         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26601         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26602         Likewise.  Use internal_function.
26603         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26604         Convert to prototype-style function definition.
26605         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26606         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26607         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26608         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26609         Likewise.  Use internal_function.
26610         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26611         prototype-style function definition
26612         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26613         Likewise.
26614         (__getlogin_r): Likewise.
26615         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26617         (__pthread_cond_broadcast): Likewise.
26618         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26619         (__pthread_cond_destroy): Likewise.
26620         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26621         (__pthread_cond_init): Likewise.
26622         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26623         (__pthread_cond_signal): Likewise.
26624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26625         (__pthread_cond_wait): Likewise.
26626         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26627         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26628         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26629         Likewise.
26630         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26631         Likewise.
26632         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26633         Likewise.
26634         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26635         Likewise.
26636         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26638         (__ftruncate64): Likewise.
26639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26640         (truncate64): Likewise.
26641         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26642         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26643         (pthread_getcpuclockid): Likewise.
26644         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26645         Likewise.
26646         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26647         Likewise.
26648         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26649         Likewise.
26650         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26651         Likewise.
26652         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26653         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26654         (__libc_sigaction): Likewise.
26655         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26656         Likewise.
26657         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26658         (__sigprocmask): Likewise.
26659         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26660         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26661         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26662         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26663         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26664         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26665         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26668         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26669         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26670         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26671         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26672         Likewise.
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26674         (__sigprocmask): Likewise.
26675         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26676         (cfgetispeed): Likewise.
26677         (cfsetospeed): Likewise.
26678         (cfsetispeed): Likewise.
26679         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26680         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26681         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26682         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26683         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26684         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26685         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26686         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26687         Likewise.
26688         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26689         Likewise.
26690         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26691         Likewise.
26692         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26693         Likewise.
26694         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26696 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26698         sunrpc: Rewrite with explicit TLS access using __thread.
26699         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26700         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26701         directly.
26702         (__rpc_thread_variables): Access thread_rpc_vars directly.
26703         Eliminate redundant assignment of the tvp variable.
26705 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26707         malloc: Rewrite with explicit TLS access using __thread.
26708         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26709         (tsd_setspecific, tsd_getspecific): Remove.
26710         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26711         (tsd_setspecific, tsd_getspecific): Likewise.
26712         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26713         (tsd_setspecific, tsd_getspecific): Likewise.
26714         * malloc/arena.c (thread_arena): New TLS variable.
26715         (arena_key): Remove variable.
26716         (arena_get): Use thread_arena.
26717         (arena_lookup): Remove macro.
26718         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26719         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26720         (_int_new_arena, get_free_list, reused_arena)
26721         (arena_thread_freeres): Use thread_arena.
26722         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26723         tsd_getspecific, tsd_setspecific from safety annotations.
26724         (Allocating Cleared Space): Remove arena_lookup from safety
26725         annotations.
26727 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26729         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26730         struct scratch_buffer instead of extend_alloca.
26732 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26734         * sysdeps/unix/sysv/linux/kernel-features.h
26735         (__ASSUME_SOCK_CLOEXEC): Remove.
26736         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26737         (__have_paccept): Remove unused macro.
26738         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26739         * misc/syslog.c (openlog_internal): Remove fallback code for
26740         !__ASSUME_SOCK_CLOEXEC.
26741         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26742         missing SOCK_CLOEXEC.
26743         * nscd/connections.c (have_sock_cloexec): Remove definition.
26744         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26745         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26746         !__ASSUME_SOCK_CLOEXEC.
26747         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26748         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26749         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26750         definition.
26751         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26752         code for !__ASSUME_SOCK_CLOEXEC.
26754 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26756         [BZ #18982]
26757         * manual/stdio.texi (Variable Arguments Output): Add portability
26758         note, explaining that vfprintf clobbers the va_list pointer.
26760 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26762         * math/libm-test.inc (fabs_test_data): Add more tests.
26763         (fdim_test_data): Likewise.
26764         (fma_test_data): Likewise.
26765         (fmax_test_data): Likewise.
26766         (fmin_test_data): Likewise.
26767         (fmod_test_data): Likewise.
26769 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26771         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26772         data.
26774 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26776         * math/libm-test.inc (ceil_test_data): Add more tests and more
26777         expectations for "inexact".
26778         (floor_test_data): Add more tests.
26779         (round_test_data): Likewise.
26780         (trunc_test_data): Likewise.
26782         * crypt/cert.c (good_bye): Convert to prototype-style function
26783         definition.
26784         (get8): Likewise.
26785         (put8): Likewise.
26786         * crypt/crypt-entry.c (crypt): Likewise.
26787         (__fcrypt): Likewise.
26788         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26789         (_ufc_set_bits): Likewise.
26790         (_ufc_clearmem): Likewise.
26791         (__init_des_r): Likewise.
26792         (shuffle_sb): Likewise.
26793         (shuffle_sb): Likewise.
26794         (_ufc_setup_salt_r): Likewise.
26795         (_ufc_mk_keytab_r): Likewise.
26796         (_ufc_dofinalperm_r): Likewise.
26797         (encrypt): Likewise.
26798         (__setkey_r): Likewise.
26799         (setkey): Likewise.
26800         * crypt/md5.c (md5_init_ctx): Likewise.
26801         (md5_read_ctx): Likewise.
26802         (md5_finish_ctx): Likewise.
26803         (md5_stream): Likewise.
26804         (md5_buffer): Likewise.
26805         (md5_process_bytes): Likewise.
26806         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26807         (__sha256_finish_ctx): Likewise.
26808         (__sha256_process_bytes): Likewise.
26809         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26810         (__sha512_finish_ctx): Likewise.
26811         (__sha512_process_bytes): Likewise.
26812         * ctype/isctype.c (__isctype): Likewise.
26813         * debug/backtrace.c (__backtrace): Likewise.
26814         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26815         * debug/fgets_chk.c (__fgets_chk): Likewise.
26816         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26817         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26818         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26819         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26820         * debug/memset_chk.c (__memset_chk): Likewise.
26821         * debug/strcat_chk.c (__strcat_chk): Likewise.
26822         * debug/strncat_chk.c (__strncat_chk): Likewise.
26823         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26824         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26825         * dirent/dirfd.c (dirfd): Likewise.
26826         * dirent/getdents.c (__getdirentries): Likewise.
26827         * dirent/getdents64.c (getdirentries64): Likewise.
26828         * dirent/rewinddir.c (__rewinddir): Likewise.
26829         * dirent/seekdir.c (seekdir): Likewise.
26830         * dirent/telldir.c (telldir): Likewise.
26831         * elf/sln.c (makesymlinks): Likewise.
26832         (makesymlink): Likewise.
26833         * gmon/gmon.c (__moncontrol): Likewise.
26834         (__monstartup): Likewise.
26835         (write_hist): Likewise.
26836         (write_call_graph): Likewise.
26837         (write_bb_counts): Likewise.
26838         * grp/setgroups.c (setgroups): Likewise.
26839         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26840         * inet/inet_net.c (inet_network): Likewise.
26841         * inet/inet_netof.c (inet_netof): Likewise.
26842         * inet/rcmd.c (rresvport_af): Likewise.
26843         (rresvport): Likewise.
26844         * io/access.c (__access): Likewise.
26845         * io/chdir.c (__chdir): Likewise.
26846         * io/chmod.c (__chmod): Likewise.
26847         * io/chown.c (__chown): Likewise.
26848         * io/close.c (__close): Likewise.
26849         * io/creat.c (creat): Likewise.
26850         * io/creat64.c (creat64): Likewise.
26851         * io/dup.c (__dup): Likewise.
26852         * io/dup2.c (__dup2): Likewise.
26853         * io/dup3.c (__dup3): Likewise.
26854         * io/euidaccess.c (__euidaccess): Likewise.
26855         * io/faccessat.c (faccessat): Likewise.
26856         * io/fchmod.c (__fchmod): Likewise.
26857         * io/fchmodat.c (fchmodat): Likewise.
26858         * io/fchown.c (__fchown): Likewise.
26859         * io/fchownat.c (fchownat): Likewise.
26860         * io/fcntl.c (__fcntl): Likewise.
26861         * io/flock.c (__flock): Likewise.
26862         * io/fts.c (fts_load): Likewise.
26863         (fts_close): Likewise.
26864         (fts_read): Likewise.
26865         (fts_set): Likewise.
26866         (fts_children): Likewise.
26867         (fts_build): Likewise.
26868         (fts_stat): Likewise.
26869         (fts_sort): Likewise.
26870         (fts_alloc): Likewise.
26871         (fts_lfree): Likewise.
26872         (fts_palloc): Likewise.
26873         (fts_padjust): Likewise.
26874         (fts_maxarglen): Likewise.
26875         (fts_safe_changedir): Likewise.
26876         * io/getwd.c (getwd): Likewise.
26877         * io/isatty.c (__isatty): Likewise.
26878         * io/lchown.c (__lchown): Likewise.
26879         * io/link.c (__link): Likewise.
26880         * io/linkat.c (linkat): Likewise.
26881         * io/lseek.c (__libc_lseek): Likewise.
26882         * io/mkdir.c (__mkdir): Likewise.
26883         * io/mkdirat.c (mkdirat): Likewise.
26884         * io/mkfifo.c (mkfifo): Likewise.
26885         * io/mkfifoat.c (mkfifoat): Likewise.
26886         * io/open.c (__libc_open): Likewise.
26887         * io/open64.c (__libc_open64): Likewise.
26888         * io/readlink.c (__readlink): Likewise.
26889         * io/readlinkat.c (readlinkat): Likewise.
26890         * io/rmdir.c (__rmdir): Likewise.
26891         * io/symlink.c (__symlink): Likewise.
26892         * io/symlinkat.c (symlinkat): Likewise.
26893         * io/ttyname.c (ttyname): Likewise.
26894         * io/ttyname_r.c (__ttyname_r): Likewise.
26895         * io/umask.c (__umask): Likewise.
26896         * io/unlink.c (__unlink): Likewise.
26897         * io/unlinkat.c (unlinkat): Likewise.
26898         * io/utime.c (utime): Likewise.
26899         * libio/clearerr.c (clearerr): Likewise.
26900         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26901         * libio/feof.c (_IO_feof): Likewise.
26902         * libio/feof_u.c (feof_unlocked): Likewise.
26903         * libio/ferror.c (_IO_ferror): Likewise.
26904         * libio/ferror_u.c (ferror_unlocked): Likewise.
26905         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26906         * libio/fileno.c (__fileno): Likewise.
26907         * libio/fputc.c (fputc): Likewise.
26908         * libio/fputc_u.c (fputc_unlocked): Likewise.
26909         * libio/fputwc.c (fputwc): Likewise.
26910         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26911         * libio/freopen.c (freopen): Likewise.
26912         * libio/freopen64.c (freopen64): Likewise.
26913         * libio/fseek.c (fseek): Likewise.
26914         * libio/fseeko.c (fseeko): Likewise.
26915         * libio/fseeko64.c (fseeko64): Likewise.
26916         * libio/ftello.c (__ftello): Likewise.
26917         * libio/ftello64.c (ftello64): Likewise.
26918         * libio/fwide.c (fwide): Likewise.
26919         * libio/genops.c (_IO_un_link): Likewise.
26920         (_IO_link_in): Likewise.
26921         (_IO_least_marker): Likewise.
26922         (_IO_switch_to_main_get_area): Likewise.
26923         (_IO_switch_to_backup_area): Likewise.
26924         (_IO_switch_to_get_mode): Likewise.
26925         (_IO_free_backup_area): Likewise.
26926         (_IO_switch_to_put_mode): Likewise.
26927         (__overflow): Likewise.
26928         (__underflow): Likewise.
26929         (__uflow): Likewise.
26930         (_IO_setb): Likewise.
26931         (_IO_doallocbuf): Likewise.
26932         (_IO_default_underflow): Likewise.
26933         (_IO_default_uflow): Likewise.
26934         (_IO_default_xsputn): Likewise.
26935         (_IO_sgetn): Likewise.
26936         (_IO_default_xsgetn): Likewise.
26937         (_IO_sync): Likewise.
26938         (_IO_default_setbuf): Likewise.
26939         (_IO_default_seekpos): Likewise.
26940         (_IO_default_doallocate): Likewise.
26941         (_IO_init): Likewise.
26942         (_IO_old_init): Likewise.
26943         (_IO_default_sync): Likewise.
26944         (_IO_default_finish): Likewise.
26945         (_IO_default_seekoff): Likewise.
26946         (_IO_sputbackc): Likewise.
26947         (_IO_sungetc): Likewise.
26948         (_IO_set_column): Likewise.
26949         (_IO_set_column): Likewise.
26950         (_IO_adjust_column): Likewise.
26951         (_IO_get_column): Likewise.
26952         (_IO_init_marker): Likewise.
26953         (_IO_remove_marker): Likewise.
26954         (_IO_marker_difference): Likewise.
26955         (_IO_marker_delta): Likewise.
26956         (_IO_seekmark): Likewise.
26957         (_IO_unsave_markers): Likewise.
26958         (_IO_nobackup_pbackfail): Likewise.
26959         (_IO_default_pbackfail): Likewise.
26960         (_IO_default_seek): Likewise.
26961         (_IO_default_stat): Likewise.
26962         (_IO_default_read): Likewise.
26963         (_IO_default_write): Likewise.
26964         (_IO_default_showmanyc): Likewise.
26965         (_IO_default_imbue): Likewise.
26966         (_IO_iter_next): Likewise.
26967         (_IO_iter_file): Likewise.
26968         * libio/getc.c (_IO_getc): Likewise.
26969         * libio/getwc.c (_IO_getwc): Likewise.
26970         * libio/iofclose.c (_IO_new_fclose): Likewise.
26971         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26972         * libio/iofflush.c (_IO_fflush): Likewise.
26973         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26974         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26975         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26976         * libio/iofgets.c (_IO_fgets): Likewise.
26977         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26978         * libio/iofgetws.c (fgetws): Likewise.
26979         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26980         * libio/iofopen64.c (_IO_fopen64): Likewise.
26981         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26982         (_IO_cookie_write): Likewise.
26983         (_IO_cookie_seek): Likewise.
26984         (_IO_cookie_close): Likewise.
26985         (_IO_cookie_seekoff): Likewise.
26986         (_IO_old_cookie_seek): Likewise.
26987         * libio/iofputs.c (_IO_fputs): Likewise.
26988         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26989         * libio/iofputws.c (fputws): Likewise.
26990         * libio/iofputws_u.c (fputws_unlocked): Likewise.
26991         * libio/iofread.c (_IO_fread): Likewise.
26992         * libio/iofread_u.c (__fread_unlocked): Likewise.
26993         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26994         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26995         * libio/ioftell.c (_IO_ftell): Likewise.
26996         * libio/iofwrite.c (_IO_fwrite): Likewise.
26997         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26998         * libio/iogets.c (_IO_gets): Likewise.
26999         * libio/iopadn.c (_IO_padn): Likewise.
27000         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27001         (_IO_new_popen): Likewise.
27002         (_IO_new_proc_close): Likewise.
27003         * libio/ioputs.c (_IO_puts): Likewise.
27004         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27005         (_IO_seekoff): Likewise.
27006         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27007         (_IO_seekpos): Likewise.
27008         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27009         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27010         * libio/ioungetc.c (_IO_ungetc): Likewise.
27011         * libio/ioungetwc.c (ungetwc): Likewise.
27012         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27013         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27014         * libio/iowpadn.c (_IO_wpadn): Likewise.
27015         * libio/libc_fatal.c (__libc_fatal): Likewise.
27016         * libio/memstream.c (__open_memstream): Likewise.
27017         (_IO_mem_sync): Likewise.
27018         (_IO_mem_finish): Likewise.
27019         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27020         (_IO_old_file_close_it): Likewise.
27021         (_IO_old_file_finish): Likewise.
27022         (_IO_old_file_fopen): Likewise.
27023         (_IO_old_file_attach): Likewise.
27024         (_IO_old_file_setbuf): Likewise.
27025         (_IO_old_do_write): Likewise.
27026         (old_do_write): Likewise.
27027         (_IO_old_file_underflow): Likewise.
27028         (_IO_old_file_overflow): Likewise.
27029         (_IO_old_file_sync): Likewise.
27030         (_IO_old_file_seekoff): Likewise.
27031         (_IO_old_file_write): Likewise.
27032         (_IO_old_file_xsputn): Likewise.
27033         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27034         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27035         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27036         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27037         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27038         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27039         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27040         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27041         (_IO_old_popen): Likewise.
27042         (_IO_old_proc_close): Likewise.
27043         * libio/oldpclose.c (__old_pclose): Likewise.
27044         * libio/pclose.c (__new_pclose): Likewise.
27045         * libio/peekc.c (_IO_peekc_locked): Likewise.
27046         * libio/putc.c (_IO_putc): Likewise.
27047         * libio/putc_u.c (putc_unlocked): Likewise.
27048         * libio/putchar.c (putchar): Likewise.
27049         * libio/putchar_u.c (putchar_unlocked): Likewise.
27050         * libio/putwc.c (putwc): Likewise.
27051         * libio/putwc_u.c (putwc_unlocked): Likewise.
27052         * libio/putwchar.c (putwchar): Likewise.
27053         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27054         * libio/rewind.c (rewind): Likewise.
27055         * libio/setbuf.c (setbuf): Likewise.
27056         * libio/setlinebuf.c (setlinebuf): Likewise.
27057         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27058         * libio/vscanf.c (_IO_vscanf): Likewise.
27059         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27060         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27061         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27062         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27063         (_IO_switch_to_main_wget_area): Likewise.
27064         (_IO_switch_to_wbackup_area): Likewise.
27065         (_IO_wsetb): Likewise.
27066         (_IO_wdefault_pbackfail): Likewise.
27067         (_IO_wdefault_finish): Likewise.
27068         (_IO_wdefault_uflow): Likewise.
27069         (__woverflow): Likewise.
27070         (__wuflow): Likewise.
27071         (__wunderflow): Likewise.
27072         (_IO_wdefault_xsputn): Likewise.
27073         (_IO_wdefault_xsgetn): Likewise.
27074         (_IO_wdoallocbuf): Likewise.
27075         (_IO_wdefault_doallocate): Likewise.
27076         (_IO_switch_to_wget_mode): Likewise.
27077         (_IO_free_wbackup_area): Likewise.
27078         (_IO_switch_to_wput_mode): Likewise.
27079         (_IO_sputbackwc): Likewise.
27080         (_IO_sungetwc): Likewise.
27081         (_IO_adjust_wcolumn): Likewise.
27082         (_IO_init_wmarker): Likewise.
27083         (_IO_wmarker_delta): Likewise.
27084         (_IO_seekwmark): Likewise.
27085         (_IO_unsave_wmarkers): Likewise.
27086         * libio/wmemstream.c (open_wmemstream): Likewise.
27087         (_IO_wmem_sync): Likewise.
27088         (_IO_wmem_finish): Likewise.
27089         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27090         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27091         * locale/programs/simple-hash.c (init_hash): Likewise.
27092         (delete_hash): Likewise.
27093         (insert_entry): Likewise.
27094         (set_entry): Likewise.
27095         (next_prime): Likewise.
27096         (is_prime): Likewise.
27097         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27098         (xmalloc): Likewise.
27099         (xrealloc): Likewise.
27100         * locale/programs/xstrdup.c (xstrdup): Likewise.
27101         * localedata/collate-test.c (xstrcoll): Likewise.
27102         * localedata/xfrm-test.c (xstrcmp): Likewise.
27103         * login/getlogin_r.c (__getlogin_r): Likewise.
27104         * login/getpt.c (__posix_openpt): Likewise.
27105         * login/login_tty.c (login_tty): Likewise.
27106         * login/setlogin.c (setlogin): Likewise.
27107         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27108         (mach_msg_destroy_port): Likewise.
27109         (mach_msg_destroy_memory): Likewise.
27110         * malloc/mcheck.c (flood): Likewise.
27111         * misc/acct.c (acct): Likewise.
27112         * misc/brk.c (__brk): Likewise.
27113         * misc/chflags.c (chflags): Likewise.
27114         * misc/chroot.c (chroot): Likewise.
27115         * misc/fchflags.c (fchflags): Likewise.
27116         * misc/fstab.c (getfsspec): Likewise.
27117         (getfsfile): Likewise.
27118         * misc/fsync.c (fsync): Likewise.
27119         * misc/ftruncate.c (__ftruncate): Likewise.
27120         * misc/ftruncate64.c (__ftruncate64): Likewise.
27121         * misc/getdomain.c (getdomainname): Likewise.
27122         (getdomainname): Likewise.
27123         * misc/gethostname.c (__gethostname): Likewise.
27124         * misc/getpass.c (getpass): Likewise.
27125         * misc/getttyent.c (skip): Likewise.
27126         (value): Likewise.
27127         * misc/gtty.c (gtty): Likewise.
27128         * misc/hsearch.c (hsearch): Likewise.
27129         (hcreate): Likewise.
27130         * misc/hsearch_r.c (__hcreate_r): Likewise.
27131         (__hdestroy_r): Likewise.
27132         * misc/ioctl.c (__ioctl): Likewise.
27133         * misc/mkdtemp.c (mkdtemp): Likewise.
27134         * misc/mkostemp.c (mkostemp): Likewise.
27135         * misc/mkostemp64.c (mkostemp64): Likewise.
27136         * misc/mkostemps.c (mkostemps): Likewise.
27137         * misc/mkostemps64.c (mkostemps64): Likewise.
27138         * misc/mkstemp.c (mkstemp): Likewise.
27139         * misc/mkstemp64.c (mkstemp64): Likewise.
27140         * misc/mkstemps.c (mkstemps): Likewise.
27141         * misc/mkstemps64.c (mkstemps64): Likewise.
27142         * misc/mktemp.c (__mktemp): Likewise.
27143         * misc/preadv.c (preadv): Likewise.
27144         * misc/preadv64.c (preadv64): Likewise.
27145         * misc/pwritev.c (pwritev): Likewise.
27146         * misc/pwritev64.c (pwritev64): Likewise.
27147         * misc/readv.c (__readv): Likewise.
27148         * misc/revoke.c (revoke): Likewise.
27149         * misc/setdomain.c (setdomainname): Likewise.
27150         * misc/setegid.c (setegid): Likewise.
27151         * misc/seteuid.c (seteuid): Likewise.
27152         * misc/sethostid.c (sethostid): Likewise.
27153         * misc/sethostname.c (sethostname): Likewise.
27154         * misc/setregid.c (__setregid): Likewise.
27155         * misc/setreuid.c (__setreuid): Likewise.
27156         * misc/sstk.c (sstk): Likewise.
27157         * misc/stty.c (stty): Likewise.
27158         * misc/syscall.c (syscall): Likewise.
27159         * misc/syslog.c (setlogmask): Likewise.
27160         * misc/truncate.c (__truncate): Likewise.
27161         * misc/truncate64.c (truncate64): Likewise.
27162         * misc/ualarm.c (ualarm): Likewise.
27163         * misc/usleep.c (usleep): Likewise.
27164         * misc/ustat.c (ustat): Likewise.
27165         * misc/writev.c (__writev): Likewise.
27166         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27167         * nptl/old_pthread_cond_broadcast.c
27168         (__pthread_cond_broadcast_2_0): Likewise.
27169         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27170         Likewise.
27171         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27172         Likewise.
27173         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27174         Likewise.
27175         * nptl/pt-raise.c (raise): Likewise.
27176         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27177         Likewise.
27178         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27179         * nptl/pthread_barrierattr_destroy.c
27180         (pthread_barrierattr_destroy): Likewise.
27181         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27182         Likewise.
27183         * nptl/pthread_barrierattr_setpshared.c
27184         (pthread_barrierattr_setpshared): Likewise.
27185         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27186         Likewise.
27187         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27188         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27189         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27190         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27191         Likewise.
27192         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27193         Likewise.
27194         * nptl/pthread_condattr_getpshared.c
27195         (pthread_condattr_getpshared): Likewise.
27196         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27197         Likewise.
27198         * nptl/pthread_condattr_setpshared.c
27199         (pthread_condattr_setpshared): Likewise.
27200         * nptl/pthread_detach.c (pthread_detach): Likewise.
27201         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27202         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27203         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27204         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27205         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27206         Likewise.
27207         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27208         Likewise.
27209         * nptl/pthread_mutex_getprioceiling.c
27210         (pthread_mutex_getprioceiling): Likewise.
27211         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27212         Likewise.
27213         * nptl/pthread_mutexattr_getprotocol.c
27214         (pthread_mutexattr_getprotocol): Likewise.
27215         * nptl/pthread_mutexattr_getpshared.c
27216         (pthread_mutexattr_getpshared): Likewise.
27217         * nptl/pthread_mutexattr_getrobust.c
27218         (pthread_mutexattr_getrobust): Likewise.
27219         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27220         Likewise.
27221         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27222         Likewise.
27223         * nptl/pthread_mutexattr_setprioceiling.c
27224         (pthread_mutexattr_setprioceiling): Likewise.
27225         * nptl/pthread_mutexattr_setprotocol.c
27226         (pthread_mutexattr_setprotocol): Likewise.
27227         * nptl/pthread_mutexattr_setpshared.c
27228         (pthread_mutexattr_setpshared): Likewise.
27229         * nptl/pthread_mutexattr_setrobust.c
27230         (pthread_mutexattr_setrobust): Likewise.
27231         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27232         Likewise.
27233         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27234         Likewise.
27235         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27236         Likewise.
27237         * nptl/pthread_rwlockattr_getkind_np.c
27238         (pthread_rwlockattr_getkind_np): Likewise.
27239         * nptl/pthread_rwlockattr_getpshared.c
27240         (pthread_rwlockattr_getpshared): Likewise.
27241         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27242         Likewise.
27243         * nptl/pthread_rwlockattr_setkind_np.c
27244         (pthread_rwlockattr_setkind_np): Likewise.
27245         * nptl/pthread_rwlockattr_setpshared.c
27246         (pthread_rwlockattr_setpshared): Likewise.
27247         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27248         Likewise.
27249         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27250         Likewise.
27251         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27252         Likewise.
27253         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27254         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27255         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27256         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27257         * nptl/sem_close.c (sem_close): Likewise.
27258         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27259         * nptl/sem_init.c (__old_sem_init): Likewise.
27260         * nptl/sigaction.c (__sigaction): Likewise.
27261         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27262         * posix/_exit.c (_exit): Likewise.
27263         * posix/alarm.c (alarm): Likewise.
27264         * posix/confstr.c (confstr): Likewise.
27265         * posix/fpathconf.c (__fpathconf): Likewise.
27266         * posix/getgroups.c (__getgroups): Likewise.
27267         * posix/getpgid.c (__getpgid): Likewise.
27268         * posix/group_member.c (__group_member): Likewise.
27269         * posix/pathconf.c (__pathconf): Likewise.
27270         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27271         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27272         * posix/setgid.c (__setgid): Likewise.
27273         * posix/setpgid.c (__setpgid): Likewise.
27274         * posix/setuid.c (__setuid): Likewise.
27275         * posix/sleep.c (__sleep): Likewise.
27276         * posix/sysconf.c (__sysconf): Likewise.
27277         * posix/times.c (__times): Likewise.
27278         * posix/uname.c (__uname): Likewise.
27279         * posix/waitid.c (__waitid): Likewise.
27280         * pwd/getpw.c (__getpw): Likewise.
27281         * resolv/base64.c (b64_pton): Likewise.
27282         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27283         * resolv/gethnamaddr.c (Dprintf): Likewise.
27284         (gethostbyname): Likewise.
27285         (gethostbyname2): Likewise.
27286         (gethostbyaddr): Likewise.
27287         (_sethtent): Likewise.
27288         (_gethtbyname): Likewise.
27289         (_gethtbyname2): Likewise.
27290         (_gethtbyaddr): Likewise.
27291         (map_v4v6_address): Likewise.
27292         (map_v4v6_hostent): Likewise.
27293         (addrsort): Likewise.
27294         (ht_sethostent): Likewise.
27295         (ht_gethostbyname): Likewise.
27296         (ht_gethostbyaddr): Likewise.
27297         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27298         (inet_net_ntop_ipv4): Likewise.
27299         * resolv/inet_neta.c (inet_neta): Likewise.
27300         * resolv/inet_ntop.c (inet_ntop): Likewise.
27301         (inet_ntop4): Likewise.
27302         (inet_ntop6): Likewise.
27303         * resolv/inet_pton.c (__inet_pton): Likewise.
27304         (inet_pton4): Likewise.
27305         (inet_pton6): Likewise.
27306         * resolv/res_debug.c (loc_aton): Likewise.
27307         (loc_ntoa): Likewise.
27308         * resource/getpriority.c (__getpriority): Likewise.
27309         * resource/getrusage.c (__getrusage): Likewise.
27310         * resource/nice.c (nice): Likewise.
27311         * resource/setpriority.c (__setpriority): Likewise.
27312         * resource/setrlimit64.c (setrlimit64): Likewise.
27313         * resource/vlimit.c (vlimit): Likewise.
27314         * resource/vtimes.c (vtimes): Likewise.
27315         * rt/aio_error.c (aio_error): Likewise.
27316         * rt/aio_return.c (aio_return): Likewise.
27317         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27318         * signal/kill.c (__kill): Likewise.
27319         * signal/killpg.c (killpg): Likewise.
27320         * signal/raise.c (raise): Likewise.
27321         * signal/sigaction.c (__sigaction): Likewise.
27322         * signal/sigaddset.c (sigaddset): Likewise.
27323         * signal/sigaltstack.c (sigaltstack): Likewise.
27324         * signal/sigandset.c (sigandset): Likewise.
27325         * signal/sigblock.c (__sigblock): Likewise.
27326         * signal/sigdelset.c (sigdelset): Likewise.
27327         * signal/sigempty.c (sigemptyset): Likewise.
27328         * signal/sigfillset.c (sigfillset): Likewise.
27329         * signal/sighold.c (sighold): Likewise.
27330         * signal/sigignore.c (sigignore): Likewise.
27331         * signal/sigintr.c (siginterrupt): Likewise.
27332         * signal/sigisempty.c (sigisemptyset): Likewise.
27333         * signal/sigismem.c (sigismember): Likewise.
27334         * signal/signal.c (signal): Likewise.
27335         * signal/sigorset.c (sigorset): Likewise.
27336         * signal/sigpause.c (__sigpause): Likewise.
27337         * signal/sigpending.c (sigpending): Likewise.
27338         * signal/sigprocmask.c (__sigprocmask): Likewise.
27339         * signal/sigrelse.c (sigrelse): Likewise.
27340         * signal/sigreturn.c (__sigreturn): Likewise.
27341         * signal/sigset.c (sigset): Likewise.
27342         * signal/sigsetmask.c (__sigsetmask): Likewise.
27343         * signal/sigstack.c (sigstack): Likewise.
27344         * signal/sigsuspend.c (__sigsuspend): Likewise.
27345         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27346         * signal/sysv_signal.c (__sysv_signal): Likewise.
27347         * socket/accept.c (accept): Likewise.
27348         * socket/accept4.c (__libc_accept4): Likewise.
27349         * socket/bind.c (__bind): Likewise.
27350         * socket/connect.c (__connect): Likewise.
27351         * socket/getpeername.c (getpeername): Likewise.
27352         * socket/getsockname.c (__getsockname): Likewise.
27353         * socket/getsockopt.c (getsockopt): Likewise.
27354         * socket/listen.c (__listen): Likewise.
27355         * socket/recv.c (__recv): Likewise.
27356         * socket/recvmsg.c (__recvmsg): Likewise.
27357         * socket/send.c (__send): Likewise.
27358         * socket/sendmsg.c (__sendmsg): Likewise.
27359         * socket/shutdown.c (shutdown): Likewise.
27360         * socket/sockatmark.c (sockatmark): Likewise.
27361         * socket/socket.c (__socket): Likewise.
27362         * stdio-common/ctermid.c (ctermid): Likewise.
27363         * stdio-common/cuserid.c (cuserid): Likewise.
27364         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27365         * stdio-common/remove.c (remove): Likewise.
27366         * stdio-common/rename.c (rename): Likewise.
27367         * stdio-common/renameat.c (renameat): Likewise.
27368         * stdio-common/tempname.c (__gen_tempname): Likewise.
27369         * stdio-common/xbug.c (InitBuffer): Likewise.
27370         (AppendToBuffer): Likewise.
27371         (ReadFile): Likewise.
27372         * stdlib/a64l.c (a64l): Likewise.
27373         * stdlib/drand48_r.c (drand48_r): Likewise.
27374         * stdlib/getcontext.c (getcontext): Likewise.
27375         * stdlib/getenv.c (getenv): Likewise.
27376         * stdlib/l64a.c (l64a): Likewise.
27377         * stdlib/llabs.c (llabs): Likewise.
27378         * stdlib/lldiv.c (lldiv): Likewise.
27379         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27380         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27381         * stdlib/putenv.c (putenv): Likewise.
27382         * stdlib/random.c (__srandom): Likewise.
27383         (__initstate): Likewise.
27384         (__setstate): Likewise.
27385         * stdlib/random_r.c (__srandom_r): Likewise.
27386         (__setstate_r): Likewise.
27387         (__random_r): Likewise.
27388         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27389         * stdlib/setcontext.c (setcontext): Likewise.
27390         * stdlib/setenv.c (setenv): Likewise.
27391         (unsetenv): Likewise.
27392         * stdlib/srand48.c (srand48): Likewise.
27393         * stdlib/srand48_r.c (__srand48_r): Likewise.
27394         * stdlib/swapcontext.c (swapcontext): Likewise.
27395         * stdlib/system.c (__libc_system): Likewise.
27396         * stdlib/tst-strtod.c (expand): Likewise.
27397         * stdlib/tst-strtol.c (expand): Likewise.
27398         * stdlib/tst-strtoll.c (expand): Likewise.
27399         * streams/fattach.c (fattach): Likewise.
27400         * streams/fdetach.c (fdetach): Likewise.
27401         * streams/getmsg.c (getmsg): Likewise.
27402         * streams/isastream.c (isastream): Likewise.
27403         * string/ffs.c (__ffs): Likewise.
27404         * string/ffsll.c (ffsll): Likewise.
27405         * string/memcmp.c (memcmp_common_alignment): Likewise.
27406         (memcmp_not_common_alignment): Likewise.
27407         (MEMCMP): Likewise.
27408         * string/memcpy.c (memcpy): Likewise.
27409         * string/memmove.c (MEMMOVE): Likewise.
27410         * string/memset.c (memset): Likewise.
27411         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27412         * string/strchrnul.c (STRCHRNUL): Likewise.
27413         * string/strerror.c (strerror): Likewise.
27414         * string/strndup.c (__strndup): Likewise.
27415         * string/strverscmp.c (__strverscmp): Likewise.
27416         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27417         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27418         (clnttcp_freeres): Likewise.
27419         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27420         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27421         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27422         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27423         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27424         (xdr_callhdr): Likewise.
27425         * sunrpc/rpcinfo.c (udpping): Likewise.
27426         (tcpping): Likewise.
27427         (pstatus): Likewise.
27428         (pmapdump): Likewise.
27429         (brdcst): Likewise.
27430         (deletereg): Likewise.
27431         (getprognum): Likewise.
27432         (getvers): Likewise.
27433         (get_inet_address): Likewise.
27434         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27435         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27436         (svcudp_stat): Likewise.
27437         (svcudp_recv): Likewise.
27438         (svcudp_reply): Likewise.
27439         (svcudp_getargs): Likewise.
27440         (svcudp_freeargs): Likewise.
27441         (svcudp_destroy): Likewise.
27442         * sunrpc/xdr.c (xdr_bytes): Likewise.
27443         (xdr_netobj): Likewise.
27444         (xdr_string): Likewise.
27445         (xdr_wrapstring): Likewise.
27446         * sunrpc/xdr_float.c (xdr_float): Likewise.
27447         (xdr_double): Likewise.
27448         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27449         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27450         * sysvipc/ftok.c (ftok): Likewise.
27451         * sysvipc/msgctl.c (msgctl): Likewise.
27452         * sysvipc/msgget.c (msgget): Likewise.
27453         * sysvipc/msgrcv.c (msgrcv): Likewise.
27454         * sysvipc/msgsnd.c (msgsnd): Likewise.
27455         * sysvipc/semget.c (semget): Likewise.
27456         * sysvipc/semop.c (semop): Likewise.
27457         * sysvipc/shmat.c (shmat): Likewise.
27458         * sysvipc/shmctl.c (shmctl): Likewise.
27459         * sysvipc/shmdt.c (shmdt): Likewise.
27460         * sysvipc/shmget.c (shmget): Likewise.
27461         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27462         * termios/speed.c (cfgetospeed): Likewise.
27463         (cfgetispeed): Likewise.
27464         (cfsetospeed): Likewise.
27465         (cfsetispeed): Likewise.
27466         * termios/tcflow.c (tcflow): Likewise.
27467         * termios/tcflush.c (tcflush): Likewise.
27468         * termios/tcgetattr.c (__tcgetattr): Likewise.
27469         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27470         * termios/tcgetsid.c (tcgetsid): Likewise.
27471         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27472         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27473         * time/adjtime.c (__adjtime): Likewise.
27474         * time/dysize.c (dysize): Likewise.
27475         * time/ftime.c (ftime): Likewise.
27476         * time/getitimer.c (__getitimer): Likewise.
27477         * time/gettimeofday.c (__gettimeofday): Likewise.
27478         * time/gmtime.c (__gmtime_r): Likewise.
27479         (gmtime): Likewise.
27480         * time/localtime.c (__localtime_r): Likewise.
27481         (localtime): Likewise.
27482         * time/offtime.c (__offtime): Likewise.
27483         * time/settimeofday.c (__settimeofday): Likewise.
27484         * time/stime.c (stime): Likewise.
27485         * time/strftime_l.c (tm_diff): Likewise.
27486         (iso_week_days): Likewise.
27487         * time/strptime.c (strptime): Likewise.
27488         * time/time.c (time): Likewise.
27489         * time/timespec_get.c (timespec_get): Likewise.
27490         * time/tzset.c (tzset_internal): Likewise.
27491         (compute_change): Likewise.
27492         (__tz_compute): Likewise.
27493         * wcsmbs/btowc.c (__btowc): Likewise.
27494         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27495         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27496         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27497         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27498         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27499         * wcsmbs/wcscat.c (__wcscat): Likewise.
27500         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27501         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27502         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27503         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27504         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27505         * wcsmbs/wcslen.c (__wcslen): Likewise.
27506         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27507         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27508         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27509         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27510         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27511         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27512         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27513         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27514         * wcsmbs/wcstok.c (wcstok): Likewise.
27515         * wcsmbs/wctob.c (wctob): Likewise.
27516         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27517         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27518         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27519         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27520         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27521         * wcsmbs/wmemset.c (__wmemset): Likewise.
27522         * wctype/wcfuncs.c (__towlower): Likewise.
27523         (__towupper): Likewise.
27525         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27526         (lll_unlock_elision): Add adapt_count parameter.
27528 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27530         * sysdeps/nptl/configure.ac: Do not give errors based on the
27531         results of top-level configure tests.
27532         * sysdeps/nptl/configure: Regenerated.
27534         * configure.ac (libc_cv_Bgroup): Remove configure test.
27535         * configure: Regenerated.
27536         * config.make.in (have-Bgroup): Remove variable.
27538         * configure.ac (sizeof_long_double): Remove configure test.
27539         * configure: Regenerated.
27540         * config.make.in (sizeof-long-double): Remove variable.
27542         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27543         * configure: Regenerated.
27544         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27545         variable.
27546         (exceptions): Likewise.
27547         * sysdeps/arm/configure: Regenerated.
27548         * config.make.in (exceptions): Remove variable.
27549         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27550         $(exceptions).
27551         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27552         (CFLAGS-vdprintf_chk.c): Likewise.
27553         (CFLAGS-printf_chk.c): Likewise.
27554         (CFLAGS-fprintf_chk.c): Likewise.
27555         (CFLAGS-vprintf_chk.c): Likewise.
27556         (CFLAGS-vfprintf_chk.c): Likewise.
27557         (CFLAGS-gets_chk.c): Likewise.
27558         (CFLAGS-fgets_chk.c): Likewise.
27559         (CFLAGS-fgets_u_chk.c): Likewise.
27560         (CFLAGS-fread_chk.c): Likewise.
27561         (CFLAGS-fread_u_chk.c): Likewise.
27562         (CFLAGS-wprintf_chk.c): Likewise.
27563         (CFLAGS-fwprintf_chk.c): Likewise.
27564         (CFLAGS-vwprintf_chk.c): Likewise.
27565         (CFLAGS-vfwprintf_chk.c): Likewise.
27566         (CFLAGS-fgetws_chk.c): Likewise.
27567         (CFLAGS-fgetws_u_chk.c): Likewise.
27568         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27569         (CFLAGS-fputc.c): Likewise.
27570         (CFLAGS-fputwc.c): Likewise.
27571         (CFLAGS-freopen64.c): Likewise.
27572         (CFLAGS-freopen.c): Likewise.
27573         (CFLAGS-fseek.c): Likewise.
27574         (CFLAGS-fseeko64.c): Likewise.
27575         (CFLAGS-fseeko.c): Likewise.
27576         (CFLAGS-ftello64.c): Likewise.
27577         (CFLAGS-ftello.c): Likewise.
27578         (CFLAGS-fwide.c): Likewise.
27579         (CFLAGS-genops.c): Likewise.
27580         (CFLAGS-getc.c): Likewise.
27581         (CFLAGS-getchar.c): Likewise.
27582         (CFLAGS-getwc.c): Likewise.
27583         (CFLAGS-getwchar.c): Likewise.
27584         (CFLAGS-iofclose.c): Likewise.
27585         (CFLAGS-iofflush.c): Likewise.
27586         (CFLAGS-iofgetpos64.c): Likewise.
27587         (CFLAGS-iofgetpos.c): Likewise.
27588         (CFLAGS-iofgets.c): Likewise.
27589         (CFLAGS-iofgetws.c): Likewise.
27590         (CFLAGS-iofputs.c): Likewise.
27591         (CFLAGS-iofputws.c): Likewise.
27592         (CFLAGS-iofread.c): Likewise.
27593         (CFLAGS-iofsetpos64.c): Likewise.
27594         (CFLAGS-iofsetpos.c): Likewise.
27595         (CFLAGS-ioftell.c): Likewise.
27596         (CFLAGS-iofwrite.c): Likewise.
27597         (CFLAGS-iogetdelim.c): Likewise.
27598         (CFLAGS-iogetline.c): Likewise.
27599         (CFLAGS-iogets.c): Likewise.
27600         (CFLAGS-iogetwline.c): Likewise.
27601         (CFLAGS-ioputs.c): Likewise.
27602         (CFLAGS-ioseekoff.c): Likewise.
27603         (CFLAGS-ioseekpos.c): Likewise.
27604         (CFLAGS-iosetbuffer.c): Likewise.
27605         (CFLAGS-iosetvbuf.c): Likewise.
27606         (CFLAGS-ioungetc.c): Likewise.
27607         (CFLAGS-ioungetwc.c): Likewise.
27608         (CFLAGS-oldfileops.c): Likewise.
27609         (CFLAGS-oldiofclose.c): Likewise.
27610         (CFLAGS-oldiofgetpos64.c): Likewise.
27611         (CFLAGS-oldiofgetpos.c): Likewise.
27612         (CFLAGS-oldiofsetpos64.c): Likewise.
27613         (CFLAGS-oldiofsetpos.c): Likewise.
27614         (CFLAGS-peekc.c): Likewise.
27615         (CFLAGS-putc.c): Likewise.
27616         (CFLAGS-putchar.c): Likewise.
27617         (CFLAGS-putwc.c): Likewise.
27618         (CFLAGS-putwchar.c): Likewise.
27619         (CFLAGS-rewind.c): Likewise.
27620         (CFLAGS-wfileops.c): Likewise.
27621         (CFLAGS-wgenops.c): Likewise.
27622         (CFLAGS-oldiofopen.c): Likewise.
27623         (CFLAGS-iofopen.c): Likewise.
27624         (CFLAGS-iofopen64.c): Likewise.
27625         (CFLAGS-oldtmpfile.c): Likewise.
27626         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27627         (CFLAGS-fprintf.c): Likewise.
27628         (CFLAGS-printf.c): Likewise.
27629         (CFLAGS-vfwprintf.c): Likewise.
27630         (CFLAGS-vfscanf.c): Likewise.
27631         (CFLAGS-vfwscanf.c): Likewise.
27632         (CFLAGS-fscanf.c): Likewise.
27633         (CFLAGS-scanf.c): Likewise.
27634         (CFLAGS-isoc99_vfscanf.c): Likewise.
27635         (CFLAGS-isoc99_vscanf.c): Likewise.
27636         (CFLAGS-isoc99_fscanf.c): Likewise.
27637         (CFLAGS-isoc99_scanf.c): Likewise.
27638         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27639         (CFLAGS-isoc99_fwscanf.c): Likewise.
27640         (CFLAGS-isoc99_vwscanf.c): Likewise.
27641         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27643         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27644         after mkstemp64.
27645         * login/tst-utmp.c (do_prepare): Likewise.
27646         * rt/tst-aio.c (do_prepare): Likewise.
27647         * rt/tst-aio64.c (do_prepare): Likewise.
27649 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27651         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27652         (__lll_lock_elision): Remove adapt_count decrement...
27653         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27654         (__lll_trylock_elision): Likewise.
27655         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27656         (__lll_unlock_elision): ... to here. And utilize
27657         new adapt_count parameter.
27658         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27659         (__lll_unlock_elision): Update to include adapt_count
27660         parameter.
27661         (lll_unlock_elision): Pass pointer to adapt_count
27662         variable.
27664 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27666         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27667         Add elision adapt_count parameter to list of arguments.
27668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27669         (lll_unlock_elision): Update with new parameter list
27670         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27671         (lll_unlock_elision): Likewise.
27672         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27673         (lll_unlock_elision): Likewise.
27675 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27677         [BZ #19122]
27678         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27679         attribute_hidden.
27681         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27682         attribute_hidden.
27683         [IS_IN (rtld)] (__strdup): Likewise.
27684         [IS_IN (rtld)] (__strerror_r): Likewise.
27685         [IS_IN (rtld)] (__strsep_g): Likewise.
27686         [IS_IN (rtld)] (memchr): Likewise.
27687         [IS_IN (rtld)] (memcmp): Likewise.
27688         [IS_IN (rtld)] (memcpy): Likewise.
27689         [IS_IN (rtld)] (memmove): Likewise.
27690         [IS_IN (rtld)] (memset): Likewise.
27691         [IS_IN (rtld)] (rawmemchr): Likewise.
27692         [IS_IN (rtld)] (stpcpy): Likewise.
27693         [IS_IN (rtld)] (strchr): Likewise.
27694         [IS_IN (rtld)] (strcmp): Likewise.
27695         [IS_IN (rtld)] (strlen): Likewise.
27696         [IS_IN (rtld)] (strnlen): Likewise.
27697         [IS_IN (rtld)] (strsep): Likewise.
27699         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27700         attribute_hidden.
27701         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27703         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27704         attribute_hidden.
27705         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27707         * include/setjmp.h (__longjmp): Add attribute_hidden.
27708         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27710         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27711         Add attribute_hidden.
27713         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27714         [IS_IN (rtld)] (__open): Likewise.
27715         [IS_IN (rtld)] (__fcntl): Likewise.
27717         * include/dirent.h (__opendirat): Add attribute_hidden.
27718         (__getdents): Likewise.
27719         (__getdents64): Likewise.
27720         (__alloc_dir): Likewise.
27721         [IS_IN (rtld)] (__closedir): Likewise.
27722         [IS_IN (rtld)] (__fdopendir): Likewise.
27723         [IS_IN (rtld)] (__readdir): Likewise.
27724         [IS_IN (rtld)] (__readdir64): Likewise.
27725         [IS_IN (rtld)] (__rewinddir): Likewise.
27727         * include/dlfcn.h (_dl_catch_error): Moved to ...
27728         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27729         attribute_hidden.
27731         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27732         (_itoa_word): Likewise.
27734         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27735         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27736         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27737         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27738         (_dl_higher_prime_number): Likewise.
27739         (_dl_debug_printf_c): Likewise.
27740         (_dl_signal_cerror): Likewise.
27741         (_dl_receive_error): Likewise.
27742         (_dl_reloc_bad_type): Likewise.
27743         (_dl_resolve_conflicts): Likewise.
27744         (_dl_check_all_versions): Likewise.
27745         (_dl_check_map_versions): Likewise.
27746         (_dl_sort_fini): Likewise.
27747         (_dl_debug_initialize): Likewise.
27748         (_dl_init_paths): Likewise.
27749         (_dl_show_auxv): Likewise.
27750         (_dl_next_ld_env_entry): Likewise.
27751         (_dl_important_hwcaps): Likewise.
27752         (_dl_load_cache_lookup): Likewise.
27753         (_dl_update_slotinfo): Likewise.
27754         (_dl_show_scope): Likewise.
27756         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27757         attribute_hidden.
27758         (_wordcopy_fwd_dest_aligned): Likewise.
27759         (_wordcopy_bwd_aligned): Likewise.
27760         (_wordcopy_bwd_dest_aligned): Likewise.
27762         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27763         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27764         Likewise.
27765         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27766         Likewise.
27767         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27769 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27771         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27772         GCC 5 requirement.
27774 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27776         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27777         test.
27778         * sysdeps/i386/configure: Regenerated.
27779         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27780         code unconditional.
27782         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27783         test.
27784         (libc_cv_asm_popsection_directive): Likewise.
27785         * configure: Regenerated.
27786         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27787         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27788         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27789         (__make_section_unallocated): Make definition unconditional.
27790         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27791         Remove conditional definition.
27792         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27793         (__make_section_unallocated): Likewise.
27795         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27796         * configure: Regenerated.
27797         * config.make.in (static-libgcc): Remove variable.
27798         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27799         $(static-libgcc).
27800         (build-module-helper): Likewise.
27802         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27803         * configure: Regenerated.
27805 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27807         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27808         (struct char_buffer): New type.
27809         (char_buffer_start, char_buffer_size, char_buffer_error)
27810         (char_buffer_rewind, char_buffer_add): New functions.
27811         (ADDW): Remove macro, replaced by the char_buffer_add function.
27812         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27813         of extend_alloca.  Make control flow more explicit.
27815 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27817         [BZ #19137]
27818         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27819         Add -fomit-frame-pointer.
27820         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27822 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27824         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27825         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27827         only if !__GNUC_PREREQ (5,0).
27828         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27829         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27830         (INTERNAL_SYSCALL_NCS): Likewise.
27831         (LOADREGS_0): New macro for GCC 5.
27832         (ASMARGS_0): Likewise.
27833         (LOADREGS_1): Likewise.
27834         (ASMARGS_1): Likewise.
27835         (LOADREGS_2): Likewise.
27836         (ASMARGS_2): Likewise.
27837         (LOADREGS_3): Likewise.
27838         (ASMARGS_3): Likewise.
27839         (LOADREGS_4): Likewise.
27840         (ASMARGS_4): Likewise.
27841         (LOADREGS_5): Likewise.
27842         (ASMARGS_5): Likewise.
27843         (LOADREGS_6): Likewise.
27844         (ASMARGS_6): Likewise.
27846 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27848         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27849         -fomit-frame-pointer.
27850         (CFLAGS-mmap64.c): Likewise.
27851         (CFLAGS-semtimedop.c): Likewise.
27852         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27853         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27854         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27855         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27857 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27859         [BZ #18928]
27860         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27861         _dl_pointer_guard member.
27862         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27863         initializer.
27864         (security_init): Always set up pointer guard.
27865         (process_envvars): Do not process LD_POINTER_GUARD.
27867 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27869         [BZ #19134]
27870         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27871         (.LC2): Likewise.
27872         (.LC3): Likewise.
27873         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27875 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27877         [BZ #19129]
27878         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27879         r0 and r1.
27881 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27883         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27885 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27887         * include/stap-probe.h: Fix macro definition formatting.
27889 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27891         [BZ #19074]
27892         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27893         load and store num_ifs.
27895 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27897         [BZ #18822]
27898         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27899         (__sched_getaffinity_new): Add libc_hidden_proto and
27900         libc_hidden_def.
27902 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27904         [BZ #19007]
27905         * scripts/localplt.awk: Also allow GOT references.
27906         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27907         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27908         with "+ REL R_386_GLOB_DAT".
27909         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27910         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27912 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27914         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27915         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27916         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27917         Likewise.
27918         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27919         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27920         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27921         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27922         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27923         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27924         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27925         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27926         Likewise.
27927         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27929 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27931         [BZ #19125]
27932         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27933         <math_private.h> and <stdint.h>.
27934         (__llround): Avoid conversions to and from long long int, and
27935         subtractions, where those might raise spurious exceptions.
27936         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27937         <math_private.h> and <stdint.h>.
27938         (__llroundf): Avoid conversions to and from long long int, and
27939         subtractions, where those might raise spurious exceptions.
27941 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27943         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27944         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27945         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27946         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27947         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27948         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27949         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27950         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27951         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27952         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27953         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27954         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27955         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27956         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27957         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27958         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27959         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27960         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27961         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27962         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27963         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27964         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27965         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27966         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27967         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27968         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27969         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27970         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27971         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27972         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27973         (__xstat64_conv): Likewise.
27974         (__xstat32_conv): Likewise.
27976 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27978         * sysdeps/unix/sysv/linux/sysdep.h: New file.
27979         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27980         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27981         <sysdeps/unix/sysv/linux/sysdep.h>.
27982         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27983         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27984         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27985         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27986         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27987         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27988         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27989         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27990         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27993         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27995         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27996         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27998         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27999         (sysdep-dl-routines): Add sysdep.
28000         [$(subdir) == nptl] (libpthread-routines): Likewise.
28001         [$(subdir) == rt] (librt-routines): Likewise.
28002         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28003         PIC when branching to SYSCALL_ERROR_LABEL.
28004         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28006         <sysdeps/unix/sysv/linux/sysdep.h>.
28007         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28008         (SYSCALL_ERROR_ERRNO): Removed.
28009         (SYSCALL_ERROR_HANDLER): Changed to empty.
28010         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28011         (__syscall_error): New prototype.
28012         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28013         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28015 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28017         [BZ #19124]
28018         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28019         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28020         _dl_runtime_resolve_avx.
28021         (_dl_runtime_profile_avx512): Make it a hidden alias of
28022         _dl_runtime_profile_avx.
28024 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28026         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28027         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28028         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28029         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28031         [BZ #16422]
28032         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28033         New configure test.
28034         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28035         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28036         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28037         <math_private.h> and <stdint.h>.
28038         (__llrint): Avoid conversions to long long int where those might
28039         raise spurious exceptions.
28040         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28041         <math_private.h> and <stdint.h>.
28042         (__llrintf): Avoid conversions to long long int where those might
28043         raise spurious exceptions.
28045 2015-10-12  Andreas Schwab  <schwab@suse.de>
28047         [BZ #18969]
28048         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28049         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28050         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28051         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28052         $(gen-locales).
28053         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28054         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28055         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28056         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28057         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28058         $(gen-locales).
28059         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28060         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28061         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28062         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28063         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28064         ($(objpfx)tst-ftell-active-handler.out)
28065         ($(objpfx)tst-ftell-append.out)
28066         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28067         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28068         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28069         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28070         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28071         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28072         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28073         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28074         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28075         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28076         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28077         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28078         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28079         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28080         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28081         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28082         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28083         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28084         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28085         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28086         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28087         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28088         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28089         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28090         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28091         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28092         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28093         $(gen-locales).
28094         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28095         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28096         $(gen-locales).
28097         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28098         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28099         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28100         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28101         $(gen-locales).
28102         * libio/tst_wprintf2.c (main): Use explicit locale.
28103         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28105 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28107         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28108         __msg_sig_post.
28109         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28111 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28113         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28114         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28116         * sysdeps/arm/libm-test-ulps: Regenerated.
28118         [BZ #15470]
28119         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28121         [BZ #16399]
28122         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28123         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28124         and <fix-fp-int-convert-overflow.h>.
28125         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28126         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28127         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28128         and <fix-fp-int-convert-overflow.h>.
28129         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28130         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28131         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28132         <fix-fp-int-convert-overflow.h>.
28133         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28134         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28135         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28136         <fix-fp-int-convert-overflow.h>.
28137         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28138         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28139         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28140         and <fix-fp-int-convert-overflow.h>.
28141         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28142         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28143         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28144         <limits.h> and <fix-fp-int-convert-overflow.h>.
28145         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28146         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28147         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28148         and <fix-fp-int-convert-overflow.h>.
28149         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28150         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28151         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28152         and <fix-fp-int-convert-overflow.h>.
28153         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28154         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28155         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28157 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28159         [BZ #18589]
28160         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28161         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28162         $(gen-locales).
28164 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28165             Phil Blundell <pb@pbcl.net>
28167         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28168         * nptl/tst-cancel26.c: New file.
28169         * nptl/tst-cancel27.c: Likewise.
28171 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28173         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28174         __ILP32__ isn't defined.
28175         (lrint): Likewise.
28176         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28177         (lrintf): Likewise.
28178         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28179         (lrintl): Likewise.
28180         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28181         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28182         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28184 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28190         file.
28191         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28192         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28194 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28196         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28197         configure test.
28198         * sysdeps/i386/configure: Regenerated.
28199         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28200         configure test.
28201         * sysdeps/x86_64/configure: Regenerated.
28202         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28203         Make code unconditional.
28205         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28206         test.
28207         * sysdeps/i386/configure: Regenerated.
28208         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28209         test.
28210         * sysdeps/x86_64/configure: Regenerated.
28211         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28212         Make code unconditional.
28213         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28214         Likewise.
28215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28216         Likewise.
28217         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28218         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28219         code unconditional.
28220         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28221         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28222         code unconditional.
28223         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28224         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28225         code unconditional.
28226         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28227         code unconditional.
28228         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28229         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28230         code unconditional.
28231         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28232         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28233         code unconditional.
28234         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28235         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28236         code unconditional.
28237         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28238         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28239         code unconditional.
28240         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28241         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28243         [BZ #19095]
28244         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28245         mantissa to long int before shifting left.
28247 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28249         [BZ #19094]
28250         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28251         <limits.h>.
28252         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28253         when result overflows but exception would not result from cast.
28254         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28255         <limits.h>.
28256         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28257         when result overflows but exception would not result from cast.
28258         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28259         <limits.h>.
28260         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28261         when result overflows but exception would not result from cast.
28262         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28263         <limits.h>.
28264         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28265         when result overflows but exception would not result from cast.
28266         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28267         <limits.h>.
28268         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28269         when result overflows but exception would not result from cast.
28270         * math/libm-test.inc (lrint_test_data): Add more tests.
28271         (llrint_test_data): Likewise.
28273 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28275         [BZ #18872]
28276         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28277         Move out from under [$(run-built-tests) = yes] conditional.
28278         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28279         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28281 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28283         [BZ #18589]
28284         * string/Makefile (tests): Add bug-strcoll2.
28285         (LOCALES): Add cs_CZ.UTF-8.
28286         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28288         [BZ #18589]
28289         * string/bug-strcoll2.c: New file.
28290         * locale/categories.def: Revert commit
28291         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28292         * locale/langinfo.h: Likewise.
28293         * locale/localeinfo.h: Likewise.
28294         * locale/C-collate.c: Likewise.
28295         * locale/programs/ld-collate.c (collate_output): Likewise.
28296         * string/strcoll_l.c (STRDIFF): Likewise.
28297         (STRCOLL): Likewise.
28298         * wcsmbs/wcscoll_l.c: Likewise.
28300 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28302         * math/libm-test.inc (lround_test_data): Do not expect the absence
28303         of "inexact" for some tests with non-integer arguments.
28304         (llround_test_data): Likewise.
28306         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28307         test.
28308         (libc_cv_cc_sse2avx): Likewise.
28309         * sysdeps/i386/configure: Regenerated.
28310         * sysdeps/i386/i686/multiarch/Makefile
28311         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28312         [$(subdir) = math].
28313         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28314         code unconditional.
28315         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28316         Likewise.
28317         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28318         Likewise.
28319         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28320         Likewise.
28321         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28322         test.
28323         (libc_cv_cc_sse2avx): Likewise.
28324         * sysdeps/x86_64/configure: Regenerated.
28325         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28326         unconditional.
28327         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28328         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28329         unconditional.
28330         (_dl_runtime_profile)
28331         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28332         conditional code.
28333         * sysdeps/x86_64/fpu/multiarch/Makefile
28334         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28335         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28336         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28337         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28338         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28339         * sysdeps/x86_64/fpu/multiarch/e_log.c
28340         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28341         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28342         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28343         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28344         Likewise.
28345         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28346         Likewise.
28347         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28348         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28349         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28350         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28351         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28352         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28353         (HAVE_SSE2AVX_SUPPORT): Likewise.
28355 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28357         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28358         instead of #pragma optimize.
28360 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28362         [BZ #17195]
28363         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28364         as is similarly done in systrim and _int_free already.
28366 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28368         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28370 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28372         [BZ #19088]
28373         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28374         <limits.h>.
28375         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28376         overflows but exception would not result from cast.
28377         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28378         and <limits.h>.
28379         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28380         overflows but exception would not result from cast.
28381         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28382         <limits.h>.
28383         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28384         overflows but exception would not result from cast.
28385         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28386         <limits.h>.
28387         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28388         overflows but exception would not result from cast.
28389         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28390         <limits.h>.
28391         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28392         overflows but exception would not result from cast.
28393         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28394         <limits.h>.
28395         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28396         overflows but exception would not result from cast.
28397         * math/libm-test.inc (lround_test_data): Add more tests.
28398         (llround_test_data): Likewise.
28400 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28402         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28403         (CFLAGS-ialloc.c): Ditto.
28404         (CFLAGS-scheck.c): Ditto.
28406 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28408         [BZ #19086]
28409         * manual/filesys.texi (Storage Allocation): Fix argument order for
28410         posix_fallocate64.
28412 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28414         [BZ #19085]
28415         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28416         exponent below 48 inside case for non-overflowing exponent.
28417         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28419 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28421         * iconvdata/cp737.h (from_idx): Add const.
28422         * iconvdata/cp775.h (from_idx): Likewise.
28424 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28426         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28427         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28428         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28430         [BZ #19079]
28431         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28432         file, conditioned on [!_LP64].
28433         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28434         [!_LP64] (__lround): Do not define as function or alias.
28435         [!_LP64] (lround): Likewise.
28436         [!_LP64] (__lroundl): Likewise.
28437         [!_LP64] (lroundl): Likewise.
28438         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28439         macro.
28440         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28441         Likewise.
28443 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28445         * math/libm-test.inc (lrint_test_data): Add more tests.
28446         (llrint_test_data): Likewise.
28447         (lround_test_data): Likewise.
28448         (llround_test_data): Likewise.
28450         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28451         (llrint_test_data): Add tests used for lrint.
28453         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28454         test.
28455         * sysdeps/i386/configure: Regenerated.
28456         * sysdeps/i386/i686/multiarch/Makefile
28457         [$(config-cflags-sse4) = yes]: Make code unconditional.
28458         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28459         Likewise.
28460         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28461         Likewise.
28462         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28463         test.
28464         * sysdeps/x86_64/configure: Regenerated.
28465         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28466         Make code unconditional.
28467         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28468         Likewise.
28469         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28470         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28472         * scripts/rpm2dynsym.sh: Remove file.
28474 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28476         * configure.ac (libc_cv_cxx_thread_local): Define.
28477         * configure: Regenerate.
28478         * config.make.in (have-cxx-thread_local): Define.
28479         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28480         (LDLIBS-tst-thread_local1): Define.
28481         (tests): Add tst-thread_local1.
28482         [have-cxx-thread_local != yes] (tests-unsupported): Add
28483         tst-thread_local1.
28484         * nptl/tst-thread_local1.cc: New file.
28486 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28488         [BZ #19078]
28489         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28490         (u_thres): Likewise.
28491         (__expl): Determine whether to call __kernel_standard_l based on
28492         value of result, not argument.
28494         * math/libm-test.inc (scalb_test_data): Add more expectations for
28495         the "inexact" exception.
28497         [BZ #19077]
28498         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28499         0.0L for argument 1.0L.
28501         [BZ #19076]
28502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28503         constant 0.0L when computing infinite result.
28505 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28507         [BZ #10432]
28508         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28509         malloc_usable_size.
28511 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28513         [BZ #19018]
28514         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28515         Mangle function pointer before storing it.
28516         (__call_tls_dtors): Demangle function pointer before calling it.
28518 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28520         [BZ #19012]
28521         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28522         Clean up on failure.
28524 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28526         [BZ #19071]
28527         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28528         long int variable to store possibly incremented high part of
28529         mantissa.
28530         * math/libm-test.inc (lround_test_data): Add tests used for
28531         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28532         for tests requiring 64-bit long.  Do not condition tests on
28533         [TEST_FLOAT] unnecessarily.
28534         (llround_test_data): Add tests used for lround.  Add another
28535         expectation for the "inexact" exception.  Do not condition tests
28536         on [TEST_FLOAT] unnecessarily.
28538         [BZ #887]
28539         [BZ #19049]
28540         [BZ #19050]
28541         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28542         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28543         <fix-int-fp-convert-zero.h>.
28544         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28545         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28546         <fix-int-fp-convert-zero.h>.
28547         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28548         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28549         <fix-int-fp-convert-zero.h>.
28550         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28551         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28552         <fix-int-fp-convert-zero.h>.
28553         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28554         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28555         <fix-int-fp-convert-zero.h>.
28556         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28557         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28558         <fix-int-fp-convert-zero.h>.
28559         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28560         * sysdeps/ieee754/flt-32/s_erff.c: Include
28561         <fix-int-fp-convert-zero.h>.
28562         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28563         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28564         <fix-int-fp-convert-zero.h>.
28565         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28567         <fix-int-fp-convert-zero.h>.
28568         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28569         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28570         <fix-int-fp-convert-zero.h>.
28571         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28572         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28573         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28574         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28575         file.
28576         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28578 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28582 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28584         [BZ #19059]
28585         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28586         overflowing computation.
28587         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28588         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28589         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28590         Likewise.
28591         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28592         Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28594         Likewise.
28595         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28596         Likewise.
28597         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28598         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28599         Likewise.
28600         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28601         Likewise.
28602         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28604         * nss/rewrite_field.c (__nss_rewrite_field): Use
28605         internal_function.
28606         * nss/valid_field.c (__nss_valid_field): Likewise.
28607         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28609 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28611         [BZ #18724]
28612         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28613         (__nss_invalid_field_characters, __nss_valid_field)
28614         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28615         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28616         tst-field.c: New file.
28617         * nss/Makefile (routines): Add valid_field, rewrite_field.
28618         (tests-static): Define unconditionally.
28619         (tests): Include tests-static.
28620         [build-static-nss] (tests-static): Use append.
28621         [build-static-nss] (tests): Remove modification.
28622         * nss/getent.c (print_group): Call putgrent.  Report error.
28623         (print_gshadow): Call putsgent.  Report error.
28624         (print_passwd): Call putpwent.  Report error.
28625         (print_shadow): Call putspent.  Report error.
28626         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28627         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28628         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28629         name, password, directory, shell fields for valid syntax.  Rewrite
28630         GECOS field to match syntax.
28631         * pwd/Makefile (tests): Add tst-putpwent.
28632         * pwd/tst-putpwent.c: New file.
28633         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28634         Check grName, grpasswd, gr_mem fields for valid syntax.
28635         Change loop variable i to size_t.
28636         * grp/Makefile (tests): Add tst-putgrent.
28637         * grp/tst-putgrent.c: New file.
28638         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28639         valid syntax.
28640         * shadow/Makefile (tests): Add tst-putspent.
28641         * shadow/tst-putspent.c: New file.
28642         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28643         sg_mem fields for valid syntax.
28644         * gshadow/Makefile (tests): Add tst-putsgent.
28645         * gshadow/tst-putsgent.c: New file.
28647 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28649         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28650         assembly instructions.
28652 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28654         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28655         prefix from operands.
28657 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28659         [BZ #16347]
28660         [BZ #19046]
28661         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28662         <libc-internal.h>.
28663         (MAXLGM): Do not use diagnostic control macros.
28664         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28665         threshold for ldbl-128ibm.
28666         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28667         instead of multiplying by log then subtracting.
28668         * math/auto-libm-test-in: Add more tests of lgamma.
28669         * math/auto-libm-test-out: Regenerated.
28671         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28672         (TYPE_HEX_DIG): Likewise.
28673         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28674         precisions when printing floating-point numbers.
28675         (check_float_internal): Likewise.
28677 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28679         [BZ #16620]
28680         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28681         of log (10) rounded downward to 48 bits.
28682         (log10_low): Use corresponding low part of log (10).
28684         [BZ #19032]
28685         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28686         compute result as (x - x) / (x - x) not as 0 / 0.
28687         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28688         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28690         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28691         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28692         and expm1.
28693         * math/auto-libm-test-out: Regenerated.
28694         * math/libm-test.inc (acos_test_data): Add more tests.
28695         (asin_test_data): Likewise.
28696         (asinh_test_data): Likewise.
28697         (atan_test_data): Likewise.
28698         (atanh_test_data): Likewise.
28699         (atan2_test_data): Likewise.
28700         (cbrt_test_data): Likewise.
28701         (ceil_test_data): Likewise.
28702         (copysign_test_data): Likewise.
28703         (cos_test_data): Likewise.
28704         (cosh_test_data): Likewise.
28705         (erf_test_data): Likewise.
28706         (erfc_test_data): Likewise.
28707         (exp_test_data): Likewise.
28708         (exp10_test_data): Likewise.
28709         (exp2_test_data): Likewise.
28710         (expm1_test_data): Likewise.
28711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28713 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28715         [BZ #19006]
28716         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28717         to ...
28718         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28719         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28720         to ...
28721         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28722         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28723         to ...
28724         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28725         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28726         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28727         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28728         to ...
28729         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28730         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28731         Moved to ...
28732         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28733         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28734         Moved to ...
28735         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28736         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28737         to ...
28738         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28739         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28740         Moved to ...
28741         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28742         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28743         to ...
28744         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28745         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28746         Removed.
28747         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28748         Likewise.
28749         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28750         Likewise.
28751         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28752         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28753         Likewise.
28754         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28755         Likewise.
28756         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28757         Likewise.
28758         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28759         Likewise.
28760         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28761         Likewise.
28762         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28763         Likewise.
28764         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28765         Likewise.
28766         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28767         Likewise.
28768         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28769         Likewise.
28770         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28771         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28772         Likewise.
28773         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28774         Likewise.
28775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28776         Likewise.
28777         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28778         Likewise.
28779         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28780         Likewise.
28781         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28782         Replace ../i486/pthread_cond_timedwait.S with
28783         ../pthread_cond_timedwait.S.
28785 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28787         * math/libm-test.inc (acos_test_data): Refine expectations for
28788         errno and "inexact" exceptions.
28789         (acosh_test_data): Likewise.
28790         (asin_test_data): Likewise.
28791         (asinh_test_data): Likewise.
28792         (atan_test_data): Likewise.
28793         (atanh_test_data): Likewise.
28794         (atan2_test_data): Likewise.
28795         (cbrt_test_data): Likewise.
28796         (ceil_test_data): Likewise.
28797         (copysign_test_data): Likewise.
28798         (cosh_test_data): Likewise.
28799         (erf_test_data): Likewise.
28800         (erfc_test_data): Likewise.
28801         (exp_test_data): Likewise.
28802         (exp10_test_data): Likewise.
28803         (exp2_test_data): Likewise.
28804         (expm1_test_data): Likewise.
28805         (fabs_test_data): Likewise.
28806         (floor_test_data): Likewise.
28807         (fma_test_data): Likewise.
28808         (fmax_test_data): Likewise.
28809         (fmin_test_data): Likewise.
28810         (fmod_test_data): Likewise.
28811         (fpclassify_test_data): Likewise.
28812         (frexp_test_data): Likewise.
28813         (hypot_test_data): Likewise.
28814         (ilogb_test_data): Likewise.
28815         (isgreater_test_data): Likewise.
28816         (isgreaterequal_test_data): Likewise.
28817         (isinf_test_data): Likewise.
28818         (isless_test_data): Likewise.
28819         (islessequal_test_data): Likewise.
28820         (islessgreater_test_data): Likewise.
28821         (isnan_test_data): Likewise.
28822         (isnormal_test_data): Likewise.
28823         (issignaling_test_data): Likewise.
28824         (isunordered_test_data): Likewise.
28825         (j0_test_data): Likewise.
28826         (j1_test_data): Likewise.
28827         (jn_test_data): Likewise.
28828         (lgamma_test_data): Likewise.
28829         (lrint_test_data): Likewise.
28830         (llrint_test_data): Likewise.
28831         (log_test_data): Likewise.
28832         (log10_test_data): Likewise.
28833         (log1p_test_data): Likewise.
28834         (log2_test_data): Likewise.
28835         (logb_test_data): Likewise.
28836         (lround_test_data): Likewise.
28837         (llround_test_data): Likewise.
28838         (modf_test_data): Likewise.
28839         (nearbyint_test_data): Likewise.
28840         (nextafter_test_data): Likewise.
28841         (nexttoward_test_data): Likewise.
28842         (pow_test_data): Likewise.
28843         (remainder_test_data): Likewise.
28844         (remquo_test_data): Likewise.
28845         (rint_test_data): Likewise.
28846         (round_test_data): Likewise.
28847         (signbit_test_data): Likewise.
28848         (sinh_test_data): Likewise.
28849         (sqrt_test_data): Likewise.
28850         (tanh_test_data): Likewise.
28851         (tgamma_test_data): Likewise.
28852         (trunc_test_data): Likewise.
28853         (y0_test_data): Likewise.
28854         (y1_test_data): Likewise.
28855         (yn_test_data): Likewise.
28856         (significand_test_data): Likewise.
28858 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28860         * manual/filesys.texi (Storage Allocation): Document that
28861         posix_fallocate emulation fails when fd is open with O_WRONLY.
28863 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28865         [BZ #19016]
28866         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28867         allow more cases with X^2 + Y^2 >= 0.5.
28868         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28869         normal element in sum instead of special-casing based on values of
28870         arguments.
28871         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28872         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28873         -1 as normal element in sum instead of special-casing based on
28874         values of arguments.
28875         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28876         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28877         (__x2y2m1): Update comment.
28878         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28879         as normal element in sum instead of special-casing based on values
28880         of arguments.
28881         * math/s_clog.c (__clog): Handle more cases using log1p without
28882         hypot.
28883         * math/s_clog10.c (__clog10): Likewise.
28884         * math/s_clog10f.c (__clog10f): Likewise.
28885         * math/s_clog10l.c (__clog10l): Likewise.
28886         * math/s_clogf.c (__clogf): Likewise.
28887         * math/s_clogl.c (__clogl): Likewise.
28888         * math/auto-libm-test-in: Add more tests of clog and clog10.
28889         * math/auto-libm-test-out: Regenerated.
28890         * sysdeps/i386/fpu/libm-test-ulps: Update.
28891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28893 2015-09-28  Martin Sebor  <msebor@redhat.com>
28895         [BZ #18969]
28896         * string/Makefile (LOCALES): Define.
28897         (gen-locales.mk): Include.
28898         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28899         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28900         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28901         on setlocale failure.
28903 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28905         [BZ #18985]
28906         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28907         (__strftime_internal): Likewise.
28908         * time/tst-strftime.c (do_bz18985): New test.
28909         (do_test): Call it.
28911 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28913         [BZ #18956]
28914         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28915         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28916         extracting high part.
28917         * math/auto-libm-test-in: Add another test of pow.
28918         * math/auto-libm-test-out: Regenerated.
28919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28921 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28923         [BZ #18825]
28924         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28925         New macro.
28926         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28927         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28928         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28929         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28930         DBL_NARROW_EVAL, reloading the PIC register as needed.
28931         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28932         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28933         FLT_NARROW_EVAL.  Use separate return path for case when first
28934         argument is NaN.
28935         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28936         DEFINE_LDBL_MIN.
28937         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28938         PIC register.
28939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28940         math_check_force_underflow_nonneg.
28941         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28942         underflow for subnormal result.
28943         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28944         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28945         math_check_force_underflow_nonneg.
28946         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28947         math_check_force_underflow.
28948         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28949         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28950         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28951         DEFINE_LDBL_MIN.
28952         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28953         * math/auto-libm-test-in: Add more tests of pow.
28954         * math/auto-libm-test-out: Regenerated.
28956 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28958         * nss/bug17079.c (init_test_items): Add diagnostic for
28959         inconsistent entries.
28960         (test_buffer_size): Skip inconsistent entries.
28962 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28964         [BZ #13304]
28965         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28966         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28967         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28969         [BZ #13304]
28970         * sysdeps/microblaze/s_fma.c: New file.
28971         * sysdeps/microblaze/s_fmaf.c: Likewise.
28972         * sysdeps/microblaze/sfp-machine.h: Likewise.
28974 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28976         [BZ #17250]
28977         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28978         member.
28980 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28982         [BZ #18803]
28983         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28984         (MO): New macro.
28985         (__ieee754_hypot) [PIC]: Load PIC register.
28986         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28987         DBL_NARROW_EVAL.
28988         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28989         math_check_force_underflow_nonneg in case where result might be
28990         tiny.
28991         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28992         Likewise.
28993         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28994         Likewise.
28995         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28996         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28997         * math/auto-libm-test-in: Add more tests of hypot.
28998         * math/auto-libm-test-out: Regenerated.
29000 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29002         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29004 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29006         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29007         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29008         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29009         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29010         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29011         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29012         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29014         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29015         LOAD_PIC_REG.
29017         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29018         (FLT_CHECK_FORCE_UFLOW): Likewise.
29019         (DBL_CHECK_FORCE_UFLOW): Likewise.
29020         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29021         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29022         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29023         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29024         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29025         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29026         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29027         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29028         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29029         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29030         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29031         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29032         (flt_min): Replace with use of DEFINE_FLT_MIN.
29033         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29034         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29035         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29036         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29037         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29038         (flt_min): Replace with use of DEFINE_FLT_MIN.
29039         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29040         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29041         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29042         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29043         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29044         (flt_min): Replace with use of DEFINE_FLT_MIN.
29045         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29046         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29047         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29048         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29049         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29050         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29051         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29052         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29053         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29054         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29055         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29056         (flt_min): Replace with use of DEFINE_FLT_MIN.
29057         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29058         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29059         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29060         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29061         main computation.
29062         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29063         (flt_min): Replace with use of DEFINE_FLT_MIN.
29064         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29065         main computation.
29066         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29067         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29068         (MO): New macro.
29069         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29070         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29071         (flt_min): Replace with use of DEFINE_FLT_MIN.
29072         (MO): New macro.
29073         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29074         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29075         (__log1pl): Use MO.
29077         [BZ #19003]
29078         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29079         $(config-cflags-nofma).
29081 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29083         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29085 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29087         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29088         (TWO127): Likewise.
29090         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29091         (min_of_type): Likewise.
29092         (math_check_force_underflow): Likewise.
29093         (math_check_force_underflow_nonneg): Likewise.
29094         (math_check_force_underflow_complex): Likewise.
29095         * math/e_exp2l.c (__ieee754_exp2l): Use
29096         math_check_force_underflow_nonneg.
29097         * math/k_casinh.c (__kernel_casinh): Likewise.
29098         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29099         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29100         * math/s_catan.c (__catan): Use
29101         math_check_force_underflow_complex.
29102         * math/s_catanf.c (__catanf): Likewise.
29103         * math/s_catanh.c (__catanh): Likewise.
29104         * math/s_catanhf.c (__catanhf): Likewise.
29105         * math/s_catanhl.c (__catanhl): Likewise.
29106         * math/s_catanl.c (__catanl): Likewise.
29107         * math/s_ccosh.c (__ccosh): Likewise.
29108         * math/s_ccoshf.c (__ccoshf): Likewise.
29109         * math/s_ccoshl.c (__ccoshl): Likewise.
29110         * math/s_cexp.c (__cexp): Likewise.
29111         * math/s_cexpf.c (__cexpf): Likewise.
29112         * math/s_cexpl.c (__cexpl): Likewise.
29113         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29114         * math/s_clog10.c (__clog10): Likewise.
29115         * math/s_clog10f.c (__clog10f): Likewise.
29116         * math/s_clog10l.c (__clog10l): Likewise.
29117         * math/s_clogf.c (__clogf): Likewise.
29118         * math/s_clogl.c (__clogl): Likewise.
29119         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29120         * math/s_csinf.c (__csinf): Likewise.
29121         * math/s_csinh.c (__csinh): Likewise.
29122         * math/s_csinhf.c (__csinhf): Likewise.
29123         * math/s_csinhl.c (__csinhl): Likewise.
29124         * math/s_csinl.c (__csinl): Likewise.
29125         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29126         * math/s_csqrtf.c (__csqrtf): Likewise.
29127         * math/s_csqrtl.c (__csqrtl): Likewise.
29128         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29129         * math/s_ctanf.c (__ctanf): Likewise.
29130         * math/s_ctanh.c (__ctanh): Likewise.
29131         * math/s_ctanhf.c (__ctanhf): Likewise.
29132         * math/s_ctanhl.c (__ctanhl): Likewise.
29133         * math/s_ctanl.c (__ctanl): Likewise.
29134         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29135         instead of volatile.
29136         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29137         math_check_force_underflow.
29138         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29139         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29140         volatile when forcing underflow.
29141         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29142         math_check_force_underflow_nonneg.
29143         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29144         Likewise.
29145         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29146         math_check_force_underflow.
29147         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29148         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29149         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29150         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29151         math_check_force_underflow_nonneg.
29152         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29153         math_check_force_underflow.
29154         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29156         instead of volatile.
29157         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29158         math_check_force_underflow.
29159         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29160         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29161         math_check_force_underflow_nonneg.
29162         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29163         math_check_force_underflow.
29164         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29165         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29166         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29167         math_check_force_underflow_nonneg.
29168         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29169         Likewise.
29170         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29171         math_check_force_underflow.
29172         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29173         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29174         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29175         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29176         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29177         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29178         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29179         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29180         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29181         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29182         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29183         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29184         Likewise.
29185         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29186         math_check_force_underflow_nonneg.
29187         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29188         Likewise.
29189         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29190         math_check_force_underflow.
29191         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29192         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29193         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29194         Likewise.
29195         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29196         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29197         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29198         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29199         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29200         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29202         instead of volatile.
29203         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29204         math_check_force_underflow.
29205         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29207         math_check_force_underflow.
29208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29209         Likewise.
29210         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29211         Use math_check_force_underflow_nonneg.
29212         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29213         math_check_force_underflow.
29214         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29215         Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29217         Likewise.
29218         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29219         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29220         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29221         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29223         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29224         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29225         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29226         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29227         math_check_force_underflow_nonneg.
29228         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29229         math_check_force_underflow.
29230         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29231         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29232         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29233         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29234         math_check_force_underflow_nonneg.
29235         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29236         math_check_force_underflow.
29237         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29238         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29239         instead of volatile.
29240         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29241         math_check_force_underflow.
29243         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29244         * stdlib/strtod_l.c: Include <math_private.h>.
29245         (overflow_value): Use math_narrow_eval.
29246         (underflow_value): Likewise.
29247         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29248         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29249         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29250         (__ieee754_gamma_r): Likewise.
29251         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29252         Likewise.
29253         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29254         Likewise.
29255         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29256         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29257         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29258         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29259         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29260         (__ieee754_gammaf_r): Likewise.
29261         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29262         Likewise.
29263         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29264         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29265         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29266         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29268         volatile.
29269         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29271         math_narrow_eval.
29272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29273         Likewise.
29274         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29275         Likewise.
29276         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29277         Likewise.
29278         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29279         volatile.
29280         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29281         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29282         math_narrow_eval.
29283         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29284         Likewise.
29285         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29286         Likewise.
29288 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29290         * nptl/Versions: Remove ignored symbols.
29292 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29294         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29295         * nss/Makefile (tests): Update.
29297 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29299         * nss/bug18287.c: New file.
29300         * nss/Makefile (tests): Add bug18287.
29302 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29304         * mach/Versions (__mach_host_self_): Add symbol.
29306 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29308         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29309         vm_page_size.
29311 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29313         Really fix sysdeps/i386/fpu/s_scalbn.S build
29315         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29316         (libc: GLIBC_2_22): Remove unused version set.
29318 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29320         * config.make.in (enable-timezone-tools): New variable.
29321         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29322         (enable_timezone_tools): Export to generated files.
29323         * configure: Regenerate.
29324         * INSTALL: Regenerate.
29325         * manual/install.texi (--disable-timezone-tools): Document new flag.
29326         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29327         ifeq ($(enable-timezone-tools),yes) check.
29329 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29331         * timezone/Makefile: Revert previous change.
29333         [BZ #18980]
29334         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29335         (DEFINE_DBL_MIN): Likewise.
29336         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29337         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29338         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29339         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29340         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29341         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29342         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29343         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29344         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29345         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29346         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29347         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29348         (flt_min): Replace with use of DEFINE_FLT_MIN.
29349         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29350         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29351         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29352         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29353         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29354         (flt_min): Replace with use of DEFINE_FLT_MIN.
29355         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29356         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29357         (flt_min): Replace with use of DEFINE_FLT_MIN.
29358         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29359         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29360         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29361         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29362         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29363         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29364         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29365         (__ieee754_pow): Use DBL_NARROW_EVAL.
29366         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29367         (__ieee754_powf): Use FLT_NARROW_EVAL.
29368         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29369         (__ieee754_expf_sse2): Convert double-precision result to single
29370         precision.
29371         * sysdeps/i386/fpu/libm-test-ulps: Update.
29373 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29375         * timezone/Makefile: Ignore unused variable errors due to private.h
29376         (time_t_min) and (time_t_max).
29377         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29378         Likewise.
29380 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29382         [BZ #18981]
29383         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29384         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29385         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29386         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29387         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29388         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29389         (__scalbn): Use DBL_NARROW_EVAL.
29390         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29391         (__scalbnf): Use FLT_NARROW_EVAL.
29393 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29395         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29396         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29397         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29398         * stdio-common/printf_fp.c (___printf_fp):
29399         Use signbit to get the sign. Use isinf macro to allow inlining.
29400         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29401         * stdio-common/printf_size.c (__printf_size): Likewise.
29403 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29405         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29407 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29409         [BZ #18980]
29410         * sysdeps/generic/math_private.h: Include <float.h>.
29411         (math_narrow_eval): New macro.
29412         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29413         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29414         math_narrow_eval on overflowing return value.
29415         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29416         Likewise.
29417         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29418         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29419         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29420         Likewise.
29421         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29423 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29425         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29426         * math/Makefile: Remove isinf_ns.c.
29427         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29428         * math/multc3.c (__multc3): Likewise.
29429         * math/s_casin.c (__casin): Likewise.
29430         * math/s_casinf.c (__casinf): Likewise.
29431         * math/s_casinl.c (__casinl): Likewise.
29432         * math/s_cproj.c (__cproj): Likewise.
29433         * math/s_cprojf.c (__cprojf): Likewise.
29434         * math/s_cprojl.c (__cprofl): Likewise.
29435         * math/s_ctan.c (__ctan): Likewise.
29436         * math/s_ctanf.c (__ctanf): Likewise.
29437         * math/s_ctanh.c (__ctanh): Likewise.
29438         * math/s_ctanhf.c (__ctanhf): Likewise.
29439         * math/s_ctanhl.c (__ctanhl): Likewise.
29440         * math/s_ctanl.c (__ctanl): Likewise.
29441         * math/w_fmod.c (__fmod): Likewise.
29442         * math/w_fmodf.c (__fmodf): Likewise.
29443         * math/w_fmodl.c (_fmodl): Likewise.
29444         * math/w_remainder.c (__remainder): Likewise.
29445         * math/w_remainderf.c (__remainderf): Likewise.
29446         * math/w_remainderl.c (__remainderl): Likewise.
29447         * math/w_scalb.c (__scalb): Likewise.
29448         * math/w_scalbf.c (__scalbf): Likewise.
29449         * math/w_scalbl.c (__scalbl): Likewise.
29450         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29451         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29452         with isinf.
29453         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29454         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29455         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29456         __isinf_nsf with isinf.
29457         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29458         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29459         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29460         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29461         with isinf.
29462         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29463         __isinf_nsl with isinf.
29464         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29465         with isinf.
29466         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29467         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29468         __isinf_nsl with isinf.
29469         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29470         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29471         with isinf.
29473 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29475         * resolv/base64.c (rcsid): Remove unused static.
29476         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29477         static.  (tqpi1): Likewise.
29478         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29479         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29480         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29481         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29483         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29484         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29485         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29486         Likewise.
29488 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29490         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29491         <nptl/pthreadP.h>.
29492         (_longjmp_unwind): Use __libc_ptf_call.
29493         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29495 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29497         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29498         * sysdeps/arm/__longjmp.S: Likewise.
29500 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29502         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29503         Use __builtin_signbit.
29504         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29505         Use __builtin_signbitf.
29506         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29507         Use __builtin_signbitl.
29508         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29509         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29511 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29513         [BZ #15367]
29514         [BZ #17441]
29516         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29517         * math/math.h (fpclassify): Use __builtin_fpclassify when
29518         available.  (signbit): Use __builtin_signbit(f/l).
29519         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29520         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29521         (isinf): Use __builtin_isinf_sign.
29523 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29525         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29526         * benchtests/bench-math-inlines.c: New benchmark.
29527         * benchtests/bench-util.h: New file.
29528         * benchtests/bench-util.c: New file.
29529         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29531 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29533         * elf/tst-dlmopen1.c: Define TEST_SO.
29534         (do_test): Use TEST_SO.
29536         * elf/dl-load.c: Include libc-internal.h.
29537         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29539 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29541         [BZ #17887]
29542         * time/strptime_l.c (__strptime_internal): Make %z accept
29543         [+-]HH:MM time zones.
29545 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29547         [BZ #17886]
29548         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29549         valid time zone.
29551 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29553         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29554         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29555         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29556         (__ASSUME_FDATASYNC): Delete.
29558 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29560         * conform/linknamespace.pl: Require weak undefined symbols to be
29561         in the standard namespace.
29562         (%strong_syms): Rename to %seen_syms.
29563         (%strong_seen): Rename to %seen_where.
29565 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29567         [BZ #18970]
29568         * misc/error.c (error): Replace pthread_setcancelstate with
29569         __pthread_setcancelstate.
29570         (error_at_line): Likewise.
29571         * posix/wordexp.c (parse_comm): Likewise.
29572         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29573         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29574         (__pthread_setcancelstate): This.
29575         (pthread_setcancelstate): Add an alias.
29576         * nptl/nptl-init.c (pthread_functions): Replace
29577         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29578         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29579         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29580         hidden_proto.
29581         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29582         it with hidden_def.
29583         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29584         (pthread_setcancelstate): Renamed to ...
29585         (__pthread_setcancelstate): This.
29586         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29587         __libc_ptf_call with __pthread_setcancelstate.
29589 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29590             Andreas Schwab  <schwab@suse.de>
29592         [BZ #17118]
29593         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29594         result when imaginary part of argument is infinite using sine and
29595         cosine.
29596         * math/s_ctanf.c (__ctanf): Likewise.
29597         * math/s_ctanl.c (__ctanl): Likewise.
29598         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29599         of result when real part of argument is infinite using sine and
29600         cosine.
29601         * math/s_ctanhf.c (__ctanhf): Likewise.
29602         * math/s_ctanhl.c (__ctanhl): Likewise.
29603         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29604         (ctanh_test_data): Add more tests of ctanh.
29606 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29608         [BZ #15384]
29609         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29610         bit-mask as in subtraction.
29611         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29612         Likewise.
29613         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29614         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29615         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29617         [BZ #18951]
29618         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29619         underflow exception for small results.
29620         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29621         Likewise.
29622         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29623         Likewise.
29624         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29625         Likewise.
29626         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29627         Likewise.
29628         * math/auto-libm-test-in: Add more tests of tgamma.
29629         * math/auto-libm-test-out: Regenerated.
29631 2015-09-17  Andreas Schwab  <schwab@suse.de>
29633         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29635 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29637         [BZ #18977]
29638         * math/bits/mathcalls.h
29639         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29640         not declare.
29641         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29642         Likewise.
29643         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29644         Likewise.
29645         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29646         Likewise.
29647         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29648         Likewise.
29649         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29650         Likewise.
29651         * conform/data/math.h-data
29652         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29653         function.
29654         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29655         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29656         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29657         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29658         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29659         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29660         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29661         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29662         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29663         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29664         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29666         [BZ #6803]
29667         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29668         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29669         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29670         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29671         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29672         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29673         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29674         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29675         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29676         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29677         Likewise.
29678         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29679         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29680         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29681         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29682         long_double_symbol calls.
29683         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29684         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29685         strong alias of __ldexpl.
29686         (scalbnl): Define using long_double_symbol.
29687         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29688         Remove alias.
29689         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29690         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29691         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29692         (scalbln_test_data): Add more errno expectations.
29694 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29696         Cache the host port like we cache the task port.  This way we do not
29697         need to call the kernel just to get the port.  Furthermore, we no
29698         longer increase the reference count on every invocation of
29699         `mach_host_self'.
29701         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29702         Protect declarations against the macro expansion.
29703         * mach/mach_init.c (__mach_host_self_): New variable.
29704         (mach_init): Initialize `__mach_host_self_'.
29705         * mach/mach_init.h (__mach_host_self_): New declaration.
29706         (__mach_host_self, mach_host_self): New macros.
29707         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29708         Release reference.
29710 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29712         [BZ #4404]
29713         * po/de.po: Update from Translation Project.
29715         [BZ #16415]
29716         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29717         (__expm1l): Remove code to handle positive infinity and overflow.
29718         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29719         variable.
29720         (__expm1l): Remove code to handle positive infinity and overflow.
29722 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29723             Paul Pluzhnikov  <ppluzhnikov@google.com>
29725         [BZ #18872]
29726         * stdio-common/Makefile (tst-printf-bz18872): New test.
29727         (tst-printf-bz18872-mem.out): Likewise.
29728         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29729         * stdio-common/vfprintf.c: Fix memory leaks.
29731 2015-09-16  Andreas Schwab  <schwab@suse.de>
29733         [BZ #17244]
29734         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29735         Remove extra va_start/va_end calls.
29737         [BZ #17243]
29738         * posix/execl.c (execl): Add missing va_end.
29739         * posix/execle.c (execle): Likewise.
29740         * posix/execlp.c (execlp): Likewise.
29742 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29744         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29745         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29747 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29749         [BZ #18967]
29750         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29751         undefine around includes of <bits/mathcalls.h>.
29752         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29753         not declare function.
29754         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29755         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29756         (scalb): Likewise.
29757         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29758         not define macro.
29759         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29760         variable.
29761         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29762         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29763         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29765         [BZ #18857]
29766         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29767         return non-finite argument without doing ordered comparisons on
29768         it.
29770         [BZ #16296]
29771         * math/fenv.h (fegetround): Use __attribute_pure__.
29772         * include/fenv.h (__fegetround): Likewise.
29774         [BZ #18595]
29775         * math/s_ctan.c (__ctan): Force underflow exception for results
29776         whose real or imaginary part has small absolute value.
29777         * math/s_ctanf.c (__ctanf): Likewise.
29778         * math/s_ctanh.c (__ctanh): Likewise.
29779         * math/s_ctanhf.c (__ctanhf): Likewise.
29780         * math/s_ctanhl.c (__ctanhl): Likewise.
29781         * math/s_ctanl.c (__ctanl): Likewise.
29782         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29783         and ctanh.  Add more tests of ctan and ctanh.
29785         [BZ #15918]
29786         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29787         handling of cases where one argument is an infinity.
29789         [BZ #18875]
29790         [BZ #18966]
29791         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29792         (MO): New macro.
29793         (__ieee754_exp10): For small results, force underflow exception
29794         and remove excess range and precision from return value.
29795         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29796         (MO): New macro.
29797         (__ieee754_exp10f): For small results, force underflow exception
29798         and remove excess range and precision from return value.
29799         * math/auto-libm-test-in: Add more tests of exp10.
29800         * math/auto-libm-test-out: Regenerated.
29802 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29804         [BZ #18875]
29805         [BZ #18961]
29806         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29807         (MO): New macro.
29808         (__ieee754_exp): For small results, force underflow exception and
29809         remove excess range and precision from return value.
29810         (__exp_finite): Likewise.
29811         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29812         (MO): New macro.
29813         (__ieee754_expf): For small results, force underflow exception and
29814         remove excess range and precision from return value.
29815         (__expf_finite): Likewise.
29816         * math/auto-libm-test-in: Add more tests of exp.
29817         * math/auto-libm-test-out: Regenerated.
29819         [BZ #16521]
29820         [BZ #18875]
29821         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29822         small results.
29823         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29824         (MO): New macro.
29825         (__ieee754_exp2): For small results, force underflow exception and
29826         remove excess range and precision from return value.
29827         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29828         (MO): New macro.
29829         (__ieee754_exp2f): For small results, force underflow exception
29830         and remove excess range and precision from return value.
29831         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29832         (MO): New macro.
29833         (__ieee754_exp2l): Force underflow exception for small results.
29834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29835         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29836         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29837         (MO): New macro.
29838         (__ieee754_exp2l): Force underflow exception for small results.
29839         * math/auto-libm-test-in: Add more tests or exp2.
29840         * math/auto-libm-test-out: Regenerated.
29842 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29844         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29846         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29847         /dev/null.
29849 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29851         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29852         io fs process)): Drop spurious backslash.
29854 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29856         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29857         Use sysinfo system call instead of parsing /proc/meminfo.
29858         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29859         Likewise.
29861 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29863         [BZ #16985]
29864         * programs/localedef.c (main): Display argv[remaining] when
29865         output_path is NULL.
29867 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29869         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29870         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29871         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29872         tanh.
29873         * math/auto-libm-test-out: Regenerated.
29874         * sysdeps/i386/fpu/libm-test-ulps: Update.
29875         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29879 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29881         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29882         Use 'override' keyword to freeze the value here, preventing
29883         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29885 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29887         [BZ #14912]
29888         * sysdeps/aarch64/bits/atomic.h: Move to ...
29889         * sysdeps/aarch64/atomic-machine.h: ...here.
29890         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29891         _AARCH64_ATOMIC_MACHINE_H.
29892         * sysdeps/alpha/bits/atomic.h: Move to ...
29893         * sysdeps/alpha/atomic-machine.h: ...here.
29894         * sysdeps/arm/bits/atomic.h: Move to ...
29895         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29896         * bits/atomic.h: Move to ...
29897         * sysdeps/generic/atomic-machine.h: ...here.
29898         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29899         * sysdeps/i386/bits/atomic.h: Move to ...
29900         * sysdeps/i386/atomic-machine.h: ...here.
29901         * sysdeps/ia64/bits/atomic.h: Move to ...
29902         * sysdeps/ia64/atomic-machine.h: ...here.
29903         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29904         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29905         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29906         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29907         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29908         * sysdeps/microblaze/bits/atomic.h: Move to ...
29909         * sysdeps/microblaze/atomic-machine.h: ...here.
29910         * sysdeps/mips/bits/atomic.h: Move to ...
29911         * sysdeps/mips/atomic-machine.h: ...here.
29912         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29913         * sysdeps/powerpc/bits/atomic.h: Move to ...
29914         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29915         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29916         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29917         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29918         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29919         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29920         <atomic-machine.h> instead of <bits/atomic.h>.
29921         * sysdeps/s390/bits/atomic.h: Move to ...
29922         * sysdeps/s390/atomic-machine.h: ...here.
29923         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29924         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29925         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29926         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29927         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29928         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29929         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29930         * sysdeps/tile/bits/atomic.h: Move to ...
29931         * sysdeps/tile/atomic-machine.h: ...here.
29932         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29933         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29934         <sysdeps/tile/atomic-machine.h> instead of
29935         <sysdeps/tile/bits/atomic.h>.
29936         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29937         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29938         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
29939         <sysdeps/tile/atomic-machine.h> instead of
29940         <sysdeps/tile/bits/atomic.h>.
29941         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29942         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29943         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29944         <sysdeps/arm/atomic-machine.h> instead of
29945         <sysdeps/arm/bits/atomic.h>.
29946         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29947         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29948         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29949         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29950         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29951         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29952         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29953         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29954         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29955         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29956         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29957         * sysdeps/x86_64/bits/atomic.h: Move to ...
29958         * sysdeps/x86_64/atomic-machine.h: ...here.
29959         * include/atomic.h: Include <atomic-machine.h> instead of
29960         <bits/atomic.h>.
29962         * sysdeps/mips/mips32/libm-test-ulps: Update.
29963         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29965         [BZ #18952]
29966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29967         not convert non-integer negative arguments to int to determine the
29968         value of signgam.
29969         * math/auto-libm-test-in: Add more tests of lgamma.
29970         * math/auto-libm-test-out: Regenerated.
29972         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29973         cosh, csqrt, erfc, expm1 and lgamma.
29974         * math/auto-libm-test-out: Regenerated.
29975         * sysdeps/i386/fpu/libm-test-ulps: Update.
29976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29978 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
29980         [BZ #2542]
29981         [BZ #2543]
29982         [BZ #2558]
29983         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29984         __lgamma_neg for arguments from -28.0 to -2.0.
29985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29986         __lgamma_negf for arguments from -15.0 to -2.0.
29987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29988         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29989         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29990         Call __lgamma_negl for arguments from -33.0 to -2.0.
29991         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29992         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29993         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29994         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30000         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30001         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30002         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30003         (__lgamma_neg): Likewise.
30004         (__lgamma_negl): Likewise.
30005         (__lgamma_product): Likewise.
30006         (__lgamma_productl): Likewise.
30007         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30008         * math/auto-libm-test-in: Add more tests of lgamma.
30009         * math/auto-libm-test-out: Regenerated.
30010         * sysdeps/i386/fpu/libm-test-ulps: Update.
30011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30013 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30015         [BZ #18675]
30016         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30018 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30020         [BZ #14912]
30021         * bits/libc-lock.h: Move to ...
30022         * sysdeps/generic/libc-lock.h: ...here.
30023         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30024         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30025         * sysdeps/mach/hurd/libc-lock.h: ...here.
30026         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30027         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30028         * sysdeps/mach/bits/libc-lock.h: Move to ...
30029         * sysdeps/mach/libc-lock.h: ...here.
30030         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30031         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30032         * sysdeps/nptl/libc-lock.h: ...here.
30033         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30034         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30035         * sysdeps/nptl/libc-lockP.h: ...here.
30036         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30037         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30038         <bits/libc-lock.h>.
30039         * dirent/scandir-tail.c: Likewise.
30040         * dlfcn/dlerror.c: Likewise.
30041         * elf/dl-close.c: Likewise.
30042         * elf/dl-iteratephdr.c: Likewise.
30043         * elf/dl-lookup.c: Likewise.
30044         * elf/dl-open.c: Likewise.
30045         * elf/dl-support.c: Likewise.
30046         * elf/dl-writev.h: Likewise.
30047         * elf/rtld.c: Likewise.
30048         * grp/fgetgrent.c: Likewise.
30049         * gshadow/fgetsgent.c: Likewise.
30050         * gshadow/sgetsgent.c: Likewise.
30051         * iconv/gconv_conf.c: Likewise.
30052         * iconv/gconv_db.c: Likewise.
30053         * iconv/gconv_dl.c: Likewise.
30054         * iconv/gconv_int.h: Likewise.
30055         * iconv/gconv_trans.c: Likewise.
30056         * include/link.h: Likewise.
30057         * inet/getnameinfo.c: Likewise.
30058         * inet/getnetgrent.c: Likewise.
30059         * inet/getnetgrent_r.c: Likewise.
30060         * intl/bindtextdom.c: Likewise.
30061         * intl/dcigettext.c: Likewise.
30062         * intl/finddomain.c: Likewise.
30063         * intl/gettextP.h: Likewise.
30064         * intl/loadmsgcat.c: Likewise.
30065         * intl/localealias.c: Likewise.
30066         * intl/textdomain.c: Likewise.
30067         * libidn/idn-stub.c: Likewise.
30068         * libio/libioP.h: Likewise.
30069         * locale/duplocale.c: Likewise.
30070         * locale/freelocale.c: Likewise.
30071         * locale/newlocale.c: Likewise.
30072         * locale/setlocale.c: Likewise.
30073         * login/getutent_r.c: Likewise.
30074         * login/getutid_r.c: Likewise.
30075         * login/getutline_r.c: Likewise.
30076         * login/utmp-private.h: Likewise.
30077         * login/utmpname.c: Likewise.
30078         * malloc/mtrace.c: Likewise.
30079         * misc/efgcvt.c: Likewise.
30080         * misc/error.c: Likewise.
30081         * misc/fstab.c: Likewise.
30082         * misc/getpass.c: Likewise.
30083         * misc/mntent.c: Likewise.
30084         * misc/syslog.c: Likewise.
30085         * nis/nis_call.c: Likewise.
30086         * nis/nis_callback.c: Likewise.
30087         * nis/nss-default.c: Likewise.
30088         * nis/nss_compat/compat-grp.c: Likewise.
30089         * nis/nss_compat/compat-initgroups.c: Likewise.
30090         * nis/nss_compat/compat-pwd.c: Likewise.
30091         * nis/nss_compat/compat-spwd.c: Likewise.
30092         * nis/nss_nis/nis-alias.c: Likewise.
30093         * nis/nss_nis/nis-ethers.c: Likewise.
30094         * nis/nss_nis/nis-grp.c: Likewise.
30095         * nis/nss_nis/nis-hosts.c: Likewise.
30096         * nis/nss_nis/nis-network.c: Likewise.
30097         * nis/nss_nis/nis-proto.c: Likewise.
30098         * nis/nss_nis/nis-pwd.c: Likewise.
30099         * nis/nss_nis/nis-rpc.c: Likewise.
30100         * nis/nss_nis/nis-service.c: Likewise.
30101         * nis/nss_nis/nis-spwd.c: Likewise.
30102         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30103         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30104         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30105         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30106         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30107         * nis/nss_nisplus/nisplus-network.c: Likewise.
30108         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30109         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30110         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30111         * nis/nss_nisplus/nisplus-service.c: Likewise.
30112         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30113         * nis/ypclnt.c: Likewise.
30114         * nptl/libc_pthread_init.c: Likewise.
30115         * nss/getXXbyYY.c: Likewise.
30116         * nss/getXXent.c: Likewise.
30117         * nss/getXXent_r.c: Likewise.
30118         * nss/nss_db/db-XXX.c: Likewise.
30119         * nss/nss_db/db-netgrp.c: Likewise.
30120         * nss/nss_db/nss_db.h: Likewise.
30121         * nss/nss_files/files-XXX.c: Likewise.
30122         * nss/nss_files/files-alias.c: Likewise.
30123         * nss/nsswitch.c: Likewise.
30124         * posix/regex_internal.h: Likewise.
30125         * posix/wordexp.c: Likewise.
30126         * pwd/fgetpwent.c: Likewise.
30127         * resolv/res_hconf.c: Likewise.
30128         * resolv/res_libc.c: Likewise.
30129         * shadow/fgetspent.c: Likewise.
30130         * shadow/lckpwdf.c: Likewise.
30131         * shadow/sgetspent.c: Likewise.
30132         * socket/opensock.c: Likewise.
30133         * stdio-common/reg-modifier.c: Likewise.
30134         * stdio-common/reg-printf.c: Likewise.
30135         * stdio-common/reg-type.c: Likewise.
30136         * stdio-common/vfprintf.c: Likewise.
30137         * stdio-common/vfscanf.c: Likewise.
30138         * stdlib/abort.c: Likewise.
30139         * stdlib/cxa_atexit.c: Likewise.
30140         * stdlib/fmtmsg.c: Likewise.
30141         * stdlib/random.c: Likewise.
30142         * stdlib/setenv.c: Likewise.
30143         * string/strsignal.c: Likewise.
30144         * sunrpc/auth_none.c: Likewise.
30145         * sunrpc/bindrsvprt.c: Likewise.
30146         * sunrpc/create_xid.c: Likewise.
30147         * sunrpc/key_call.c: Likewise.
30148         * sunrpc/rpc_thread.c: Likewise.
30149         * sysdeps/arm/backtrace.c: Likewise.
30150         * sysdeps/generic/ldsodefs.h: Likewise.
30151         * sysdeps/generic/stdio-lock.h: Likewise.
30152         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30153         * sysdeps/i386/backtrace.c: Likewise.
30154         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30155         * sysdeps/m68k/backtrace.c: Likewise.
30156         * sysdeps/mach/hurd/cthreads.c: Likewise.
30157         * sysdeps/mach/hurd/dirstream.h: Likewise.
30158         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30159         * sysdeps/nptl/malloc-machine.h: Likewise.
30160         * sysdeps/nptl/stdio-lock.h: Likewise.
30161         * sysdeps/posix/dirstream.h: Likewise.
30162         * sysdeps/posix/getaddrinfo.c: Likewise.
30163         * sysdeps/posix/system.c: Likewise.
30164         * sysdeps/pthread/aio_suspend.c: Likewise.
30165         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30166         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30167         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30168         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30169         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30170         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30171         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30172         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30173         * sysdeps/unix/sysv/linux/system.c: Likewise.
30174         * sysdeps/x86_64/backtrace.c: Likewise.
30175         * time/alt_digit.c: Likewise.
30176         * time/era.c: Likewise.
30177         * time/tzset.c: Likewise.
30178         * wcsmbs/wcsmbsload.c: Likewise.
30179         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30180         instead of <bits/libc-lock.h> in comment.
30182 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30184         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30185         Only use .set mips2 if the current ISA is below mips2.
30186         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30187         Likewise.
30188         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30189         mips32r2 if the current ISA is below mips32r2.
30190         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30191         (TLS_IE): Updated to use the TLD_RDHWR macro.
30192         (TLS_LE): Likewise.
30193         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30194         __ASSEMBLER__ condition.
30196 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30198         Fix parallel build of before-compile targets.
30200         * sysdeps/mach/Makefile ($(patsubst
30201         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30202         mach-before-compile target.
30203         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30204         io fs process)): Move rule to dedicated hurd-before-compile target.
30206 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30208         Fix rules generating headers in hurd/ and mach/ when initial make call
30209         has subdir= explicitly set.
30211         * sysdeps/mach/Makefile ($(patsubst
30212         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30213         calling $(MAKE).
30214         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30215         io fs process)): Force subdir to hurd when calling $(MAKE).
30216         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30217         subdir to mach when calling $(MAKE).
30219 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30221         Check sysheaders when looking for Mach and Hurd headers
30223         * sysdeps/mach/configure.ac: Add sysheaders check.
30224         * sysdeps/mach/configure: Regenerate.
30225         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30226         * sysdeps/mach/hurd/configure: Regenerate.
30228 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30230         [BZ #18921]
30231         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30232         Fix inverted sense of test of 'o_directory_works' value.
30233         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30234         Bernhard Voelker <mail@bernhard-voelker.de>.
30236 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30238         [BZ #14912]
30239         * bits/linkmap.h: Move to ...
30240         * sysdeps/generic/linkmap.h: ...here.
30241         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30242         * sysdeps/aarch64/linkmap.h: ...here.
30243         * sysdeps/arm/bits/linkmap.h: Move to ...
30244         * sysdeps/arm/linkmap.h: ...here.
30245         * sysdeps/hppa/bits/linkmap.h: Move to ...
30246         * sysdeps/hppa/linkmap.h: ...here.
30247         * sysdeps/ia64/bits/linkmap.h: Move to ...
30248         * sysdeps/ia64/linkmap.h: ...here.
30249         * sysdeps/mips/bits/linkmap.h: Move to ...
30250         * sysdeps/mips/linkmap.h: ...here.
30251         * sysdeps/s390/bits/linkmap.h: Move to ...
30252         * sysdeps/s390/linkmap.h: ...here.
30253         * sysdeps/sh/bits/linkmap.h: Move to ...
30254         * sysdeps/sh/linkmap.h: ...here.
30255         * sysdeps/x86/bits/linkmap.h: Move to ...
30256         * sysdeps/x86/linkmap.h: ...here.
30257         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30259 2015-09-04  Andreas Schwab  <schwab@suse.de>
30261         [BZ #18635]
30262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30263         (__makecontext): Terminate FDE before return label.
30264         (__novec_makecontext): Likewise.
30266 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30268         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30269         first member of struct sv in syscall macro.
30271 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30273         [BZ #14912]
30274         * bits/stdio-lock.h: Move to ...
30275         * sysdeps/generic/stdio-lock.h: ...here.
30276         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30277         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30278         * sysdeps/nptl/stdio-lock.h: ...here.
30279         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30280         * include/libio.h: Include <stdio-lock.h> instead of
30281         <bits/stdio-lock.h>.
30282         * sysdeps/nptl/fork.c: Likewise.
30283         * sysdeps/pthread/flockfile.c: Likewise.
30284         * sysdeps/pthread/ftrylockfile.c: Likewise.
30285         * sysdeps/pthread/funlockfile.c: Likewise.
30287         [BZ #14912]
30288         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30289         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30290         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30291         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30292         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30293         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30294         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30296 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30298         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30299         (test-xfail-tst-protected1b): New variable.
30301 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30303         [BZ #14912]
30304         * bits/libc-tsd.h: Move to ...
30305         * sysdeps/generic/libc-tsd.h: ...here.
30306         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30307         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30308         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30309         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30310         * include/ctype.h: Include <libc-tsd.h> instead of
30311         <bits/libc-tsd.h>.
30312         * include/rpc/rpc.h: Likewise.
30313         * locale/localeinfo.h: Likewise.
30314         * sunrpc/rpc_thread.c: Likewise.
30315         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30316         * sysdeps/nptl/malloc-machine.h: Likewise.
30318         * Makefile (headers): Remove bits/libc-lock.h.
30319         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30321         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30322         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30323         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30324         <bits/stdio-lock.h>.
30325         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30326         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30328 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30330         [BZ #18757]
30331         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30332         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30333         BZ #18757.
30335 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30337         * malloc/mtrace.pl: Filter out NULL entries.
30339 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30341         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30342         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30343         macro.
30345         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30346         (TCP_CC_INFO): Likewise.
30347         (TCP_SAVE_SYN): Likewise.
30348         (TCP_SAVED_SYN): Likewise.
30350 2015-08-31  Brett Neumeier <brett@neumeier.us>
30352         [BZ #18870]
30353         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30355 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30357         [BZ #18873]
30358         Fix broken overflow check in posix_fallocate
30359         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30360         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30361         Fix parenthesization typo.
30363 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30365         [BZ #18887]
30366         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30367         tst-mntent-blank-passno.
30368         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30369         * misc/tst-mntent-blank-corrupt.c: New test.
30370         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30371         * misc/tst-mntent.c (do_test): ... here.
30373 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30375         [BZ #4404]
30376         * po/de.po: Fix SIGALRM typo.
30378 2015-08-28  James Perkins  <james@loowit.net>
30380         * time/tst-strptime2.c (tests): Replace short list of test
30381         strings for strptime %z specifier with code which exhaustively
30382         tests every combination of sign and 0 to 5 digits. Tests for
30383         rejection of invalid strings.
30385 2015-08-28  James Perkins  <james@loowit.net>
30387         [BZ #16141]
30388         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30389         calculation, removing incorrect decimal time rounding, so that
30390         all minute values result in a valid seconds value.
30391         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30392         offset range limits to UTC-99:59 through UTC+99:59 to parse
30393         current and historical use cases.
30394         * time/tst-strptime2.c (tests): Modify and add tests for the
30395         strptime %z input field descriptor, specifically conversion of
30396         minutes to seconds and validating an offset range of -9959 to
30397         +9959.
30399 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30400             Dmitry V. Levin  <ldv@altlinux.org>
30402         [BZ #18877]
30403         * posix/Makefile (tests): Add tst-mmap-offset.
30404         * posix/tst-mmap.c: New file.
30405         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30406         offset calculation for negative values.
30408 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30410         * sysdeps/i386/init-arch.h: New file.
30411         * sysdeps/i386/i586/init-arch.h: Likewise.
30412         * sysdeps/i386/i686/init-arch.h: Likewise.
30413         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30414         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30415         * sysdeps/x86/cpu-features.h (bit_I586): New.
30416         (bit_I686): Likewise.
30417         (bit_CX8): Likewise.
30418         (bit_CMOV): Likewise.
30419         (index_CX8): Likewise.
30420         (index_CMOV): Likewise.
30421         (index_I586): Likewise.
30422         (index_I686): Likewise.
30423         (reg_CX8): Likewise.
30424         (reg_CMOV): Likewise.
30425         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30426         available at compile-time.
30427         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30428         available at compile-time.
30429         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30430         (USE_I686): Likewise.
30432 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30434         * sysdeps/i386/bcopy.S: New file.
30435         * sysdeps/i386/bzero.S: Likewise.
30436         * sysdeps/i386/memcpy.S: Likewise.
30437         * sysdeps/i386/memmove.S: Likewise.
30438         * sysdeps/i386/mempcpy.S: Likewise.
30439         * sysdeps/i386/memset.S: Likewise.
30440         * sysdeps/i386/bzero.c: Removed.
30441         * sysdeps/i386/memset.c: Likewise.
30442         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30443         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30444         * sysdeps/i386/i586/memset_chk.S: Likewise.
30445         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30446         * sysdeps/i386/memcpy_chk.S: Here.
30447         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30448         * sysdeps/i386/memmove_chk.S: Here.
30449         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30450         * sysdeps/i386/mempcpy_chk.S: Likewise.
30451         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30452         * sysdeps/i386/memset_chk.S: Likewise.
30454 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30456         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30457         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30458         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30459         * soft-fp/fmadf4.c: Ditto.
30460         * soft-fp/fmatf4.c: Ditto.
30462 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30464         * sysdeps/i386/i586/Implies: Removed.
30465         * sysdeps/i386/i686/Implies: Likewise.
30467 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30469         * sysdeps/i386/i486/strlen.S: Moved to ...
30470         * sysdeps/i386/strlen.S: Here.
30472 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30474         * sysdeps/i386/i486/strcat.S: Moved to ...
30475         * sysdeps/i386/strcat.S: Here.
30477 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30479         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30480         * sysdeps/i386/pthread_spin_trylock.S: Here.
30481         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30482         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30484 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30486         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30487         * sysdeps/i386/string-inlines.c: Here.
30489 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30491         * sysdeps/i386/i486/htonl.S: Moved ...
30492         * sysdeps/i386/htonl.S: here.
30494 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30496         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30497         * sysdeps/i386/bits/atomic.h: Here.
30499 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30501         * sysdeps/i386/i486/Versions: Removed.
30503 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30505         [BZ #2898]
30506         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30507         Based on patch by Aurelien Jarno.
30509 2015-08-26  Stan Shebs  <stanshebs@google.com>
30511         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30512         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30514 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30516         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30517         * sysdeps/powerpc/dl-procinfo.c:
30518         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30519         feature so it shows when LD_SHOW_AUXV=1.
30521 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30523         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30524         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30525         definition.  ISA 2.07B no longer requires full sync.
30527 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30529         [BZ #18863]
30530         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30531         (si_call_addr): Define.
30532         (si_syscall): Define.
30533         (si_arch): Define.
30535 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30537         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30538         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30539         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30540         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30541         (__memset_zero_constant_len_parameter): New.
30542         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30543         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30544         (__memset_zero_constant_len_parameter): Don't define if
30545         __memset_chk or USE_AS_BZERO are defined.
30547         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30548         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30549         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30551         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30552         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30553         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30554         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30555         comments.
30556         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30557         -mno-mmx for $(all-rtld-routines).
30558         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30559         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30560         i386.
30562 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30564         * sysdeps/generic/unwind.h
30565         (_Unwind_Word): Use __mode__(__unwind_word__)
30566         instead of __mode__(__word__).
30567         (_Unwind_Sword): Likewise.
30569         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30570         (MAX_NEEDED_INPUT): New define.
30571         (MAX_NEEDED_OUTPUT): New define.
30573         * NEWS: New item for IBM z13 string optimizations.
30575         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30576         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30577         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30578         * sysdeps/s390/multiarch/Makefile
30579         (sysdep_routines): Add memrchr functions.
30580         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30581         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30583         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30584         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30585         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30586         * sysdeps/s390/multiarch/Makefile
30587         (sysdep_routines): Add wmemcmp functions.
30588         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30589         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30590         * benchtests/bench-wmemcmp.c: New File.
30591         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30593         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30594         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30595         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30596         * sysdeps/s390/multiarch/Makefile
30597         (sysdep_routines): Add wmemset functions.
30598         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30599         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30600         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30601         * string/test-memset.c: Add wmemset support.
30602         * wcsmbs/test-wmemset.c: New File.
30603         * wcsmbs/Makefile (strop-tests): Add wmemset.
30604         * benchtests/bench-memset.c: Add wmemset support.
30605         * benchtests/bench-wmemset.c: New File.
30606         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30608         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30609         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30610         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30611         * sysdeps/s390/multiarch/Makefile
30612         (sysdep_routines): Add memccpy functions.
30613         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30614         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30615         * string/memccpy.c: Use MEMCCPY if defined.
30617         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30618         * sysdeps/s390/multiarch/memchr.c: Likewise.
30619         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30620         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30621         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30622         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30623         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30624         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30625         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30626         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30627         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30628         and rawmemchr functions.
30629         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30630         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30631         and wmemchr.
30632         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30633         * string/test-memchr.c: Add wmemchr support.
30634         * wcsmbs/test-wmemchr.c: New File.
30635         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30636         * benchtests/bench-memchr.c: Add wmemchr support.
30637         * benchtests/bench-wmemchr.c: New File.
30638         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30640         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30641         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30642         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30643         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30644         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30645         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30646         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30647         wcscspn functions.
30648         * sysdeps/s390/multiarch/ifunc-impl-list.c
30649         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30650         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30651         * string/test-strcspn.c: Add wcscspn support.
30652         * wcsmbs/test-wcscspn.c: New File.
30653         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30654         * benchtests/bench-strcspn.c: Add wcscspn support.
30655         * benchtests/bench-wcscspn.c: New File.
30656         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30658         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30659         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30660         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30661         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30662         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30663         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30664         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30665         wcspbrk functions.
30666         * sysdeps/s390/multiarch/ifunc-impl-list.c
30667         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30668         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30669         * string/test-strpbrk.c: Add wcspbrk support.
30670         * wcsmbs/test-wcspbrk.c: New File.
30671         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30672         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30673         * benchtests/bench-wcspbrk.c: New File.
30674         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30676         * sysdeps/s390/multiarch/strspn-c.c: New File.
30677         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30678         * sysdeps/s390/multiarch/strspn.c: Likewise.
30679         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30680         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30681         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30682         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30683         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30684         wcsspn functions.
30685         * sysdeps/s390/multiarch/ifunc-impl-list.c
30686         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30687         * string/test-strspn.c: Add wcsspn support.
30688         * wcsmbs/test-wcsspn.c: New File.
30689         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30690         * benchtests/bench-strspn.c: Add wcsspn support.
30691         * benchtests/bench-wcsspn.c: New File.
30692         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30694         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30695         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30696         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30697         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30698         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30699         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30700         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30701         wcsrchr functions.
30702         * sysdeps/s390/multiarch/ifunc-impl-list.c
30703         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30704         * benchtests/bench-wcsrchr.c: New File.
30705         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30707         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30708         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30709         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30710         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30711         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30712         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30713         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30714         wcschrnul functions.
30715         * sysdeps/s390/multiarch/ifunc-impl-list.c
30716         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30717         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30718         * string/test-strchr.c: Add wcschrnul support.
30719         * wcsmbs/test-wcschrnul.c: New File.
30720         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30721         * benchtests/bench-strchr.c: Add wcschrnul support.
30722         * benchtests/bench-wcschrnul.c: New File.
30723         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30725         * sysdeps/s390/multiarch/strchr-c.c: New File.
30726         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30727         * sysdeps/s390/multiarch/strchr.c: Likewise.
30728         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30729         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30730         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30732         wcschr functions.
30733         * sysdeps/s390/multiarch/ifunc-impl-list.c
30734         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30735         * string/strchr.c (STRCHR): Define and use macro.
30736         * benchtests/bench-wcschr.c: New File.
30737         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30739         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30740         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30741         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30742         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30743         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30744         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30745         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30746         wcsncmp functions.
30747         * sysdeps/s390/multiarch/ifunc-impl-list.c
30748         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30749         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30750         * benchtests/bench-strncmp.c: Add wcsncmp support.
30751         * benchtests/bench-wcsncmp.c: New File.
30752         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30754         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30755         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30756         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30757         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30758         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30759         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30760         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30761         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30762         wcscmp functions.
30763         * sysdeps/s390/multiarch/ifunc-impl-list.c
30764         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30765         * string/strcmp.c (STRCMP): Define and use macro.
30766         * benchtests/bench-wcscmp.c: New File.
30767         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30768         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30769         instead of _HAVE_STRING_ARCH_memchr.
30771         * sysdeps/s390/multiarch/strncat-c.c: New File.
30772         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30773         * sysdeps/s390/multiarch/strncat.c: Likewise.
30774         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30775         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30776         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30777         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30778         wcsncat functions.
30779         * sysdeps/s390/multiarch/ifunc-impl-list.c
30780         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30781         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30782         * string/test-strncat.c: Add wcsncat support.
30783         * wcsmbs/test-wcsncat.c: New File.
30784         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30785         * benchtests/bench-strncat.c: Add wcsncat support.
30786         * benchtests/bench-wcsncat.c: New File.
30787         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30789         * sysdeps/s390/multiarch/strcat-c.c: New File.
30790         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30791         * sysdeps/s390/multiarch/strcat.c: Likewise.
30792         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30793         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30794         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30795         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30796         wcscat functions.
30797         * sysdeps/s390/multiarch/ifunc-impl-list.c
30798         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30799         * string/strcat.c (STRCAT): Define and use macro.
30800         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30801         * string/test-strcat.c: Add wcscat support.
30802         * wcsmbs/test-wcscat.c: New File.
30803         * wcsmbs/Makefile (strop-tests): Add wcscat.
30804         * benchtests/bench-strcat.c: Add wcscat support.
30805         * benchtests/bench-wcscat.c: New File.
30806         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30808         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30809         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30810         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30811         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30812         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30813         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30814         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30815         wcpncpy functions.
30816         * sysdeps/s390/multiarch/ifunc-impl-list.c
30817         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30818         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30819         * string/test-stpncpy.c: Add wcpncpy support.
30820         * wcsmbs/test-wcpncpy.c: New File.
30821         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30822         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30823         * benchtests/bench-wcpncpy.c: New File.
30824         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30826         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30827         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30828         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30829         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30830         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30831         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30832         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30833         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30834         wcsncpy functions.
30835         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30836         * sysdeps/s390/multiarch/ifunc-impl-list.c
30837         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30838         * string/test-strncpy.c: Add wcsncpy support.
30839         * wcsmbs/test-wcsncpy.c: New File.
30840         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30841         * benchtests/bench-strncpy.c: Add wcsncpy support.
30842         * benchtests/bench-wcsncpy.c: New File.
30843         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30845         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30846         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30847         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30848         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30849         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30850         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30851         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30852         wcpcpy functions.
30853         * string/stpcpy.c: Use STPCPY if defined.
30854         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30855         * sysdeps/s390/multiarch/ifunc-impl-list.c
30856         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30857         * string/test-stpcpy.c: Add wcpcpy support.
30858         * wcsmbs/test-wcpcpy.c: New File.
30859         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30860         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30861         * benchtests/bench-wcpcpy.c: New File.
30862         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30864         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30865         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30866         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30867         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30868         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30869         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30870         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30872         wcscpy functions.
30873         * sysdeps/s390/multiarch/ifunc-impl-list.c
30874         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30875         * benchtests/bench-wcscpy.c: New File.
30876         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30878         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30879         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30880         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30881         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30882         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30883         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30885         wcsnlen functions.
30886         * sysdeps/s390/multiarch/ifunc-impl-list.c
30887         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30888         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30889         * string/test-strnlen.c: Add wcsnlen support.
30890         * wcsmbs/test-wcsnlen.c: New File.
30891         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30892         * benchtests/bench-strnlen.c: Add wcsnlen support.
30893         * benchtests/bench-wcsnlen.c: New File.
30894         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30896         * sysdeps/s390/multiarch/Makefile: New File.
30897         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30898         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30899         * sysdeps/s390/multiarch/strlen.c: Likewise.
30900         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30901         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30902         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30903         * string/strlen.c (STRLEN): Define and use macro.
30904         * sysdeps/s390/multiarch/ifunc-impl-list.c
30905         (IFUNC_VX_IMPL): New macro function.
30906         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30907         * benchtests/Makefile (wcsmbs-bench): New variable.
30908         (string-bench-all): Added wcsmbs-bench.
30909         * benchtests/bench-wcslen.c: New File.
30911         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30912         s390_vx_libc_ifunc2): New macro function.
30914         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30915         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30916         assembler support.
30917         * sysdeps/s390/configure: Regenerated.
30919         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30920         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30922         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30923         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30924         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30926         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30927         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30928         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30929         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30930         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30931         (memcmp, bcmp): Use __memcmp_default as alias source.
30932         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30933         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30934         Rename to __memcmp_default.
30935         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30936         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30937         (memcpy): Use __memcpy_default as alias source.
30938         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30939         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30940         Rename to __memcpy_default.
30941         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30942         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30943         (memset): Use __memset_default as alias source.
30944         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30945         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30946         Rename to __memset_default.
30947         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30948         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30949         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30950         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30951         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30952         (memcmp, bcmp): Use __memcmp_default as alias source.
30953         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30954         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30955         Rename to __memcmp_default.
30956         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30957         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30958         (memcpy): Use __memcpy_default as alias source.
30959         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30960         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30961         Rename to __memcpy_default.
30962         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30963         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30964         (memset): Use __memset_default as alias source.
30965         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30966         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30967         Rename to __memset_default.
30968         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30969         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30971         [BZ #18610]
30972         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30973         __ieee_instruction_pointer to __unused.
30974         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30975         __ieee_instruction_pointer.
30976         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30977         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30978         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30979         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30980         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30981         Mark dxc-field as reserved.
30983 2015-08-25  Roland McGrath  <roland@hack.frob.com>
30985         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30986         if the weak reference is not null.
30988 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30990         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30992         [BZ #11214]
30993         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30995 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30997         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30998         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30999         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31000         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31001         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31002         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31003         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31004         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31005         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31006         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31007         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31008         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31009         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31010         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31011         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31012         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31013         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31014         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31016 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31018         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31019         register other than r0 for tabort, it has special meaning.
31020         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31021         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31022         transaction before starting syscall.
31024 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31026         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31028 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31030         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31032         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31033         * sysdeps/x86_64/rtld-memset.S: Likewise.
31034         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31035         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31036         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31037         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31039         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31041 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31043         * debug/strcpy_chk.c: Improve performance.
31044         * debug/stpcpy_chk.c: Likewise.
31045         * sysdeps/x86_64/strcpy_chk.S: Remove.
31046         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31048         [BZ #18240]
31049         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31051 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31053         [BZ #15128]
31054         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31055         ifuncmain8.
31056         (modules-names): Add ifuncmod8.
31057         ($(objpfx)ifuncmain8): New rule.
31058         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31059         <cpuid.h>.
31060         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31061         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31062         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31063         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31064         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31065         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31066         * sysdeps/x86_64/ifuncmain8.c: New file.
31067         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31068         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31069         Removed.
31070         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31071         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31072         Change rtld_savespace_sse to __glibc_unused2.
31073         (RTLD_CHECK_FOREIGN_CALL): Removed.
31074         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31075         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31076         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31078 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31080         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31082 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31084         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31085         Unconditionally set __fpcr to avoid uninialized warning.
31086         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31088 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31090         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31091         is corrupt.
31093         * malloc/arena.c (arena_get2): Drop unused argument.
31094         (arena_lock): Adjust.
31095         (arena_get_retry): Likewise.
31097 2015-08-24  Andreas Schwab  <schwab@suse.de>
31099         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31100         Don't define.
31101         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31102         (__ASSUME_IPC64): Don't undef.
31103         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31104         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31105         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31106         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31107         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31108         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31109         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31110         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31111         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31112         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31113         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31114         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31115         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31116         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31117         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31118         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31119         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31120         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31122         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31123         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31125 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31127         * manual/Makefile (install): Only build manual when perl is available.
31129 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31132         '#undef memcpy' by '#undef memchr'.
31134 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31136         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31137         memchr not point to the internal __GI_memchr implementation.
31139 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31141         * timezone/Makefile (CFLAGS-zdump.c): Remove
31142         -Wno-strict-prototypes.
31143         (CFLAGS-zic.c): Likewise.
31144         (CFLAGS-ialloc.c): Likewise.
31145         (CFLAGS-scheck.c): Likewise.
31147         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31148         -Wno-error=undef.
31150 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31152         * i386/i686/multiarch/strcasestr-c.c: Removed.
31153         * x86_64/multiarch/strcasestr.c: Likewise.
31154         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31155         Remove strcasestr.
31157 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31159         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31161         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31162         variables for high and low parts before possibly modifying them.
31164 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31166         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31167         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31168         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31169         of "multiarch/init-arch.h".
31170         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31171         * sysdeps/x86/init-arch.h: This.
31173 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31175         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31176         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31178 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31180         [BZ #17787]
31181         * manual/macros.texi: Add twoexp macro.
31182         * manual/filesys.texi: Fix exponents.
31183         * manual/llio.texi: Likewise.
31184         * manual/stdio.texi: Likewise.
31186 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31188         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31189         incorrect use.
31191 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31193         [BZ #18370]
31194         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31195         whose real or imaginary part has small absolute value.
31196         * math/s_csqrtf.c (__csqrtf): Likewise.
31197         * math/s_csqrtl.c (__csqrtl): Likewise.
31198         * math/auto-libm-test-in: Add more tests of csqrt.
31199         * math/auto-libm-test-out: Regenerated.
31200         * sysdeps/i386/fpu/libm-test-ulps: Update.
31202 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31204         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31205         __ppc_set_ppr_very_low): New functions.
31206         * manual/platform.texi: Add documentation about
31207         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31209 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31211         * string/stpncpy.c (stpncpy): Improve performance using
31212         __strnlen/memcpy/memset.
31214 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31216         [BZ #18796]
31217         * scripts/test-installation.pl: Don't add -lmvec to build options if
31218         libmvec wasn't built.
31220 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31222         [BZ #14341]
31223         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31224         case when there is a gap between DT_REL and DT_JMPREL sections.
31225         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31226         (LDFLAGS-tst-split-dynreloc): New.
31227         (tst-split-dynreloc-ENV): Likewise.
31228         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31229         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31231 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31233         [BZ #18822]
31234         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31235         attribute_hidden.
31236         (__xstat64_conv): Likewise.
31237         (__xstat32_conv): Likewise.
31239 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31241         [BZ #18822]
31242         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31243         Don't load %ebx when calling __setcontext.  Call __setcontext
31244         with HIDDEN_JUMPTARGET.
31245         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31246         libc_hidden_def.
31248 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31250         * sysdeps/i386/i686/Makefile
31251         [$(subdir) == string] (sysdep_routines): Moved to ...
31252         * sysdeps/i386/Makefile: Here.
31253         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31254         * sysdeps/i386/cacheinfo.c: Here.
31255         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31256         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31257         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31258         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31260 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31262         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31263         __i586__ is defined.
31264         (HAS_I686): Defined to 1 if __i686__ is defined.
31266 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31268         * elf/Makefile [$(have-z-execstack) = yes]
31269         (CPPFLAGS-tst-execstack.c): New variable.
31271         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31272         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31273         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31274         UTMPX || _HAVE_UT_TV].
31275         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31276         UTMPX || _HAVE_UT_TV - 0].
31278 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31280         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31281         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31282         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31284 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31286         * sysdeps/powerpc/dl-procinfo.c:
31287         (_dl_powerpc_cap_flags): Added missing strings for some
31288         hwcap features.
31289         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31291 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31293         Port the 0x7efe...feff pattern to GCC 6.
31294         See Steve Ellcey's bug report in:
31295         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31296         * string/memrchr.c (MEMRCHR):
31297         * string/rawmemchr.c (RAWMEMCHR):
31298         * string/strchr.c (strchr):
31299         * string/strchrnul.c (STRCHRNUL):
31300         Rewrite code to avoid issues with signed shift overflow.
31302 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31304         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31305         whether cpuid is available only if HAS_CPUID is 0.
31306         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31307         (HAS_I586): Likewise.
31308         (HAS_I686): Likewise.
31310 2015-08-18  Zack Weinberg  <zackw@panix.com>
31312         * misc/Versions (libc): Add GLIBC_2.23.
31314 2015-08-18  Alan Modra  <amodra@gmail.com>
31316         [BZ #18421]
31317         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31318         .Lp__global.
31319         (_start): Load %dp via .Lp__global.
31320         [!SHARED]: Use .section .rodata.
31322 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31324         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31325         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31327 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31329         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31330         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31332 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31334         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31335         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31337 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31339         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31340         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31342 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31344         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31345         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31347 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31349         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31350         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31352 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31354         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31356 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31358         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31359         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31360         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31361         (__ASSUME_LWS_CAS): Delete.
31363 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31365         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31366         * sysdeps/hppa/configure: Regenerated.
31367         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31368         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31369         * sysdeps/hppa/nptl/tls.h: Likewise.
31371 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31373         [BZ #18823]
31374         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31375         for scaling up small arguments.
31376         * math/s_csqrtf.c (__csqrtf): Likewise.
31377         * math/s_csqrtl.c (__csqrtl): Likewise.
31378         * math/auto-libm-test-in: Add more tests of csqrt.
31379         * math/auto-libm-test-out: Regenerated.
31381 2015-08-17  Andreas Schwab  <schwab@suse.de>
31383         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31384         version set GLIBC_2.19.
31386 2015-08-16  Zack Weinberg  <zackw@panix.com>
31388         [BZ #18681]
31389         * misc/regexp.h: This interface is no longer supported.
31390         Remove all contents, leaving only an #error directive.
31391         * misc/regexp.c (loc1, loc2, locs, step, advance):
31392         Demote to compatibility symbols.
31394 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31396         [BZ #18084]
31397         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31398         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31399         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31400         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31401         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31402         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31403         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31404         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31405         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31407 2015-08-15  Zack Weinberg  <zackw@panix.com>
31409         [BZ #18795]
31410         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31411         buffer length is known to be too large, not if it's known to be
31412         small enough.
31413         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31414         overflow at runtime, involving a length parameter, twice: once
31415         with a compile-time constant length parameter, once without.
31417 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31419         [BZ #18824]
31420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31421         scaling x * y up instead of down.
31422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31423         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31424         * math/auto-libm-test-in: Add more tests of fma.
31425         * math/auto-libm-test-out: Regenerated.
31427 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31431 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31433         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31434         unnecessary movq.
31435         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31436         Likewise.
31438 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31440         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31441         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31442         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31443         and tgamma.
31444         * math/auto-libm-test-out: Regenerated.
31445         * sysdeps/i386/fpu/libm-test-ulps: Update.
31446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448         [BZ #16520]
31449         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31450         (__tanh): Force underflow exception for arguments with small
31451         absolute value.
31452         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31453         (__tanhf): Force underflow exception for arguments with small
31454         absolute value.
31455         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31456         (__tanhl): Force underflow exception for arguments with small
31457         absolute value.
31458         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31459         (__tanhl): Force underflow exception for arguments with small
31460         absolute value.
31461         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31462         (__tanhl): Force underflow exception for arguments with small
31463         absolute value.
31464         * math/auto-libm-test-in: Add more tests of tanh.
31465         * math/auto-libm-test-out: Regenerated.
31466         * sysdeps/i386/fpu/libm-test-ulps: Update.
31468 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31470         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31471         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31473 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31475         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31476         <cpuid.h>.
31478 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31480         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31481         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31483 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31485         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31486         Remove $(objpfx)init-arch.o.
31487         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31488         init-arch.
31489         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31490         (INIT_ARCH_EXT): Defined as empty.
31491         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31492         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31493         __init_cpu_features call.  Replace HAS_XXX with
31494         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31495         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31497         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31498         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31499         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31500         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31501         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31502         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31503         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31506         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31508         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31509         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31510         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31512         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31514         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31515         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31516         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31517         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31518         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31519         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31521         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31522         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31523         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31525         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31526         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31527         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31528         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31529         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31531 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31533         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31534         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31535         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31536         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31537         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31538         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31539         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31540         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31541         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31542         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31543         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31544         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31545         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31546         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31547         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31548         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31549         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31550         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31551         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31552         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31553         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31554         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31555         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31556         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31557         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31558         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31559         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31560         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31561         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31562         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31563         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31564         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31565         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31566         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31567         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31568         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31569         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31570         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31571         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31572         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31573         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31574         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31575         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31577 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31580         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31581         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31582         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31583         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31584         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31585         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31586         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31587         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31588         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31589         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31590         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31591         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31592         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31593         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31594         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31595         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31596         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31597         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31598         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31600         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31601         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31602         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31603         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31604         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31605         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31606         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31607         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31608         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31609         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31610         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31612         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31613         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31614         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31615         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31616         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31617         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31618         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31619         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31620         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31621         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31623 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31625         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31626         (dl_platform_init): Call init_cpu_features.
31627         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31628         * sysdeps/i386/i686/cacheinfo.c
31629         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31630         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31631         * sysdeps/i386/i686/multiarch/Versions: Removed.
31632         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31633         Removed.
31634         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31635         * sysdeps/unix/sysv/linux/x86/Makefile
31636         (libpthread-sysdep_routines): Remove init-arch.
31637         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31638         <sysdeps/x86_64/dl-procinfo.c> instead of
31639         sysdeps/generic/dl-procinfo.c>.
31640         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31641         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31642         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31643         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31644         [$(subdir) == elf] (tests-static): Add
31645         tst-get-cpu-features-static.
31646         * sysdeps/x86/Versions: New file.
31647         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31648         * sysdeps/x86/cpu-features.c: Likewise.
31649         * sysdeps/x86/cpu-features.h: Likewise.
31650         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31651         * sysdeps/x86/libc-start.c: Likewise.
31652         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31653         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31654         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31655         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31656         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31657         Assume USE_MULTIARCH is defined and don't check it.
31658         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31659         (is_amd): Likewise.
31660         (max_cpuid): Likewise.
31661         (intel_check_word): Likewise.
31662         (__cache_sysconf): Don't call __init_cpu_features.
31663         (__x86_preferred_memory_instruction): Removed.
31664         (init_cacheinfo): Don't call __init_cpu_features. Replace
31665         __cpu_features with GLRO(dl_x86_cpu_features).
31666         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31667         (dl_platform_init): Call init_cpu_features.
31668         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31669         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31670         * sysdeps/x86_64/multiarch/Versions: Removed.
31671         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31672         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31673         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31674         Removed.
31675         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31677 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31679         [BZ #18820]
31680         * libio/Makefile (test-fmemopen-mem): New test.
31681         * libio/test-fmemopen.c (do_bz18820): New test.
31682         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31683         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31685 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31687         [BZ #16734]
31688         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31689         (FREE_BUF): Delete.
31690         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31691         * libio/genops.c (_IO_setb): Use malloc and free directly.
31692         (_IO_default_doallocate, _IO_default_finish): Likewise.
31693         ( _IO_unbuffer_all): Likewise.
31694         ( libc_freeres_fn): Likewise.
31695         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31696         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31697         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31698         (_IO_wdefault_doallocate): Likewise.
31700 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31702         [BZ #18086]
31703         * sysdeps/posix/nice.c (nice): Restore old errno.
31704         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31706 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31708         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31710 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31712         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31713         __bcopy and add a weak_alias to bcopy.
31714         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31715         for static build.
31717         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31718         cleanup macro usage.
31719         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31722         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31723         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31724         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31725         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31726         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31727         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31728         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31729         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31730         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31731         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31732         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31733         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31734         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31735         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31736         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31737         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31739         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31740         libc_hidden_def.
31741         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31743         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31744         (sysdep_routines): Add strstr-ppc64.
31745         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31747 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31749         [BZ #18778]
31750         * elf/Makefile (tests): Add Add tst-nodelete2.
31751         (modules-names): Add tst-nodelete2mod.
31752         (tst-nodelete2mod.so-no-z-defs): New.
31753         ($(objpfx)tst-nodelete2): Likewise.
31754         ($(objpfx)tst-nodelete2.out): Likewise.
31755         (LDFLAGS-tst-nodelete2): Likewise.
31756         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31757         out of loop through all loaded libraries.
31758         * elf/tst-nodelete2.c: New file.
31759         * elf/tst-nodelete2mod.c: Likewise.
31760         * elf/tst-znodelete-zlib.cc: Delete.
31762 2015-08-11  Andreas Schwab  <schwab@suse.de>
31764         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31765         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31766         (__openat64_nocancel): Likewise.
31768 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31770         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31771         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31772         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31773         * math/auto-libm-test-out: Regenerated.
31774         * sysdeps/i386/fpu/libm-test-ulps: Update.
31775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31777 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31779         [BZ #18790]
31780         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31781         threshold for returning +/- 1.
31782         * math/auto-libm-test-in: Add more tests of tanh.
31783         * math/auto-libm-test-out: Regenerated.
31784         * sysdeps/i386/fpu/libm-test-ulps: Update.
31786 2015-08-10  Andreas Schwab  <schwab@suse.de>
31788         [BZ #18781]
31789         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31790         MORE_OFLAGS to oflag.
31791         * io/test-lfs.c (do_test): Test openat64.
31793 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31795         [BZ #18789]
31796         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31797         smaller threshold for returning the argument.
31798         * math/auto-libm-test-in: Add more tests of sinh.
31799         * math/auto-libm-test-out: Regenerated.
31800         * sysdeps/i386/fpu/libm-test-ulps: Update.
31802 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31804         [BZ #18674]
31805         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31806         break.
31808 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31810         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31811         (generated): Don't add $(addprefix z.,$(tzfiles)).
31813 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31815         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31816         * scripts/sysd-rules.awk: Likewise.
31818 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31820         * iconvdata/tst-tables.sh: Change echo -n to printf.
31821         * nss/db-Makefile: Likewise.
31822         * posix/tst-getconf.sh: Likewise.
31823         * stdio-common/tst-unbputc.sh: Likewise.
31825 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31827         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31828         MADV_*_PAGES defines behind this feature check.
31830 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31832         [BZ #18480]
31833         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31834         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31835         Define.
31836         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31837         LOAD_REGS_5, LOAD_REGS_6): Update.
31838         (INTERNAL_SYSCALL): Update using new LOAD defines.
31839         (INTERNAL_SYSCALL_NCS): Likewise.
31840         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31842 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31844         [BZ #16734]
31845         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31847 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31849         [BZ #17905]
31850         * catgets/Makefile (tst-catgets-mem): New test.
31851         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31852         * catgets/open_catalog.c (__open_catalog): Likewise.
31853         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31855 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31857         [BZ #18787]
31858         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31859         clobber registers.
31860         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31861         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31862         Cast return to __typeof (oldval).
31864 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31866         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31867         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31868         and delete sys/syscall.h include.
31870 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31872         [BZ #16517]
31873         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31874         (tan): Force underflow exception for arguments with small absolute
31875         value.
31876         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31877         (__kernel_tanf): Force underflow exception for arguments with
31878         small absolute value.
31879         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31880         (__kernel_tanl): Force underflow exception for arguments with
31881         small absolute value.
31882         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31883         (__kernel_tanl): Force underflow exception for arguments with
31884         small absolute value.
31885         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31886         (__kernel_tanl): Force underflow exception for arguments with
31887         small absolute value.
31888         * math/auto-libm-test-in: Add more tests of tan.
31889         * math/auto-libm-test-out: Regenerated.
31891 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31893         Fix sysdeps/i386/fpu/s_scalbn.S build
31895         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31897 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31899         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31901 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31903         Fix gcrt0.o compilation
31905         When static-start-installed-name is different from
31906         start-installed-name, we must not use the shared objects.
31908         * csu/Makefile
31909         (extra-objs): Add gmon-start.o when building shared library and
31910         $(static-start-installed-name) is different from
31911         $(start-installed-name).
31912         $(objpfx)g$(static-start-installed-name): When building shared
31913         library and $(static-start-installed-name) is different from
31914         $(static-start-installed-name), revert to non-shared rule,
31915         i.e. using $(objpfx)% and gmon-start.o.
31917 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31919         [BZ #16519]
31920         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31921         (__ieee754_sinh): Force underflow exception for arguments with
31922         small absolute value.
31923         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31924         (__ieee754_sinhf): Force underflow exception for arguments with
31925         small absolute value.
31926         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31927         (__ieee754_sinhl): Force underflow exception for arguments with
31928         small absolute value.
31929         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31930         (__ieee754_sinhl): Force underflow exception for arguments with
31931         small absolute value.
31932         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31933         (__ieee754_sinhl): Force underflow exception for arguments with
31934         small absolute value.
31935         * math/auto-libm-test-in: Add more tests of sinh.
31936         * math/auto-libm-test-out: Regenerated.
31937         * sysdeps/i386/fpu/libm-test-ulps: Update.
31939 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31941         * libio/oldfileops.c: Include unistd.h.
31943 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31945         * stdlib/isomac.c: Include ctype.h.
31947 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31949         * dirent/tst-seekdir.c (main): Converted to ...
31950         (do_test): ... this.
31951         (TEST_FUNCTION): New macro.
31952         Include test-skeleton.c.
31953         * elf/tst-dlmodcount.c (main): Converted to ...
31954         (do_test): ... this.
31955         (TEST_FUNCTION): New macro.
31956         Include test-skeleton.c.
31957         * elf/tst-order-main.c (main): Converted to ...
31958         (do_test): ... this.
31959         (TEST_FUNCTION): New macro.
31960         Include test-skeleton.c.
31961         * elf/tst-pie2.c (main): Converted to ...
31962         (do_test): ... this.
31963         (TEST_FUNCTION): New macro.
31964         Include test-skeleton.c.
31965         * inet/tst-ether_aton.c (main): Converted to ...
31966         (do_test): ... this.
31967         (TEST_FUNCTION): New macro.
31968         Include test-skeleton.c.
31969         * misc/tst-mntent.c (main): Converted to ...
31970         (do_test): ... this.
31971         (TEST_FUNCTION): New macro.
31972         Include test-skeleton.c.
31973         * misc/tst-tsearch.c (main): Converted to ...
31974         (do_test): ... this.
31975         (TEST_FUNCTION): New macro.
31976         Include test-skeleton.c.
31977         * posix/tst-regexloc.c (main): Converted to ...
31978         (do_test): ... this.
31979         (TEST_FUNCTION): New macro.
31980         Include test-skeleton.c.
31981         * resolv/tst-aton.c (main): Converted to ...
31982         (do_test): ... this.
31983         (TEST_FUNCTION): New macro.
31984         Include test-skeleton.c.
31985         * stdio-common/test-fwrite.c (main): Converted to ...
31986         (do_test): ... this.
31987         (TEST_FUNCTION): New macro.
31988         Include test-skeleton.c.
31989         * stdio-common/tst-ferror.c (main): Converted to ...
31990         (do_test): ... this.
31991         (TEST_FUNCTION): New macro.
31992         Include test-skeleton.c.
31993         * stdio-common/tst-printf.c (main): Converted to ...
31994         (do_test): ... this.
31995         (TEST_FUNCTION): New macro.
31996         Include test-skeleton.c.
31997         * stdio-common/tst-printfsz.c (main): Converted to ...
31998         (do_test): ... this.
31999         (TEST_FUNCTION): New macro.
32000         Include test-skeleton.c.
32001         * stdlib/tst-strtod.c (main): Converted to ...
32002         (do_test): ... this.
32003         (TEST_FUNCTION): New macro.
32004         Include test-skeleton.c.
32005         * string/tst-strlen.c (main): Converted to ...
32006         (do_test): ... this.
32007         (TEST_FUNCTION): New macro.
32008         Include test-skeleton.c.
32009         * string/tst-svc.c (main): Converted to ...
32010         (do_test): ... this.
32011         (TEST_FUNCTION): New macro.
32012         Include test-skeleton.c.
32013         * time/tst-strptime.c (main): Converted to ...
32014         (do_test): ... this.
32015         (TEST_FUNCTION): New macro.
32016         Include test-skeleton.c.
32017         * timezone/tst-timezone.c (main): Converted to ...
32018         (do_test): ... this.
32019         (TEST_FUNCTION): New macro.
32020         Include test-skeleton.c.
32022 2015-08-05  Zack Weinberg  <zackw@panix.com>
32024         * misc/regexp.h: Update comments.
32026 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32028         [BZ #18635]
32029         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32030         before return label.
32032 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32034         [BZ #18661]
32035         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32036         when calling __errno_location.
32037         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32038         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32040 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32042         [BZ #18661]
32043         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32044         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32045         __gettimeofday.
32047 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32049         [BZ #18661]
32050         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32051         (__start_context): Don't use pop to restore %rdi so that stack
32052         is aligned to 16 bytes when calling __setcontext.
32054 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32056         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32057         only for libc.
32058         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32060 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32062         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32063         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32064         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32066 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32068         * string/memccpy.c (memccpy):
32069         Improve performance by using memchr/memcpy/__mempcpy.
32071 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32073         * string/strncpy.c (strncpy):
32074         Improve performance by using __strnlen/memcpy.
32076 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32078         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32079         Optimize to avoid an unnecessary FPCR read.
32081 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32083         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32084         Optimize to reduce FPCR/FPSR accesses.
32086 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32088         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32089         dead->data[category] != NULL.
32091 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32093         [BZ #18647]
32094         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32095         and |x| close to 1, use absolute value of x when computing log.
32096         * math/auto-libm-test-in: Add more tests of pow.
32097         * math/auto-libm-test-out: Regenerated.
32099 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32101         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32102         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32103         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32105 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32107         [BZ #18525]
32108         * locales/km_KH: Remove timezone definition.
32109         * locales/lo_LA: Likewise.
32110         * locales/my_MM: Likewise.
32111         * locales/nan_TW@latin: Likewise.
32112         * locales/th_TH: Likewise.
32113         * locales/uk_UA: Likewise.
32115 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32117         [BZ #18265]
32118         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32119         (wcsncat): Likewise.
32120         (wcscmp): Likewise.
32121         (wcsncmp): Likewise.
32123 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32125         * test-skeleton.c (usage): New function.
32126         (main): Call usage when opt is '?'.
32128 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32130         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32131         before first use.
32133 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32135         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32136         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32137         in there too.
32139 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32141         * version.h (RELEASE): Set to "development".
32142         (VERSION): Set to "2.22.90"
32144         * version.h (RELEASE): Set to "stable".
32145         (VERSION): Set to "2.22"
32146         * include/features.h (__GLIBC_MINOR__): Set to 22.
32148 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32150         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32151         Restructure macro to avoid "value computed is not used" warning.
32152         (atomic_compare_and_exchange_val_acq): Likewise.
32154 2015-08-04  Andreas Schwab  <schwab@suse.de>
32156         [BZ #18635]
32157         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32158         ret.
32159         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32161 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32163         * po/pl.po: Updated translation.
32164         * po/uk.po: Likewise.
32165         * po/fi.po: Likewise.
32166         * po/ko.po: Likewise.
32167         * po/ru.po: Likewise.
32168         * po/vi.po: Likewise.
32170 2015-07-31  Zack Weinberg  <zackw@panix.com>
32172         [BZ #18681]
32173         * regexp.h: Add unconditional #warning stating that this header
32174         will be removed soon.  Revise banner comment to match.
32175         (compile): Consistently use ERROR instead of RETURN to report
32176         errors (partial fix for BZ #18681).
32177         * regexp.c: Don't include regexp.h. Remove some unnecessary
32178         declarations.
32180 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32182         * po/libc.pot: Regenerated.
32184 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32186         [BZ #18740]
32187         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32188         float-vlen4-arch-ext-cflags): Removed.
32189         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32190         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32192 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32194         [BZ #14113]
32195         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32196         aligned to __aligned__.
32197         (pthread_cond_t, pthread_rwlock_t): Likewise.
32199 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32201         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32203 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32205         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32206         (struct sigaction): Change sa_flags from a long to an int, and add
32207         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32209 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32211         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32212         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32213         sysdeps/generic/sysdep.h include.
32214         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32215         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32216         sysdeps/hppa/sysdep.h.
32217         (ENTRY, PSEUDO): Undefine before defining.
32219 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32221         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32222         from scratch to use INTERNAL_SYSCALL.
32224 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32226         [BZ #18078]
32227         * scripts/check-localplt.awk: Support alternate relocations.
32228         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32229         sections.
32230         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32231         malloc entries with + REL R_386_GLOB_DAT.
32232         * sysdeps/x86_64/localplt.data: New file.
32234 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32236         [BZ #18731]
32237         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32238         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32239         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32241 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32243         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32245 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32247         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32248         directly in terms of __sync_fetch_and_add and delete (int) cast.
32250 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32252         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32253         the -D_ASM_IA64_CURRENT_H flag.
32255 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32257         [BZ #18641]
32258         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32260 2015-07-27  Andreas Schwab  <schwab@suse.de>
32262         * conform/conformtest.pl (checknamespace): Filter out string
32263         literals while tokenizing.
32265 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32267         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32268         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32269         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32271 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32273         * nptl/tst-join7mod.c: Add #include <string.h>.
32275 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32277         * sysdeps/nios2/libm-test-ulps: Update.
32279 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32281         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32282         Fix order of arguments to the rt_sigprocmask syscall.
32283         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32284         Likewise.
32286 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32288         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32290 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32292         [BZ #18457]
32293         * nptl/Makefile (tests): New test case tst-join7.
32294         (modules-names): New test case module tst-join7mod.
32295         * nptl/tst-join7.c: New file.
32296         * nptl/tst-join7mod.c: New file.
32297         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32298         all translation units in libc.so, libpthread.so and rtld.
32300 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32304 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32306         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32307         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32308         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32309         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32310         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32313         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32314         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32316         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32317         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32318         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32319         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32320         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32321         implementation.
32323 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32325         [BZ #17711]
32326         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32327         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32328         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32329         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32330         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32331         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32333 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32335         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32336         instead of just saying load lock in the comments.
32338 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32340         * sysdeps/unix/Subdirs: Moved ...
32341         * sysdeps/posix/Subdirs: ... here.
32342         * login/pty.h (struct termios, struct winsize): Add forward decls.
32343         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32344         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32345         * sysdeps/arm/nacl/libc.abilist: Updated.
32346         * sysdeps/nacl/libutil.abilist: New file.
32348         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32349         (SIGWINCH): New macro.
32351         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32352         * sysdeps/arm/nacl/libc.abilist: Add it.
32354 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32356         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32358 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32360         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32361         Swap __glibc_reserved0 and sa_flags order.
32363 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32365         [BZ #18657]
32366         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32367         are pending TLS destructor calls.
32368         * include/link.h (struct link_map): Add concurrency note for
32369         L_TLS_DTOR_COUNT.
32370         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32371         Don't touch the link map flag.  Atomically increment
32372         l_tls_dtor_count.
32373         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32374         Avoid taking the load lock and don't touch the link map flag.
32375         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32376         * stdlib/Makefile (tests): Use it.
32377         * stdlib/tst-tls-atexit.c (do_test): dlopen
32378         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32379         to allow tst-tls-atexit-nodelete test case to use it.
32381 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32383         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32384         to bits/types.h.
32385         (msgqnum_t): New typedef.
32386         (msglen_t): Likewise.
32387         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32388         and msg_qbytes type to msglen_t.
32390 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32392         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32393         pad0 to __glibc_reserved0.
32394         (struct stat64): Likewise.
32396 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32398         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32399         Change sa_flags from a long to an int and add __glibc_reserved0 before
32400         it for padding.
32402 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32404         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32405         anonymous by deleting "siginfo" name.
32407 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32409         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32410         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32411         rather than __nacl_irt_filename.
32412         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32414         * NEWS: New item for arm-nacl port.
32415         * sysdeps/arm/nacl/libc.abilist: New file.
32416         * sysdeps/nacl/ld.abilist: New file.
32417         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32418         * sysdeps/nacl/libanl.abilist: New file.
32419         * sysdeps/nacl/libcrypt.abilist: New file.
32420         * sysdeps/nacl/libdl.abilist: New file.
32421         * sysdeps/nacl/libm.abilist: New file.
32422         * sysdeps/nacl/libpthread.abilist: New file.
32423         * sysdeps/nacl/libresolv.abilist: New file.
32424         * sysdeps/nacl/librt.abilist: New file.
32426 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32428         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32429         __startcontext to initialize the new context.
32430         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32431         up CFI directive to forbid further backtracing.
32433 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32435         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32436         reference.
32437         * charmaps/ANSI_X3.4-1968: Likewise.
32438         * charmaps/BS_4730: Likewise.
32439         * charmaps/BS_VIEWDATA: Likewise.
32440         * charmaps/CP1250: Likewise.
32441         * charmaps/CP1251: Likewise.
32442         * charmaps/CP1252: Likewise.
32443         * charmaps/CP1253: Likewise.
32444         * charmaps/CP1254: Likewise.
32445         * charmaps/CP1255: Likewise.
32446         * charmaps/CP1256: Likewise.
32447         * charmaps/CSN_369103: Likewise.
32448         * charmaps/EBCDIC-DK-NO: Likewise.
32449         * charmaps/GB_1988-80: Likewise.
32450         * charmaps/GREEK-CCITT: Likewise.
32451         * charmaps/GREEK7: Likewise.
32452         * charmaps/INIS-8: Likewise.
32453         * charmaps/ISIRI-3342: Likewise.
32454         * charmaps/ISO_2033-1983: Likewise.
32455         * charmaps/ISO_5427-EXT: Likewise.
32456         * locales/POSIX: Likewise.
32457         * locales/ar_SA: Likewise.
32458         * locales/be_BY: Likewise.
32459         * locales/be_BY@latin: Likewise.
32460         * locales/ca_ES: Likewise.
32461         * locales/cs_CZ: Likewise.
32462         * locales/da_DK: Likewise.
32463         * locales/de_BE: Likewise.
32464         * locales/de_CH: Likewise.
32465         * locales/de_LU: Likewise.
32466         * locales/en_AU: Likewise.
32467         * locales/en_BW: Likewise.
32468         * locales/en_CA: Likewise.
32469         * locales/en_DK: Likewise.
32470         * locales/en_GB: Likewise.
32471         * locales/en_IE: Likewise.
32472         * locales/en_NZ: Likewise.
32473         * locales/en_ZA: Likewise.
32474         * locales/en_ZW: Likewise.
32475         * locales/es_AR: Likewise.
32476         * locales/es_BO: Likewise.
32477         * locales/es_CL: Likewise.
32478         * locales/es_CO: Likewise.
32479         * locales/es_DO: Likewise.
32480         * locales/es_EC: Likewise.
32481         * locales/es_ES: Likewise.
32482         * locales/es_HN: Likewise.
32483         * locales/es_MX: Likewise.
32484         * locales/es_PA: Likewise.
32485         * locales/es_PE: Likewise.
32486         * locales/es_PY: Likewise.
32487         * locales/es_SV: Likewise.
32488         * locales/es_US: Likewise.
32489         * locales/es_UY: Likewise.
32490         * locales/es_VE: Likewise.
32491         * locales/et_EE: Likewise.
32492         * locales/fa_IR: Likewise.
32493         * locales/fo_FO: Likewise.
32494         * locales/fr_CA: Likewise.
32495         * locales/fr_CH: Likewise.
32496         * locales/gv_GB: Likewise.
32497         * locales/he_IL: Likewise.
32498         * locales/hr_HR: Likewise.
32499         * locales/id_ID: Likewise.
32500         * locales/is_IS: Likewise.
32501         * locales/it_CH: Likewise.
32502         * locales/iw_IL: Likewise.
32503         * locales/kl_GL: Likewise.
32504         * locales/ko_KR: Likewise.
32505         * locales/kw_GB: Likewise.
32506         * locales/lg_UG: Likewise.
32507         * locales/lt_LT: Likewise.
32508         * locales/lv_LV: Likewise.
32509         * locales/mi_NZ: Likewise.
32510         * locales/nhn_MX: Likewise.
32511         * locales/nl_BE: Likewise.
32512         * locales/pl_PL: Likewise.
32513         * locales/sk_SK: Likewise.
32514         * locales/sl_SI: Likewise.
32515         * locales/sv_FI: Likewise.
32516         * locales/tl_PH: Likewise.
32517         * locales/tr_TR: Likewise.
32518         * locales/vi_VN: Likewise.
32520 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32522         [BZ #17475]
32523         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32524         of tu_IN and bh_IN.
32526 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32528         [BZ #18694]
32529         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32530         bits/wordsize.h.
32531         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32533 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32535         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32536         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32537         (spawn_thread): New function.
32538         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32539         (do_test): ... here.  Use IS_LOADED to test for its
32540         availability.
32542 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32544         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32546 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32548         [BZ #18696]
32549         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32550         si_addr_bnd.
32551         (si_lower): New.
32552         (si_upper): Likewise.
32554 2015-07-16  David S. Miller  <davem@davemloft.net>
32556         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32558 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32560         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32561         buffer.
32562         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32563         fail output information.
32565 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32568         and strstr-ppc64..
32569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32570         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32571         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32572         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32573         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32575 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32577         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32578         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32579         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32580         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32582 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32584         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32585         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32586         rtld_hidden_proto.
32587         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32589 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32591         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32592         the test can fail.
32594         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32596         [BZ #18676]
32597         * elf/tst-nodelete-opened.c: New test case.
32598         * elf/tst-nodelete-opened-lib.c: New test case module.
32599         * elf/Makefile (tests, modules-names): Use them.
32600         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32601         early.
32603 2015-07-15  David S. Miller  <davem@davemloft.net>
32605         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32606         futex-intenal.h
32607         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32608         * sysdeps/sparc/sparc64/Makefile: Likewise.
32609         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32610         Remove space from macro define.
32611         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32613 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32615         [BZ #17475]
32616         * locale/iso-639.def: Update Bhili and Tulu language codes as
32617         per iso639-3.
32619 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32621         * elf/tst-leaks1.c (main): Converted to ...
32622         (do_test): ... this.
32623         (TEST_FUNCTION): New macro.
32624         Include test-skeleton.c.
32625         * localedata/tst-langinfo.c (main): Converted to ...
32626         (do_test): ... this.
32627         (TEST_FUNCTION): New macro.
32628         Include test-skeleton.c.
32629         * math/test-fpucw.c (main): Converted to ...
32630         (do_test): ... this.
32631         (TEST_FUNCTION): New macro.
32632         Include test-skeleton.c.
32633         * math/test-tgmath.c (main): Converted to ...
32634         (do_test): ... this.
32635         (TEST_FUNCTION): New macro.
32636         Include test-skeleton.c.
32637         * math/test-tgmath2.c (main): Converted to ...
32638         (do_test): ... this.
32639         (TEST_FUNCTION): New macro.
32640         Include test-skeleton.c.
32641         * setjmp/tst-setjmp.c (main): Converted to ...
32642         (do_test): ... this.
32643         (TEST_FUNCTION): New macro.
32644         Include test-skeleton.c.
32645         * stdio-common/tst-sscanf.c (main): Converted to ...
32646         (do_test): ... this.
32647         (TEST_FUNCTION): New macro.
32648         Include test-skeleton.c.
32649         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32650         (do_test): ... this.
32651         (TEST_FUNCTION): New macro.
32652         Include test-skeleton.c.
32654         * elf/tst-audit9.c (main): Converted to ...
32655         (do_test): ... this.
32656         (TEST_FUNCTION): New macro.
32657         Include test-skeleton.c.
32659 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32661         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32663 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32665         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32666         New variable.
32668 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32670         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32672 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32674         * sysdeps/generic/dl-fileid.h: New file.
32675         * sysdeps/posix/dl-fileid.h: New file.
32676         * sysdeps/nacl/dl-fileid.h: New file.
32677         * include/link.h: Include <dl-fileid.h>.
32678         (struct link_map): Replace l_dev and l_ino with l_file_id.
32679         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32680         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32681         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32683 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32685         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32687 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32689         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32690         Add iff $CXX is set.
32691         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32692         Likewise.
32693         (tst-nodelete-zmodiff): Likewise.
32694         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32696 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32698         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32700 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32702         * sysdeps/aarch64/fpu/math_private.h
32703         (define math_opt_barrier): Add AArch64 version.
32704         (math_force_eval): Likewise.
32706 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32708         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32710 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32712         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32713         %ld with %jd and cast to intmax_t.
32714         (do_test_length_zero): Likewise.
32716 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32718         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32720 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32722         * sysdeps/tile/libm-test-ulps: Regenerated.
32724         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32725         Comment out the whole function, not just its body.
32727 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32729         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32730         locks.
32732         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32734 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32736         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32737         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32739 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32741         * sysdeps/nptl/futex-internal.h: New file.
32742         * sysdeps/nacl/futex-internal.h: New file.
32743         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32744         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32745         error checking.
32746         (setxid_unmark_thread): Likewise.
32747         (__nptl_setxid): Likewise.
32748         (__wait_lookup_done): Likewise.
32749         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32750         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32751         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32752         * nptl/pthread_once.c (clear_once_control): Likewise.
32753         (__pthread_once_slow): Likewise.
32754         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32755         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32756         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32757         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32758         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32759         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32760         Likewise.
32761         (__pthread_rwlock_rdlock): Likewise.
32762         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32763         Likewise.
32764         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32765         Likewise.
32766         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32767         Likewise.
32768         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32769         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32770         Likewise.
32771         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32772         __ASSUME_PRIVATE_FUTEX check.
32773         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32774         Check that shared futexes are supported.
32775         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32776         wrappers with error checking.
32777         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32778         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32779         * nptl/pthread_barrierattr_setpshared.c
32780         (pthread_barrierattr_setpshared): Check that shared futexes are
32781         supported.
32782         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32783         Likewise.
32784         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32785         Likewise.
32786         * nptl/sem_init.c (futex_private_if_supported): Remove.
32787         (__new_sem_init): Adapt and check that shared futexes are supported.
32788         * nptl/sem_open.c (sem_open): Likewise.
32789         * nptl/sem_post.c (futex_wake): Remove.
32790         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32791         (do_futex_wait): Use futex wrappers with error checking.
32792         * nptl/sem_wait.c: Include lowlevellock.h.
32793         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32794         Use futex_supports_pshared.
32795         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32796         Use futex wrappers with error checking.
32797         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32798         Likewise.
32799         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32800         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32801         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32802         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32803         (futex_wake): Likewise.
32804         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32805         (do_futex_wait): Use futex wrappers with error checking.
32806         (__new_sem_wait_slow): Update EINTR handling.
32807         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32809 2015-07-09  Martin Sebor  <msebor@redhat.com>
32811         [BZ #18435]
32812         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32813         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32814         * nptl/Makefile (test-xfail-tst-once5): Define.
32816 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32818         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32819         * elf/dl-minimal.c: For readability, reorder some definitions and
32820         introduce more page breaks.  Include <stdio.h>.
32821         (__libc_fatal): New function.
32823         * include/unistd.h: Add rtld_hidden_proto for _exit.
32824         * posix/_exit.c: Add rtld_hidden_def.
32825         * sysdeps/mach/hurd/_exit.c: Likewise.
32826         * sysdeps/nacl/_exit.c: Likewise.
32827         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32828         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32830 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32833         bndmov encoding with zero displacement.
32835 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32836             H.J. Lu  <hongjiu.lu@intel.com>
32838         [BZ #18134]
32839         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32840         * sysdeps/i386/configure: Regenerated.
32841         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32842         (_dl_runtime_profile): Save and restore Intel MPX return bound
32843         registers when calling _dl_call_pltexit.  Add
32844         PRESERVE_BND_REGS_PREFIX before return.
32845         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32846         (LRV_BND1_OFFSET): Likewise.
32847         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32848         lrv_bnd1.
32849         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32850         typo in bndmov encoding.
32851         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32852         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32853         branch instructions to preserve bounds.
32855 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32858         [GLIBC_2.22]: Add fmemopen.
32860 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32862         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32863         returns an error, also try to use host port from __mach_host_self for
32864         the __vm_wire call.
32865         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32867 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32869         [BZ #18400]
32870         [BZ #18648]
32871         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32872         Fix pr_uid and pr_gid members.
32873         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32874         definition to elf_greg_t.
32876 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32878         [BZ #18383]
32879         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32880         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32881         * sysdeps/arm/configure: Regenerated.
32882         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32883         (test-xfail-tst-tlsalign-static): Variable removed.
32885         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32886         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32887         rather than explicit 'ln -s'.
32889         * resolv/rpc/netdb.h: New file.
32890         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32892 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32894         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32895         length buffers.
32896         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32897         test-skeleton.c.
32899         [BZ #6544]
32900         [BZ #11216]
32901         [BZ #12836]
32902         [BZ #13151]
32903         [BZ #13152]
32904         [BZ #14292]
32905         * include/stdio.h (fmemopen): Remove hidden prototype.
32906         (__fmemopen): Add new hidden prototype.
32907         * libio/Makefile: Add oldfmemopen object.
32908         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32909         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32910         compliance.
32911         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32912         symbol compatibility.
32913         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32914         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32915         fmemopen.
32916         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32917         on append and read mode.
32918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32919         fmemopen.
32920         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32921         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32922         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32923         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32924         Likewise.
32925         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32926         [GLIBC_2.22]: Likewise.
32927         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32928         Likewise.
32929         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32930         Likewise.
32931         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32932         [GLIBC_2.22]: Likewise.
32933         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32934         [GLIBC_2.22]: Likewise.
32935         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32936         [GLIBC_2.22]: Likewise.
32937         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32938         [GLIBC_2.22]: Likewise.
32939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32940         [GLIBC_2.22]: Likewise.
32941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32942         [GLIBC_2.22]: Likewise.
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32944         [GLIBC_2.22]: Likewise.
32945         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32946         Likewise.
32947         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32948         Likewise.
32949         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32950         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32951         [GLIBC_2.22]: Likewise.
32952         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32953         [GLIBC_2.22]: Likewise.
32954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32955         [GLIBC_2.22]: Likewise.
32956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32957         [GLIBC_2.22]: Likewise.
32958         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32959         Likewise.
32960         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32961         Likewise.
32962         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32963         Likewise.
32964         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32965         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32967 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32969         [BZ #18643]
32970         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32971         IPV6_PATHMTU, and IPV6_DONTFRAG.
32973 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32975         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32976         and _IO_UNBUFFERED.
32977         * libio/oldfileops.c: Likewise.
32978         * libio/wfileops.c: Likewise.
32980 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32982         * nscd/selinux.c: Delete selinux/flask.h include.
32984 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32986         [BZ #18641]
32987         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32988         (putpwent): Likewise.
32989         (getpwnam): Likewise.
32990         (getpwent_r): Likewise.
32991         (getpwuid_r): Likewise.
32992         (getpwnam_r): Likewise.
32993         (fgetpwent_r): Likewise.
32995 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32997         [BZ #18557]
32998         * inet/rcmd.c (__validuser2_sa): Check user first to
32999         short-circuit host check.
33001 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33002             Mikhail Ilin  <m.ilin@samsung.com>
33004         [BZ #17833]
33005         * elf/Makefile (tests): Add tst-nodelete.
33006         (modules-names): Add tst-nodelete-uniquemod.
33007         (tst-nodelete-uniquemod.so-no-z-defs): New.
33008         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33009         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33010         ($(objpfx)tst-nodelete): Likewise.
33011         ($(objpfx)tst-nodelete.out): Likewise.
33012         (LDFLAGS-tst-nodelete): Likewise.
33013         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33014         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33015         implement forced object deletion.
33016         (_dl_close): Pass false to _dl_close_worker.
33017         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33018         * elf/tst-nodelete.cc: New file.
33019         * elf/tst-nodeletelib.cc: Likewise.
33020         * elf/tst-znodeletelib.cc: Likewise.
33021         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33023 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33025         [BZ #18508]
33026         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33027         Depend on $(libdl).
33028         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33029         is not called infinitely times.
33030         (backtrace_helper): New function.
33031         (trace_arg): New struct.
33032         (st1): Enlarge stack size.
33033         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33034         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33035         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33036         Likewise.
33038 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33040         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33042 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33044         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33045         Include sys/types.h instead of bits/types.h.
33046         Remove inclusion of bits/wordsize.h.
33048 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33050         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33051         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33052         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33053         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33054         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33055         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33057 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33059         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33060         link-defines.sym.
33061         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33062         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33063         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33064         and LR_SIZE.
33065         * sysdeps/i386/link-defines.sym: New file.
33067 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33069         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33070         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33071         ($(objpfx)tst-audit3): New rule.
33072         ($(objpfx)tst-audit3.out): Likewise.
33073         * sysdeps/i386/tst-audit3.c: New file.
33074         * sysdeps/i386/tst-audit3.h: Likewise.
33075         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33076         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33078 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33080         [BZ #18633]
33081         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33082         pointer in C code.
33083         (__strcat_c): Likewise.
33084         (__strcat_g): Likewise.
33086 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33088         [BZ #18592]
33089         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33091 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33093         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33094         New function.  (__ieee754_sqrtf): New function.
33095         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33096         New function.
33097         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33098         New function.
33100 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33102         * sysdeps/ieee754/support.c: Remove unused file.
33104 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33106         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33107         registers instead of d ones so the layout is kernel abi compatible.
33108         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33109         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33110         Likewise.
33112 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33114         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33116 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33118         [BZ #18619]
33119         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33120         and return argument in case of subnormal argument.
33122 2015-07-01  Martin Sebor  <msebor@redhat.com>
33124         [BZ #18435]
33125         * nptl/Makefile: Add tst-once5.cc.
33126         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33127         Remove macro redefinitions.
33128         * nptl/tst-once5.cc: New test.
33130 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33132         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33134         * sysdeps/arm/libm-test-ulps: Regenerated.
33136         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33137         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33139 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33141         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33142         lll_lock_wait_private and lll_futex_wake probes.
33144         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33146         Likewise.
33147         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33148         atomic_spin_nop.
33149         * sysdeps/x86_64/bits/atomic.h: Likewise.
33150         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33151         to atomic_spin_nop and move ...
33152         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33153         ... here and ...
33154         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33155         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33156         atomic_spin_nop instead of BUSY_WAIT_NOP.
33157         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33158         Likewise.
33159         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33160         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33161         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33162         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33163         instead of atomic_delay.
33165 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33167         [BZ #18613]
33168         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33169         X_ADJ not X when adjusting exponent.
33170         (__ieee754_gamma_r): Do intermediate computations in
33171         round-to-nearest then adjust overflowing and underflowing results
33172         as needed.
33173         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33174         of X_ADJ not X when adjusting exponent.
33175         (__ieee754_gammaf_r): Do intermediate computations in
33176         round-to-nearest then adjust overflowing and underflowing results
33177         as needed.
33178         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33179         log of X_ADJ not X when adjusting exponent.
33180         (__ieee754_gammal_r): Do intermediate computations in
33181         round-to-nearest then adjust overflowing and underflowing results
33182         as needed.  Use 1.0L not 1.0f as numerator of division.
33183         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
33184         log of X_ADJ not X when adjusting exponent.
33185         (__ieee754_gammal_r): Do intermediate computations in
33186         round-to-nearest then adjust overflowing and underflowing results
33187         as needed.  Use 1.0L not 1.0f as numerator of division.
33188         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
33189         of X_ADJ not X when adjusting exponent.
33190         (__ieee754_gammal_r): Do intermediate computations in
33191         round-to-nearest then adjust overflowing and underflowing results
33192         as needed.  Use 1.0L not 1.0f as numerator of division.
33193         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33194         to auto-libm-test-in.
33195         (tgamma_test): Use ALL_RM_TEST.
33196         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33197         tests of tgamma with spurious-overflow.
33198         * math/auto-libm-test-out: Regenerated.
33199         * math/gen-libm-have-vector-test.sh: Do not check for START.
33200         * sysdeps/i386/fpu/libm-test-ulps: Update.
33201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33203         [BZ #18612]
33204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33205         arguments, just return 0.5 times the argument, with underflow
33206         forced as needed.
33207         * math/auto-libm-test-in: Add more tests of j1.
33208         * math/auto-libm-test-out: Regenerated.
33210         [BZ #16559]
33211         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33212         (__ieee754_j1): Force underflow exception for small results.
33213         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33214         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33215         (__ieee754_j1f): Force underflow exception for small results.
33216         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33217         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33219         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33220         (__ieee754_j1l): Force underflow exception for small results.
33221         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33222         * math/auto-libm-test-in: Add more tests of j1 and jn.
33223         * math/auto-libm-test-out: Regenerated.
33225         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33226         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33227         (PF_MPLS): Likewise.
33228         (AF_IB): Likewise.
33229         (AF_MPLS): Likewise.
33230         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33231         value and macro.
33232         (MS_RMT_MASK): Include MS_LAZYTIME.
33234 2015-06-26  Mel Gorman  <mgorman@suse.de>
33236         [BZ #18502]
33237         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33238         already minimal.
33240 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33242         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33243         (DT_MIPS_NUM): Update.
33244         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33245         DT_MIPS_RLD_MAP_REL.
33247 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33249         [BZ #16559]
33250         [BZ #18602]
33251         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33252         round-to-nearest internally then recompute results that
33253         underflowed to zero in the original rounding mode.
33254         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33255         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33257         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33258         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33259         * sysdeps/i386/fpu/libm-test-ulps: Update.
33260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33262 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33264         * NEWS: Fixed description of link with vector math library.
33266 2015-06-25  Andreas Schwab  <schwab@suse.de>
33268         [BZ #18549]
33269         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33270         * libio/test-fmemopen.c (do_test): Add test for it.
33272 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33274         [BZ #17841]
33275         * Makeconfig (no-pie-ldflag): New.
33276         (+link): Set to $(+link-pie) if default to PIE.
33277         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33278         * config.make.in (build-pie-default): New.
33279         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33280         is default.  AC_SUBST.
33281         * configure: Regenerated.
33282         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33284 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33286         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33287         to 'unsigned int'.
33289         * resolv/gai_misc.h (struct waitlist): Change type of field
33290         counterp to 'volatile unsigned int *'.
33291         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33292         FUTEXADDR and OLDVAL.
33293         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33294         Give local variable TOTAL type 'volatile unsigned int'.
33295         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33296         * resolv/gai_suspend.c (gai_suspend):
33297         Give local variable CNTR type 'unsigned int'.
33299         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33300         counterp to 'volatile unsigned int *'.
33301         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33302         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33303         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33304         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33305         Give local variable TOTAL type 'volatile unsigned int'.
33306         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33308 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33310         [BZ #18383]
33311         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33312         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33313         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33314         comment for i386/x86-64.
33315         (test-xfail-tst-tlsalign-extern-static): Removed.
33317 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33319         * math/test-double.h: New file.
33320         * math/test-float.h: Likewise.
33321         * math/test-ldouble.h: Likewise.
33322         * math/test-math-inline.h: Likewise.
33323         * math/test-math-no-inline.h: Likewise.
33324         * math/test-math-scalar.h: Likewise.
33325         * math/test-math-vector.h: Likewise.
33326         * math/test-vec-loop.h: Remove file.  Contents moved into
33327         test-math-vector.h.
33328         * math/libm-test.inc (MATHCONST): Do not document macro.
33329         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33330         and test-math-scalar.h.
33331         (FUNC): Remove macro.
33332         (FUNC_TEST): Likewise.
33333         (FLOAT): Likewise.
33334         (MATHCONST): Likewise.
33335         (PRINTF_EXPR): Likewise.
33336         (PRINTF_XEXPR): Likewise.
33337         (PRINTF_NEXPR): Likewise.
33338         (TEST_DOUBLE): Likewise.
33339         (TEST_MATHVEC): Likewise.
33340         (__NO_MATH_INLINES): Likewise.
33341         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33342         and test-math-scalar.h.
33343         (FUNC): Remove macro.
33344         (FUNC_TEST): Likewise.
33345         (FLOAT): Likewise.
33346         (MATHCONST): Likewise.
33347         (PRINTF_EXPR): Likewise.
33348         (PRINTF_XEXPR): Likewise.
33349         (PRINTF_NEXPR): Likewise.
33350         (TEST_FLOAT): Likewise.
33351         (TEST_MATHVEC): Likewise.
33352         (__NO_MATH_INLINES): Likewise.
33353         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33354         and test-math-scalar.h.
33355         (FUNC): Remove macro.
33356         (FUNC_TEST): Likewise.
33357         (FLOAT): Likewise.
33358         (MATHCONST): Likewise.
33359         (PRINTF_EXPR): Likewise.
33360         (PRINTF_XEXPR): Likewise.
33361         (PRINTF_NEXPR): Likewise.
33362         (TEST_DOUBLE): Likewise.
33363         (TEST_MATHVEC): Likewise.
33364         (TEST_INLINE): Likewise.
33365         (__NO_MATH_INLINES): Likewise.
33366         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33367         test-math-scalar.h.
33368         (FUNC): Remove macro.
33369         (FUNC_TEST): Likewise.
33370         (FLOAT): Likewise.
33371         (MATHCONST): Likewise.
33372         (PRINTF_EXPR): Likewise.
33373         (PRINTF_XEXPR): Likewise.
33374         (PRINTF_NEXPR): Likewise.
33375         (TEST_FLOAT): Likewise.
33376         (TEST_MATHVEC): Likewise.
33377         (TEST_INLINE): Likewise.
33378         (__NO_MATH_INLINES): Likewise.
33379         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33380         and test-math-scalar.h.
33381         (FUNC): Remove macro.
33382         (FUNC_TEST): Likewise.
33383         (FLOAT): Likewise.
33384         (MATHCONST): Likewise.
33385         (PRINTF_EXPR): Likewise.
33386         (PRINTF_XEXPR): Likewise.
33387         (PRINTF_NEXPR): Likewise.
33388         (TEST_LDOUBLE): Likewise.
33389         (TEST_MATHVEC): Likewise.
33390         (TEST_INLINE): Likewise.
33391         (__NO_MATH_INLINES): Likewise.
33392         * math/test-ldouble.c: Include test-ldouble.h,
33393         test-math-no-inline.h and test-math-scalar.h.
33394         (FUNC): Remove macro.
33395         (FUNC_TEST): Likewise.
33396         (FLOAT): Likewise.
33397         (MATHCONST): Likewise.
33398         (PRINTF_EXPR): Likewise.
33399         (PRINTF_XEXPR): Likewise.
33400         (PRINTF_NEXPR): Likewise.
33401         (TEST_LDOUBLE): Likewise.
33402         (TEST_MATHVEC): Likewise.
33403         (__NO_MATH_INLINES): Likewise.
33404         * math/test-double-vlen2.h: Include test-double.h,
33405         test-math-no-inline.h and test-math-vector.h.
33406         (FLOAT): Remove macro.
33407         (FUNC): Likewise.
33408         (MATHCONST): Likewise.
33409         (PRINTF_EXPR): Likewise.
33410         (PRINTF_XEXPR): Likewise.
33411         (PRINTF_NEXPR): Likewise.
33412         (TEST_DOUBLE): Likewise.
33413         (TEST_MATHVEC): Likewise.
33414         (__NO_MATH_INLINES): Likewise.
33415         (CNCT): Likewise.
33416         (CONCAT): Likewise.
33417         (WRAPPER_NAME): Likewise.
33418         (WRAPPER_DECL): Likewise.
33419         (WRAPPER_DECL_ff): Likewise.
33420         (WRAPPER_DECL_fFF): Likewise.
33421         (VECTOR_WRAPPER): Likewise.
33422         (VECTOR_WRAPPER_ff): Likewise.
33423         (VECTOR_WRAPPER_fFF): Likewise.
33424         (VEC_LEN): New macro.
33425         * math/test-double-vlen4.h: Include test-double.h,
33426         test-math-no-inline.h and test-math-vector.h.
33427         (FLOAT): Remove macro.
33428         (FUNC): Likewise.
33429         (MATHCONST): Likewise.
33430         (PRINTF_EXPR): Likewise.
33431         (PRINTF_XEXPR): Likewise.
33432         (PRINTF_NEXPR): Likewise.
33433         (TEST_DOUBLE): Likewise.
33434         (TEST_MATHVEC): Likewise.
33435         (__NO_MATH_INLINES): Likewise.
33436         (CNCT): Likewise.
33437         (CONCAT): Likewise.
33438         (WRAPPER_NAME): Likewise.
33439         (WRAPPER_DECL): Likewise.
33440         (WRAPPER_DECL_ff): Likewise.
33441         (WRAPPER_DECL_fFF): Likewise.
33442         (VECTOR_WRAPPER): Likewise.
33443         (VECTOR_WRAPPER_ff): Likewise.
33444         (VECTOR_WRAPPER_fFF): Likewise.
33445         (VEC_LEN): New macro.
33446         * math/test-double-vlen8.h: Include test-double.h,
33447         test-math-no-inline.h and test-math-vector.h.
33448         (FLOAT): Remove macro.
33449         (FUNC): Likewise.
33450         (MATHCONST): Likewise.
33451         (PRINTF_EXPR): Likewise.
33452         (PRINTF_XEXPR): Likewise.
33453         (PRINTF_NEXPR): Likewise.
33454         (TEST_DOUBLE): Likewise.
33455         (TEST_MATHVEC): Likewise.
33456         (__NO_MATH_INLINES): Likewise.
33457         (CNCT): Likewise.
33458         (CONCAT): Likewise.
33459         (WRAPPER_NAME): Likewise.
33460         (WRAPPER_DECL): Likewise.
33461         (WRAPPER_DECL_ff): Likewise.
33462         (WRAPPER_DECL_fFF): Likewise.
33463         (VECTOR_WRAPPER): Likewise.
33464         (VECTOR_WRAPPER_ff): Likewise.
33465         (VECTOR_WRAPPER_fFF): Likewise.
33466         (VEC_LEN): New macro.
33467         * math/test-float-vlen4.h: Include test-float.h,
33468         test-math-no-inline.h and test-math-vector.h.
33469         (FLOAT): Remove macro.
33470         (FUNC): Likewise.
33471         (MATHCONST): Likewise.
33472         (PRINTF_EXPR): Likewise.
33473         (PRINTF_XEXPR): Likewise.
33474         (PRINTF_NEXPR): Likewise.
33475         (TEST_FLOAT): Likewise.
33476         (TEST_MATHVEC): Likewise.
33477         (__NO_MATH_INLINES): Likewise.
33478         (CNCT): Likewise.
33479         (CONCAT): Likewise.
33480         (WRAPPER_NAME): Likewise.
33481         (WRAPPER_DECL): Likewise.
33482         (WRAPPER_DECL_ff): Likewise.
33483         (WRAPPER_DECL_fFF): Likewise.
33484         (VECTOR_WRAPPER): Likewise.
33485         (VECTOR_WRAPPER_ff): Likewise.
33486         (VECTOR_WRAPPER_fFF): Likewise.
33487         (VEC_LEN): New macro.
33488         * math/test-float-vlen8.h: Include test-float.h,
33489         test-math-no-inline.h and test-math-vector.h.
33490         (FLOAT): Remove macro.
33491         (FUNC): Likewise.
33492         (MATHCONST): Likewise.
33493         (PRINTF_EXPR): Likewise.
33494         (PRINTF_XEXPR): Likewise.
33495         (PRINTF_NEXPR): Likewise.
33496         (TEST_FLOAT): Likewise.
33497         (TEST_MATHVEC): Likewise.
33498         (__NO_MATH_INLINES): Likewise.
33499         (CNCT): Likewise.
33500         (CONCAT): Likewise.
33501         (WRAPPER_NAME): Likewise.
33502         (WRAPPER_DECL): Likewise.
33503         (WRAPPER_DECL_ff): Likewise.
33504         (WRAPPER_DECL_fFF): Likewise.
33505         (VECTOR_WRAPPER): Likewise.
33506         (VECTOR_WRAPPER_ff): Likewise.
33507         (VECTOR_WRAPPER_fFF): Likewise.
33508         (VEC_LEN): New macro.
33509         * math/test-float-vlen16.h: Include test-float.h,
33510         test-math-no-inline.h and test-math-vector.h.
33511         (FLOAT): Remove macro.
33512         (FUNC): Likewise.
33513         (MATHCONST): Likewise.
33514         (PRINTF_EXPR): Likewise.
33515         (PRINTF_XEXPR): Likewise.
33516         (PRINTF_NEXPR): Likewise.
33517         (TEST_FLOAT): Likewise.
33518         (TEST_MATHVEC): Likewise.
33519         (__NO_MATH_INLINES): Likewise.
33520         (CNCT): Likewise.
33521         (CONCAT): Likewise.
33522         (WRAPPER_NAME): Likewise.
33523         (WRAPPER_DECL): Likewise.
33524         (WRAPPER_DECL_ff): Likewise.
33525         (WRAPPER_DECL_fFF): Likewise.
33526         (VECTOR_WRAPPER): Likewise.
33527         (VECTOR_WRAPPER_ff): Likewise.
33528         (VECTOR_WRAPPER_fFF): Likewise.
33529         (VEC_LEN): New macro.
33530         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33531         test-vec-loop.h.
33532         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33533         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33534         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33535         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33536         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33538         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33540 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33542         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33543         (__getlogin_r): ... this.
33545 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33547         [BZ #18594]
33548         * math/s_ccosh.c (__ccosh): Compare with least normal value
33549         instead of comparing class with FP_SUBNORMAL.
33550         * math/s_ccoshf.c (__ccoshf): Likewise.
33551         * math/s_ccoshl.c (__ccoshl): Likewise.
33552         * math/s_cexp.c (__cexp): Likewise.
33553         * math/s_cexpf.c (__cexpf): Likewise.
33554         * math/s_cexpl.c (__cexpl): Likewise.
33555         * math/s_csin.c (__csin): Likewise.
33556         * math/s_csinf.c (__csinf): Likewise.
33557         * math/s_csinh.c (__csinh): Likewise.
33558         * math/s_csinhf.c (__csinhf): Likewise.
33559         * math/s_csinhl.c (__csinhl): Likewise.
33560         * math/s_csinl.c (__csinl): Likewise.
33561         * math/s_ctan.c (__ctan): Likewise.
33562         * math/s_ctanf.c (__ctanf): Likewise.
33563         * math/s_ctanh.c (__ctanh): Likewise.
33564         * math/s_ctanhf.c (__ctanhf): Likewise.
33565         * math/s_ctanhl.c (__ctanhl): Likewise.
33566         * math/s_ctanl.c (__ctanl): Likewise.
33567         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33568         csin, csinh, ctan and ctanh.
33569         * math/auto-libm-test-out: Regenerated.
33570         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33571         * sysdeps/i386/fpu/libm-test-ulps: Update.
33572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33574 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33576         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33577         return value is wrong, print the expected value too.
33579 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33581         [BZ #18585]
33582         * elf/readlib.c (is_gdb_python_file): New.
33583         (process_file): Don't issue errors on filenames with -gdb.py
33584         suffix.
33586 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33588         * math/auto-libm-test-in: Add more tests of csin and csinh.
33589         * math/auto-libm-test-out: Regenerated.
33590         * math/libm-test.inc (csin_test_data): Remove tests moved to
33591         auto-libm-test-in.
33592         (csinh_test_data): Likewise.
33594         [BZ #18593]
33595         * math/s_csin.c (__csin): Negate before rather than after possibly
33596         overflowing multiplication.
33597         * math/s_csinf.c (__csinf): Likewise.
33598         * math/s_csinh.c (__csinh): Likewise.
33599         * math/s_csinhf.c (__csinhf): Likewise.
33600         * math/s_csinhl.c (__csinhl): Likewise.
33601         * math/s_csinl.c (__csinl): Likewise.
33602         * math/auto-libm-test-in: Add some tests of csin and csinh.
33603         * math/auto-libm-test-out: Regenerated.
33604         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33605         (csinh_test_data): Likewise.
33606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33608         [BZ #18586]
33609         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33610         underflow exception for small results.
33612 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33614         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33616         variable and included header.
33617         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33620         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33622         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33623         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33624         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33625         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33626         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33627         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33628         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33629         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33630         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33631         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33632         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33634 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33636         [BZ #16526]
33637         [BZ #16538]
33638         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33639         (__sin): Force underflow exception for arguments with small
33640         absolute value.
33641         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33642         (__kernel_sinf): Force underflow exception for arguments with
33643         small absolute value.
33644         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33645         (__kernel_sincosl): Force underflow exception for arguments with
33646         small absolute value.
33647         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33648         (__kernel_sinl): Force underflow exception for arguments with
33649         small absolute value.
33650         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33651         (__kernel_sincosl): Force underflow exception for arguments with
33652         small absolute value.
33653         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33654         (__kernel_sinl): Force underflow exception for arguments with
33655         small absolute value.
33656         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33657         (__kernel_sinl): Force underflow exception for arguments with
33658         small absolute value.
33659         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33660         (__kernel_sinf): Force underflow exception for arguments with
33661         small absolute value.
33662         * math/auto-libm-test-in: Add more tests of sin and sincos.
33663         * math/auto-libm-test-out: Regenerated.
33665         [BZ #18245]
33666         [BZ #18583]
33667         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33668         (__kernel_standard_l): Use feholdexcept and fesetenv around
33669         conversion to double instead of special-casing overflow and
33670         underflow.
33671         * math/libm-test.inc (fmod_test_data): Add more tests.
33672         (remainder_test_data): Likewise.
33673         (sqrt_test_data): Likewise.
33675 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33677         [BZ #17403]
33678         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33679         atomic_read_barrier, atomic_write_barrier): Define.
33680         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33681         atomic_read_barrier, atomic_write_barrier): Define.
33683 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33685         * math/Makefile [$(PERL) != no]
33686         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33687         dependency on libm-test.stmp below the inclusion of Rules.
33689 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33692         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33693         and included header.
33694         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33695         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33697         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33699         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33702         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33703         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33704         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33705         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33706         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33707         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33708         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33709         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33710         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33711         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33712         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33714 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33716         [BZ #18371]
33717         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33718         intermediate but not final result might underflow.
33719         * math/s_csqrtf.c (__csqrtf): Likewise.
33720         * math/s_csqrtl.c (__csqrtl): Likewise.
33721         * math/auto-libm-test-in: Add more tests of csqrt.
33722         * math/auto-libm-test-out: Regenerated.
33723         * sysdeps/i386/fpu/libm-test-ulps: Update.
33725         [BZ #18219]
33726         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33727         threshold on absolute value of exponent for which scaling is used.
33728         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33729         * math/auto-libm-test-in: Add more tests of exp2.
33730         * math/auto-libm-test-out: Regenerated.
33732 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33734         [BZ #17977]
33735         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33736         when initializing interface list, based on the bug analysis
33737         and the patch proposed by Eric Newton.
33738         * resolv/tst-res_hconf_reorder.c: New test.
33739         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33740         tst-res_hconf_reorder.
33741         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33742         and $(shared-thread-library).
33743         (tst-res_hconf_reorder-ENV): New variable.
33745         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33746         in comment.
33748 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33750         [BZ #16353]
33751         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33752         (__expm1): Force underflow exception for arguments with small
33753         absolute value.
33754         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33755         (__expm1f): Force underflow exception for arguments with small
33756         absolute value.
33757         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33758         (__expm1): Force underflow exception for arguments with small
33759         absolute value.
33760         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33761         (__expm1f): Force underflow exception for arguments with small
33762         absolute value.
33763         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33764         Check for small arguments before calling __expm1.
33765         * math/auto-libm-test-in: Do not mark underflow exceptions as
33766         possibly missing for bug 16353.
33767         * math/auto-libm-test-out: Regenerated.
33769 2015-06-22  Andreas Schwab  <schwab@suse.de>
33771         [BZ #18513]
33772         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33773         PTR queries.
33775 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33777         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33779         * string/strcoll_l.c: Remove unused struct element idxnow.
33781 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33783         [BZ #18569]
33784         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33785         underflow and return argument in case of subnormal argument.
33786         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33787         Likewise.
33788         * math/auto-libm-test-in: Add more tests of expm1.
33789         * math/auto-libm-test-out: Regenerated.
33791         [BZ #16361]
33792         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33793         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33794         tiny results.
33795         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33796         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33797         tiny results.
33798         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33799         mark underflow exceptions as possibly missing for bug 16361.
33800         * math/auto-libm-test-out: Regenerated.
33802 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33804         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33805         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33806         Remove variable.
33807         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33808         (test-xfail-XOPEN2K8/utmpx.h/conform).
33810         * conform/conformtest.pl ($xerrors): New variable.
33811         (note_error): New function.
33812         (compiletest): New argument $xfail.  Use not_error.
33813         (runtest): Likewise.
33814         (top level): Handle xfail- lines.  Update calls to compiletest and
33815         runtest.  Handle xfail- and optional- in headers listed with
33816         allow-header.
33817         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33818         (O_EXEC): Likewise.
33819         (O_SEARCH): Likewise.
33820         * conform/data/stropts.h-data (ioctl): Likewise.
33821         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33822         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33823         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33824         (msghdr.msg_controllen): Likewise.
33825         (cmsghdr.cmsg_len): Likewise.
33826         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33827         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33828         variable.
33829         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33830         (test-xfail-XPG4/stropts.h/conform): Likewise.
33831         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33832         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33833         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33834         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33835         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33836         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33837         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33838         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33839         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33840         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33841         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33842         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33843         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33844         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33845         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33846         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33847         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33848         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33849         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33851 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33853         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33854         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33855         definitions for proper unfolding of __MATHDECL_VEC.
33857 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33859         * benchtests/bench-strcoll.c:
33860         Include string.h.
33861         (main): Remove unused variable res.
33863 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33865         * timezone/Makefile (%/UTC %/Universal):
33866         Generate test-result files for UTC and Universal.
33868 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33870         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33872 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33874         [BZ #16350]
33875         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33876         for arguments with small absolute value.
33877         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33878         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33879         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33880         (__asinh): Force underflow exception for arguments with small
33881         absolute value.
33882         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33883         (__asinhf): Force underflow exception for arguments with small
33884         absolute value.
33885         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33886         (__asinhl): Force underflow exception for arguments with small
33887         absolute value.
33888         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33889         (__asinhl): Force underflow exception for arguments with small
33890         absolute value.
33891         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33892         (__asinhl): Force underflow exception for arguments with small
33893         absolute value.
33894         * math/auto-libm-test-in: Do not mark underflow exceptions as
33895         possibly missing for bug 16350.
33896         * math/auto-libm-test-out: Regenerated.
33898         * include/bits/ipc.h: Remove file.
33899         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33900         variable.
33901         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33902         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33903         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33904         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33905         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33906         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33907         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33908         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33909         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33911         * math/auto-libm-test-in: Remove spurious underflow allowance for
33912         tests of cexp.
33913         * math/auto-libm-test-out: Regenerated.
33915         [BZ #18558]
33916         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33917         unconditional definition.
33918         (MCAST_BLOCK_SOURCE): Likewise.
33919         (MCAST_UNBLOCK_SOURCE): Likewise.
33920         (MCAST_LEAVE_GROUP): Likewise.
33921         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33922         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33923         (MCAST_MSFILTER): Likewise.
33924         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33925         Remove variable.
33926         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33927         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33928         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33929         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33930         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33932 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33934         * NEWS: Mention addition of x86_64 vector sincosf.
33935         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33936         * math/test-float-vlen4.h: Likewise.
33937         * math/test-float-vlen8.h: Likewise.
33938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33939         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33941         * sysdeps/x86_64/fpu/Versions: New versions added.
33942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33944         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33945         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33949         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33951         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33952         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33953         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33954         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33955         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33956         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33957         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33958         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33960         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33961         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33962         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33964         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33965         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33967         * NEWS: Mention addition of x86_64 vector sincos.
33968         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33969         * math/math.h (__MATHDECL_VEC): New macro.
33970         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33971         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33972         declaration under condition.
33973         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33974         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33975         TEST_VEC_LOOP change.
33976         * math/test-double-vlen4.h: Likewise.
33977         * math/test-double-vlen8.h: Likewise.
33978         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33979         * math/test-float-vlen4.h: Likewise.
33980         * math/test-float-vlen8.h: Likewise.
33981         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33982         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33984         * sysdeps/x86_64/fpu/Versions: New versions added.
33985         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33986         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33987         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33988         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33989         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33990         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33992         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33994         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33995         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33996         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33997         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33998         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33999         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34000         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34001         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34002         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34004         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34005         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34006         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34007         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34008         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34012         redirections for powf.
34013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34014         * sysdeps/x86_64/fpu/Versions: New versions added.
34015         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34016         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34017         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34018         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34020         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34021         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34022         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34023         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34024         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34025         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34026         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34027         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34028         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34029         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34030         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34031         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34032         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34033         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34034         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34035         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34036         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34037         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34038         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34039         * math/test-float-vlen16.h: Fixed 2 argument macro.
34040         * math/test-float-vlen4.h: Likewise.
34041         * math/test-float-vlen8.h: Likewise.
34042         * NEWS: Mention addition of x86_64 vector powf.
34044 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34046         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34047         and redefine.
34048         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34049         and redefine.
34050         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34051         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34052         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34054         [BZ #18553]
34055         * resource/getpriority.c (getpriority): Rename to __getpriority
34056         and define as weak alias of __getpriority.
34057         * resource/setpriority.c (setpriority): Rename to __setpriority
34058         and define as weak alias of __setpriority.
34059         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34060         __getpriority and define as weak alias of __getpriority.
34061         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34062         __setpriority and define as weak alias of __setpriority.
34063         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34064         strong name.
34065         (setpriority): Use __setpriority as strong name.
34066         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34067         __getpriority and define as weak alias of __getpriority.
34068         * include/sys/resource.h (__getpriority): Declare.  Use
34069         libc_hidden_proto.
34070         (__setpriority): Likewise.
34071         (getpriority): Don't use libc_hidden_proto.
34072         (setpriority): Likewise.
34073         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34074         getpriority.  Call __setpriority instead of setpriority.
34075         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34076         Remove variable.
34078         [BZ #18547]
34079         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34080         as weak alias of __getttynam.  Use prototype function definition.
34081         Call __setttyent, __getttyent and __endttyent instead of
34082         setttyent, getttyent and endttyent.
34083         (getttyent): Rename to __getttyent and define as weak alias of
34084         __getttyent.  Call __setttyent instead of setttyent.  Call
34085         __fgets_unlocked instead of fgets_unlocked.
34086         (setttyent): Rename to __setttyent and define as weak alias of
34087         __setttyent.
34088         (endttyent): Rename to __endttyent and define as weak alias of
34089         __endttyent.
34090         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34091         (__setttyent): Likewise.
34092         (__endttyent): Likewise.
34093         (getttyent): Don't use libc_hidden_proto.
34094         (setttyent): Likewise.
34095         (endttyent): Likewise.
34096         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34097         __endttyent instead of setttyent, getttyent and endttyent.
34098         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34099         Remove variable.
34101         [BZ #18546]
34102         * socket/recv.c (__recv): Use libc_hidden_def.
34103         * socket/socket.c (__socket): Likewise.
34104         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34105         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34106         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34107         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34108         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34109         libc_hidden_def.
34110         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34111         libc_hidden_weak.
34112         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34113         Use libc_hidden_proto.
34114         (__recv): Likewise.
34115         * socket/Versions (libc): Export __recv and __socket at version
34116         GLIBC_PRIVATE.
34117         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34118         instead of recv.
34119         (init_mq_netlink): Call __socket instead of socket.
34120         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34121         Remove variable.
34123         [BZ #18545]
34124         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34125         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34126         hidden_weak.
34127         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34128         define as alias of __mq_timedsend.  Use hidden_weak.
34129         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34130         __mq_timedsend as strong name.
34131         (mq_timedreceive): Use __mq_timedreceive as strong name.
34132         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34133         (__mq_timedreceive): Likewise.
34134         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34135         __mq_timedreceive instead of mq_timedreceive.
34136         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34137         instead of mq_timedsend.
34138         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34139         Remove variable.
34141         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34142         hidden_def and hidden_weak instead of libc_hidden_def and
34143         libc_hidden_weak.
34144         (top level): Refer to hidden_def in comment.
34145         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34146         macro.  Use it instead of libc_hidden_def.
34147         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34148         specify __GI_* name explicitly.
34149         (mq_timedreceive): Likewise.
34150         (mq_setattr): Likewise.
34152         [BZ #18544]
34153         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34154         __pthread_barrier_init and define as weak alias of
34155         __pthread_barrier_init.
34156         * sysdeps/sparc/nptl/pthread_barrier_init.c
34157         (pthread_barrier_init): Likewise.
34158         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34159         __pthread_barrier_wait and define as weak alias of
34160         __pthread_barrier_wait.
34161         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34162         (pthread_barrier_wait): Likewise.
34163         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34164         (pthread_barrier_wait): Likewise.
34165         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34166         (pthread_barrier_wait): Likewise.
34167         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34168         (pthread_barrier_wait): Likewise.
34169         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34170         __pthread_barrier_wait at version GLIBC_PRIVATE.
34171         * include/pthread.h (__pthread_barrier_init): Declare.
34172         (__pthread_barrier_wait): Likewise.
34173         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34174         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34175         (helper_thread): Likewise.
34176         (init_mq_netlink): Call __pthread_barrier_init instead of
34177         pthread_barrier_init.
34179         [BZ #18542]
34180         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34181         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34182         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34183         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34184         vswscanf.
34185         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34186         Remove variable.
34188         [BZ #18540]
34189         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34190         strong alias of _IO_fflush.  Use libc_hidden_def.
34191         * libio/iofflush_u.c (fflush_unlocked): Rename to
34192         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34193         Use libc_hidden_weak.
34194         * include/stdio.h (__fflush_unlocked): Declare.  Use
34195         libc_hidden_proto.
34196         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34197         fflush_unlocked.
34198         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34199         Remove variable.
34201         [BZ #18539]
34202         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34203         define as weak alias of __addseverity.
34204         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34205         Remove variable.
34206         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34207         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34208         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34210         [BZ #18536]
34211         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34212         (__tfind): Likewise.
34213         (__tdelete): Likewise.
34214         (__twalk): Likewise.
34215         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34216         __twalk to GLIBC_PRIVATE.
34217         * include/search.h (__tsearch): Use libc_hidden_proto.
34218         (__tfind): Likewise.
34219         (__tdelete): Likewise.
34220         (__twalk): Likewise.
34221         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34222         Call __tdelete instead of tdelete.
34223         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34224         tfind.  Call __tsearch instead of tsearch.
34225         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34226         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34227         Remove variable.
34228         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34230         [BZ #18534]
34231         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34232         (dprintf): Define as a weak alias of __dprintf, not a strong
34233         alias.
34234         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34235         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34236         dprintf.
34237         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34238         Remove variable.
34239         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34240         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34242         [BZ #18533]
34243         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34244         not a strong alias.
34245         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34246         Remove variable.
34248         [BZ #18532]
34249         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34250         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34251         (in6addr_loopback): Rename to __in6addr_loopback and define as
34252         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34253         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34254         libc_hidden_proto.
34255         (__in6addr_any): Likewise.
34256         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34257         in6addr_any.
34258         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34259         variable.
34260         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34262 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34264         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34265         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34267         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34268         redirections for pow.
34269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34270         * sysdeps/x86_64/fpu/Versions: New versions added.
34271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34273         build of SSE, AVX2 and AVX512 IFUNC versions.
34274         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34275         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34276         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34277         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34278         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34281         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34282         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34283         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34284         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34285         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34286         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34287         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34295         * NEWS: Mention addition of x86_64 vector pow.
34297         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34298         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34299         redirections for expf.
34300         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34301         * sysdeps/x86_64/fpu/Versions: New versions added.
34302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34303         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34304         build of SSE, AVX2 and AVX512 IFUNC versions.
34305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34309         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34310         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34311         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34312         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34313         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34314         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34315         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34316         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34317         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34318         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34320         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34324         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34325         * NEWS: Mention addition of x86_64 vector expf.
34327         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34328         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34331         redirections for exp.
34332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34333         * sysdeps/x86_64/fpu/Versions: New versions added.
34334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34336         build of SSE, AVX2 and AVX512 IFUNC versions.
34337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34340         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34343         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34344         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34345         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34346         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34347         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34348         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34350         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34354         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34356         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34357         * NEWS: Mention addition of x86_64 vector exp.
34359         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34360         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34361         redirections for logf.
34362         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34363         * sysdeps/x86_64/fpu/Versions: New versions added.
34364         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34365         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34366         build of SSE, AVX2 and AVX512 IFUNC versions.
34367         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34369         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34370         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34372         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34373         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34374         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34375         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34376         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34377         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34378         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34379         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34380         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34381         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34382         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34385         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34386         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34387         * NEWS: Mention addition of x86_64 vector logf.
34389         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34390         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34391         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34392         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34393         redirections for log.
34394         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34395         * sysdeps/x86_64/fpu/Versions: New versions added.
34396         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34397         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34398         build of SSE, AVX2 and AVX512 IFUNC versions.
34399         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34400         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34401         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34402         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34403         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34404         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34405         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34406         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34407         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34408         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34409         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34410         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34411         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34412         test.
34413         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34416         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34417         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34418         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34419         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34420         * NEWS: Mention addition of x86_64 vector log.
34422 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34424         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34425         cfi_adjust_cfa_offset argument.
34426         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34427         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34429         [BZ #18034]
34430         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34431         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34432         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34433         ordering using ldar.
34434         (_dl_tlsdesc_dynamic): Likewise.
34435         (_dl_tlsdesc_return_lazy): Likewise.
34436         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34437         relaxed atomics instead of volatile and synchronize with release store.
34438         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34439         volatile.
34440         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34442 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34444         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34445         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34447         * sysdeps/x86_64/fpu/Versions: New versions added.
34448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34450         build of SSE, AVX2 and AVX512 IFUNC versions.
34451         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34453         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34454         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34457         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34458         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34459         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34460         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34461         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34462         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34463         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34464         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34465         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34466         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34467         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34469         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34470         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34471         * NEWS: Mention addition of x86_64 vector sinf.
34473 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34475         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34476         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34477         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34478         Remove variable.
34479         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34480         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34482 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34484         [BZ #18530]
34485         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34486         strong alias of _IO_fputs.  Use libc_hidden_def.
34487         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34488         and define as weak alias of __fputs_unlocked.  Use
34489         libc_hidden_weak.
34490         * include/stdio.h (__fputs_unlocked): Declare.  Use
34491         libc_hidden_proto.
34492         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34493         fputs_unlocked.
34495         [BZ #18529]
34496         * resolv/netdb.h [__USE_POSIX]: Change condition to
34497         [__USE_XOPEN2K].
34498         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34499         not expect.
34500         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34501         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34502         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34503         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34504         [XPG4 || UNIX98] (AI_ALL): Likewise.
34505         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34506         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34507         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34508         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34509         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34510         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34511         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34512         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34513         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34514         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34515         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34516         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34517         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34518         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34519         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34520         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34521         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34522         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34523         [XPG4 || UNIX98] (gai_strerror): Likewise.
34524         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34525         [XPG4 || UNIX98] (getnameinfo): Likewise.
34527         [BZ #18528]
34528         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34529         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34530         __USE_XOPEN2K8].
34531         (getgrent): Likewise.
34532         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34533         expect.
34534         [XPG3 || POSIX2008] (endgrent): Likewise.
34535         [XPG3] (setgrent): Likewise.
34536         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34537         variable.
34538         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34540         [BZ #18527]
34541         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34542         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34543         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34544         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34545         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34546         * include/unistd.h (__getlogin_r): Declare.  Use
34547         libc_hidden_proto.
34548         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34549         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34550         variable.
34551         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34552         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34553         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34555 2015-06-12  Martin Sebor  <msebor@redhat.com>
34557         [BZ #18512]
34558         * Makerules (check-install-supported): New target.
34559         (install): Add check-install-supported as a dependency.
34560         * manual/install.texi (Installing the C Library): Document
34561         that overriding prefix and exec_prefix is not supported.
34562         Mention DESTDIR.
34563         * INSTALL: Regenerate from the above.
34565 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34567         [BZ #18519]
34568         * posix/Versions (libc): Export __libc_pread at version
34569         GLIBC_PRIVATE.
34570         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34571         instead of pread.
34572         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34573         variable.
34575         [BZ #18522]
34576         * misc/efgcvt_r.c
34577         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34578         (cvt_symbol): Use weak_alias instead of strong_alias.
34579         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34580         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34581         Remove variable.
34582         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34583         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34585         [BZ #18520]
34586         * inet/herrno.c (h_errno): Rename to __h_errno.
34587         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34588         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34589         to __h_errno instead of h_errno.
34590         * nptl/herrno.c (h_errno): Rename to __h_errno.
34591         (__h_errno_location): Refer to __h_errno not h_errno.
34592         * resolv/Versions (h_errno): Rename to __h_errno.
34593         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34594         Remove variable.
34595         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34597 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34599         * configure.ac: More strict check for AVX512 assembler support.
34600         * configure: Regenerated.
34602         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34603         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34604         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34605         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34606         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34607         * sysdeps/x86_64/fpu/Versions: New versions added.
34608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34609         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34610         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34611         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34612         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34613         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34615         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34617         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34618         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34619         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34620         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34621         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34622         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34623         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34624         test.
34625         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34626         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34627         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34628         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34629         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34630         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34631         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34632         * NEWS: Mention addition of x86_64 vector sin.
34634 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34636         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34637         comment.
34639 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34641         [BZ #18479]
34642         * nptl/pt-interp.c: New file.
34643         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34644         Add pt-interp.
34645         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34646         $(common-objpfx)runtime-linker.h.
34648 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34650         * Makeconfig (+interp): Remove unused variable.
34651         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34652         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34653         $(elf-objpfx)runtime-linker.h.
34654         ($(elf-objpfx)runtime-linker.h): Rename to
34655         $(common-objpfx)runtime-linker.h and move ...
34656         * Makerules [$(build-shared) = yes]: ... here.
34657         * elf/interp.c: Include <runtime-linker.h> instead of
34658         <elf/runtime-linker.h>.
34660 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34662         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34663         (__gettimeofday_syscall): Remove vsyscall fallback.
34664         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34665         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34666         Add syscall fallback function.
34667         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34668         if vDSO is not present.
34669         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34670         fallback function.
34671         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34672         present.
34673         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34674         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34676 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #18497]
34679         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34680         of wcscmp.
34681         (wcscmp): Define as weak alias of WCSCMP.
34682         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34683         wcscoll.
34684         (USE_HIDDEN_DEF): Define.
34685         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34686         __wcscoll.  Don't use libc_hidden_weak.
34687         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34688         wcscmp.
34689         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34690         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34691         __GI_wcscmp.
34692         (weak_alias): Undefine and redefine.
34693         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34694         __wcscmp and define as weak alias of __wcscmp.
34695         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34696         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34697         (__wcscoll): Likewise.
34698         (wcscmp): Don't use libc_hidden_proto.
34699         (wcscoll): Likewise.
34700         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34701         wcscoll.
34702         * posix/regexec.c (check_node_accept_bytes): Likewise.
34703         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34704         variable.
34705         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34706         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34708         [BZ #18507]
34709         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34710         __fstatvfs and define as weak alias of __fstatvfs.  Use
34711         libc_hidden_weak.
34712         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34713         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34714         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34715         Define as alias of __fstatvfs, not fstatvfs.
34716         (fstatvfs64): Likewise.
34717         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34718         Define as alias of __statvfs, not statvfs.
34719         (statvfs64): Likewise.
34720         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34721         Remove variable.
34723 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34726         (HAVE_GETCPU_VSYSCALL): Define.
34727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34728         (HAVE_GETCPU_VSYSCALL): Likewise.
34729         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34730         * sysdeps/unix/sysv/linux/sched_getcpu.c
34731         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34732         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34733         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34734         prototype.
34735         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34736         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34737         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34739         Define.
34740         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34741         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34742         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34743         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34745 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34747         * sysdeps/x86_64/fpu/Makefile: New file.
34748         * sysdeps/x86_64/fpu/Versions: New file.
34749         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34750         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34751         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34752         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34753         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34754         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34755         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34756         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34757         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34758         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34759         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34760         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34761         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34763         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34765         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34766         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34767         * sysdeps/x86_64/configure: Regenerated.
34768         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34769         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34770         * manual/install.texi (Configuring and compiling): Document
34771         --disable-mathvec.
34772         * INSTALL: Regenerated.
34773         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34775         * math/Makefile: Added rules for vector tests.
34776         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34777         declaration under condition.
34778         * math/test-double-vlen2.h: New file.
34779         * math/test-double-vlen4.h: New file.
34780         * math/test-double-vlen8.h: New file.
34781         * math/test-vec-loop.h: Added initialization macro.
34782         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34784         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34785         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34786         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34787         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34788         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34789         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34790         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34791         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34792         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34795         * sysdeps/x86_64/fpu/Versions: New versions added.
34796         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34797         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34798         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34799         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34800         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34801         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34802         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34803         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34804         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34805         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34806         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34807         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34808         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34809         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34810         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34811         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34812         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34813         * NEWS: Mention addition of x86_64 vector cosf.
34815         * math/Makefile: Added CFLAGS for new tests.
34816         * math/test-float-vlen16.h: New file.
34817         * math/test-float-vlen4.h: New file.
34818         * math/test-float-vlen8.h: New file.
34819         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34820         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34822         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34823         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34824         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34825         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34826         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34828         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34829         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34831 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34833         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34834         * locale/programs/ld-ctype.c: Likewise.
34836 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34838         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34839         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34840         bit_ZMM16_31_state): New macro.
34841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34842         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34844 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34846         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34848 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34850         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34852 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34854         [BZ #18498]
34855         * libio/memstream.c (open_memstream): Rename to __open_memstream
34856         and define as weak alias of __open_memstream.
34857         * include/stdio.h (__open_memstream): Declare.  Use
34858         libc_hidden_proto.
34859         (open_memstream): Don't use libc_hidden_proto.
34860         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34861         open_memstream.
34862         * posix/getopt.c (_getopt_internal_r): Likewise.
34863         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34864         variable.
34865         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34866         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34867         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34869         [BZ #18496]
34870         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34871         instead of wcrtomb.
34873         [BZ #18483]
34874         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34875         [__USE_XOPEN2K8].  Remove redundant #endif.
34876         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34877         Remove redundant #if.
34878         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34879         Remove variable.
34880         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34881         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34883         [BZ #18495]
34884         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34885         (__iswlower): Likewise.
34886         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34887         (__iswlower): Likewise.
34888         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34889         instead of towlower.
34890         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34891         instead of iswlower.  Call __towupper instead of towupper.
34892         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34893         instead of iswalnum.
34895 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34897         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34898         errors to stderr.
34900 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34902         [BZ #15661]
34903         [BZ #17322]
34904         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34905         Check for overflow properly.  Check for O_APPEND.  Ignore large
34906         file system block sizes.  Add comments about problems.
34907         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34908         * manual/filesys.texi (Storage Allocation): New node.
34910 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34912         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34913         cancellable syscalls.
34914         (SYS_ify): Add guard to no redefine it.
34915         (INLINE_SYSCALL): Likewise.
34916         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34917         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34918         SYSCALL_CANCEL instead.
34919         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34920         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34921         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34922         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34923         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34924         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34925         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34926         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34927         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34928         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34929         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34930         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34931         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34932         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34933         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34935         Likewise.
34936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34937         (__libc_pread64): Likewise.
34938         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34939         (__libc_preadv): Likewise.
34940         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34941         (__libc_readv64): Likewise.
34942         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34943         (__libc_pwrite): Likewise.
34944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34945         (__libc_pwrite64): Likewise.
34946         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34947         (__libc_pwritev): Likewise.
34948         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34949         (__libc_pwritev64): Likewise.
34950         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34951         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34952         (sync_file_range): Likewise.
34953         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34954         Likewise.
34955         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34956         Likewise.
34957         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34958         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34959         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34960         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34961         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34962         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34963         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34964         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34966         Likewise.
34967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34968         (__libc_read64): Likewise.
34969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34970         Likewise.
34971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34972         Likewise.
34973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34974         Likewise.
34975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34976         Likewise.
34977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34978         (__libc_pread64): Likewise.
34979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34980         Likewise.
34981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34982         (__libc_pwrite64): Likewise.
34983         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34984         (sync_file_range): Likewise.
34985         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34986         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34987         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34988         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34989         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34990         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34991         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34992         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34993         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34994         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34995         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34996         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34997         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34998         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34999         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35000         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35001         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35002         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35003         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35004         Likewise.
35005         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35006         Likewise.
35007         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35008         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35009         Likewise.
35010         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35011         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35012         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35013         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35014         Likewise.
35015         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35016         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35017         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35018         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35019         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35021 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35023         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35024         Include dl-vdso.
35025         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35026         Use VDSO routines for gettimeofday, clock_gettime if
35027         available.
35028         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35029         Declare VDSO symbols.
35030         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35031         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35032         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35033         * sysdeps/unix/sysv/linux/arm/Versions: Add
35034         __vdso_clock_gettime.
35036 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35038         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35039         be an inline implementation regardless of library is built within.
35040         (open_not_cancel_2): Likewise.
35041         (__read_nocancel): Likewise.
35042         (__write_nocancel): Likewise.
35043         (openat_not_cancel): Likewise.
35044         (openat_not_cancel_3): Likewise.
35045         (openat64_not_cancel): Likewise.
35046         (openat64_not_cancel_3): Likewise.
35047         (__close_nocancel): Likewise.
35048         (pause_not_cancel): Likewise.
35049         (nanosleep_not_cancel): Likewise.
35050         (sigsuspend_not_cancel): Likewise.
35052 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35054         [BZ #14958]
35055         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35056         wake-up.
35057         (__pthread_rwlock_rdlock_slow): Likewise.
35058         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35059         Likewise.
35060         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35061         Likewise.
35062         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35063         * nptl/tst-rwlock16.c: New file.
35064         * nptl/Makefile (tests): Add new test.
35066 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35068         [BZ #18324]
35069         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35070         missing wake-up of readers.
35071         * nptl/tst-rwlock15.c: New file.
35072         * nptl/Makefile (tests): Add new test.
35074 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35076         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35077         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35078         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35079         and __nacl_supply_interface_rtld.
35080         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35081         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35082         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35083         Add __nacl_supply_interface_rtld.
35084         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35086 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35088         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35089         isfinite.
35090         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35091         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35093 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35095         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35096         __signbit* with standard C99 macros.
35097         * math/e_exp10l.c: Likewise.
35098         * math/e_exp2l.c: Likewise.
35099         * math/e_scalb.c: Likewise.
35100         * math/e_scalbf.c: Likewise.
35101         * math/e_scalbl.c: Likewise.
35102         * math/s_ldexp.c: Likewise.
35103         * math/s_ldexpf.c: Likewise.
35104         * math/s_ldexpl.c: Likewise.
35105         * math/w_atan2.c: Likewise.
35106         * math/w_atan2f.c: Likewise.
35107         * math/w_atan2l.c: Likewise.
35108         * math/w_cosh.c: Likewise.
35109         * math/w_coshf.c: Likewise.
35110         * math/w_coshl.c: Likewise.
35111         * math/w_exp10.c: Likewise.
35112         * math/w_exp10f.c: Likewise.
35113         * math/w_exp10l.c: Likewise.
35114         * math/w_exp2.c: Likewise.
35115         * math/w_exp2f.c: Likewise.
35116         * math/w_exp2l.c: Likewise.
35117         * math/w_fmod.c: Likewise.
35118         * math/w_fmodf.c: Likewise.
35119         * math/w_fmodl.c: Likewise.
35120         * math/w_hypot.c: Likewise.
35121         * math/w_hypotf.c: Likewise.
35122         * math/w_hypotl.c: Likewise.
35123         * math/w_jnl.c: Likewise.
35124         * math/w_lgamma.c: Likewise.
35125         * math/w_lgamma_r.c: Likewise.
35126         * math/w_lgammaf.c: Likewise.
35127         * math/w_lgammaf_r.c: Likewise.
35128         * math/w_lgammal.c: Likewise.
35129         * math/w_lgammal_r.c: Likewise.
35130         * math/w_pow.c: Likewise.
35131         * math/w_powf.c: Likewise.
35132         * math/w_powl.c: Likewise.
35133         * math/w_remainder.c: Likewise.
35134         * math/w_remainderf.c: Likewise.
35135         * math/w_remainderl.c: Likewise.
35136         * math/w_scalb.c: Likewise.
35137         * math/w_scalbf.c: Likewise.
35138         * math/w_scalbl.c: Likewise.
35139         * math/w_scalbln.c: Likewise.
35140         * math/w_scalblnf.c: Likewise.
35141         * math/w_scalblnl.c: Likewise.
35142         * math/w_sinh.c: Likewise.
35143         * math/w_sinhf.c: Likewise.
35144         * math/w_sinhl.c: Likewise.
35145         * math/w_tgamma.c: Likewise.
35146         * math/w_tgammaf.c: Likewise.
35147         * math/w_tgammal.c: Likewise.
35148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35149         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35150         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35151         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35152         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35154         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35155         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35156         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35157         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35158         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35159         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35160         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35161         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35162         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35163         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35165         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35166         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35167         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35169         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35173         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35174         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35175         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35176         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35178         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35179         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35180         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35181         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35182         * stdio-common/printf_fp.c: Likewise.
35183         * stdio-common/printf_fphex.c: Likewise.
35184         * stdio-common/printf_size.c: Likewise.
35186 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35188         [BZ #18470]
35189         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35190         strnlen.
35191         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35192         Remove variable.
35193         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35194         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35195         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35196         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35197         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35198         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35199         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35200         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35201         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35202         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35204         [BZ #18468]
35205         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35206         weak alias of __wmemchr.  Use libc_hidden_weak.
35207         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35208         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35209         instead of wmemchr.
35211 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35213         [BZ #18383]
35214         * elf/tst-tlsalign-extern.c: New file.
35215         * elf/tst-tlsalign-extern-static.c: New file.
35216         * elf/tst-tlsalign-vars.c: New file.
35217         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35218         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35219         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35220         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35221         (test-xfail-tst-tlsalign-extern-static): New variable.
35223 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35225         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35226         Use variable name _sc_err instead of err.
35227         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35228         instead of ret.
35229         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35230         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35231         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35232         (INLINE_SYSCALL): Likewise.
35234         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35235         * include/string.h (__strnlen): Use libc_hidden_proto.
35236         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35237         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35238         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35239         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35240         (libc_hidden_def): Undefine and redefine.
35241         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35242         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35243         __GI_strnlen.
35244         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35245         libc_hidden_def.
35246         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35248         [BZ #18469]
35249         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35250         weak alias of __towlower.  Use libc_hidden_weak.
35251         (towupper): Rename to __towupper and define as weak alias of
35252         __towupper.  Use libc_hidden_weak.
35253         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35254         (__towupper): Likewise.
35255         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35256         __towlower instead of towlower.
35258 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35260         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35261         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35263 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35265         * sysdeps/aarch64/libm-test-ulps: Update.
35267 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35269         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35270         Define.
35271         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35273         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35274         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35275         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35276         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35277         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35279 2015-06-01  Martin Sebor  <msebor@redhat.com>
35281         [BZ #18116]
35282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35283         (__setcontext): Use extended four-operand version of mtsf whenever
35284         possible.
35285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35286         (__novec_swapcontext): Likewise.
35288 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35290         * benchtests/scripts/compare_bench.py: New file.
35291         * benchtests/scripts/import_bench.py (mean): New function.
35292         (split_list): Likewise.
35293         (do_for_all_timings): Likewise.
35294         (compress_timings): Likewise.
35296         * benchtests/scripts/import_bench.py: New file.
35297         * benchtests/scripts/validate_benchout.py: Import import_bench
35298         instead of jsonschema.
35299         (validate_bench): Remove function.
35300         (main): Use import_bench.
35302 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35304         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35305         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35307 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35311 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35313         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35314         set THREAD_SELF->tid to a magic value and futex-wake it.
35315         Pass its address to the thread_exit system call.
35316         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35317         bit is clear.
35318         * sysdeps/nacl/lowlevellock.h: New file.
35319         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35321         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35322         Add TIMEOUT to current time, don't subtract it.
35324 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35326         [BZ #2981]
35327         [BZ #18422]
35328         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35329         ($(objpfx)tst-audit2.out): Also depend on
35330         $(objpfx)tst-auditmod9b.so.
35331         * elf/tst-audit2.c: Include <dlfcn.h>.
35332         (calloc_called): New.
35333         (calloc): Allow to be called more than once.
35334         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35336 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35338         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35339         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35341 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35343         * stdlib/monetary.h: Fix comment.
35345 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35347         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35348         Avoid using variables in #defines that might cause shadowing.
35349         (INTERNAL_VSYSCALL_CALL): Likewise.
35351 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35353         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35355         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35356         * nptl/lll_timedlock_wait.c: ... to this new file.
35357         * nptl/Makefile (libpthread-routines): Add it.
35358         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35359         * nptl/lll_timedwait_tid.c: ... to this new file.
35360         * nptl/Makefile (libpthread-routines): Add it.
35361         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35362         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35363         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35364         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35365         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35366         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35367         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35368         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35369         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35370         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35372 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35374         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35375         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35376         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35378         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35380         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35382         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35383         * sysdeps/unix/sysv/linux/tile/sysdep.h
35384         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35385         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35386         using vDSO syscall macro.
35388 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35390         [BZ #17293]
35391         * uk_UA: Fix sorting order for Ukrainian locale
35393 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35395         * stdlib/monetary.h: Fix comment.
35397 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35399         [BZ #18234]
35400         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35401         st_mtim and st_ctim members.
35402         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35403         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35404         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35405         (struct stat64): Likewise.
35406         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35407         (struct stat64): Likewise.
35408         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35409         (struct stat64): Likewise.
35411 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35413         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35414         Define and include sysdep-vdso.h.
35415         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35416         Likewise.
35417         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35418         Likewise.
35419         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35420         Define with VDSO_SYMBOL and use PTR_MANGLE.
35421         (__vdso_clock_gettime): Likewise.
35422         (__vdso_clock_getres): Likewise.
35423         (_libc_vdso_platform_setup): Likewise.
35424         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35425         Likewise.
35426         (_libc_vdso_platform_setup): Likewise.
35427         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35428         Likewise.
35429         (__vdso_clock_gettime): Likewise.
35430         (__vdso_clock_getres): Likewise.
35431         (__vdso_get_tbfreq): Likewise.
35432         (__vdso_getcpu): Likewise.
35433         (__vdso_time): Likewise.
35434         (__vdso_sigtramp_rt64): Likewise.
35435         (__vdso_signtramp32): Likewise.
35436         (__vdso_sigtramp_rt32): Likewise.
35437         (_libc_vdso_platform_setup): Likewise.
35438         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35439         Likewise.
35440         (__vdso_clock_gettime): Likewise.
35441         (__vdso_clock_getres): Likewise.
35442         (_libc_vdso_platform_setup): Likewise.
35443         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35444         Likewise.
35445         (__vdso_clock_gettime): Likewise.
35446         (_libc_vdso_platform_setup): Likewise.
35447         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35448         Likewise.
35449         (__vdso_getcpu): Likewise.
35450         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35451         Use VDSO_SYMBOL macro to define.
35452         (__vdso_clock_gettime): Likewise.
35453         (__vdso_clock_getres): Likewise.
35454         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35455         Likewise.
35456         (__vdso_clock_gettime): Likewise.
35457         (__vdso_clock_getres): Likewise.
35458         (__vdso_get_tbfreq): Likewise.
35459         (__vdso_getcpu): Likewise.
35460         (__vdso_time): Likewise.
35461         (__vdso_sigtramp_rt64): Likewise.
35462         (__vdso_signtramp32): Likewise.
35463         (__vdso_sigtramp_rt32): Likewise.
35464         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35465         Likewise.
35466         (__vdso_clock_gettime): Likewise.
35467         (__vdso_clock_getres): Likewise.
35468         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35469         Likewise.
35470         (__vdso_clock_gettime): Likewise.
35471         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35472         Likewise.
35473         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35474         macro.
35475         (INTERNAL_VSYSCALL): Likewise.
35476         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35477         Remove macro.
35478         (INTERNAL_VSYSCALL): Likewise.
35479         (INTERNAL_VSYSCALL_NCS): Likewise.
35480         (INTERNAL_VSYSCALL_CALL): New macro.
35481         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35483         Likewise.
35484         (INTERNAL_VSYSCALL): Likewise.
35485         (INTERNAL_VSYSCALL_NCS): Likewise.
35486         (INTERNAL_VSYSCALL_CALL): New macro.
35487         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35489         (INLINE_VSYSCALL): Remove macro.
35490         (INTERNAL_VSYSCALL): Remove macro.
35491         (INTERNAL_VSYSCALL_NCS): Remove macro.
35492         (INTERNAL_VSYSCALL_CALL): New macro.
35493         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35494         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35495         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35496         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35497         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35499         (INLINE_VSYSCALL): Remove macro.
35500         (INTERNAL_VSYSCALL): Likewise.
35501         (INTERNAL_VSYSCALL_NCS): Likewise.
35502         (INTERNAL_VSYSCALL_CALL): New macro.
35503         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35504         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35505         PTR_DEMANGLE on vDSO pointer.
35506         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35507         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35508         macro.
35509         (INTERNAL_SYSCALL): Likewise.
35510         (INTERNAL_VSYSCALL_NCS): Remove macro.
35511         (INTERNAL_VSYSCALL_CALL): New macro.
35512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35513         Remove macro.
35514         (INTERNAL_VSYSCALL): Likewise.
35515         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35516         sysdep-vdso.h instead of libc-vdso.h.
35517         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35518         definition.
35519         (INLINE_VSYSCALL): Likewise.
35520         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35521         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35522         definition.
35523         (INLINE_VSYSCALL): Likewise.
35524         (INTERNAL_VSYSCALL): Likewise.
35525         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35526         * sysdeps/unix/sysv/linux/timespec_get.c
35527         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35528         (timespec_get): Use ANSI prototype.
35529         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35530         and definition for Linux.
35532 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35534         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35535         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35537 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35539         [BZ #2981]
35540         [BZ #18410]
35541         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35542         for missing DT_PLTRELSZ.
35544 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35546         Remove obsolete aliases that broke 'locale -a'
35547         [BZ #18412]
35548         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35549         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35550         breaking some applications that use 'locale -a' output.
35551         Change the encoding of this file from Latin-1 to ASCII to avoid
35552         other potential problems with people grepping this file.
35554 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35556         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35557         -fasynchronous-unwind-tables.
35558         (CFLAGS-sendto.c): Likewise.
35559         (CFLAGS-sendmsg.c): Likewise.
35560         (CFLAGS-connect.c): Likewise.
35561         (CFLAGS-recvmsg.c): Likewise.
35562         (CFLAGS-recvfrom.c): Likewise.
35563         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35564         (SOCKETCALL): New macro: non-cancellable socketcall.
35565         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35566         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35567         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35568         * sysdeps/unix/sysv/linux/accept.c: New file.
35569         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35570         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35571         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35572         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35573         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35574         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35575         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35576         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35577         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35578         * sysdeps/unix/sysv/linux/send.c: Likewise.
35579         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35580         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35581         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35582         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35583         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35584         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35585         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35586         prototype.
35587         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35588         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35589         instead of __internal_xxx function.
35590         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35591         prototype.
35592         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35593         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35594         instead of __internal_xxx function.
35595         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35596         prototype.
35597         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35598         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35599         instead of __internal_xxx function.
35600         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35601         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35602         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35603         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35604         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35605         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35606         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35607         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35608         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35609         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35610         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35611         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35612         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35613         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35614         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35615         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35616         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35617         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35618         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35619         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35622         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35623         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35624         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35625         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35626         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35627         * sysdeps/unix/sysv/linux/send.S: Likewise.
35628         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35629         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35630         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35631         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35632         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35633         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35634         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35635         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35636         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35637         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35638         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35639         socketcall is implemented in GLIBC.
35641 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35643         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35644         (__fma): Ignore uninitialized warnings around packing.
35645         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35646         (__fmaf): Ignore uninitialized warnings around packing.
35647         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35648         (__fmal): Ignore uninitialized warnings around packing.
35650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35651         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35652         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35653         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35655         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35656         switch statement into default case.
35657         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35659         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35660         a conditional in forcing "inexact".
35661         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35662         Likewise.
35664 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35666         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35667         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35668         for each INTERNAL_SYSCALL use.
35670 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35672         [BZ #438]
35673         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35674         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35675         variable.
35677         [BZ #18444]
35678         * string/basename.c (basename): Rename to __basename and define as
35679         weak alias of __basename.  Use libc_hidden_weak.
35680         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35681         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35682         __basename instead of basename.
35683         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35684         Remove variable.
35685         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35687 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35689         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35690         (_IO_JUMPS_FILE_plus): New.
35691         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35692         _IO_CAST_FIELD_ACCESS.
35693         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35694         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35695         * libio/freopen.c (freopen): Likewise.
35696         * libio/freopen64.c (freopen64): Likewise.
35697         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35698         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35699         * libio/iofwide.c (_IO_fwide): Likewise.
35700         * libio/memstream.c (open_memstream): Likewise.
35701         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35702         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35703         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35705 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35707         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35708         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35709         NADJ.
35710         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35711         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35712         NADJ.
35713         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35714         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35715         NADJ.
35717         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35718         (p == 4) case.
35720         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35721         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35722         Remove variable.
35723         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35724         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35725         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35727 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35729         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35730         Adjust jump table label generation macros.
35732 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35734         * stdio-common/vfprintf.c (vfprintf): Move local variables
35735         args_malloced, specs, specs_malloced, and the code after
35736         do_positional to the printf_positional function.
35737         (printf_positional): New function.
35739 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35741         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35742         function.
35743         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35744         STEP4_TABLE, process_arg): Move macro definitions
35745         out of the vfprintf function.  (Cosmetic change only.)
35747 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35749         * benchtests/Makefile (stdio-common-bench): Define.
35750         (benchset): Add stdio-common-bench.
35751         * sprintf-inputs: New file.
35752         * sprintf-source.c: New file.
35754 2015-05-21  Andreas Schwab  <schwab@suse.de>
35756         [BZ #13028]
35757         [BZ #17053]
35758         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35759         of struct __res_state.
35760         * resolv/res_send.c (__libc_res_nsend): Likewise.
35761         (get_nsaddr): New function.
35762         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35763         statp directly.
35765 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35767         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35768         -D_POSIX_C_SOURCE=199506L.
35770         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35772         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35773         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35774         Do not mention otherwise.
35775         [POSIX] (_XOPEN_VERSION): Do not expect.
35776         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35777         [POSIX] (_POSIX2_C_BIND): Likewise.
35778         [POSIX] (_POSIX2_VERSION): Likewise.
35779         [POSIX] (_XOPEN_XPG2): Likewise.
35780         [POSIX] (_XOPEN_XPG3): Likewise.
35781         [POSIX] (_XOPEN_XPG4): Likewise.
35782         [POSIX] (_XOPEN_UNIX): Likewise.
35783         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35784         [POSIX] (_POSIX_BARRIERS): Likewise.
35785         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35786         [POSIX] (_POSIX_CPUTIME): Likewise.
35787         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35788         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35789         [POSIX] (_POSIX_SHELL): Likewise.
35790         [POSIX] (_POSIX_SPAWN): Likewise.
35791         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35792         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35793         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35794         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35795         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35796         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35797         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35798         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35799         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35800         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35801         [POSIX] (_POSIX2_PBS): Likewise.
35802         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35803         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35804         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35805         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35806         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35807         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35808         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35809         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35810         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35811         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35812         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35813         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35814         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35815         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35816         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35817         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35818         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35819         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35820         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35821         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35822         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35823         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35824         [POSIX] (_SC_2_C_BIND): Likewise.
35825         [POSIX] (_SC_2_C_VERSION): Likewise.
35826         [POSIX] (_SC_2_PBS): Likewise.
35827         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35828         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35829         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35830         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35831         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35832         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35833         [POSIX] (_SC_BARRIERS): Likewise.
35834         [POSIX] (_SC_BASE): Likewise.
35835         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35836         [POSIX] (_SC_DEVICE_IO): Likewise.
35837         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35838         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35839         [POSIX] (_SC_FD_MGMT): Likewise.
35840         [POSIX] (_SC_FIFO): Likewise.
35841         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35842         [POSIX] (_SC_FILE_LOCKING): Likewise.
35843         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35844         [POSIX] (_SC_IOV_MAX): Likewise.
35845         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35846         [POSIX] (_SC_NETWORKING): Likewise.
35847         [POSIX] (_SC_PAGE_SIZE): Likewise.
35848         [POSIX] (_SC_PASS_MAX): Likewise.
35849         [POSIX] (_SC_PIPE): Likewise.
35850         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35851         [POSIX] (_SC_REGEXP): Likewise.
35852         [POSIX] (_SC_SHELL): Likewise.
35853         [POSIX] (_SC_SIGNALS): Likewise.
35854         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35855         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35856         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35857         [POSIX] (_SC_USER_GROUPS): Likewise.
35858         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35859         [POSIX] (_SC_STREAMS): Likewise.
35860         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35861         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35862         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35863         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35864         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35865         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35866         [POSIX] (_PC_FILESIZEBITS): Likewise.
35867         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35868         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35869         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35870         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35871         [POSIX] (uid_t): Likewise.
35872         [POSIX] (gid_t): Likewise.
35873         [POSIX] (off_t): Likewise.
35874         [POSIX] (pid_t): Likewise.
35875         [POSIX] (cuserid): Allow.
35876         (_SC_2_CHAR_TERM): Require constant.
35877         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35878         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35879         variable.
35881 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35883         * sysdeps/nacl/pthread-pids.h: New file.
35884         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35885         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35887         * nptl/pthread-pids.h: New file.
35888         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35889         * nptl/nptl-init.c: Include <pthread-pids.h>.
35890         (__pthread_initialize_minimal_internal):
35891         Call __pthread_initialize_pids instead of set_tid_address syscall.
35893         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35894         * sysdeps/posix/usleep.c: ... here.
35896 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35898         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35899         call_pselect6 object.
35900         [$(subdir) = io]: Remove call_sync_file_range object.
35901         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35902         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35903         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35904         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35906 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35908         * math/s_cproj.c: Add include "math_private.h".
35909         * math/s_cprojf.c: Likewise.
35910         * math/s_cprojl.c: Likewise.
35912 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35914         [BZ #18244]
35915         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35916         high mantissa bit when testing whether P is a NaN.
35917         * math/libm-test.inc (remainder_test_data): Add more tests.
35918         (remquo_test_data): Likewise.
35920         [BZ #18049]
35921         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35922         below -32, return the argument, with underflow if subnormal.
35923         * math/auto-libm-test-in: Add more tests of atanh.
35924         * math/auto-libm-test-out: Regenerated.
35926 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35928         [BZ #18434]
35929         * nptl/tst-sem15.c: New file.
35930         * nptl/Makefile (tests): Add it.
35931         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35932         s/<</>>/ to fix typo in EOVERFLOW check.
35933         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35935 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35937         * manual/strings.texi (envz_remove): Fix typo in safety
35938         annotations.
35940 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35941             Steve Ellcey  <sellcey@imgtec.com>
35943         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35944         in order to avoid strict alias warnings.
35945         (iruserok_af): Ditto for ra.
35947 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35949         [BZ #17581]
35950         * malloc/hooks.c
35951         (magicbyte): Convert to a function and avoid returning 0x01.
35952         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35953         (mem2chunk_check): Fix unsigned comparisons to zero.
35954         Hoist defs of sz and magic.
35956 2015-05-19  Richard Henderson  <rth@redhat.com>
35958         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35960         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35962 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35964         [BZ #16159]
35965         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35966         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35967         (reused_arena): Find a non-corrupt arena.
35968         (heap_trim): Pass arena to unlink.
35969         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35970         malloc_printerr.
35971         (top_check): Likewise.
35972         (free_check): Likewise.
35973         (realloc_check): Likewise.
35974         * malloc/malloc.c (malloc_printerr): Add arena argument.
35975         (unlink): Likewise.
35976         (munmap_chunk): Adjust.
35977         (ARENA_CORRUPTION_BIT): New macro.
35978         (arena_is_corrupt): Likewise.
35979         (set_arena_corrupt): Likewise.
35980         (sysmalloc): Use mmap if there are no usable arenas.
35981         (_int_malloc): Likewise.
35982         (__libc_malloc): Don't fail if arena_get returns NULL.
35983         (_mid_memalign): Likewise.
35984         (__libc_calloc): Likewise.
35985         (__libc_realloc): Adjust for additional argument to
35986         malloc_printerr.
35987         (_int_free): Likewise.
35988         (malloc_consolidate): Likewise.
35989         (_int_realloc): Likewise.
35990         (_int_memalign): Don't touch corrupt arenas.
35991         * malloc/tst-malloc-backtrace.c: New test case.
35993         * Makefile (summarize-tests): Fix return value on success.
35995         * manual/string.texi (Envz Functions): Add envz_remove.
35997 2015-05-18  Roland McGrath  <roland@hack.frob.com>
35999         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36000         (invalid_name): New function, broken out of ...
36001         (__opendirat): ... here.  Call it.
36002         (need_isdir_precheck): New function, broken out of ...
36003         (__opendirat): ... here.  Call it.
36004         Use __fxstatat64, not __xstatat64.
36005         (opendir_oflags): New function, broken out of ...
36006         (__opendirat): ... here.  Call it.
36007         (opendir_tail): New function, broken out of ...
36008         (__opendirat): ... here.  Call it.
36009         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36010         opendir_tail, rather than punting to __opendirat.
36011         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36013 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36015         * .gitignore: Ignore generated *.pyc.
36017 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36019         * include/stdio.h: Define __need_wint_t.
36020         * test-skeleton.c: Avoid `for' loop initial declaration.
36021         * nptl/tst-initializers1.c: Use test-skeleton.c.
36023 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36025         [BZ #18418]
36026         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36028 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36030         [BZ #16352]
36031         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36032         (__ieee754_atanh): Force underflow exception for results with
36033         small absolute value.
36034         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36035         (__ieee754_atanhf): Force underflow exception for results with
36036         small absolute value.
36037         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36038         (__ieee754_atanh): Force underflow exception for results with
36039         small absolute value.
36040         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36041         (__ieee754_atanhf): Force underflow exception for results with
36042         small absolute value.
36043         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36044         (__ieee754_atanhl): Force underflow exception for results with
36045         small absolute value.
36046         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36047         (__ieee754_atanhl): Force underflow exception for results with
36048         small absolute value.
36049         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36050         (__ieee754_atanhl): Force underflow exception for results with
36051         small absolute value.
36052         * math/auto-libm-test-in: Do not allow missing underflow
36053         exceptions from atanh.
36054         * math/auto-libm-test-out: Regenerated.
36056         [BZ #18221]
36057         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36058         2**-28 as threshold for returning x or +/- 1/x.
36059         * math/auto-libm-test-in: Add more tests of tan.
36060         * math/auto-libm-test-out: Regenerated.
36062         [BZ #18220]
36063         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36064         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36065         * math/auto-libm-test-in: Add another test of lgamma.
36066         * math/auto-libm-test-out: Regenerated.
36068 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36070         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36071         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36072         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36073         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36074         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36075         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36076         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36077         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36079         (log1): Use fabs.  (my_log2): Use fabs.
36080         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36081         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36082         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36083         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36085         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36086         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36087         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36088         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36089         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36090         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36092 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36094         [BZ #18217]
36095         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36096         as threshold for returning 1 - x.
36097         * math/auto-libm-test-in: Add more tests of erfc.
36098         * math/auto-libm-test-out: Regenerated.
36100 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36102         [BZ #18196]
36103         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36104         threshold for large arguments.
36105         * math/auto-libm-test-in: Add another test of atan.
36106         * math/auto-libm-test-out: Regenerated.
36108         [BZ #16339]
36109         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36110         (__log1p): Force underflow exception for results with small
36111         absolute value.
36112         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36113         (__log1pf): Force underflow exception for results with small
36114         absolute value.
36115         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36116         (__log1p): Force underflow exception for results with small
36117         absolute value.
36118         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36119         (__log1pf): Force underflow exception for results with small
36120         absolute value.
36121         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36122         (__log1pl): Force underflow exception for results with small
36123         absolute value.
36124         * math/auto-libm-test-in: Do not allow missing underflow
36125         exceptions from log1p.
36126         * math/auto-libm-test-out: Regenerated.
36128 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36129             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36131         [BZ #16704]
36132         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36134 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36136         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36137         (libmvec): New variable.
36138         * configure.ac: Added option for mathvec build.
36139         * configure: Regenerated.
36140         * mathvec/Depend: New file.
36141         * mathvec/Makefile: New file.
36142         * shlib-versions: Added libmvec.
36143         * math/Makefile: Added rule for libm.so installation.
36145         * bits/math-vector.h: New file.
36146         * bits/libm-simd-decl-stubs.h: New header.
36147         * math/Makefile (headers): Added new header
36148         libm-simd-decl-stubs.h.
36149         * math/math.h (__MATHCALL_VEC): New macro.
36151         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36152         for conditions in testing functions.
36153         * math/Makefile: Added call of libm-have-vector-test.sh.
36154         * math/libm-test.inc (HAVE_VECTOR): New macros.
36156         * math/libm-test.inc: START refactored.
36157         * math/test-double.c (TEST_MATHVEC): Add define.
36158         * math/test-float.c: Likewise.
36159         * math/test-idouble.c: Likewise.
36160         * math/test-ifloat.c: Likewise.
36161         * math/test-ildoubl.c: Likewise.
36162         * math/test-ldouble.c: Likewise.
36163         * sysdeps/generic/math-tests-arch.h
36164         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36165         architecture check.
36167         * math/test-double.c (FUNC_TEST): New macro.
36168         * math/test-float.c: Likewise.
36169         * math/test-idouble.c: Likewise.
36170         * math/test-ifloat.c: Likewise.
36171         * math/test-ildoubl.c: Likewise.
36172         * math/test-ldouble.c: Likewise.
36173         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36175 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36177         * sysdeps/nacl/fdopendir.c: New file.
36179         * dirent/scandir-tail.c: New file.
36180         * dirent/scandir64-tail.c: New file.
36181         * dirent/Makefile (routines): Add them.
36182         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36183         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36184         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36185         [!SCANDIR] (SCANDIR_TAIL): New macro.
36186         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36187         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36188         (SCANDIRAT): Macro removed.
36189         (SCANDIR_TAIL): New macro.
36190         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36191         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36192         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36193         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36194         (READDIR): Macro removed.
36195         (SCANDIR_TAIL): New macro.
36196         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36197         (SCANDIR_TAIL): New macro.
36199         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36200         * dirent/scandir-cancel.c: ... to this new file.
36201         * dirent/Makefile (routines): Add it.
36202         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36203         * sysdeps/unix/sysv/linux/i386/scandir64.c
36204         (SKIP_SCANDIR_CANCEL): Macro removed.
36205         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36207         * dirent/tst-scandir.c: New file.
36208         * dirent/tst-scandir64.c: New file.
36209         * dirent/Makefile (tests): Add them.
36211 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36213         [BZ #18409]
36214         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36216 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36218         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36219         list.
36221 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36223         * benchtests/bench-strcoll.c: New benchmark.
36224         * benchtests/Makefile: Generate locales and run benchmark.
36225         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36226         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36227         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36228         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36229         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36230         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36231         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36232         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36233         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36234         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36235         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36236         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36237         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36238         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36239         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36240         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36241         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36242         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36243         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36244         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36245         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36246         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36247         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36248         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36250 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36252         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36253         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36255 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36257         * posix/uname-values.h: New file.
36258         * posix/uname.c: Include that instead of <config-name.h>.
36259         * sysdeps/nacl/uname-values.h: New file.
36260         * sysdeps/arm/nacl/uname-values.h: New file.
36262 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36264         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36265         splitting into fields.
36267 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36269         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36270         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36271         * locale/localeinfo.h: Add enum collation_encoding_type.
36272         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36273         * programs/ld-collate.c (collate_output): Add encoding type info.
36274         * string/strcoll_l.c (STRDIFF): New function.
36275         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36276         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36278 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36280         [BZ #18397]
36281         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36282         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36283         <fpu_control.h> instead of <math/fpu_control.c>.
36284         * sysdeps/mips/mips32/fpu/Makefile: New file.
36286 2015-05-11  Andreas Schwab  <schwab@suse.de>
36288         [BZ #18007]
36289         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36290         nss_endgrent.
36291         (_nss_compat_endgrent): Call nss_endgrent.
36292         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36293         nss_endpwent.
36294         (_nss_compat_endpwent): Call nss_endpwent.
36295         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36296         needent, call nss_setspent only if non-zero.
36297         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36298         (internal_endspent): Don't call nss_endspent.
36299         (_nss_compat_endspent): Call nss_endspent.
36300         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36301         Remove.  All uses removed.
36302         (internal_setent): Remove parameter stayopen, add parameter
36303         stream.  Use it instead of global variable.
36304         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36305         (internal_endent, internal_getent): Add parameter stream.  Use it
36306         instead of global variable.
36307         (CONCAT(_nss_files_end,ENTNAME))
36308         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36309         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36310         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36311         uses removed.
36312         (internal_setent, internal_endent): Add parameter stream.  Use it
36313         instead of global variable.
36314         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36315         stream.
36316         (get_next_alias): Add parameter stream.
36317         (_nss_files_getaliasent_r): Pass global stream.
36318         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36319         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36320         (_nss_files_gethostbyname4_r): Pass local stream to
36321         internal_setent, internal_getent and internal_endent.  Remove
36322         locking.
36324 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36326         * tst-strfmon1.c (tests): Update expected currency symbol.
36328 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36330         * sysdeps/nacl/gethostname.c: New file.
36332 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36334         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36335         and sinh.
36336         * math/auto-libm-test-out: Regenerated.
36337         * sysdeps/i386/fpu/libm-test-ulps: Update.
36338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36340 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36342         [BZ #18125]
36343         * stdlib/tst-setcontext3.c: New file.
36344         * stdlib/tst-setcontext3.sh: New file.
36345         * stdlib/Makefile (tests): Add tst-setcontext3.
36346         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36347         to verify test program created output file.
36348         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36349         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36350         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36351         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36353 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36355         [BZ #18383]
36356         * elf/tst-tlsalign.c: New file.
36357         * elf/tst-tlsalign-static.c: New file.
36358         * elf/tst-tlsalign-lib.c: New file.
36359         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36360         (tests-static): Add tst-tlsalign-static.
36361         (modules-names): Add tst-tlsalign-lib.
36362         (test-xfail-tst-tlsalign): New variable.
36363         (test-xfail-tst-tlsalign-static): New variable.
36365         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36366         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36368 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36370         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36371         csqrt, erfc, sin and sincos.
36372         * math/auto-libm-test-out: Regenerated.
36373         * sysdeps/i386/fpu/libm-test-ulps: Update.
36374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36376 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36378         * sysdeps/aarch64/libm-test-ulps: Update.
36380 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36382         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36383         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36384         * math/auto-libm-test-out: Regenerated.
36385         * sysdeps/i386/fpu/libm-test-ulps: Update.
36386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36388 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36390         [BZ #18265]
36391         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36392         (wcsncpy): Likewise.
36394 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36396         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36397         Assume __ASSUME_FALLOCATE is always true.
36398         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36399         (__posix_fallocate64_l64): Likewise.
36400         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36401         (posix_fallocate): Likewise.
36402         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36403         (__posix_fallocate64_l64): Likewise.
36404         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36405         [!__ASSUME_FALLOCATE]: Add comment.
36407 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36409         * sysdeps/unix/sysv/linux/i386/Makefile
36410         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36411         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36412         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36413         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36414         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36415         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36416         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36418 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36420         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36421         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36422         tgamma.
36423         * math/auto-libm-test-out: Regenerated.
36424         * sysdeps/i386/fpu/libm-test-ulps: Update.
36425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36427 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36429         * math/auto-libm-test-in: Add more tests of tgamma.
36430         * math/auto-libm-test-out: Regenerated.
36431         * sysdeps/i386/fpu/libm-test-ulps: Update.
36432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36434         * math/auto-libm-test-in: Add more tests of tanh.
36435         * math/auto-libm-test-out: Regenerated.
36436         * sysdeps/i386/fpu/libm-test-ulps: Update.
36437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36439         * math/auto-libm-test-in: Add more tests of tan.
36440         * math/auto-libm-test-out: Regenerated.
36441         * sysdeps/i386/fpu/libm-test-ulps: Update.
36442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36444         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36445         * math/auto-libm-test-out: Regenerated.
36446         * sysdeps/i386/fpu/libm-test-ulps: Update.
36447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36449         * math/auto-libm-test-in: Add another test of pow.
36450         * math/auto-libm-test-out: Regenerated.
36451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36453         * math/auto-libm-test-in: Add more tests of lgamma.
36454         * math/auto-libm-test-out: Regenerated.
36455         * sysdeps/i386/fpu/libm-test-ulps: Update.
36456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36458         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36459         log1p.
36460         * math/auto-libm-test-out: Regenerated.
36461         * sysdeps/i386/fpu/libm-test-ulps: Update.
36462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36464 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36466         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36467         Elf64_Chdr structs and ELFCOMPRESS constants.
36469 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36471         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36472         expm1.
36473         * math/auto-libm-test-out: Regenerated.
36474         * sysdeps/i386/fpu/libm-test-ulps: Update.
36475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36477         * math/auto-libm-test-in: Add more tests of erf and erfc.
36478         * math/auto-libm-test-out: Regenerated.
36479         * sysdeps/i386/fpu/libm-test-ulps: Update.
36480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36482 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36484         * config.h.in (HAVE_AARCH64_BE): Add.
36486 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36488         * math/auto-libm-test-in: Add more tests of csqrt.
36489         * math/auto-libm-test-out: Regenerated.
36490         * sysdeps/i386/fpu/libm-test-ulps: Update.
36491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36493         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36494         * math/auto-libm-test-out: Regenerated.
36495         * sysdeps/i386/fpu/libm-test-ulps: Update.
36496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36498         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36500 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36502         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36503         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36505         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36506         (euidaccess, eaccess): Define as weak aliases.
36508         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36509         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36510         but __suseconds_t is often 'long int' so some sources assume that
36511         type is being used (e.g. they use %ld to print tv_usec).
36513 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36515         [BZ #18007]
36516         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36517         (CVE-2014-8121)
36518         * nss/tst-nss-getpwent.c: New file.
36519         * nss/Makefile (tests): Add new test.
36521 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36523         [BZ #18346]
36524         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36525         exponents less than 48 as cases where high part of mantissa needs
36526         examining to determine whether argument is integral.
36527         * math/libm-test.inc (round_test_data): Add more tests.
36529 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36531         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36533 2015-04-27  David S. Miller  <davem@davemloft.net>
36535         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36536         __tls_get_addr.
36537         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36539 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36541         [BZ #18333]
36542         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36544 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36546         [BZ #18333]
36547         * time/tzset.c (parse_tzname): Return error on memory allocation
36548         failure.
36549         * test-skeleton.c (struct temp_name_list): Change type of name
36550         member to non-const.
36551         (add_temp_file): Create a copy of the file name.
36552         (delete_temp_files): Deallocate memory.
36553         (create_temp_file): Add comment.
36555 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36557         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36558         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36560 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36562         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36563         * sysdeps/arm/configure: Regenerated.
36565 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36567         [BZ #17715]
36568         * time/tzfile.c (__tzfile_read): Check for large values of
36569         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36570         * time/tzset.c (__tzstring_len): New function, based on the old
36571         __tzstring function.
36572         (__tzstring): Call __tzstring_len.
36573         (parse_tzname): New helper function extracted from
36574         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36575         the input string.
36576         (parse_offset): New helper function extracted from
36577         __tzset_parse_tz.  Replace switch with fallthrough with
36578         initialization before sscanf.
36579         (parse_rule): Likewise.
36580         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36581         new-style function definition.
36582         * timezone/Makefile (tests): Add tst-tzset.
36583         (tst-tzset.out): Dependencies on time zone files.
36584         (tst-tzset-ENV): Set TZDIR.
36585         (testdata/XT%): Copy crafted time zone files.
36586         * timezone/README: Mention crafted time zone files.
36587         * timezone/testdata/XT1, timezone/testdata/XT2,
36588         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36589         files.
36590         * timezone/tst-tzset.c: New test.
36592 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36594         * Makeconfig (+gccwarn): Remove -Winline.
36596 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36598         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36600 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36602         * NEWS: Mention sysconf() cache information support for s390.
36603         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36605 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36607         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36608         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36609         (__nearbyint): Likewise.
36610         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36611         (copysignl): Likewise.
36613 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36615         [BZ #18287]
36616         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36617         based on padding.  (CVE-2015-1781)
36619 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36621         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36622         libc-vdso.h.
36623         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36624         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36625         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36626         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36627         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36628         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36629         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36630         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36631         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36632         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36633         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36634         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36635         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36636         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36637         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36638         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36639         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36640         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36641         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36642         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36643         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36644         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36645         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36647 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36649         * stdlib/setenv.c (__add_to_environ):
36650         Dump core quickly if setenv (..., NULL, ...) is called.
36651         This time, do it the right way, and pacify GCC with a pragma.
36653 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36655         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36656         IMAP->l_prev cannot be null, and #if out the code for the contrary
36657         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36658         believe that NS (&_dl_ns[NSID]) could point outside the array.
36660         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36661         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36662         before using NSID as an index.
36664 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36666         [BZ #17825]
36667         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36668         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36669         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36671 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36673         Add preliminary port to Google Native Client on ARM.
36674         * abi-tags (.*-.*-nacl.*): New entry.
36675         * sysdeps/arm/nacl: New directory.
36676         * sysdeps/nacl: New directory.
36678 2015-04-16  David S. Miller  <davem@davemloft.net>
36680         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36681         lowlevellock-futex.h
36683 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36685         * sysdeps/tile/configure.ac: New file.
36686         * sysdeps/tile/configure: Regenerated.
36688 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36690         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36691         conditionals for weak_alias and libc_hidden_weak.
36692         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36693         libc_hidden_weak and weak_alias.
36694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36695         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36696         and weak_alias for static one.
36698 2015-04-15  David S. Miller  <davem@davemloft.net>
36700         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36702 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36704         [BZ #18206]
36705         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36706           Use signed comparision instead of substraction to avoid
36707           overflow bug.
36708         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36709           Take the sign of ret.
36710         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36711           Do not expect precise return values. Only the sign matters.
36712         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36713         * wcsmbs/test-wcsncmp.c: New File.
36714         * string/test-strncmp.c: Add wcsncmp support.
36716 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36718         [BZ #6792]
36719         * math/w_log1p.c: New file.
36720         * math/w_log1pf.c: Likewise.
36721         * math/w_log1pl.c: Likewise.
36722         * math/Makefile (libm-calls): Add w_log1p.
36723         * math/s_log1pl.c (log1pl): Remove weak_alias.
36724         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36725         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36726         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36727         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36728         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36729         [NO_LONG_DOUBLE] (log1pl): Likewise.
36730         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36731         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36732         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36733         (log1p): Remove long_double_symbol.
36734         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36735         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36736         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36737         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36738         remove weak_alias for corresponding log1p function.
36739         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36740         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36741         * sysdeps/ia64/fpu/w_log1p.c: New file.
36742         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36743         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36744         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36746 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36748         [BZ #18247]
36749         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36750         decimal exponent by 1.
36751         * stdlib/tst-strtod-round-data: Add more tests.
36752         * stdlib/tst-strtod-round.c (tests): Regenerated.
36754 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36756         * math/auto-libm-test-in: Add more tests of clog and clog10.
36757         * math/auto-libm-test-out: Regenerated.
36758         * sysdeps/i386/fpu/libm-test-ulps: Update.
36759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36761 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36763         * Makeconfig (module-cppflags): Exclude all .v.i files.
36764         (skip-module-cppflags): Variable removed.
36766         * configure.ac (libc_config_ok): Initialize before reading
36767         preconfigure scripts, not after.
36768         * configure: Regenerated.
36770         * test-skeleton.c (TIMEOUT): Move #define to top level.
36771         (main): Grok environment variable TEST_DIRECT.  If set, print
36772         test expectation details into that file and then behave as if
36773         given --direct.
36775 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36777         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36778         warning on 32-bit.
36780 2015-04-08  David S. Miller  <davem@davemloft.net>
36782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36784 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36786         * math/auto-libm-test-in: Add more tests of atanh.
36787         * math/auto-libm-test-out: Regenerated.
36788         * sysdeps/i386/fpu/libm-test-ulps: Update.
36789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36791         * math/auto-libm-test-in: Add more tests of atan.
36792         * math/auto-libm-test-out: Regenerated.
36793         * sysdeps/i386/fpu/libm-test-ulps: Update.
36794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36796 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36798         * elf/pldd.c (main): Rewrite to use struct
36799         scratch_buffer instead of extend_alloca.
36800         * elf/pldd-xx.c (find_maps): Likewise.
36801         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36802         <alloca.h>.
36803         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36804         scratch_buffer instead of extend_alloca.
36805         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36806         grp/compat-initgroups.c.
36807         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36808         Rewrite to use struct scratch_buffer instead of extend_alloca.
36809         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36810         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36812 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36814         * math/auto-libm-test-in: Add more tests of cbrt.
36815         * math/auto-libm-test-out: Regenerated.
36816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36818         * math/auto-libm-test-in: Add more tests of cabs.
36819         * math/auto-libm-test-out: Regenerated.
36820         * sysdeps/i386/fpu/libm-test-ulps: Update.
36821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36823         [BZ #18210]
36824         [BZ #18211]
36825         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36826         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36827         computations.
36828         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36829         clog10.
36830         * math/auto-libm-test-out: Regenerated.
36831         * sysdeps/i386/fpu/libm-test-ulps: Update.
36832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36834         [BZ #18197]
36835         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36836         (atan): Set FE_TONEAREST mode for internal computations.
36837         * math/auto-libm-test-in: Add more tests of atan.
36838         * math/auto-libm-test-out: Regenerated.
36840 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36842         [BZ #17930]
36843         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36845 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36847         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36849 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36851         * include/scratch_buffer.h: New file.
36852         * malloc/scratch_buffer_grow.c: Likewise.
36853         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36854         * malloc/scratch_buffer_set_array_size.c: Likewise.
36855         * malloc/tst-scratch_buffer.c: Likewise.
36856         * malloc/Makefile (routines): Add scratch_buffer_grow.
36857         (tests): Add test case.
36858         * malloc/Versions (GLIBC_PRIVATE): Export
36859         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36860         __libc_scratch_buffer_set_array_size.
36862 2015-04-06  Richard Henderson  <rth@redhat.com>
36864         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36865         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36867         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36868         unsigned int before printing.
36870 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36872         [BZ #17596]
36873         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36874         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36876 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36878         * include/libc-internal.h (libc_max_align_t): Define.
36880 2015-04-02  Andreas Schwab  <schwab@suse.de>
36882         [BZ #16850]
36883         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36885 2015-04-02  Mel Gorman  <mgorman@suse.de>
36887         [BZ #17195]
36888         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36889         as well as the main arena.
36891 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36893         [BZ #18185]
36894         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36895         sharing L2 cache to 2 for Silvermont/Knights Landing.
36897 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36899         [BZ #17711]
36900         * config.make.in (have-protected-data): New.
36901         * configure.ac: Check linker support for protected data symbol.
36902         * configure: Regenerated.
36903         * elf/Makefile (modules-names): Add tst-protected1moda and
36904         tst-protected1modb if $(have-protected-data) is yes.
36905         (tests): Add tst-protected1a and tst-protected1b if
36906         $(have-protected-data) is yes.
36907         ($(objpfx)tst-protected1a): New.
36908         ($(objpfx)tst-protected1b): Likewise.
36909         (tst-protected1modb.so-no-z-defs): Likewise.
36910         * elf/tst-protected1a.c: New file.
36911         * elf/tst-protected1b.c: Likewise.
36912         * elf/tst-protected1mod.h: Likewise.
36913         * elf/tst-protected1moda.c: Likewise.
36914         * elf/tst-protected1modb.c: Likewise.
36916 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36918         [BZ #17711]
36919         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36920         indicates it is called from do_lookup_x on relocation against
36921         protected data, skip the data definion in the executable from
36922         copy reloc.
36923         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36924         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36925         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36926         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36927         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36928         otherwise to 0.
36929         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36930         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36931         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36932         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36933         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36934         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36936 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36938         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36939         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36941 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36943         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36944         THREAD_SETMEM_NC.
36945         * sysdeps/x86_64/nptl/tls.h: Ditto.
36947 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36949         * dlfcn/tststatic.c (main): Converted to ...
36950         (do_test): ... this.
36951         (TEST_FUNCTION): New macro.
36952         Include test-skeleton.c.
36954 2015-03-26  Alan Modra  <amodra@gmail.com>
36956         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36957         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36958         zero for undefined weak.
36959         (elf_machine_plt_conflict): Similarly.
36961 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36963         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36964         atanh.
36965         * math/auto-libm-test-out: Regenerated.
36966         * sysdeps/i386/fpu/libm-test-ulps: Update.
36967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36969         * math/auto-libm-test-in: Add another test of asin.
36970         * math/auto-libm-test-out: Regenerated.
36971         * sysdeps/i386/fpu/libm-test-ulps: Update.
36972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36975         Remove macro.
36976         (LLL_EBX_REG): Likewise.
36977         (LLL_ENTER_KERNEL): Likewise.
36979         * math/auto-libm-test-in: Add more tests of asin.
36980         * math/auto-libm-test-out: Regenerated.
36981         * sysdeps/i386/fpu/libm-test-ulps: Update.
36982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36984         [BZ #18138]
36985         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36986         libc_do_syscall_args): New structure.
36987         (INTERNAL_SYSCALL_MAIN_0): New macro.
36988         (INTERNAL_SYSCALL_MAIN_1): Likewise.
36989         (INTERNAL_SYSCALL_MAIN_2): Likewise.
36990         (INTERNAL_SYSCALL_MAIN_3): Likewise.
36991         (INTERNAL_SYSCALL_MAIN_4): Likewise.
36992         (INTERNAL_SYSCALL_MAIN_5): Likewise.
36993         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
36994         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36995         Replace conditional definitions by conditional definitions of ....
36996         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
36997         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36998         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36999         (libpthread-sysdep_routines): Add libc-do-syscall.
37000         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37001         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37002         to __NR_futex not 240.
37004 2015-03-25  Alan Modra  <amodra@gmail.com>
37006         * NEWS: Advertise TLS optimization.
37007         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37008         (DT_PPC_NUM): Increment.
37009         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37010         (CHECK_STATIC_TLS): Use here.
37011         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37012         TLS descriptors.
37013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37014         * sysdeps/powerpc/dl-tls.c: New file.
37015         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37016         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37017         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37018         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37023 2015-03-25  Alan Modra  <amodra@gmail.com>
37025         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37026         for overlapping .opd entries" to "support...".
37027         * sysdeps/powerpc/powerpc64/configure: Regenerate
37029 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37031         * math/auto-libm-test-in: Add more tests of acos.
37032         * math/auto-libm-test-out: Regenerated.
37033         * sysdeps/i386/fpu/libm-test-ulps: Update.
37034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37036         * math/auto-libm-test-in: Add more tests of expm1.
37037         * math/auto-libm-test-out: Regenerated.
37038         * sysdeps/i386/fpu/libm-test-ulps: Update.
37039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37041 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37043         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37044         * math/auto-libm-test-out: Regenerated.
37045         * sysdeps/i386/fpu/libm-test-ulps: Update.
37046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37048         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37051         * math/auto-libm-test-in: Add more tests of log2.
37052         * math/auto-libm-test-out: Regenerated.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37056 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37058         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37059         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37060         _IO_IS_APPENDING bit in READ_WRITE instead.
37062 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37064         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37065         (__determine_cpumask_size): Replace extend_alloca with a
37066         variable-length array.  Do not treat res == 0 as an error.
37068 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37070         [BZ #18100]
37071         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37072         and integer overflow.
37073         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37074         (main): Add integer overflow tests.
37075         * manual/pattern.texi (Calling Wordexp): Document additional use
37076         for WRDE_SYNTAX.
37078 2015-03-23  Alan Modra  <amodra@gmail.com>
37080         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37081         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37082         and false branch of conditional.
37083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37084         Likewise.
37086 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37088         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37089         libc-modules.h
37090         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37091         unused declaration of _hurd_intr_rpc_msg_in_trap.
37092         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37093         defined instead of whether it is non-zero.
37094         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37095         input constraint instead of both input and output constraint.  Use ecx
37096         clobber instead of %ecx.
37097         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37098         mutex_unlock): Use a statement expression instead of an expression list.
37099         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37100         type to vm_size_t instead of vm_address_t.
37101         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37102         defined instead of whether it is non-zero.
37103         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37104         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37105         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37106         comparisons with mapaddr.
37107         * nscd/nscd-client.h: Include <time.h>.
37108         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37109         9th parameter to __vm_region instead of int.
37110         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37111         * scripts/check-local-headers.sh (exclude): Add device/,
37112         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37113         cthreads.h.
37115 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37117         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37118         to account for alignment padding.
37119         * sysdeps/arm/memmove.S: Likewise.
37121 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37123         * sysdeps/unix/sysv/linux/generic/README: New file.
37125 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37127         [BZ #18138]
37128         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37129         (futex_abstimed_wait)
37130         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37131         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37132         of lll_futex_timed_wait.
37134 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37136         [BZ #17542]
37137         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37139 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37141         [BZ #17090]
37142         [BZ #17620]
37143         [BZ #17621]
37144         [BZ #17628]
37145         * NEWS: Update.
37146         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37147         entries with Static TLS too.  Skip entries past the end of the
37148         allocated DTV, from Alan Modra.
37149         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37150         Static TLS DTV entry set up from...
37151         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37152         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37153         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37154         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37155         for Static TLS.
37156         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37157         that the slot we find is associated with the given map before
37158         using its generation count.
37159         * nptl_db/db_info.c: Include ldsodefs.h.
37160         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37161         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37162         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37163         (link_map::l_tls_offset): New struct field.
37164         (dtv_t::counter): Likewise.
37165         (rtld_global): New struct.
37166         (_rtld_global): New rtld variable.
37167         (dl_tls_dtv_slotinfo_list): New rtld global field.
37168         (dtv_slotinfo_list): New struct.
37169         (dtv_slotinfo): Likewise.
37170         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37171         (td_lookup): Rename to...
37172         (td_mod_lookup): ... this.  Use new mod parameter instead of
37173         LIBPTHREAD_SO.
37174         * nptl_db/td_thr_tlsbase.c: Include link.h.
37175         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37176         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37177         addresses even if the DTV is out of date or missing them.
37178         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37179         index zero-length arrays.
37180         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37181         (td_lookup): Make it a macro implemented in terms of...
37182         (td_mod_lookup): ... this declaration.
37183         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37184         (DB_MAIN_VARIABLE): Likewise.
37186 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37188         [BZ #18134]
37189         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37191 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37193         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37195 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37197         [BZ #18128]
37198         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37199         (atomic_add, atomic_increment_and_test)
37200         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37202 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37204         * stdlib/setenv.c (__add_to_environ):
37205         Dump core quickly if setenv (..., NULL, ...) is called.
37207 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37209         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37210         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37211         all the necessary asm magic in one place.
37212         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37213         using those.
37215 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37217         [BZ #14906]
37218         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37219         traced file mtime. Use consistent log message.
37220         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37221         (register_traced_file): Call install_watches. Always set mtime.
37222         (invalidate_cache): Iterate over all trace files. Call install_watches.
37223         (inotify_check_files): Don't inline. Handle watching parent
37224         directories and configuration file movement in and out.
37225         (handle_inotify_events): New function.
37226         (main_loop_poll): Call handle_inotify_events.
37227         (main_loop_epoll): Likewise.
37228         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37229         (struct traced_file): Use array of inotify fds. Add parent directory,
37230         and basename.
37231         (struct database_dyn): Remove unused file_mtime.
37232         (init_traced_file): New inline function.
37233         (define_traced_file): New macro.
37234         * nss/nss_db/db-init.c: Use define_traced_file.
37235         (_nss_db_init): Use init_traced_file.
37236         * nss/nss_files/files-init.c: Use define_traced_file.
37237         (_nss_files_init): Use init_traced_file.
37239 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37241         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37242         [_LIBC]: Do not include <stdlib.h>.
37243         [!_LIBC] (abort): Remove declaration.
37244         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37245         _FP_STATIC_ASSERT instead of conditionally calling abort.
37246         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37247         (_FP_EXTEND_CNAN): Likewise.
37248         (FP_TRUNC): Likewise.
37249         (__FP_CLZ): Likewise.
37250         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37252 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37254         * manual/string.texi (XPG basename): Fix prototype.
37256 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37258         [BZ #18080]
37259         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37260         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37261         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37262         (__setcontext): Likewise.
37263         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37264         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37265         Call rt_sigprocmask syscall one time to set new signal mask
37266         and retrieve the current signal mask instead of two calls.
37267         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37268         (__swapcontext): Likewise.
37269         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37270         * stdlib/tst-setcontext2.c: New file.
37272 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37274         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37276 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37278         [BZ #18093]
37279         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37280         the wrong size.
37282 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37284         [BZ #18043]
37285         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37287 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37289         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37290         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37291         Remove define.
37292         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37293         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37294         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37295         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37296         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37297         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37298         define.
37299         * nptl_db/td_symbol_list.c (td_lookup): Remove
37300         HAVE_ASM_GLOBAL_DOT_NAME code.
37301         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37302         HAVE_ASM_GLOBAL_DOT_NAME check.
37303         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37304         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37305         (DOT_LABEL): Remove define.
37306         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37307         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37308         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37309         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37310         (__TLS_GET_ADDR): Likewise.
37311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37312         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37314 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37316         [BZ #18111]
37317         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37318         (_FPU_SETCW): Initialize cw from fpsr before storing.
37319         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37320         (fesetexceptflag): Rewrite using fpu_control.h.
37321         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37323 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37325         [BZ #18110]
37326         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37327         asms.
37328         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37330 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37332         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37333         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37334         abort.
37335         (_FP_FMA): Likewise.
37336         (_FP_DIV): Likewise.
37338 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37340         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37341         with 0 in that case.
37342         * Makefile (summarize-tests): New canned sequence, factored out of
37343         commands for targets tests and xtests.  Display summary lines that
37344         don't start with PASS: or XFAIL: rather than ones that do start with
37345         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37346         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37347         do start with ERROR: or FAIL:.
37348         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37349         (except for [$(build-shared) = yes]).
37350         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37351         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37352         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37353         * nptl/Makefile: Revert 2015-03-04 changes.
37354         [$(CXX) empty] (tests-unsupported): New variable.
37355         * debug/Makefile: Likewise.
37357         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37358         gnulib file.  Replace __attribute with __attribute__ throughout.
37360 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37362         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37364 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37366         [BZ #18104]
37367         * math/auto-libm-test-in: Add another test of pow.
37368         * math/auto-libm-test-out: Regenerated.
37370 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37372         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37373         $(config-cflags-nofma).
37375 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37377         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37378         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37379         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37380         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37381         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37382         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37383         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37384         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37385         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37386         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37387         Add comment on closing #endif.
37389 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37391         * posix/wordexp.c (CHAR_IN_SET): New macro.
37392         (parse_param): Use it.
37394 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37396         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37398 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37400         [BZ #18043]
37401         * posix/wordexp.c (parse_param): Fix buffer overflow.
37402         * posix/wordexp-test.c (test_case): Add test case.
37404 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37406         [BZ #18042]
37407         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37408         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37410 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37412         [BZ #18043]
37413         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37414         (do_bz18043): Delete.
37415         (at_page_end): New.
37416         (testit): Refactor to have words at the edge of unreadable page.
37418 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37420         [BZ #16734]
37421         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37422         Cleanup read-only streams as well.
37423         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37425 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37427         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37428         <bits/libc-lockP.h>
37430 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37432         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37433         on [__KERNEL__].
37434         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37435         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37436         * soft-fp/op-common.h (_FP_DECL): Likewise.
37438 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37440         * elf/ifuncdep2.c (global): Replace
37441         __attribute__((visibility("protected"))) with
37442         asm (".protected global").
37443         * elf/ifuncmod1.c (global): Likewise.
37444         * elf/ifuncmod5.c (global): Likewise.
37446 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37448         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37449         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37451 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37453         * manual/install.texi (Configuring and compiling):
37454         Document test-wrapper-env-only.
37455         * INSTALL: Regenerated.
37457 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37459         [BZ #18043]
37460         * posix/wordexp.c (parse_param): Fix buffer overflow.
37461         * posix/wordexp-test.c (do_bz18043): Add test case.
37463 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37465         * time/tst-strptime2.c (do_test): Ensure failing tests are
37466         reported correctly.
37467         * time/tst-strptime3.c (do_test): Likewise.
37469 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37471         Fix aio_error thread-safety.
37472         * sysdeps/pthread/aio_error.c: New file
37473         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37474         synchronization.
37476 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37478         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37479         (group_number, vfprintf): Use it.
37480         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37481         (JUMP, REF): Use it.
37482         (WORK_BUFFER_SIZE): New enum constant.
37483         (process_arg, vfprintf): Use it.
37485 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37487         * manual/errno.texi (Error Messages): Complete example function
37488         by adding missing #define.
37489         (program_invocation_name): Add statement indicating GNU
37490         extension and reference which header file declares the variable.
37491         (program_invocation_short_name): Likewise.
37493 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37495         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37496         compatibility note.
37498 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37500         * Makeconfig (test-wrapper-env-only): New variable.
37501         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37502         then use that with $(test-wrapper-env-only) rather than using
37503         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37505 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37507         [BZ #18082]
37508         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37509         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37510         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37511         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37512         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37513         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37514         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37515         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37516         Likewise.
37517         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37518         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37519         Likewise.
37520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37521         Likewise.
37522         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37523         Likewise.
37524         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37525         Likewise.
37526         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37527         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37528         Likewise.
37529         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37530         Likewise.
37531         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37532         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37534 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37536         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37537         (ETH_ALEN): New macro.
37538         (struct ether_addr): Use it for length of ether_addr_octet.
37540         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37541         (setdb): Don't call __nss_configure_lookup for "rpc".
37542         (do_test): Don't call test_rpc.
37543         (output_rpcent, test_rpc): Functions moved ...
37544         * sunrpc/test-rpcent.c: ... to this new file.
37545         * sunrpc/Makefile (tests): Add it.
37547         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37548         __xpg_sigpause.
37549         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37550         * nptl/tst-signal6.c: Likewise.
37551         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37552         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37554         * configure.ac (libc_cv_cxx_link_ok): New check.
37555         Reset CXX to empty if it fails to link.
37556         * configure: Regenerated.
37557         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37558         bug-atexit3-lib only if $(CXX) is nonempty.
37559         * nptl/Makefile (tests): Likewise for tst-cancel24.
37560         (tests, tests-static): Likewise for tst-cancel24-static.
37561         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37562         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37563         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37564         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37566 2015-03-04  Andreas Schwab  <schwab@suse.de>
37568         [BZ #17631]
37569         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37570         for non-GCC compilers.
37571         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37572         Likewise.
37574 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37576         [BZ #17776]
37577         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37578         integer before bitwise and assembly operations.
37579         (feclearexcept): Likewise.
37580         * math/test-fenvinline.c: New file.
37581         * math/Makefile: Add test-fenvinline test.
37583 2015-03-03  Alan Modra  <amodra@gmail.com>
37585         [BZ #16512]
37586         * scripts/localplt.awk: Strip off symbol version.
37587         * NEWS: Mention bug fix.
37589 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37591         * sysdeps/pthread/timer_routines.c
37592         (timer_free_list, thread_free_list, thread_active_list): Make static.
37594 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37596         [BZ #17779]
37597         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37598         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37599         Undefine.
37600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37601         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37602         Likewise.
37603         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37604         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37605         Likewise.
37607 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37609         [BZ #18036]
37610         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37611         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37613 2015-03-02  Andreas Schwab  <schwab@suse.de>
37615         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37616         variable name.
37618 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37620         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37621         Return error status.
37623 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37625         [BZ #15969]
37626         * locale/findlocale.c (_nl_find_locale): Introduce const
37627         version of loc_name and drop unsafe type casts.
37629 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37631         * dlfcn/tststatic2.c (main): Converted to ...
37632         (do_test): ... this.
37633         (TEST_FUNCTION): New macro.
37634         Include test-skeleton.c.
37636 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37638         [BZ #17711]
37639         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37640         (tests-pie): Add vismain.
37641         (CFLAGS-vismain.c): New.
37642         * elf/vismain.c: Add comments for PIE requirement.
37644 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37646         [BZ #18046]
37647         [BZ #18047]
37648         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37649         0x1p-56L as threshold for just returning the argument.
37650         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37651         0x1p-32L as threshold for just returning the argument.
37652         * math/auto-libm-test-in: Add more tests of atanh.
37653         * math/auto-libm-test-out: Regenerated.
37654         * sysdeps/i386/fpu/libm-test-ulps: Update.
37655         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37657 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37659         * string/bcopy.c (bcopy): Call memmove for performance.
37661 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37663         * string/bzero.c (__bzero): Call memset for performance.
37665 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37667         [BZ #18068]
37668         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37669         to 00100000.
37671 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37673         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37675 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37677         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37678         (__kernel_standard): Use CSTR macro when setting exc.name.
37679         * sysdeps/ieee754/Makefile [$(subdir) = math]
37680         (CFLAGS-k_standard.c): Remove variable.
37682         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37683         setting p and q from "else if" to "else".
37684         (qzero): Likewise.
37685         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37686         (qone): Likewise.
37687         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37688         (qzerof): Likewise.
37689         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37690         (qonef): Likewise.
37691         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37692         (qzero): Likewise.
37693         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37694         (qone): Likewise.
37696         [BZ #18038]
37697         [BZ #18039]
37698         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37699         return pi/2 for arguments below 0x1p-113L.
37700         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37701         return pi/2 for arguments below 0x1p-106L.
37702         * math/auto-libm-test-in: Add more tests of acos.
37703         * math/auto-libm-test-out: Regenerated.
37705         [BZ #16351]
37706         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37707         (MO): New macro.
37708         (__ieee754_asin): Force underflow exception for results with small
37709         absolute value.
37710         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37711         (MO): New macro.
37712         (__ieee754_asinf): Force underflow exception for results with
37713         small absolute value.
37714         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37715         (__ieee754_asin): Force underflow exception for results with small
37716         absolute value.
37717         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37718         (__ieee754_asinf): Force underflow exception for results with
37719         small absolute value.
37720         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37721         (__ieee754_asinl): Force underflow exception for results with
37722         small absolute value.
37723         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37724         (__ieee754_asinl): Force underflow exception for results with
37725         small absolute value.
37726         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37727         (__ieee754_asinl): Force underflow exception for results with
37728         small absolute value.
37729         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37730         Include <math.h>.
37731         * math/auto-libm-test-in: Do not mark underflow exceptions as
37732         possibly missing for bug 16351.
37733         * math/auto-libm-test-out: Regenerated.
37735         [BZ #18030]
37736         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37737         of power of 2 down when low part has opposite sign.
37738         * math/libm-test.inc (logb_test_data): Add more tests.
37740 2015-02-26  Andreas Schwab  <schwab@suse.de>
37742         [BZ #18032]
37743         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37744         over collating symbol inside a bracket expression.  Minor cleanup.
37745         * posix/tst-fnmatch3.c (do_test): Add test case.
37747 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37749         [BZ #18029]
37750         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37751         Adjust exponent of power of 2 down when low part has opposite
37752         sign.
37753         * math/libm-test.inc (ilogb_test_data): Add more tests.
37755 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37757         [BZ #15969]
37758         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37759         the previous change.
37761         [BZ #15969]
37762         * locale/findlocale.c (_nl_find_locale): Retry archive search
37763         after alias expansion.
37765 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37767         * iconv/tst-iconv3.c (main): Converted to ...
37768         (do_test): ... this.
37769         (TEST_FUNCTION): New macro.
37770         Include test-skeleton.c.
37772         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37773         (convert): Make function static.
37774         (test_unalign): Likewise.  Add const to argument pointee types.
37775         (main): Replace with static function do_test.
37776         Print "Succeeded." only if RET is zero.
37777         (TEST_FUNCTION): New macro.
37778         Include test-skeleton.c.
37780         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37781         returns a null pointer.
37783 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37785         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37786         to __memcpy_ppc only for static builds.
37788 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37790         [BZ #18020]
37791         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37792         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37793         * math/auto-libm-test-in: Add more tests of asinh.
37794         * math/auto-libm-test-out: Regenerated.
37795         * sysdeps/i386/fpu/libm-test-ulps: Update.
37796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37798 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37800         [BZ #15850]
37801         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37802         and ip6_mtuinfo definitions here.
37803         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37804         in this define too.  Update comment.
37806 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37808         * elf/sprof.c (load_shobj): Tweak error message to match others.
37810 2015-02-24  Kevin Easton  <kevin@guarana.org>
37812         [BZ #16145] (partial fix)
37813         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37814         to reduce lock contention.
37816 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37818         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37819         (struct timex): Update time comment.
37820         (ADJ_SETOFFSET): Define.
37822 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37824         [BZ #18019]
37825         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37826         2**56 not 2**28 as threshold for log (2x) formula.
37827         * math/auto-libm-test-in: Add more tests of acosh.
37828         * math/auto-libm-test-out: Regenerated.
37829         * sysdeps/i386/fpu/libm-test-ulps: Update.
37830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37832 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37834         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37835         parenthesis around the buf assignment.
37836         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37838 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37840         [BZ #16783]
37841         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37842         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37843         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37844         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37845         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37846         * math/libm-test.inc (scalb_test_data): Add more tests.
37848 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37850         [BZ #17916]
37851         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37852         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37854 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37856         [BZ #17523]
37857         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37858         * io/bits/fcntl2.h (open): Use it.
37859         (openat): Likewise.
37860         * io/open.c (__libc_open): Likewise.
37861         * io/open64.c (__libc_open64): Likewise.
37862         * io/open64_2.c (__open64_2): Likewise.
37863         * io/open_2.c (__open_2): Likewise.
37864         * io/openat.c (__openat): Likewise.
37865         * io/openat64.c (__openat64): Likewise.
37866         * io/openat64_2.c (__openat64_2): Likewise.
37867         * io/openat_2.c (__openat_2): Likewise.
37868         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37869         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37870         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37871         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37872         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37873         (__open_nocancel): Likewise.
37874         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37875         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37876         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37878 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37880         [BZ #14841]
37881         * resolv/gethnamaddr.c (getanswer): Skip logging if
37882         RES_USE_DNSSEC is set.
37883         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37885 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37887         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37889 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37891         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37892         201304L, for Unicode 7.
37894 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37896         [BZ #17836]
37897         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37898         shared library.  Add gmon-start.os otherwise.
37899         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37900         $(objpfx)gmon-start.os if builing shared library.
37901         ($(objpfx)g$(static-start-installed-name)): Likewise.
37903 2015-02-23  Andreas Schwab  <schwab@suse.de>
37905         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37907 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37909         [BZ #17269]
37910         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37911         (enlarge_userbuf): Likewise.
37913 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37915         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37916         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37917         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37918         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37920 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37922         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37923         expression inside statement expression.
37925 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37927         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37928         <sysdeps/nptl/lowlevellock.h> and remove macros and
37929         functions that are now defined there.
37930         (SYS_futex): Remove.
37931         (lll_compare_and_swap): Remove.
37932         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37934 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37936         [BZ #17999]
37937         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37938         instead of scandirat.
37939         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37940         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37941         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37942         __scandirat.
37943         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37944         (__scandirat): Declare.  Use libc_hidden_proto.
37945         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37946         Remove variable.
37947         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37949 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37951         [BZ #15319]
37952         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37953         (MO): New macro.
37954         (__ieee754_atan2): For results with small absolute value, force
37955         underflow exception and remove excess range and precision from
37956         return value.
37957         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37958         (MO): New macro.
37959         (__ieee754_atan2f): For results with small absolute value, force
37960         underflow exception and remove excess range and precision from
37961         return value.
37962         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37963         (MO): New macro.
37964         (__atan): For results with small absolute value, force underflow
37965         exception and remove excess range and precision from return value.
37966         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37967         (MO): New macro.
37968         (__atanf): For results with small absolute value, force underflow
37969         exception and remove excess range and precision from return value.
37970         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37971         <math.h>.
37972         (__ieee754_atan2): Force underflow exception for results with
37973         small absolute value.
37974         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37975         <math_private.h>.
37976         (atan): Force underflow exception for results with small absolute
37977         value.
37978         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37979         (__atanf): Force underflow exception for results with small
37980         absolute value.
37981         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37982         <math.h>.
37983         (__atanl): Force underflow exception for results with small
37984         absolute value.
37985         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37986         (__atanl): Force underflow exception for results with small
37987         absolute value.
37988         * sysdeps/x86/fpu/bits/mathinline.h
37989         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37990         (__ieee754_atan2): Only define inline for long double.
37991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37992         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37993         * math/auto-libm-test-in: Do not mark underflow exceptions as
37994         possibly missing for bug 15319.  Add more tests of atan2.
37995         * math/auto-libm-test-out: Regenerated.
37996         * math/libm-test.inc (casin_test_data): Do not mark underflow
37997         exceptions as possibly missing for bug 15319.
37998         (casinh_test_data): Likewise.
37999         * sysdeps/i386/fpu/libm-test-ulps: Update.
38001 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38003         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38004         * sysdeps/mips/bits/endian.h: Fix comments.
38006 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38008         [BZ #17996]
38009         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38010         (hdestroy_r): Likewise.
38011         (hsearch_r): Likewise.
38012         (__hcreate_r): Declare and use libc_hidden_proto.
38013         (__hdestroy_r): Likewise.
38014         (__hsearch_r): Likewise.
38015         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38016         (hcreate): Call __hcreate_r instead of hcreate_r.
38017         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38018         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38019         as weak alias of __hcreate_r.
38020         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38021         __hdestroy_r.
38022         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38023         __hsearch_r.
38024         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38025         Remove variable.
38026         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38027         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38028         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38029         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38031 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38033         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38034         arena_lock into a single arena_get.
38036 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38038         * dl-reloc.c: Inlucde libc-internal.h.
38039         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38040         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38041         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38042         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38043         (grow_heap): Likewise.
38044         * malloc/malloc.c: Include libc-internal.h.
38045         (do_check_malloc): Call powerof2.
38046         (sysmalloc): Use pagesize. Call ALIGN_UP.
38047         (systrim): Use pagesize.
38048         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38049         (__libc_valloc): Use pagesize.
38050         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38052 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38054         [BZ #17991]
38055         * include/sys/resource.h (__getrlimit64): Declare.  Use
38056         libc_hidden_proto.
38057         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38058         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38059         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38060         getrlimit64.
38061         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38062         __getrlimit64.
38063         [!getrlimit64] (getrlimit64): Define as weak alias of
38064         __getrlimit64.  Use libc_hidden_weak.
38065         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38066         using __getrlimit64 not __new_getrlimit64.
38067         (__GI_getrlimit64): Likewise.
38068         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38069         Likewise.
38070         (__GI_getrlimit64): Likewise.
38071         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38073         (getrlimit): Add __getrlimit64 alias.
38074         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38075         Likewise.
38076         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38077         Remove variable.
38078         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38079         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38081 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38083         * libio/fileops.c: Add missing sys/mman.h
38084         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38086 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38088         * manual/math.texi (Errors in Math Functions): Clarify goals
38089         regarding inexact and underflow exceptions.
38091 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38093         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38094         * sysdeps/mips/memset.S: Ditto.
38096 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38098         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38100 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38102         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38103         (__v1longjmp): Remove versioned symbol.
38104         (__v1siglongjmp): Remove alias and versioned symbol.
38105         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38106         (__v2siglongjmp): Likewise.
38108 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38110         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38112 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38114         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38116 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38118         [BZ #17987]
38119         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38120         zero result does not depend on the sign resulting from
38121         subtraction.
38122         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38123         Likewise.
38124         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38125         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38126         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38127         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38128         * math/libm-test.inc (remquo_test_data): Add more tests.
38130 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38132         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38133         Problem reported by J William Piggott.
38135 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38137         [BZ #17978]
38138         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38139         products 4 * y and 2 * y where those would overflow.
38140         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38141         Likewise.
38142         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38143         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38145         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38146         * math/libm-test.inc (remquo_test_data): Add more tests.
38148         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38150         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38151         [defined _COMPILING_NEWLIB].
38152         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38153         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38155         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38156         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38158 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38160         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38161         acquired.
38163 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38165         [BZ #17792]
38166         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38167         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38168         HOST_STACK_END_ADDR): Likewise.
38170 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38172         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38173         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38174         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38176 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38178         * sysdeps/generic/c++-types.data: New file.
38179         * sysdeps/generic/ld.abilist: New file.
38180         * sysdeps/generic/libBrokenLocale.abilist: New file.
38181         * sysdeps/generic/libanl.abilist: New file.
38182         * sysdeps/generic/libc.abilist: New file.
38183         * sysdeps/generic/libcrypt.abilist: New file.
38184         * sysdeps/generic/libdl.abilist: New file.
38185         * sysdeps/generic/libm.abilist: New file.
38186         * sysdeps/generic/libpthread.abilist: New file.
38187         * sysdeps/generic/libresolv.abilist: New file.
38188         * sysdeps/generic/librt.abilist: New file.
38190 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38192         [BZ #17569]
38193         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38194         Compute absolute value of x as modified by fmod, not original
38195         value of x.
38196         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38197         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38198         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38199         RUN_TEST_ffI_f1_mod8.
38200         (remquo_test_data): Add more tests.
38202 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38204         * sysdeps/init_array/pt-crti.S: New file.
38206 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38208         [BZ #17967]
38209         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38210         __builtin_fmaf instead of relying on contraction of a * b + c.
38212 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38214         [BZ #17969]
38215         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38216         node.
38218 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38220         [BZ #17964]
38221         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38222         __builtin_fma instead of relying on contraction of a * b + c.
38224 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38226         * Makeconfig (ASFLAGS): Add -Werror=undef.
38227         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38228         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38229         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38231         * Makeconfig (after-link): New variable.
38232         (+link-pie, +link-pie-tests): Use it.
38233         (+link-static, +link-static-tests): Likewise.
38234         (+link, +link-tests): Likewise.
38235         * Makerules (build-module, build-module-asneeded): Likewise.
38236         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38237         Likewise.
38238         * elf/Makefile ($(objpfx)ld.so): Likewise.
38240 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38242         [BZ #17965]
38243         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38244         both struct timeval and struct timespec.
38246 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38248         [BZ #16560]
38249         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38250         and redefine.
38251         (__ieee754_exp2l): Do not multiply small fractional parts by
38252         M_LN2l.
38253         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38254         small argument.
38255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38256         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38257         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38258         * math/auto-libm-test-in: Add more tests of exp2.
38259         * math/auto-libm-test-out: Regenerated.
38261 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38263         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38264         unaligned path.
38266 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38268         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38269         little endian.
38271 2015-02-12  Andreas Schwab  <schwab@suse.de>
38273         [BZ #15790]
38274         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38275         Filter out elision flags from value returned in kind.
38276         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38277         * nptl/tst-pthread-mutexattr.c: New file.
38279 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38281         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38282         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38283         into gnu-gnu, and update comment to refer to abi-tags.
38285 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38287         [BZ #15467]
38288         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38289         (__sincos): Set errno to EDOM for infinite argument.
38290         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38291         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38292         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38293         (__sincosl): Set errno to EDOM for infinite argument.
38294         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38295         (__sincosl): Set errno to EDOM for infinite argument.
38296         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38297         (__sincosl): Set errno to EDOM for infinite argument.
38298         * math/libm-test.inc (sincos_test_data): Test errno setting.
38300 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38302         * string/strxfrm_l.c: Remove #define STRCMP.
38303         * string/strcoll_l.c: Remove #define STRLEN.
38304         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38305         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38307 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38309         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38310         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38311         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38312         * sysdeps/mips/mips64/Makefile: ... here.
38313         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38314         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38315         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38316         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38317         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38318         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38319         * sysdeps/mips/mips64/n64/Implies: Likewise.
38321 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38323         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38324         <sys/time.h>, <string.h>, and <errno.h>.
38325         (dest_offset, dest_address, value, zero): Remove unused variables.
38326         (ldouble): Remove typedef.
38327         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38328         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38329         1).  Fix code style.
38330         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38331         (check): Function removed.
38332         (CHECK): New macro.
38333         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38334         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38335         Don't call set_sigaction_FP and remove_sigaction_FP here.
38336         (ldouble_test): Just use 'long double' as macro argument, no need for
38337         the 'ldouble' typedef.
38338         (do_test): Set up SIGFPE handler at start, using plain signal rather
38339         than sigaction.  Fix code style.
38341 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38343         [BZ #17949]
38344         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38345         jump label.
38347 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38349         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38350         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38352         * sysdeps/powerpc/configure.ac: Remove file.
38353         * sysdeps/powerpc/configure: Likewise.
38355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38356         [sysdep_routines]: Remove wordcopy-power6 object.
38357         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38358         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38359         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38360         (__memmove_ppc32): Likewise.
38361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38362         file.
38363         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38365         Remove preprocessor.
38367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38368         [sysdep_routines]: Remove wide chars objects.
38369         [wcsmbs]: New rule for wide char objects.
38371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38372         Remove wordcopy-power6 obejct.
38373         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38374         Use local call for wordcopy and memcpy symbols.
38375         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38377         implementation for loader.
38378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38381         Remove wordcopy-power7 object.
38382         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38383         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38384         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38385         (_wordcopy_fwd_dest_aligned): Likewise.
38386         (_wordcopy_bwd_aligned): Likewise.
38387         (_wordcopy_bwd_dest_aligned): Likewise.
38389         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38390         Rewrite to call __memmove_ppc instead of include default
38391         implementation.
38393         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38394         Remove wide chars objects.
38395         [wcsmbs]: New rule for wide char objects.
38397 2015-02-09  Andreas Schwab  <schwab@suse.de>
38399         [BZ #17912]
38400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38401         in terms of __O_DIRECTORY.
38403 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38405         * time/getdate.c: Include <stdbool.h>.
38406         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38407         call PTR_MANGLE.
38408         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38409         PTR_DEMANGLE.
38411 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38413         Add ersatz _Static_assert on older C hosts
38414         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38415         pre-C11 C platform that is not known to support _Static_assert.
38417 2015-02-07  Richard Braun  <rbraun@sceen.net>
38419         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38420         sigstate.
38421         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38423 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38425         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38426         priority against unexistent AIO_PRIO_DELTA_MAX.
38427         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38428         instead of int.
38429         * misc/fchflags.c (fchflags): Likewise.
38430         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38431         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38432         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38433         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38434         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38435         Declare macros.
38436         [__USE_MISC] (chflags, fchflags): Declare functions.
38437         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38438         EINVAL when nfds is greater than FD_SETSIZE.
38439         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38440         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38441         45.
38442         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38443         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38444         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38445         MACH_RCV_TIMED_OUT.
38446         * hurd/hurd/signal.h (_hurd_self_sigstate,
38447         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38448         Explicit casts from void *.
38449         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38450         * abi-tags: Rename gnu-gnu os into gnu.
38452         [BZ #4719]
38453         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38454         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38455         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38456         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38457         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38458         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38460         [BZ #17944]
38461         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38462         duplicates ADDR->sun_path with sockaddr LEN limitation.
38463         * sysdeps/mach/hurd/connect.c: Include <string.h>
38464         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38465         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38466         * sysdeps/mach/hurd/sendto.c: Likewise.
38467         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38468         implementing it by hand.
38470 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38472         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38473         Use sfi_breg on ldr.
38474         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38475         Likewise.
38477         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38478         it's defined.
38479         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38480         Test SIGSETXID only if it's defined.
38482         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38484         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38485         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38487         * nptl/tst-align2.c: Moved ...
38488         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38489         * nptl/Makefile (tests): Remove tst-align2.
38490         * sysdeps/unix/sysv/linux/Makefile
38491         [$(subdir) = nptl] (tests): Add tst-align-clone.
38492         * nptl/tst-getpid1.c: Moved ...
38493         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38494         * nptl/tst-getpid2.c: Moved ...
38495         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38496         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38497         * sysdeps/unix/sysv/linux/Makefile
38498         [$(subdir) = nptl] (tests): ... here.
38499         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38500         * sysdeps/unix/sysv/linux/Makefile
38501         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38503         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38504         Drop trailing \n from perror argument.  Use return rather than exit.
38506         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38507         on [SA_SIGINFO].
38508         * nptl/tst-cancel21.c (do_test): Likewise.
38509         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38510         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38511         [!SA_SIGINFO]: Make it a stub test.
38513         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38514         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38516         * posix/tst-getlogin.c: Move to ...
38517         * login/tst-getlogin.c: ... here.
38518         * posix/Makefile (tests): Move tst-getlogin to ...
38519         * login/Makefile (tests): ... here.
38521         * libio/tst-atime.c (do_test): Move local variables SV and E
38522         inside [ST_NOATIME] conditional.
38524         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38526         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38528         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38529         (wait_code): New function replaces macro.
38530         Call nanosleep rather than syscall.
38532         * nptl/pt-system.c: Rewritten.  Put everything under
38533         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38534         Use IFUNC to redirect when possible.
38536         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38537         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38538         Use IFUNC to redirect when possible.
38540         * nptl/pt-fork.c: Rewritten.  Put everything under
38541         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38542         Use IFUNC to redirect when possible.
38543         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38545         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38546         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38547         unconditionally nowadays.  This included the only reference to
38548         __vdso_clock_gettime that appears outside libc proper.
38549         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38550         Remove version set (containing only __vdso_clock_gettime).
38551         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38552         Add attribute_hidden.
38553         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38554         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38555         libc_hidden_data_def.
38556         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38557         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38559         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38560         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38561         setrpcent, and getrpcport to ...
38562         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38563         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38564         getrpcbynumber_r, and getrpcent_r to ...
38565         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38566         * inet/getrpcbyname.c: Moved ...
38567         * sunrpc/getrpcbyname.c: ... here.
38568         * inet/getrpcbyname_r.c: Moved ...
38569         * sunrpc/getrpcbyname_r.c: ... here.
38570         * inet/getrpcbynumber.c: Moved ...
38571         * sunrpc/getrpcbynumber.c: ... here.
38572         * inet/getrpcbynumber_r.c: Moved ...
38573         * sunrpc/getrpcbynumber_r.c: ... here.
38574         * inet/getrpcent.c: Moved ...
38575         * sunrpc/getrpcent.c: ... here.
38576         * inet/getrpcent_r.c: Moved ...
38577         * sunrpc/getrpcent_r.c: ... here.
38578         * inet/Makefile (routines): Move those to ...
38579         * sunrpc/Makefile (routines): ... here.
38580         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38581         the $(subdirs) list.
38582         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38583         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38584         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38585         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38587         * elf/Makefile (routines): Include $(all-dl-routines), not just
38588         $(dl-routines).
38589         (rtld-routines): Likewise.  Use = rather than :=.
38590         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38591         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38592         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38593         * sysdeps/arm/Makefile: Likewise.
38594         * sysdeps/i386/Makefile: Likewise.
38595         * sysdeps/x86_64/Makefile: Likewise.
38596         * sysdeps/hppa/Makefile [$(subdir) = elf]
38597         (sysdep_routines, sysdep-rtld-routines): Don't add
38598         $(sysdep-dl-routines) to these.
38599         * sysdeps/ia64/Makefile: Likewise.
38600         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38601         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38602         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38603         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38604         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38605         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38606         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38607         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38608         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38609         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38610         these; sysdep-dl-routines alone is enough.
38612 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38614         [BZ #17932]
38615         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38616         where multiplication results in zero and third argument is finite
38617         and nonzero.
38618         * math/auto-libm-test-in: Add more tests of fma.
38619         * math/auto-libm-test-out: Regenerated.
38621         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38622         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38623         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38624         (_FP_CMP_EQ): Likewise.
38625         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38627         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38628         extra argument CHECK_NAN.  Redefine as wrapper around
38629         _FP_EXTEND_CNAN.
38631 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38633         * version.h (RELEASE): Set to "stable".
38634         (VERSION): Set to "2.21"
38635         * include/features.h (__GLIBC_MINOR__): Set to 21.
38637         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38639 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38640             Paul Eggert  <eggert@cs.ucla.edu>
38642         [BZ #16618]
38643         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38644         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38645         size in bytes. Store needed elements in wpmax. Use needed size
38646         in bytes for extend_alloca.
38648 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38650         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38651         binutls 2.25, and texinfo 5.2.
38652         * INSTALL: Regenerate.
38653         * sysdeps/nios2/configure: Regenerate.
38654         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38655         * manual/contrib.texi: Update.
38656         * po/be.po: Update.
38657         * po/bg.po: Update.
38658         * po/ca.po: Update.
38659         * po/cs.po: Update.
38660         * po/da.po: Update.
38661         * po/de.po: Update.
38662         * po/el.po: Update.
38663         * po/eo.po: Update.
38664         * po/es.po: Update.
38665         * po/fi.po: Update.
38666         * po/fr.po: Update.
38667         * po/gl.po: Update.
38668         * po/hr.po: Update.
38669         * po/hu.po: Update.
38670         * po/ia.po: Update.
38671         * po/id.po: Update.
38672         * po/it.po: Update.
38673         * po/ja.po: Update.
38674         * po/ko.po: Update.
38675         * po/lt.po: Update.
38676         * po/nb.po: Update.
38677         * po/nl.po: Update.
38678         * po/pl.po: Update.
38679         * po/pt_BR.po: Update.
38680         * po/ru.po: Update.
38681         * po/rw.po: Update.
38682         * po/sk.po: Update.
38683         * po/sl.po: Update.
38684         * po/sv.po: Update.
38685         * po/tr.po: Update.
38686         * po/uk.po: Update.
38687         * po/vi.po: Update.
38688         * po/zh_CN.po: Update.
38689         * po/zh_TW.po: Update.
38691         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38692         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38693         * sysdeps/hppa/dl-irel.h: Remove #warning.
38694         * sysdeps/hppa/entry.h: Provide prototype for
38695         __canonicalize_funcptr_for_compare and cast argument.
38696         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38697         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38698         * sysdeps/hppa/sotruss-lib.c: New file.
38699         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38700         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38701         (atomic_compare_and_exchange_bool_acq): Likewise.
38702         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38703         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38705         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38706         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38707         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38709 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38711         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38712         called function in non-PIC case.
38714 2015-01-31  David S. Miller  <davem@davemloft.net>
38716         * sysdeps/sparc/sparc32/bits/atomic.h
38717         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38718         unlock not after it.
38719         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38720         volatile register usage warnings from the compiler.
38722         * sysdeps/sparc/nptl/sem_init.c: Delete.
38723         * sysdeps/sparc/nptl/sem_post.c: Delete.
38724         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38725         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38726         * sysdeps/sparc/sparc32/sem_init.c: New file.
38727         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38728         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38729         padding explicitly initialized.
38730         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38731         padding for in-semaphore spinlock.
38732         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38733         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38734         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38735         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38736         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38737         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38738         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38739         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38740         version.
38741         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38742         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38744 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38746         [BZ #17801]
38747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38748         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38749         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38750         New.
38751         (index_AVX_Fast_Unaligned_Load): Likewise.
38752         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38753         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38754         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38755         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38756         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38757         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38758         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38759         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38760         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38762 2015-01-29  Andreas Schwab  <schwab@suse.de>
38764         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38766 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38768         [BZ #17892]
38769         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38771 2015-01-28  Martin Sebor  <msebor@redhat.com>
38773         * math/README.libm-test: Clarify. Add "How to read the test output."
38775 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38777         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38778         Define to 0.
38780 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38782         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38783         (__HAVE_64B_ATOMICS): Define to 0.
38785 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38787         [BZ #17885]
38788         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38789         value to set as new flag.
38791         [BZ #16576]
38792         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38793         and use _ARCH_PPCSQ instead.
38794         (__ieee754_sqrt): Likewise.
38795         (__ieee754_sqrtf): Likewise.
38796         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38797         _ARCH_PPCSQ is defined.
38798         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38799         fsqrt instruction.
38800         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38801         _ARCH_PPCSQ is defined.
38802         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38803         fsqrts instruction.
38804         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38806 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38808         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38809         bug (GCC BZ #64739).
38811 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38813         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38814         Mark _retval as used.
38815         (lll_futex_wake_unlock): Likewise.
38816         (lll_futex_timed_wait_requeue_pi): Likewise.
38818         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38819         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38820         register variables.
38822         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38823         libm_hidden_def.
38825         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38826         (__bswap_64): Mark as __always_inline.
38828 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38830         [BZ #15378]
38831         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38832         when none of the search directories exist.
38834 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38836         [BZ #17869]
38837         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38838         power8 in .machine directive.
38840         [BZ #17868]
38841         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38842         set dependency from opd value.
38844 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38847         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38848         architecture.
38850 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38852         [BZ #17870]
38853         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38854         with uint64_t.
38855         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38856         (uint64_t) 1.
38857         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38858         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38859         Replace 1UL with (uint64_t) 1.
38860         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38861         int with uint64_t.
38863 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38865         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38866         (if_freenameindex): Likewise.
38868         * resource/getrlimit64.c: Add missing libc_hidden_def.
38870 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38872         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38873         __label__.
38874         (_FP_FMA): Likewise.
38875         (_FP_TO_INT_ROUND): Likewise.
38876         (_FP_FROM_INT): Likewise.
38878 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880         [BZ #16418]
38881         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38882         Make code racy and cancel safe.
38884 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38886         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38887         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38888         attribution.
38890         * pwd/tst-getpw.c: Rewrite.
38892         [BZ #17702]
38893         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38894         (modules-names): Add moddummy1 and moddummy2.
38895         ($(objpfx)tst-rec-dlopen): Define.
38896         * dlfcn/moddummy1.c: New file.
38897         * dlfcn/moddummy2.c: New file.
38898         * dlfcn/tst-rec-dlopen.c: New file.
38899         * elf/dl-cache.c (_dl_load_cache_lookup):
38900         Return char*. Copy result with alloca/strcpy/strdup.
38901         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38902         returns char*. Free cached. If not saving realname
38903         free cached.
38904         * elf/dl-open.c (dl_open_worker): Do not assert that
38905         _r_debug->r_state is RT_CONSISTENT.
38906         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38907         returns char*.
38909 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38910             Carlos O'Donell  <carlos@redhat.com>
38912         [BZ #12674]
38913         * nptl/sem_waitcommon.c: New file.
38914         * nptl/sem_wait.c: Include sem_waitcommon.c.
38915         (__sem_wait_cleanup, do_futex_wait): Remove.
38916         (__new_sem_wait): Adapt.
38917         (__new_sem_trywait): New function.
38918         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38919         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38920         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38921         (sem_timedwait): Adapt.
38922         * nptl/sem_post.c (__new_sem_post): Adapt.
38923         (futex_wake): New function.
38924         (__old_sem_post): Add release MO fence.
38925         * nptl/sem_open.c (sem_open): Adapt.
38926         * nptl/sem_init.c (__new_sem_init): Adapt.
38927         (futex_private_if_supported): New function.
38928         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38929         (__old_sem_getvalue): Add using previous code.
38930         * sysdeps/nptl/internaltypes.h: Adapt.
38931         * nptl/tst-sem13.c (do_test): Adapt.
38932         * nptl/tst-sem11.c (main): Adapt.
38933         * nptl/sem_trywait.c: Remove.
38934         * nptl/DESIGN-sem.txt: Remove.
38935         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38936         (gen-as-const-headers): Remove structsem.sym.
38937         * nptl/structsem.sym: Remove.
38938         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38939         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38940         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38941         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38942         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38943         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38944         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38945         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38946         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38947         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38948         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38949         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38950         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38951         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38952         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38953         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38954         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38955         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38956         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38957         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38958         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38959         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38961 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38963         * INSTALL: Regenerated.
38965         * po/libc.pot: Regenerated.
38967 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38968             Sandra Loosemore  <sandra@codesourcery.com>
38969             Andrew Jenner  <andrew@codesourcery.com>
38970             Joseph Myers  <joseph@codesourcery.com>
38971             Nathan Sidwell  <nathan@codesourcery.com>
38973         * NEWS: Mention new Nios II port.
38974         * sysdeps/nios2/Implies: New file.
38975         * sysdeps/nios2/Makefile: New file.
38976         * sysdeps/nios2/Subdirs: New file.
38977         * sysdeps/nios2/Versions: New file.
38978         * sysdeps/nios2/__longjmp.S: New file.
38979         * sysdeps/nios2/abort-instr.h: New file.
38980         * sysdeps/nios2/backtrace.c: New file.
38981         * sysdeps/nios2/bits/endian.h: New file.
38982         * sysdeps/nios2/bits/fenv.h: New file.
38983         * sysdeps/nios2/bits/link.h: New file.
38984         * sysdeps/nios2/bits/setjmp.h: New file.
38985         * sysdeps/nios2/bsd-_setjmp.S: New file.
38986         * sysdeps/nios2/bsd-setjmp.S: New file.
38987         * sysdeps/nios2/configure: New generated file.
38988         * sysdeps/nios2/configure.ac: New file.
38989         * sysdeps/nios2/crti.S: New file.
38990         * sysdeps/nios2/crtn.S: New file.
38991         * sysdeps/nios2/dl-init.c: New file.
38992         * sysdeps/nios2/dl-machine.h: New file.
38993         * sysdeps/nios2/dl-sysdep.h: New file.
38994         * sysdeps/nios2/dl-tls.h: New file.
38995         * sysdeps/nios2/dl-trampoline.S: New file.
38996         * sysdeps/nios2/gccframe.h: New file.
38997         * sysdeps/nios2/gmp-mparam.h: New file.
38998         * sysdeps/nios2/jmpbuf-offsets.h: New file.
38999         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39000         * sysdeps/nios2/ldsodefs.h: New file.
39001         * sysdeps/nios2/libc-tls.c: New file.
39002         * sysdeps/nios2/libm-test-ulps: New file.
39003         * sysdeps/nios2/machine-gmon.h: New file.
39004         * sysdeps/nios2/math-tests.h: New file.
39005         * sysdeps/nios2/math_private.h: New file.
39006         * sysdeps/nios2/memusage.h: New file.
39007         * sysdeps/nios2/nptl/Makefile: New file.
39008         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39009         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39010         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39011         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39012         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39013         * sysdeps/nios2/nptl/tls.h: New file.
39014         * sysdeps/nios2/preconfigure: New file.
39015         * sysdeps/nios2/s_fma.c: New file.
39016         * sysdeps/nios2/s_fmaf.c: New file.
39017         * sysdeps/nios2/setjmp.S: New file.
39018         * sysdeps/nios2/sfp-machine.h: New file.
39019         * sysdeps/nios2/sotruss-lib.c: New file.
39020         * sysdeps/nios2/stackguard-macros.h: New file.
39021         * sysdeps/nios2/stackinfo.h: New file.
39022         * sysdeps/nios2/start.S: New file.
39023         * sysdeps/nios2/sysdep.h: New file.
39024         * sysdeps/nios2/tls-macros.h: New file.
39025         * sysdeps/nios2/tst-audit.h: New file.
39026         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39027         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39028         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39029         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39030         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39031         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39032         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39033         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39034         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39035         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39036         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39037         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39038         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39039         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39040         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39041         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39042         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39043         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39044         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39045         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39046         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39047         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39048         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39049         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39050         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39051         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39052         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39053         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39054         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39055         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39056         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39057         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39058         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39059         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39060         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39061         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39062         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39063         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39064         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39065         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39066         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39067         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39068         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39069         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39071 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39073         [BZ #17844]
39074         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39075         (getutent): Use weak_alias in non SHARED case
39076         and default_symbol_version in SHARED case.
39077         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39078         (getutent_r, pututline): Likewise.
39079         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39080         (getutid): Likewise.
39081         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39082         (getutid_r): Likewise.
39083         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39084         (getutline): Likewise.
39085         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39086         (getutline_r): Likewise.
39087         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39088         (updwtmp): Likewise.
39090 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39092         [BZ #17848]
39093         * sysdeps/s390/s390-32/memcmp.S
39094         (memcmp_g5): Rename to __memcmp_g5.
39095         * sysdeps/s390/s390-32/memcpy.S
39096         (memcpy_g5): Rename to __memcpy_g5.
39097         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39098         (memcpy_mvcle) Rename to __memcpy_mvcle.
39099         * sysdeps/s390/s390-32/memset.S
39100         (memset_g5): Rename to __memset_g5.
39101         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39102         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39103         and use prefixed functions.
39104         * sysdeps/s390/s390-32/multiarch/memcmp.S
39105         (memcmp_z196): Rename to __memcmp_z196.
39106         (memcmp_z10): Rename to __memcmp_z10.
39107         (memcmp): Set alias to __memcmp_g5.
39108         (bcmp): Set alias to __memcmp_g5.
39109         * sysdeps/s390/s390-32/multiarch/memcpy.S
39110         (memcpy_z196): Rename to __memcpy_z196.
39111         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39112         (memcpy_z10): Rename to __memcpy_z10.
39113         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39114         (memcpy): Set alias to __memcpy_g5.
39115         * sysdeps/s390/s390-32/multiarch/memset.S
39116         (memset_z196): Rename to __memset_z196.
39117         Jump to __memset_mvcle instead of memset_mvcle.
39118         (memset_z10): Rename to __memset_z10.
39119         Jump to __memset_mvcle instead of memset_mvcle.
39120         (memset_mvcle) Rename to __memset_mvcle.
39121         (memset): Set alias to __memset_g5.
39122         * sysdeps/s390/s390-64/memcmp.S
39123         (memcmp_z900): Rename to __memcmp_z900.
39124         * sysdeps/s390/s390-64/memcpy.S
39125         (memcpy_z900): Rename to __memcpy_z900.
39126         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39127         (memcpy_mvcle) Rename to __memcpy_mvcle.
39128         * sysdeps/s390/s390-64/memset.S
39129         (memset_z900): Rename to __memset_z900.
39130         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39131         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39132         and use prefixed functions.
39133         * sysdeps/s390/s390-64/multiarch/memcmp.S
39134         (memcmp_z196): Rename to __memcmp_z196.
39135         (memcmp_z10): Rename to __memcmp_z10.
39136         (memcmp): Set alias to __memcmp_z900.
39137         (bcmp): Set alias to __memcmp_z900.
39138         * sysdeps/s390/s390-64/multiarch/memcpy.S
39139         (memcpy_z196): Rename to __memcpy_z196.
39140         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39141         (memcpy_z10): Rename to __memcpy_z10.
39142         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39143         (memcpy): Set alias to __memcpy_z900.
39144         * sysdeps/s390/s390-64/multiarch/memset.S
39145         (memset_z196): Rename to __memset_z196.
39146         Jump to __memset_mvcle instead of memset_mvcle.
39147         (memset_z10): Rename to __memset_z10.
39148         Jump to __memset_mvcle instead of memset_mvcle.
39149         (memset_mvcle) Rename to __memset_mvcle.
39150         (memset): Set alias to __memset_z900.
39152 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39154         [BZ #17748]
39155         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39156         __fesetenv instead of fesetenv.
39158 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39160         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39161         macro.
39163 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39165         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39166         regression on LE.
39168         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39169         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39170         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39171         strncmp-power8 object.
39172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39173         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39174         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39175         * NEWS: Update.
39177 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39178             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39180         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39181         trailing byte check.
39183 2015-01-13  David S. Miller  <davem@davemloft.net>
39185         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39187 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39189         * login/logout.c (logout): Use memset rather than bzero.
39190         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39191         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39192         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39193         (_gethtbyaddr): Likewise.
39194         * locale/programs/simple-hash.c (bcopy): Macro removed.
39196 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39198         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39199         Add strcmp-power8 object.
39200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39201         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39202         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39203         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39204         __strcmp_power8 implementation.
39205         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39206         * NEWS: Update.
39208         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39209         Add strncpy-power8 and stpncpy-power8 objects.
39210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39211         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39212         implementations.
39213         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39214         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39215         __stpncpy_power8 implementation.
39216         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39217         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39218         __strncpy_power8 implementation.
39219         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39220         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39221         * NEWS: Update.
39223         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39224         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39225         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39228         strncat-power8 object.
39229         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39230         __strcat_power8 implementation.
39231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39232         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39233         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39234         optimized strcat for power8.
39236         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39237         strcpy-power8 and stpcpy-power8 objects.
39238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39239         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39240         implementations.
39241         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39242         multiarch stpcpy implementation for POWER8.
39243         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39244         multiarch strcpy implementation for POWER8.
39245         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39246         __strcpy_power8 function.
39247         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39248         stpcpy for POWER8.
39249         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39250         strcpy for POWER8.
39251         * NEWS: Update.
39253 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39255         [BZ #16009]
39256         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39257         weights and rules. Use do_xfrm_cached if data fits in cache,
39258         do_xfrm otherwise.  Moved former main loop to...
39259         * (do_xfrm_cached): New function.
39260         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39261         find_idx, find_position and stack_push.
39262         * (find_idx): New function.
39263         * (find_position): Likewise.
39264         * localedata/sort-test.sh: Added test run for do_xfrm.
39265         * localedata/xfrm-test.c (main): Added command line option
39266         -nocache to run the test with strings that are too large for
39267         the STRXFRM cache.
39269 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39271         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39272         variable to lll_futex_wake call, not the value itself.
39274 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39276         [BZ #17803]
39277         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39278         twom64.  Adjust value to 0x1p-64L.
39279         (__scalblnl): Only return standard underflowing result for K <=
39280         -64 not K <= -63; adjust exponent for underflowing result by 64
39281         not 63.
39282         * math/libm-test.inc (scalbn_test_data): Add more tests.
39283         (scalbln_test_data): Likewise.
39285         [BZ #17834]
39286         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39287         0x1p63L.
39288         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39289         not HX.
39290         * math/libm-test.inc (scalbn_test_data): Add more tests.
39291         (scalbln_test_data): Likewise.
39293 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39294             Stefani Seibold  <stefani@seibold.net>
39296         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39297         (sysdep_routines): Add dl-vdso here, ...
39298         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39299         (sysdep_routines): ... not here.
39300         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39301         fallback when vDSO is not presented.
39302         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39303         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39304         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39305         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39306         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39307         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39308         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39309         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39310         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39311         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39312         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39313         fallback configurable symbol when vDSO is not available.
39314         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39315         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39316         be able to redefine fallback symbol when vDSO is not available.
39317         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39318         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39320 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39322         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39323         (TLS_INIT_TP): Add tm_capable initialization.
39324         (TLS_DEFINE_INIT_TP): Likewise.
39325         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39326         TCB.
39327         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39328         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39329         calculation.
39330         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39331         transactoion is lock elision is built and TCB tm_capable is set.
39332         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39334         (INTERNAL_SYSCALL_NCS): Likewise.
39335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39336         (INTERNAL_SYSCALL_NCS): Likewise.
39337         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39339         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39340         for powerpc.
39341         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39342         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39343         and remove it for 32 bits case.
39344         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39346         initialization.
39347         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39348         Disable lock elision with rdlocks if elision is not available.
39350         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39351         (sysdep_routines): Add lock elision objects.
39352         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39353         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39354         [pthread_mutex_t] (__elision): Add field.
39355         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39356         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39357         elision definitions for powerpc.
39358         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39359         implementation of lock elision for powerpc.
39360         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39361         implementation of timed lock elision for powerpc.
39362         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39363         implementation of trylock with lock elision for powerpc.
39364         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39365         implementaion of unlock for lock elision for powerpc.
39366         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39367         automatic enable lock elision for mutexes.
39368         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39369         transaction execution definitions for powerpc.
39370         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39371         definitions.
39372         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39373         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39374         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39375         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39376         * NEWS: Update.
39378 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39380         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39381         for #include of <shm-directory.h>.
39383 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39386         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39388 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39390         [BZ #17791]
39391         * NEWS: Mention bug fix.
39392         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39393         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39394         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39396 2015-01-09  Torvald Riegel <triegel@redhat.com>
39398         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39400 2015-01-09  Torvald Riegel <triegel@redhat.com>
39402         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39404 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39406         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39407         pointer and cast to uintptr_t.
39409 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39411         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39412         removed.
39413         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39415 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39417         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39418         of 0.
39420 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39422         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39423         <nptl/pthreadP.h> instead.
39424         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39426         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39427         already defined.
39428         [__SIGRTMIN] (init): Function removed.
39429         [__SIGRTMIN] (initialized): Variable removed.
39430         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39431         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39432         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39433         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39434         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39435         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39436         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39437         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39438         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39439         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39440         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39441         * sysdeps/nptl/allocrtsig.c: New file.
39442         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39443         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39444         * sysdeps/generic/testrtsig.h: File removed.
39446         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39447         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39449         * nptl/nptl-init.c (pthread_functions): Conditionalize
39450         .ptr__nptl_setxid initialization on [SIGSETXID].
39452         * sysdeps/nptl/sys/procfs.h: New file.
39453         * nptl_db/Makefile (headers): Add it.
39454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39456         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39457         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39458         * nptl/pthread_attr_setaffinity.c: Include it.
39459         * nptl/pthread_setattr_default_np.c: Likewise.
39460         * nptl/check-cpuset.h: New file.
39462 2015-01-08  Richard Henderson  <rth@redhat.com>
39464         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39465         (CFLAGS-tst-execstack-prog.c): Likewise.
39466         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39468 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39469             Sandra Loosemore  <sandra@codesourcery.com>
39470             Andrew Jenner  <andrew@codesourcery.com>
39471             Joseph Myers  <joseph@codesourcery.com>
39472             Nathan Sidwell  <nathan@codesourcery.com>
39474         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39475         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39476         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39477         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39478         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39479         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39480         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39481         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39482         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39483         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39484         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39485         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39486         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39487         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39488         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39489         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39490         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39492 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39494         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39495         timespec struct member in syscall macro.
39496         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39497         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39498         first timeval struct member in syscall macro.
39499         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39501 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39503         [BZ #17748]
39504         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39505         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39506         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39507         __feupdateenv and define as weak alias of __feupdateenv.  Use
39508         libm_hidden_weak.
39509         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39510         libm_hidden_def.
39511         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39512         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39513         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39514         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39515         libm_hidden_def.
39516         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39517         __feupdateenv and define as weak alias of __feupdateenv.  Use
39518         libm_hidden_weak.
39519         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39520         libm_hidden_def.
39521         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39522         __feupdateenv and define as weak alias of __feupdateenv.  Use
39523         libm_hidden_weak.
39524         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39525         libm_hidden_def.
39526         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39527         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39528         (__feupdateenv): Likewise.
39529         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39530         __feupdateenv and define as weak alias of __feupdateenv.  Use
39531         libm_hidden_weak.
39532         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39533         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39534         libm_hidden_def.
39535         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39536         function.
39537         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39538         libm_hidden_def.
39539         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39540         __feupdateenv instead of feupdateenv.
39541         (default_libc_feupdateenv_test): Likewise.
39542         (libc_feresetround_ctx): Likewise.
39544 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39546         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39547         prototype.
39549 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39551         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39552         COLL_SYM in a couple of places to avoid uninitialized variable
39553         wanings on tilegx gcc 4.8.2.
39555 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39557         * sysdeps/aarch64/strcpy.S: New file.
39558         * sysdeps/aarch64/stpcpy.S: New file.
39559         * NEWS: Updated.
39561 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39563         * sysdeps/aarch64/strrchr.S: New file.
39564         * NEWS: Updated.
39566 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39568         [BZ #17658]
39569         * stdlib/setenv.c: Fix memory leak when setting large,
39570         duplicate string.
39572 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39574         [BZ #17273]
39575         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39576         and tabs from buffer before parsing fstab entry.
39577         * misc/tst-mntent.c (main): Add test for mount entry with
39578         trailing spaces and tabs.
39580 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39582         [BZ #17748]
39583         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39584         * math/fesetround.c (fesetround): Rename to __fesetround and
39585         define as weak alias of __fesetround.  Use libm_hidden_weak.
39586         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39587         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39588         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39589         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39590         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39591         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39592         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39593         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39594         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39595         __fesetround_inline.
39596         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39597         __fesetround_inline instead of __fesetround.
39598         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39599         __fesetround and define as weak alias of __fesetround.  Use
39600         libm_hidden_weak.  Call __fesetround_inline instead of
39601         __fesetround.
39602         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39603         __fesetround and define as weak alias of __fesetround.  Use
39604         libm_hidden_weak.
39605         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39606         Likewise.
39607         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39608         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39609         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39610         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39611         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39612         __fesetround and define as weak alias of __fesetround.  Use
39613         libm_hidden_weak.
39614         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39615         __fesetround instead of fesetround.
39616         (default_libc_feholdexcept_setround): Likewise.
39617         (libc_feholdsetround_ctx): Likewise.
39618         (libc_feholdsetround_noex_ctx): Likewise.
39620         [BZ #17748]
39621         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39622         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39623         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39624         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39625         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39626         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39627         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39628         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39629         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39630         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39631         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39632         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39633         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39634         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39635         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39636         libm_hidden_def.
39637         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39639         Likewise.
39640         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39641         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39642         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39643         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39644         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39645         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39646         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39647         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39648         __fesetenv instead of fesetenv.
39649         (libc_feresetround_noex_ctx): Likewise.
39650         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39651         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39652         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39653         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39654         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39655         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39656         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39657         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39658         (__feupdateenv): Likewise.
39659         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39660         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39661         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39662         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39664 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39666         [BZ #17806]
39667         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39668         addresses have been freed.
39670 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39672         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39673         and nservall.
39675 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39677         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39678         Clean up check_pf allocation pattern. addresses
39680 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39682         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39683         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39684         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39685         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39686         * nptl/pthread_join.c (pthread_join): Likewise.
39687         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39688         * sysdeps/posix/waitid.c (__waitid): Likewise.
39689         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39690         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39691         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39692         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39694         Likewise.
39695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39696         (__libc_pread64): Likewise.
39697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39698         (__libc_pwrite): Likewise.
39699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39700         (__libc_pwrite64): Likewsie.
39701         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39702         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39703         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39704         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39705         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39706         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39707         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39709         Likewise.
39710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39711         (__libc_pread64): Likewise.
39712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39713         Likewise.
39714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39715         (__libc_pwrite64): Likewise.
39716         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39717         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39718         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39719         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39720         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39721         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39722         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39723         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39724         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39725         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39726         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39727         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39728         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39729         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39730         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39731         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39732         Likewise.
39734 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39736         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39737         (CFLAGS-test-double.c): Likewise.
39738         (CFLAGS-test-ldouble.c): Likewise.
39739         (CPPFLAGS-test-ifloat.c): Likewise.
39740         (CPPFLAGS-test-idouble.c): Likewise.
39741         (CPPFLAGS-test-ildoubl.c): Likewise.
39742         (CFLAGS-test-test-fenv.c): Remove variable.
39743         (CFLAGS-test-misc.c): Likewise.
39745 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39747         [BZ #17797]
39748         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39749         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39750         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39751         CLOCKS_PER_SEC == 1000000.
39752         * time/clocktest.c (main): Replace %ld with %jd and cast to
39753         intmax_t.
39755 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39757         * sysdeps/generic/unwind-resume.h: New file.
39758         * sysdeps/gnu/unwind-resume.c: Include it.
39759         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39760         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39761         argument list.
39762         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39763         global rather than static.
39764         (_Unwind_Resume): Update user.
39765         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39766         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39767         rather than static.  Add __attribute__ ((cold)).
39768         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39769         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39770         * sysdeps/arm/arm-unwind-resume.S: New file.
39771         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39772         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39773         * sysdeps/arm/Makefile [$(subdir) = csu]
39774         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39775         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39776         Add rt-arm-unwind-resume.
39777         [$(subdir) = nptl]
39778         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39779         Add pt-arm-unwind-resume.
39780         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39781         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39783 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39785         [BZ #17748]
39786         * include/fenv.h (__feholdexcept): Declare.  Use
39787         libm_hidden_proto.
39788         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39789         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39790         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39791         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39792         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39793         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39794         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39795         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39796         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39797         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39798         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39799         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39800         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39801         (feholdexcept): Likewise.
39802         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39803         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39804         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39805         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39806         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39807         __feholdexcept instead of feholdexcept.
39808         (default_libc_feholdexcept_setround): Likewise.
39810 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39812         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39813         to avoid using stl/str to align destination.
39815 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39817         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39819 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39821         [BZ #17796]
39822         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39823         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39824         Define as weak alias not strong alias.
39826 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39828         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39829         bltzal with addiupc.
39830         (RTLD_START): Ditto.
39832 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39834         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39835         for __vdso_* functions in declarations.
39836         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39837         definitions.
39838         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39839         INTERNAL_VSYSCALL): Use struct return types to check for error.
39841         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39842         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39843         function with cast from llround().
39844         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39845         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39846         Define.
39848 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39850         [BZ #17793]
39851         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39852         Define as weak alias not strong alias.
39854         [BZ #17635]
39855         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39856         ...
39857         * ctype/ctype-extn.c: ... here.
39858         (__isblank_l): Move to ...
39859         * ctype/ctype-c99_l.c: ... here.  New file.
39860         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39861         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39862         Remove variable.
39863         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39864         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39865         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39866         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39867         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39869         [BZ #17777]
39870         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39871         (posix_fadvise64): Define as weak alias not strong alias.
39872         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39873         (posix_fallocate64): Likewise.
39874         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39875         Remove variable.
39876         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39877         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39878         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39879         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39880         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39882 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39884         [BZ #16191]
39885         * NEWS: Mention bug fix.
39886         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39887         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39888         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39889         (HOST_STACK_END_ADDR): Likewise.
39891 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39893         [BZ #17748]
39894         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39895         * math/fegetround.c (fegetround): Rename to __fegetround and
39896         define as weak alias of __fegetround.  Use libm_hidden_weak.
39897         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39898         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39899         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39900         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39901         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39902         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39903         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39904         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39905         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39906         Undefine after rather than before function definition; use
39907         parentheses around function name in definition.
39908         (__fegetround): Also undefine macro after function definition.
39909         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39910         __fegetround and define as weak alias of __fegetround.  Use
39911         libm_hidden_weak.  Do not undefine as macro.
39912         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39913         Likewise.
39914         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39915         __fegetround and define as weak alias of __fegetround.  Use
39916         libm_hidden_weak.
39917         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39918         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39919         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39920         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39921         __fegetround and define as weak alias of __fegetround.  Use
39922         libm_hidden_weak.
39923         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39924         __fegetround instead of fegetround.
39926         [BZ #17782]
39927         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39928         Condition macro definition on [__USE_MISC].
39930         [BZ #17781]
39931         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39932         (struct sigaction): Change type of sa_flags field to int.
39934         [BZ #17780]
39935         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39936         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39937         __glibc_reserved0.
39939         * nptl/version.c (banner): Use single year in copyright notice.
39941         * NEWS: Update copyright dates.
39942         * catgets/gencat.c (print_version): Likewise.
39943         * csu/version.c (banner): Likewise.
39944         * debug/catchsegv.sh: Likewise.
39945         * debug/pcprofiledump.c (print_version): Likewise.
39946         * debug/xtrace.sh (do_version): Likewise.
39947         * elf/ldconfig.c (print_version): Likewise.
39948         * elf/ldd.bash.in: Likewise.
39949         * elf/pldd.c (print_version): Likewise.
39950         * elf/sotruss.sh: Likewise.
39951         * elf/sprof.c (print_version): Likewise.
39952         * iconv/iconv_prog.c (print_version): Likewise.
39953         * iconv/iconvconfig.c (print_version): Likewise.
39954         * locale/programs/locale.c (print_version): Likewise.
39955         * locale/programs/localedef.c (print_version): Likewise.
39956         * login/programs/pt_chown.c (print_version): Likewise.
39957         * malloc/memusage.sh (do_version): Likewise.
39958         * malloc/memusagestat.c (print_version): Likewise.
39959         * malloc/mtrace.pl: Likewise.
39960         * manual/libc.texinfo: Likewise.
39961         * nptl/version.c (banner): Likewise.
39962         * nscd/nscd.c (print_version): Likewise.
39963         * nss/getent.c (print_version): Likewise.
39964         * nss/makedb.c (print_version): Likewise.
39965         * posix/getconf.c (main): Likewise.
39966         * scripts/test-installation.pl: Likewise.
39967         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39969 2015-01-02  Will Newton  <will.newton@linaro.org>
39971         * sysdeps/arm/armv7/configure: Removed.
39972         * sysdeps/arm/armv7/configure.ac: Likewise.
39974 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39976         * All files with FSF copyright notices: Update copyright dates
39977         using scripts/update-copyrights.
39978         * intl/plural.c: Regenerated.
39979         * locale/programs/charmap-kw.h: Likewise.
39980         * locale/programs/locfile-kw.h: Likewise.
39982 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39984         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39986 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39988         [BZ #17748]
39989         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39990         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39991         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39992         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39993         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39994         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39995         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39996         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39997         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39998         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39999         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40000         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40001         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40002         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40003         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40004         libm_hidden_def.
40005         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40006         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40007         Likewise.
40008         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40009         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40010         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40011         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40012         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40013         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40014         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40015         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40016         __fegetenv instead of fegetenv.
40017         (libc_feholdsetround_noex_ctx): Likewise.
40019 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40021         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40022         (Elf_MIPS_ABIFlags_v0): New structure.
40023         (EF_MIPS_FP64): Define.
40024         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40025         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40026         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40027         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40028         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40029         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40030         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40031         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40032         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40033         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40034         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40035         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40036         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40037         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40038         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40039         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40040         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40041         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40042         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40043         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40044         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40045         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40046         field.
40047         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40048         EF_MIPS_FP64.
40049         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40050         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40051         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40052         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40053         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40054         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40055         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40056         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40057         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40058         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40059         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40060         record the current FP ABI extension.
40061         (mips-mode-switch): Define to show if kernel headers support mode
40062         switching.
40063         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40064         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40065         supported SYSV ABI version to 3.
40066         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40067         feature.
40069 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40070             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40072         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40073         path.
40074         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40076 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40078         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40079         __fegetround and redefine to call __fegetround.  Remove condition
40080         on [!__NO_MATH_INLINES].
40081         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40082         function.
40083         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40084         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40085         Remove macro.
40086         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40087         instead of <fenv_libc.h>.
40088         (__llrintl): Call fegetround instead of __fegetround.
40089         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40090         instead of <fenv_libc.h>.
40091         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40092         (__lrintl): Call fegetround instead of __fegetround.
40093         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40094         instead of <fenv_libc.h>.
40095         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40096         (__rintl): Call fegetround instead of __fegetround.
40098 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40100         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40101         arrays.
40103 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40105         [BZ #17775]
40106         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40107         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40108         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40110 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40112         * sysdeps/i386/tls-macros.h: Include <features.h>.
40113         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40114         (TLS_IE): Likewise.
40115         (TLS_LD): Likewise.
40116         (TLS_GD): Likewise.
40117         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40118         define for GCC >= 5.0.
40120 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40122         * math/test-fenv.c (test_single_exception, set_single_exc,
40123         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40124         feexcp_mask_test, feenable_test, fe_single_test): Add
40125         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40126         case where they are not used.
40127         * math/libm-test.inc: Likewise.
40128         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40129         unused in the absence of FP rounding/exception support.
40130         * stdio-common/tst-printf-round.c: Likewise.
40131         * stdlib/tst-strtod-round.c: Likewise.
40132         * stdlib/tst-strtod-underflow.c: Likewise.
40134 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40136         [BZ #17723]
40137         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40138         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40139         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40140         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40141         libm_hidden_weak.
40142         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40143         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40144         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40145         libm_hidden_def.
40146         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40147         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40148         libm_hidden_weak.
40149         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40150         Likewise.
40151         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40152         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40153         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40154         libm_hidden_weak.
40155         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40156         libm_hidden_def.
40157         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40158         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40159         (__feraiseexcept): Likewise.
40160         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40161         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40162         libm_hidden_weak.
40163         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40164         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40165         libm_hidden_def.
40166         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40167         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40168         Use libm_hidden_def.
40169         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40170         libm_hidden_def.
40171         (feraiseexcept): Define as weak not strong alias.  Use
40172         libm_hidden_weak.
40173         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40174         New inline function.  Factored out of ...
40175         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40176         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40177         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40178         feraiseexcept.
40179         * math/w_acos.c (__acos): Likewise.
40180         * math/w_asin.c (__asin): Likewise.
40181         * math/w_ilogb.c (__ilogb): Likewise.
40182         * math/w_j0.c (y0): Likewise.
40183         * math/w_j1.c (y1): Likewise.
40184         * math/w_jn.c (yn): Likewise.
40185         * math/w_log.c (__log): Likewise.
40186         * math/w_log10.c (__log10): Likewise.
40187         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40188         * sysdeps/aarch64/fpu/math_private.h
40189         (libc_feupdateenv_test_aarch64): Likewise.
40190         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40191         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40192         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40193         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40194         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40195         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40196         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40197         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40198         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40199         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40201 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40203         [BZ #17732]
40204         * io/test-utime.c (main): Replace %ld with %jd and cast to
40205         intmax_t.
40206         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40207         * nptl/tst-mutex5.c: Include <stdint.h>.
40208         (do_test): Replace %ld with %jd and cast to intmax_t.
40209         * posix/tst-regex.c (run_test): Likewise.
40210         (run_test_backwards): Likewise.
40211         * rt/tst-clock.c: Include <stdint.h>.
40212         (clock_test): Replace %ld with %jd and cast to intmax_t.
40213         * rt/tst-cpuclock1.c: Include <stdint.h>.
40214         (do_test): Replace %lu with %ju and cast to uintmax_t.
40215         * rt/tst-cpuclock2.c: Include <stdint.h>.
40216         (do_test): Replace %lu with %ju and cast to uintmax_t.
40217         * rt/tst-mqueue1.c: Include <stdint.h>.
40218         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40219         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40220         intmax_t.
40221         * rt/tst-mqueue4.c (do_test): Likewise.
40222         * rt/tst-timer4.c: Include <stdint.h>.
40223         (check_ts): Replace %ld with %jd and cast to intmax_t.
40224         (do_test): Likewise.
40225         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40226         and cast to intmax_t.
40227         * sysdeps/pthread/tst-timer.c (main): Likewise.
40228         * time/clocktest.c (main): Likewise.
40229         * time/tst-posixtz.c (do_test): Likewise.
40230         * timezone/tst-timezone.c (main): Likewise.
40232 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40233             H.J. Lu  <hongjiu.lu@intel.com>
40235         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40236         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40237         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40238         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40239         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40240         version if bit_Fast_Unaligned_Load is set.
40241         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40242         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40243         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40244         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40245         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40246         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40248         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40249         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40250         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40251         to 4.
40252         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40253         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40254         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40255         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40257 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40259         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40260         instead of #if to avoid a Wundef warning.
40261         * stdlib/tst-limits.c (do_test): Likewise.
40263         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40264         parallel other exception macros.
40265         (fegetenv): Convert from macro to extern inline so that it applies
40266         retroactively to inline functions already seen by the compiler.
40267         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40269         * posix/Makefile (before-compile): Use $(objpfx) for
40270         posix-conf-vars-def.h.
40272 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40274         * posix/getconf.c (main): Use size_t for type of I.
40275         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40276         NSPEC.
40278         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40279         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40280         * posix/posix-envs.def: Likewise.
40281         * sysdeps/posix/sysconf.c: Likewise.
40282         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40283         (specs): Remove array.
40284         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40285         array.
40287         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40288         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40289         (__sysconf): Use CONF_IS_* macros.
40291         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40292         ($(objpfx)posix-conf-vars-def.h): New target.
40293         * posix/posix-conf-vars.list: New file.
40294         * posix/posix-conf-vars.h: New file.
40295         * posix/confstr.c: Include posix-conf-vars.h.
40296         (confstr): Use CONF_IS_* macros.
40297         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40298         CONF_IS_* macros.
40299         * scripts/gen-posix-conf-vars.awk: New file.
40301 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40303         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40304         fegetround): Add no-op macros to avoid linknamespace issues.
40306         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40307         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40309         * sysdeps/unix/sysv/linux/tile/sysdep.h
40310         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40311         assembly-specific section to avoid a redefinition warning.
40313         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40314         long before casting to pointer to avoid a cast warning.
40316 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40318         * sysdeps/tile/tilegx/Implies: New file.
40320 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40322         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40324 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40326         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40328 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40331         not define.
40332         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40333         <kernel-features.h>.
40334         (__utimes) [__NR_utimes]: Make code unconditional.
40335         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40336         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40337         (__ASSUME_UTIMES): Do not undefine.
40338         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40339         (__ASSUME_UTIMES): Likewise.
40340         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40341         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40342         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40343         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40345 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40347         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40349 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40351         [BZ #17747]
40352         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40353         alias to weak alias for j0l, y0l.
40354         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40355         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40357         [BZ #17746]
40358         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40359         conversion.
40361 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40363         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40364         to zero if not already defined.
40366 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40368         [BZ #17724]
40369         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40370         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40371         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40372         (char *) casts added.
40373         * sysdeps/ieee754/k_standardf.c: New file.
40374         * sysdeps/ieee754/k_standardl.c: Likewise.
40375         * math/Makefile (libm-support): Remove k_standard.
40376         (libm-calls): Add k_standard.
40378 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40380         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40381         Optimize to avoid an unnecessary FPCR read.
40383 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40385         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40386         Optimize to reduce FPCR/FPSR accesses.
40388 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40390         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40391         Call libc_fetestexcept_aarch64.
40393 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40395         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40396         Call libc_fesetround_aarch64.
40398 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40400         [BZ #17733]
40401         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40402         (__bind): Do not define as weak alias.
40403         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40404         define.
40405         (__getsockname): Do not define as weak alias.
40407 2014-12-22  Will Newton  <will.newton@linaro.org>
40409         * manual/install.texi: Document that we require bison 2.7
40410         or above.
40411         * INSTALL: Regenerate.
40412         * configure.ac: Use AC_CHECK_PROG_VER instead of
40413         AC_PATH_PROG when checking for bison and check for
40414         version 2.7 or above.
40415         * configure: Regenerate.
40417 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40419         [BZ #17745]
40420         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40421         * sysdeps/tile/ffsll.c (ffsll): To here.
40423         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40425 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40427         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40428         if not defined.
40429         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40430         definition.
40431         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40432         hidden ___tls_get_addr.
40433         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40434         hidden __tls_get_addr.
40435         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40436         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40437         Likewise.
40439 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40441         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40442         _dl_init call.
40444 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40446         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40447         from "call _dl_init@PLT".
40448         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40450 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40452         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40453         guarantees.
40455 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40457         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40459 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40461         [BZ #17744]
40462         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40463         strnlen.
40465 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40467         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40468         of multu on MIPSr6.
40469         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40470         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40471         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40472         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40473         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40475 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40477         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40478         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40479         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40480         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40481         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40482         mips32r6/mips64r6.
40483         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40485 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40487         * string/strncat.c (STRNCAT): Simplify implementation.
40489 2014-12-19  David S. Miller  <davem@davemloft.net>
40491         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40492         access the quad as both a long double and as a series of 4 words.
40494         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40495         link_map->l_info array access.
40497 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40499         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40501         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40502         * math/atest-exp2.c (TIMEOUT): Likewise.
40503         * math/atest-sincos.c (TIMEOUT): Likewise.
40505 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40507         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40508         -Wno-error with -fno-builtin-lround.
40510 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40512         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40513         Contains futex constants and functions moved over from ...
40514         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40515         <lowlevellock-futex.h>.
40516         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40517         (lll_timedwait_tid): Add comments and parentheses around macro
40518         arguments.
40520 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40523         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40524         (__lll_private_flag): Remove.
40525         (lll_futex_wait): Likewise.
40526         (lll_futex_timed_wait): Likewise.
40527         (lll_futex_wake): Likewise.
40528         (lll_futex_requeue): Likewise.
40529         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40530         (__lll_timedwait_tid): Spell out argument names.
40531         (lll_timedwait_tid): Add comments and parentheses around macro
40532         arguments.
40533         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40534         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40536 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40538         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40539         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40540         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40541         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40542         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40543         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40544         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40545         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40546         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40547         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40548         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40549         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40551         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40552         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40553         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40554         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40555         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40556         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40558 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40560         * sysdeps/x86_64/x32/Makefile: New file.
40562 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40564         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40565         1L with (mp_limb_t) 1.
40567 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40569         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40570         * nptl/libc_pthread_init.c: ... here.
40571         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40572         * nptl/register-atfork.c: ... here.
40574         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40575         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40576         Use assert_perror to check its return value.
40577         (__gai_create_helper_thread): Likewise.
40579         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40581         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40583 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40585         [BZ #17725]
40586         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40587         __profil_counter.
40588         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40589         Likewise.
40590         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40591         Likewise.
40592         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40593         Likewise.
40594         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40595         (profil_counter): Likewise.
40596         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40597         (profil_counter): Likewise.
40598         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40599         Likewise.
40600         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40601         Likewise.
40602         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40603         (profil_counter): Likewise.
40604         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40605         Likewise.
40606         [!__profil_counter] (profil_counter): Define as weak alias of
40607         __profil_counter.
40608         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40609         (profil_counter): Rename to __profil_counter.
40610         [!__profil_counter] (profil_counter): Define as weak alias of
40611         __profil_counter.
40612         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40613         (profil_counter): Rename to __profil_counter.
40614         [!__profil_counter] (profil_counter): Define as weak alias of
40615         __profil_counter.
40616         * sysdeps/posix/profil.c: Update comment referring to
40617         profil_counter.
40618         (__profil): Use __profil_counter instead of profil_counter.
40619         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40620         __profil_counter.  Use __profil_counter_ushort and
40621         __profil_counter_uint in definitions.
40622         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40623         instead of profil_counter_uint and profil_counter_ushort.
40625         [BZ #17722]
40626         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40627         define as weak alias of __inet_makeaddr.
40628         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40629         as weak alias of __inet_addr.
40630         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40631         as weak alias of __inet_pton.  Use libc_hidden_weak.
40632         * include/arpa/inet.h (__inet_pton): Declare.  Use
40633         libc_hidden_proto.
40634         (inet_makeaddr): Don't use libc_hidden_proto.
40635         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40636         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40637         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40638         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40639         Remove variable.
40640         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40641         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40643 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40645         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40647 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40649         * stdio-common/bug-vfprintf-nargs.c (do_test):
40650         Cast value to intptr_t to avoid format warning
40651         for usage with PRIdPTR printing macro.
40653 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40655         * libio/tst-widetext.c (do_test):
40656         Use format type %td instead of %Zd for ptrdiff_t
40657         in order to avoid format warning.
40659 2014-12-17  Andreas Schwab  <schwab@suse.de>
40661         * nscd/mem.c (gc): Add size_t cast to match printf format.
40663 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40665         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40666         (init): Apply PTR_MANGLE to pointers before storing them.
40667         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40668         before using them.
40670 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40672         [BZ #17719]
40673         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40674         define as weak alias of __memrchr.
40675         (__memrchr): Do not define as strong alias of memrchr.
40676         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40677         Remove variable.
40678         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40679         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40680         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40682         [BZ #17717]
40683         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40684         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40685         (if_indextoname): Rename to __if_indextoname and define as weak
40686         alias of __if_indextoname.  Use libc_hidden_weak.
40687         (if_freenameindex): Rename to __if_freenameindex and define as
40688         weak alias of __if_freenameindex.
40689         (if_nameindex): Rename to __if_nameindex and define as weak alias
40690         of __if_nameindex.
40691         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40692         __if_nametoindex and define as weak alias of __if_nametoindex.
40693         Use libc_hidden_weak.
40694         (if_freenameindex): Rename to __if_freenameindex and define as
40695         weak alias of __if_freenameindex.
40696         (if_nameindex): Rename to __if_nameindex and define as weak alias
40697         of __if_nameindex.
40698         (if_indextoname): Rename to __if_indextoname and define as weak
40699         alias of __if_indextoname.  Use libc_hidden_weak.
40700         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40701         __if_nametoindex and define as weak alias of __if_nametoindex.
40702         Use libc_hidden_weak.
40703         (if_freenameindex): Rename to __if_freenameindex and define as
40704         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40705         (if_nameindex_netlink): Use __if_freenameindex instead of
40706         if_freenameindex.
40707         (if_nameindex): Rename to __if_nameindex and define as weak alias
40708         of __if_nameindex.  Use libc_hidden_weak.
40709         (if_indextoname): Rename to __if_indextoname and define as weak
40710         alias of __if_indextoname.  Use libc_hidden_weak.
40711         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40712         libc_hidden_proto.
40713         [!_ISOMAC] (__if_freenameindex): Likewise.
40714         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40715         if_nametoindex.
40716         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40717         variable.
40718         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40719         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40720         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40721         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40722         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40723         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40724         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40726         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40727         Remove variable.
40728         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40729         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40731 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40733         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40734         subscript above bounds'
40736         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40737         bounds.
40739 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40741         * libio/tst-fopenloc.c: Use test-skeleton.c.
40743         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40744         (entry): Rename to ITEM.
40745         (do_test, comp): Adjust.
40747         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40749 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40751         * string/tester.c: Include <libc-internal.h>.
40752         (test_memset): Ignore -Wmemset-transposed-args.
40754 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40756         * misc/tst-mntent2.c (do_test): Fix warning.
40758 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40760         * elf/tst-unique4lib.cc(a): Mark as used.
40762 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40764         [BZ #17630]
40765         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40766         names.
40768 2014-12-16  Allan McRae  <allan@archlinux.org>
40770         * stdio-common/Makefile (tests): Re-add bug26.
40772 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40774         [BZ #17657]
40775         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40776         static array.
40778 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40780         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40781         (__lll_lock_wait): Likewise.
40782         (__lll_timedlock_wait): Likewise.
40783         (__lll_timedwait_tid): Likewise.
40784         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40785         (__lll_robust_timedlock_wait): Likewise.
40786         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40787         (lll_cond_trylock): Likewise.
40788         (__lll_lock): Likewise.
40789         (__lll_robust_lock): Likewise.
40790         (__lll_cond_lock): Likewise.
40791         (lll_robust_cond_lock): Likewise.
40792         (__lll_timedlock): Likewise.
40793         (__lll_robust_timedlock): Likewise.
40794         (__lll_unlock): Likewise.
40795         (__lll_robust_unlock): Likewise.
40796         (lll_wait_tid): Likewise.
40797         (lll_timedwait_tid): Likewise.
40799 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40801         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40803 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40805         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40807 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40809         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40810         * stdio-common/tst-sprintf.c: Likewise.
40812 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40814         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40816 2014-12-15  Jeff Law  <law@redhat.com>
40818         [BZ #16617]
40819         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40820         on the heap.  (CVE-2012-3406)
40821         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40822         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40823         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40825 2014-12-15  Will Newton  <will.newton@linaro.org>
40827         * manual/install.texi: Bump required version of texinfo
40828         to 4.7 from 4.5.
40829         * INSTALL: Regenerated.
40830         * configure.ac: Check for makeinfo version 4.7 and above.
40831         * configure: Regenerated.
40833 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40835         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40836         PREFIX, string constant to insert between directory and name.
40837         * sysdeps/posix/shm_open.c: Update caller.
40838         * sysdeps/posix/shm_unlink.c: Likewise.
40839         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40840         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40841         (SEM_SHM_PREFIX): New macro.
40842         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40843         [$(have-thread-library) = no].
40844         * nptl/Makefile (libpthread-routines): Add shm-directory.
40845         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40846         * sysdeps/nptl/shm-directory.h: New file.
40847         * sysdeps/posix/shm-directory.c
40848         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40849         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40850         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40851         INTERNAL_SYSCALL.
40852         (__where_is_shmfs): Function removed.
40853         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40854         Variables removed.
40855         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40856         Use SHM_GET_NAME.
40857         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40859         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40860         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40861         unconditional for use inside libpthread.
40862         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40864 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40866         * nptl/pthread_getaffinity.c: New file.
40867         * nptl/pthread_setaffinity.c: New file.
40868         * nptl/pthread_getname.c: New file.
40869         * nptl/pthread_setname.c: New file.
40871         * nptl/pthread_create.c (START_THREAD_DEFN)
40872         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40874 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40875             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40877         * resolv/res_send.c (send_vc): Disable warning resplen may
40878         be used uninitialized.
40880 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40882         * nptl/tst-mutex6.c
40883         (ATTR_NULL): New define checks ATTR against NULL.
40884         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40885         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40887 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40889         [BZ #17581]
40890         * malloc/hooks.c
40891         (mem2mem_check): Revert my previous change.
40892         (malloc_check_get_size): Revert my previous change.
40893         (mem2chunk_check): Revert my previous change.
40895 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40897         * sysdeps/posix/shm-directory.c: New file.
40898         * sysdeps/posix/shm-directory.h: New file.
40899         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40900         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40901         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40902         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40903         Transmute EPERM to EACCES.
40904         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40905         from ...
40906         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40907         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40909 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40911         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40912         pointer and cast to uintptr_t.
40913         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40914         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40915         Add cast to avoid warning.
40916         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40918 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40920         * nptl/semaphore.h: Move to ...
40921         * sysdeps/pthread/semaphore.h: ... here.
40922         * Makefile (installed-headers): Change nptl/semaphore.h to
40923         sysdeps/pthread/semaphore.h.
40925 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40927         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40928         generated error format strings.
40930         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40931         -Wformat-extra-args warnings for scanf formats.
40932         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40933         test of zero-length format (duh).
40934         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40935         corner-case scanf format test.
40936         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40937         generated fprintf format string.
40938         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40939         corner-case sprintf format tests.
40940         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40941         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40942         -Wformat-extra-args warnings throughout.
40943         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40944         (CFLAGS-scanf4.c): Likewise.
40945         (CFLAGS-scanf7.c): Likewise.
40946         (CFLAGS-tst-sprintf.c): Likewise.
40947         (CFLAGS-tst-printf.c): Likewise.
40948         (CFLAGS-tst-printfsz.c): Likewise.
40950 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40952         * include/cpio.h: New file.
40953         * include/fmtmsg.h: Likewise.
40955         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40956         corresponding format argument to size_t.
40957         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40958         arguments.
40959         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40960         corresponding format argument to size_t.
40961         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40962         arguments.
40963         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40964         corresponding format argument to size_t.
40965         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40966         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40967         (CFLAGS-tst-mbswcs2.c): Likewise.
40968         (CFLAGS-tst-mbswcs3.c): Likewise.
40969         (CFLAGS-tst-mbswcs4.c): Likewise.
40970         (CFLAGS-tst-mbswcs5.c): Likewise.
40971         (CFLAGS-tst-trans.c): Likewise.
40973 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40975         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40976         rather than assuming they won't contain any '%'s.
40978 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
40980         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40981         inhibit_loop_to_libcall to avoid recursive calls.
40982         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40983         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40985 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40987         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40988         prototype.
40990 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40992         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40993         integer value instead of boolean.
40995 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40997         * malloc/malloc.c: Fix powerof2 check.
40999 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41001         * locale/programs/locfile.h (maybe_swap_uint32):
41002         Remove inline and add unused attribute.
41004 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41006         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41007         Truncating assembler expression to a .long expression.
41009 2014-12-11  Andreas Schwab  <schwab@suse.de>
41011         * elf/rtld.c (struct map_args): Constify str member.
41012         (do_preload): Constify fname argument.
41014 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41016         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41017         constants definition.
41019 2014-12-11  Andreas Schwab  <schwab@suse.de>
41021         [BZ #16657]
41022         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41023         FORCE_ELISION instead of DO_ELISION.
41024         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41025         Remove.
41026         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41027         Likewise.
41029         * iconvdata/gconv-modules: Remove duplicate entry.
41031 2014-12-11  Will Newton  <will.newton@linaro.org>
41033         Merge gettext 0.19.3 into intl/.
41035         This involves a number of cosmetic changes to comments
41036         and ANSI function definitions and prototypes throughout
41037         all the files. The gettext copyright header is used but
41038         with the date ranges taken from the glibc copy.
41040         * NEWS: Add gettext merge to 2.21.
41041         * intl/bindtextdom.c: Switch to gettext copyright.
41042         Use ANSI definitions and prototypes.
41043         Use gl_* locking primitives rather than __libc_* ones.
41044         Use __builtin_expect rather than __glibc_likely/unlikely.
41045         * intl/dcgettext.c: Switch to gettext copyright.
41046         Use ANSI definitions and prototypes.
41047         * intl/dcigettext.c: Switch to gettext copyright.
41048         Use ANSI definitions and prototypes.
41049         (INTDIV0_RAISES_SIGFPE): New define.
41050         Use gl_* locking primitives rather than __libc_* ones.
41051         Include eval-plural.h instead of plural-eval.c.
41052         Use __builtin_expect rather than __glibc_likely/unlikely.
41053         * intl/dcngettext.c: Switch to gettext copyright.
41054         Use ANSI definitions and prototypes.
41055         * intl/dgettext.c: Likewise.
41056         * intl/dngettext.c: Likewise.
41057         * intl/plural-eval.c: Renamed to...
41058         * intl/eval-plural.h: ...this.
41059         * intl/explodename.c: Switch to gettext copyright.
41060         Use ANSI definitions and prototypes.
41061         (_nl_explode_name): Use strchr instead of __rawmemchr.
41062         * intl/finddomain.c: Switch to gettext copyright.
41063         Use ANSI definitions and prototypes.
41064         Use gl_* locking primitives rather than __libc_* ones.
41065         (_nl_find_domain): Use malloc rather than alloca for
41066         allocation of temporary locale name.
41067         * intl/gettext.c: Switch to gettext copyright.
41068         Use ANSI definitions and prototypes.
41069         * intl/gettextP.h: Switch to gettext copyright.
41070         Use ANSI definitions and prototypes.
41071         Use gl_* locking primitives rather than __libc_* ones.
41072         * intl/gmo.h: Switch to gettext copyright.
41073         (struct sysdep_string): Move struct segment_pair outside of
41074         struct definition.
41075         * intl/hash-string.c: Use ANSI definitions and prototypes.
41076         * intl/hash-string.h: Switch to gettext copyright.
41077         Use ANSI definitions and prototypes.
41078         * intl/l10nflist.c: Switch to gettext copyright.
41079         Use ANSI definitions and prototypes.
41080         (_nl_normalize_codeset): Avoid integer overflow.
41081         * intl/loadinfo.h: Switch to gettext copyright.
41082         Use ANSI definitions and prototypes.
41083         (LIBINTL_DLL_EXPORTED): New define.
41084         (PATH_SEPARATOR): New define.
41085         * intl/loadmsgcat.c: Switch to gettext copyright.
41086         * intl/localealias.c: Switch to gettext copyright.
41087         Use ANSI definitions and prototypes.
41088         (_nl_expand_alias): Use PATH_SEPARATOR.
41089         * intl/ngettext.c: Switch to gettext copyright.
41090         Use ANSI definitions and prototypes.
41091         * intl/plural-exp.c: Likewise.
41092         * intl/plural-exp.h: Switch to gettext copyright.
41093         Use ANSI definitions and prototypes.
41094         (struct expression): Move definition of enum operator outside
41095         of struct definition.
41096         * intl/plural.c: Regenerate.
41097         * intl/plural.y: Switch to gettext copyright.
41098         Use ANSI definitions and prototypes.
41099         Port to bison 3.0.
41100         * intl/textdomain.c: Switch to gettext copyright.
41101         Use ANSI definitions and prototypes.
41102         Use gl_* locking primitives rather than __libc_* ones.
41104 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41106         * debug/warning-nop.c: Add used atrribute.
41108 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41110         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41112         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41113         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41114         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41116 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41117             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41119         [BZ #17634]
41120         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41121         Undefine after defining function.  Define as weak alias of
41122         __wcschr.  Use libc_hidden_weak.
41123         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41124         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41125         (libc_hidden_def): Also define __GI___wcschr alias.
41126         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41127         __wcschr and define as weak alias of __wcschr.
41128         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41129         __wcschr.
41130         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41131         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41132         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41133         libc_hidden_weak.  Do not use libc_hidden_def.
41134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41135         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41136         __GI___wcschr alias.
41137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41138         [IS_IN (libc)] (wcschr): Define as macro expanding to
41139         __redirect_wcschr.
41140         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41141         [IS_IN (libc)] (__wcschr_power6): Likewise.
41142         [IS_IN (libc)] (__wcschr_power7): Likewise.
41143         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41144         instead of wcschr.
41145         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41146         __libc_wcschr.
41147         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41148         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41149         __wcschr and define as weak alias of __wcschr.  Use
41150         libc_hidden_builtin_def.
41151         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41152         as weak alias of __wcschr.  Use libc_hidden_weak.
41153         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41154         wcschr.
41155         * time/era.c (_nl_init_era_entries): Likewise.
41156         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41157         variable.
41158         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41159         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41161 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41163         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41164         format for long int variable.
41166 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41168         [BZ #10672]
41169         * manual/search.texi: (Array Sort Function): Remove claim how to make
41170         qsort stable.
41172 2014-12-10  Andreas Schwab  <schwab@suse.de>
41174         [BZ #12847]
41175         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41176         user-controlled locks.
41178 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41180         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41181         register.
41183 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41185         * configure.ac (--disable-werror): New configure option.
41186         (enable_werror): New AC_SUBST.
41187         * configure: Regenerated.
41188         * config.make.in (enable-werror): New variable.
41189         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41190         -Wno-error=undef.
41191         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41192         * manual/install.texi (Configuring and compiling): Document
41193         --disable-werror.
41194         * INSTALL: Regenerated.
41195         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41196         (CFLAGS-tst-chk2.c): Likewise.
41197         (CFLAGS-tst-chk3.c): Likewise.
41198         (CFLAGS-tst-chk4.cc): Likewise.
41199         (CFLAGS-tst-chk5.cc): Likewise.
41200         (CFLAGS-tst-chk6.cc): Likewise.
41201         (CFLAGS-tst-lfschk1.c): Likewise.
41202         (CFLAGS-tst-lfschk2.c): Likewise.
41203         (CFLAGS-tst-lfschk3.c): Likewise.
41204         (CFLAGS-tst-lfschk4.cc): Likewise.
41205         (CFLAGS-tst-lfschk5.cc): Likewise.
41206         (CFLAGS-tst-lfschk6.cc): Likewise.
41208         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41209         (main): Disable -Wdeprecated-declarations around calls to
41210         register_printf_function.
41212         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41213         (do_test): Disable -Wdiv-by-zero around some calls to
41214         fwrite_unlocked and fread_unlocked.
41216         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41217         (DIAG_POP_NEEDS_COMMENT): Likewise.
41218         (_DIAG_STR1): Likewise.
41219         (_DIAG_STR): Likewise.
41220         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41221         * stdio-common/bug21.c: Include <libc-internal.h>.
41222         (do_test): Disable -Wformat around call to sscanf.
41223         * stdio-common/scanf14.c: Include <libc-internal.h>.
41224         (main): Disable -Wformat around some calls to scanf functions.
41226 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41228         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41230 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41232         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41233         stack variable alignment.
41235 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41237         [BZ #17682]
41238         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41239         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41240         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41241         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41242         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41243         __getrlimit instead of getrlimit.
41244         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41245         __gettimeofday instead of gettimeofday.
41246         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41247         Likewise.
41248         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41249         Likewise.
41250         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41251         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41252         Remove variable.
41253         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41254         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41256 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41258         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41259         for wide-character tests.
41261 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41263         * io/openat64.c: #include <libc-internal.h>
41264         (__openat64): Prototypify.  Use ignore_value on MODE.
41265         * io/openat.c: Likewise.
41266         * misc/reboot.c: #include <libc-internal.h>
41267         (reboot): Prototypify.  Use ignore_value on HOWTO.
41268         * misc/ptrace.c: #include <libc-internal.h>
41269         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41271 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41273         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41274         XPG4, UNIX98 and XOPEN2K.
41275         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41276         Remove variable.
41277         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41279 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41281         * libio/fileops.c: Use ISO C style for function definitions.
41282         * libio/iofopen.c: Likewise.
41283         * libio/wfileops.c: Likewise.
41285         [BZ #17653]
41286         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41287         offset on EOF.
41288         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41289         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41290         (fgets_func): Function pointer to fgets and fgetws.
41291         (do_ftell_test): Add test to verify ftell value after read
41292         EOF.
41293         (do_test): Set fgets_func.
41295         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41296         O_TRUNC flag for w and w+ modes.
41297         (do_rewind_test): Likewise.
41298         (do_ftell_test): Likewise.
41299         (do_write_test): Likewise.
41301         [BZ #17647]
41302         * libio/fileops.c (do_ftell): Seek only when there are
41303         unflushed writes.
41304         * libio/wfileops.c (do_ftell_wide): Likewise.
41305         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41306         test case.
41307         (do_one_test): Call it.
41309 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41311         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41312         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41313         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41314         Remove variable.
41315         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41316         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41317         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41319 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41321         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41322         Remove variable.
41323         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41325         [BZ #17668]
41326         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41327         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41328         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41329         __freeifaddrs.  Use libc_hidden_weak.
41330         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41331         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41332         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41333         __freeifaddrs.  Use libc_hidden_weak.
41334         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41335         __getifaddrs and define as weak alias of __getifaddrs.  Use
41336         libc_hidden_weak.
41337         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41338         __freeifaddrs.  Use libc_hidden_weak.
41339         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41340         Remove variable.
41341         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41342         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41344 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41346         [BZ #17601]
41347         * sysdeps/mips/start.S (__start): Use indirect jump to call
41348         __libc_start_main.
41350 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41352         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41354         * nptl/tst-mutex1.c: Include <stdbool.h>.
41355         [!ATTR] (ATTR_NULL): New macro.
41356         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41357         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41358         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41360         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41361         to char *.
41363         [BZ #17665]
41364         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41365         Change conditional to [__USE_MISC].
41367         [BZ #17664]
41368         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41369         fgets_unlocked.
41370         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41371         __fgets_unlocked.
41372         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41373         fgets_unlocked.
41374         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41375         Remove variable.
41376         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41377         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41378         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41379         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41380         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41381         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41382         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41383         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41384         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41386         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41388 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41390         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41391         Remove strpbrk objects.
41392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41393         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41394         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41395         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41396         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41397         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41400         Remove strcspn objects.
41401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41402         (__libc_ifunc_impl_list): Remove strcspn implementation.
41403         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41404         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41405         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41406         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41408         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41409         Remove strspn objetcs.
41410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41411         (__libc_ifunc_impl_list): Remove strspn implementation.
41412         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41413         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41414         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41415         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41417 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41419         [BZ #17581]
41420         * malloc/hooks.c
41421         (mem2mem_check): Add a terminator to the chain of checking blocks.
41422         (malloc_check_get_size): Use it here.
41423         (mem2chunk_check): Ditto.
41425 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41427         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41428         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41430 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41432         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41434         * nptl/nptl-init.c: Include libc-internal.h.
41435         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41437         * elf/ldconfig.c (search_dir): Expand comment.
41439 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41441         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41442         variable.
41443         (linknamespace-symlist-stdlibs-tests): Likewise.
41444         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41445         instead of $(objpfx)symlist-stdlibs.
41446         (linknamespace-libs-isoc): New variable.
41447         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41448         (linknamespace-libs-ISO): New variable.
41449         (linknamespace-libs-ISO99): Likewise.
41450         (linknamespace-libs-ISO11): Likewise.
41451         (linknamespace-libs-XPG3): Likewise.
41452         (linknamespace-libs-XPG4): Likewise.
41453         (linknamespace-libs-POSIX): Likewise.
41454         (linknamespace-libs-UNIX98): Likewise.
41455         (linknamespace-libs-XOPEN2K): Likewise.
41456         (linknamespace-libs-POSIX2008): Likewise.
41457         (linknamespace-libs-XOPEN2K8): Likewise.
41458         ($(objpfx)symlist-stdlibs): Replace by
41459         $(linknamespace-symlist-stdlibs-tests).  Use
41460         $(linknamespace-libs-$*) as set of libraries.
41461         ($(linknamespace-header-tests)): Update dependencies.  Use
41462         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41463         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41464         * conform/linknamespace.pl: Remove comment about considering
41465         definitions of symbols from irrelevant libraries.
41467 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41469         [BZ #13862]
41470         * elf/dl-tls.c: Include <atomic.h>.
41471         (oom): Remove #ifdef SHARED/#endif.
41472         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41473         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41474         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41475         big enough.
41476         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41477         * nptl/Makefile (tests): Add tst-stack4.
41478         (modules-names): Add tst-stack4mod.
41479         ($(objpfx)tst-stack4): New.
41480         (tst-stack4mod.sos): Likewise.
41481         ($(objpfx)tst-stack4.out): Likewise.
41482         ($(tst-stack4mod.sos)): Likewise.
41483         (clean): Likewise.
41484         * nptl/tst-stack4.c: New file.
41485         * nptl/tst-stack4mod.c: Likewise.
41487 2014-11-27  J. Brown  <jb999@gmx.de>
41489         * sysdeps/x86/bits/string.h: Add recent CPUs.
41491 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41493         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41494         sigblock.
41496         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41497         feof.
41499         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41500         variable.
41502 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41504         * nscd/connections.c: Include libc-internal.h because of macro
41505         usage ignore_value.
41507 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41509         * string/bits/string3.h (__warn_memset_zero_len): Don't
41510         declare for gcc newer than 5.0.
41511         (memset): Don't test for zero-length __LEN for gcc newer than
41512         5.0.
41514 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41516         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41517         size_t for %zu format.
41519         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41520         difference, not %ju.
41522 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41524         * include/libc-internal.h (ignore_value): New macro.
41525         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41526         with ignore_value.
41528         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41529         definition.
41531         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41532         pthread_cleanup_push to void *.
41534         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41535         Undefine.
41537         [BZ #16619]
41538         [BZ #16740]
41539         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41540         instead of 1L << 52.
41542         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41543         * libio/bug-rewind2.c (do_test): Likewise.
41545         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41546         * debug/test-strcpy_chk-ifunc.c: Likewise.
41547         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41548         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41549         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41550         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41551         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41552         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41553         * Rules [$(multi-arch) = no] (tests): Do not filter out
41554         $(tests-ifunc).
41555         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41556         * debug/Makefile (tests-ifunc): Remove variable.
41557         (tests): Do not add $(tests-ifunc).
41558         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41559         (tests): Do not add $(tests-ifunc).
41560         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41561         [TEST_IFUNC]: Remove conditionals.
41562         * string/test-string.h (TEST_IFUNC): Remove macro.
41563         [TEST_IFUNC]: Remove conditionals.
41565         * string/test-strchr.c [!WIDE] (L): New macro.
41566         [WIDE] (L): Likewise.
41567         (check1): Use CHAR instead of char.  Use L on string and character
41568         constants.
41570 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41572         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41573         tests.
41574         * sysdeps/powerpc/bits/atomic.h
41575         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41576         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41577         (atomic_exchange_and_add_acq): Likewise.
41578         (atomic_exchange_and_add_rel): Likewise.
41579         * sysdeps/powerpc/powerpc32/bits/atomic.h
41580         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41581         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41582         * sysdeps/powerpc/powerpc64/bits/atomic.h
41583         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41584         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41586 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41588         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41589         Change synchronization of __sched_fifo_min_prio and
41590         __sched_fifo_max_prio.
41591         * nptl/pthread_mutexattr_getprioceiling.c
41592         (pthread_mutexattr_getprioceiling): Likewise.
41593         * nptl/pthread_mutexattr_setprioceiling.c
41594         (pthread_mutexattr_setprioceiling): Likewise.
41595         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41596         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41597         Likewise.
41599 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41601         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41602         void.
41604 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41606         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41607         third argument const.
41609 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41611         fnmatch: work around GCC compiler warning bug with uninit var
41612         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41613         This works around a bug with x86-64 GCC 4.9.2 and earlier
41614         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41615         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41616         used uninitialized in this function [-Wmaybe-uninitialized]".
41618 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41620         * posix/bug-regex31.c (main): Return RES not 0.
41622 2014-11-25  Anton Blanchard <anton@samba.org>
41624         * sysdeps/powerpc/bits/atomic.h
41625         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41627 2014-11-24  Sterling Augustine  <saugustine@google.com>
41629         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41631 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41633         [BZ #17608]
41634         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41636 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41638         [BZ #17633]
41639         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41640         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41641         variable.
41642         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41643         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41645 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41647         * string/strncpy.c (strncpy): Improve performance by using memset.
41649 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41651         * string/strcpy.c (strcpy):
41652         Improve performance by using strlen and memcpy.
41654 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41656         * string/strcoll_l.c (get_next_seq): __always_inline.
41657         * string/strcoll_l.c (do_compare): __always_inline.
41659 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41661         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41662         defined.
41663         * include/mqueue.h: Likewise.
41664         * include/stdlib.h: Likewise.
41666         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41667         (get_null_defines): Adjust.
41668         * sunrpc/Makefile: Adjust comment.
41669         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41670         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41671         (CFLAGS-interp.c): Likewise.
41672         (CFLAGS-ldconfig.c): Likewise.
41673         (CPPFLAGS-.os): Likewise.
41674         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41675         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41676         * extra-modules.mk (extra-modules.mk): Likewise.
41677         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41678         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41679         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41680         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41681         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41682         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41683         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41684         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41685         * iconvdata/Makefile (CPPFLAGS): Likewise.
41686         (cpp-srcs-left): Add libof for all iconvdata routines.
41687         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41688         * include/assert.h: Likewise.
41689         * include/ctype.h: Likewise.
41690         * include/errno.h: Likewise.
41691         * include/libc-symbols.h: Likewise.
41692         * include/math.h: Likewise.
41693         * include/netdb.h: Likewise.
41694         * include/resolv.h: Likewise.
41695         * include/stdio.h: Likewise.
41696         * include/stdlib.h: Likewise.
41697         * include/string.h: Likewise.
41698         * include/sys/stat.h: Likewise.
41699         * include/wctype.h: Likewise.
41700         * intl/l10nflist.c: Likewise.
41701         * libidn/idn-stub.c: Likewise.
41702         * libio/libioP.h: Likewise.
41703         * nptl/libc_multiple_threads.c: Likewise.
41704         * nptl/pthreadP.h: Likewise.
41705         * posix/regex_internal.h: Likewise.
41706         * resolv/res_hconf.c: Likewise.
41707         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41708         * sysdeps/arm/memmove.S: Likewise.
41709         * sysdeps/arm/sysdep.h: Likewise.
41710         * sysdeps/generic/_itoa.h: Likewise.
41711         * sysdeps/generic/symbol-hacks.h: Likewise.
41712         * sysdeps/gnu/errlist.awk: Likewise.
41713         * sysdeps/gnu/errlist.c: Likewise.
41714         * sysdeps/i386/i586/memcpy.S: Likewise.
41715         * sysdeps/i386/i586/memset.S: Likewise.
41716         * sysdeps/i386/i686/memcpy.S: Likewise.
41717         * sysdeps/i386/i686/memmove.S: Likewise.
41718         * sysdeps/i386/i686/mempcpy.S: Likewise.
41719         * sysdeps/i386/i686/memset.S: Likewise.
41720         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41721         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41722         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41723         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41724         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41725         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41726         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41727         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41728         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41729         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41730         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41731         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41732         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41733         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41734         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41735         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41736         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41737         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41738         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41739         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41740         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41741         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41742         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41743         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41744         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41745         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41746         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41747         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41748         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41749         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41750         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41752         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41753         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41754         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41756         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41757         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41758         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41759         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41760         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41761         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41762         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41763         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41764         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41765         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41766         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41767         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41768         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41769         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41770         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41771         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41772         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41773         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41774         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41775         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41776         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41777         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41778         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41779         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41780         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41781         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41782         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41783         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41784         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41785         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41786         * sysdeps/posix/closedir.c: Likewise.
41787         * sysdeps/posix/opendir.c: Likewise.
41788         * sysdeps/posix/readdir.c: Likewise.
41789         * sysdeps/posix/rewinddir.c: Likewise.
41790         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41791         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41792         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41793         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41794         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41795         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41796         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41798         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41801         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41802         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41803         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41804         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41805         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41806         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41807         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41808         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41809         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41810         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41811         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41812         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41813         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41818         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41825         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41826         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41827         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41828         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41829         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41830         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41831         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41832         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41833         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41834         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41835         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41836         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41837         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41838         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41839         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41840         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41841         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41844         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41845         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41846         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41847         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41848         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41849         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41850         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41851         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41852         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41853         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41854         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41855         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41856         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41857         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41858         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41859         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41860         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41861         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41862         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41863         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41864         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41865         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41866         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41867         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41868         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41869         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41870         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41871         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41872         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41874         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41875         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41876         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41877         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41878         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41879         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41880         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41881         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41882         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41885         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41886         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41887         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41888         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41889         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41890         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41891         * sysdeps/unix/alpha/sysdep.S: Likewise.
41892         * sysdeps/unix/alpha/sysdep.h: Likewise.
41893         * sysdeps/unix/make-syscalls.sh: Likewise.
41894         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41896         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41897         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41898         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41899         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41900         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41901         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41902         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41903         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41904         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41905         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41906         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41907         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41908         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41909         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41910         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41911         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41912         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41913         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41914         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41915         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41916         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41917         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41918         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41919         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41920         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41923         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41924         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41927         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41928         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41930         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41931         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41932         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41933         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41934         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41935         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41936         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41937         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41938         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41940         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41941         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41943         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41944         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41945         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41946         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41947         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41948         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41949         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41950         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41952         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41953         * sysdeps/x86_64/memcpy.S: Likewise.
41954         * sysdeps/x86_64/memmove.c: Likewise.
41955         * sysdeps/x86_64/memset.S: Likewise.
41956         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41957         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41958         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41959         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41960         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41961         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41963         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41964         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41965         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41966         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41967         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41968         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41969         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41970         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41971         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41972         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41973         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41974         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41975         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41976         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41977         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41978         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41979         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41980         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41981         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41982         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41983         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41984         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41985         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41986         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41987         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41988         * sysdeps/x86_64/strcmp.S: Likewise.
41990         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41992         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41993         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41994         * elf/rtld-Rules: Likewise.
41995         * elf/setup-vdso.h: Likewise.
41996         * include/assert.h: Likewise.
41997         * include/bits/stdlib-float.h: Likewise.
41998         * include/errno.h: Likewise.
41999         * include/sys/stat.h: Likewise.
42000         * include/unistd.h: Likewise.
42001         * sysdeps/aarch64/setjmp.S: Likewise.
42002         * sysdeps/alpha/setjmp.S: Likewise.
42003         * sysdeps/arm/__longjmp.S: Likewise.
42004         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42005         * sysdeps/arm/setjmp.S: Likewise.
42006         * sysdeps/arm/sysdep.h: Likewise.
42007         * sysdeps/generic/_itoa.h: Likewise.
42008         * sysdeps/generic/dl-sysdep.h: Likewise.
42009         * sysdeps/generic/ldsodefs.h: Likewise.
42010         * sysdeps/i386/dl-tls.h: Likewise.
42011         * sysdeps/i386/setjmp.S: Likewise.
42012         * sysdeps/m68k/setjmp.c: Likewise.
42013         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42014         * sysdeps/mach/hurd/opendir.c: Likewise.
42015         * sysdeps/posix/getcwd.c: Likewise.
42016         * sysdeps/posix/opendir.c: Likewise.
42017         * sysdeps/posix/profil.c: Likewise.
42018         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42019         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42020         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42021         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42022         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42023         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42024         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42025         * sysdeps/s390/dl-tls.h: Likewise.
42026         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42027         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42028         * sysdeps/sh/sh3/setjmp.S: Likewise.
42029         * sysdeps/sh/sh4/setjmp.S: Likewise.
42030         * sysdeps/unix/alpha/sysdep.h: Likewise.
42031         * sysdeps/unix/arm/sysdep.S: Likewise.
42032         * sysdeps/unix/i386/sysdep.S: Likewise.
42033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42034         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42035         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42038         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42039         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42040         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42041         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42042         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42043         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42044         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42048         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42051         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42052         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42053         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42054         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42056         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42057         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42060         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42061         * sysdeps/x86_64/setjmp.S: Likewise.
42063         * include/math.h: Use IS_IN instead of IS_IN_libm.
42064         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42065         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42066         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42067         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42068         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42069         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42070         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42071         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42073         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42074         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42075         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42076         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42077         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42078         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42079         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42080         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42081         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42082         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42083         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42084         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42085         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42086         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42087         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42088         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42089         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42090         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42091         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42092         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42093         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42094         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42095         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42096         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42098         Likewise.
42099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42100         Likewise.
42101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42102         Likewise.
42103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42104         Likewise.
42105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42106         Likewise.
42107         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42108         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42109         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42110         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42111         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42112         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42118         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42119         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42120         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42121         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42122         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42123         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42124         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42125         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42126         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42127         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42128         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42129         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42131         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42133         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42135         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42136         * nptl/pthreadP.h: Likewise.
42137         * nptl_db/structs.def: Likewise.
42138         * sysdeps/arm/sysdep.h: Likewise.
42139         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42140         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42141         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42142         * sysdeps/unix/alpha/sysdep.h: Likewise.
42143         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42144         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42145         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42146         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42147         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42148         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42149         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42150         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42151         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42152         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42153         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42154         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42155         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42156         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42161         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42164         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42165         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42166         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42167         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42168         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42170         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42171         * nptl/pthreadP.h: Likewise.
42172         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42173         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42174         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42175         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42176         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42177         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42178         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42179         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42180         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42181         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42182         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42183         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42185         Likewise.
42186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42187         Likewise.
42188         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42190         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42193         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42194         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42195         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42197         * dlfcn/dladdr.c: Use IS_IN.
42198         * dlfcn/dladdr1.c: Likewise.
42199         * dlfcn/dlclose.c: Likewise.
42200         * dlfcn/dlerror.c: Likewise.
42201         * dlfcn/dlinfo.c: Likewise.
42202         * dlfcn/dlmopen.c: Likewise.
42203         * dlfcn/dlopen.c: Likewise.
42204         * dlfcn/dlsym.c: Likewise.
42205         * dlfcn/dlvsym.c: Likewise.
42207         * include/ifaddrs.h: Use IS_IN.
42208         * inet/check_pf.c: Likewise.
42209         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42210         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42212         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42213         IS_IN_ldconfig.
42214         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42215         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42217         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42218         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42219         IS_IN (libc).
42221         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42223         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42224         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42225         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42226         * include/libc-symbols.h (IS_IN_LIB): New macro.
42227         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42228         * include/netdb.h: Likewise.
42229         * include/stap-probe.h: Remove all uses of IN_LIB.
42231         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42232         instead of IN_MODULE.
42233         * include/libc-symbols.h (IN_MODULE): Define using
42234         MODULE_NAME.
42235         (PASTE_NAME, PASTE_NAME1): New macros.
42236         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42237         of IN_LIB.
42238         (STAP_PROBE_ASM): Likewise.
42240 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42242         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42243         __mach_init in dlopened libc.
42245 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42247         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42248         * sysdeps/arm/preconfigure: Regenerate.
42250 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42252         * nptl/pthread_create.c (__pthread_create_2_1): Set
42253         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42254         when copying values from IATTR into PD.
42256 2014-11-21  Will Newton  <will.newton@linaro.org>
42257             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42259         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42260         Refactor inline-asm.  Also add comment.
42262         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42263         ElfW macro instead of hardcoded Elf64 types.
42264         (la_aarch64_gnu_pltenter): Likewise.
42265         * sysdeps/aarch64/dl-machine.h
42266         (elf_machine_runtime_setup): Use ElfW(Addr).
42268         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42269         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42270         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42271         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42272         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42273         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42274         (R_AARCH64_TLS_DTPMOD): This.
42275         (R_AARCH64_TLS_DTPREL64): Rename to ...
42276         (R_AARCH64_TLS_DTPREL): This.
42277         (R_AARCH64_TLS_TPREL64): Rename to ...
42278         (R_AARCH64_TLS_TPREL): This.
42279         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42280         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42281         R_AARCH64_TLS_TPREL64.
42282         (elf_machine_rela): Likewise.
42284 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42286         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42287         by setting it to 0.  64b atomics are not supported currently.
42289 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42291         [BZ #16469]
42292         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42293         search domain names.
42295 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42297         [BZ #16469]
42298         * NEWS: Update.
42299         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42300         trailing dot.
42301         * posix/tst-getaddrinfo5.c: New.
42302         * posix/Makefile (tests): Add it.
42304 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42306         [BZ #14498]
42307         * NEWS: Fixed.
42308         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42309         after parsing line but before break_if_match.
42310         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42311         if there is a protocol mismatch.
42313 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42315         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42316         because the potential race is on the user-supplied stream.
42318 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42320         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42321         string literal if not passed a buffer.
42322         * manual/job.texi (ctermid): Update reasoning, note deviation
42323         from posix, suggest mtasurace when not passed a buffer, for
42324         future non-preliminary safety notes.
42326 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42328         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42329         of not passing it a buffer.
42330         Reported by Peng Haitao.
42332 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42334         * manual/Makefile ($(objpfx)stamp-summary): Require
42335         check-safety.sh to pass.
42336         * manual/check-safety.sh: Wish for verification that every
42337         @deftypefn and @deftypefun is followed by a @safety remark.
42339 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42341         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42343         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42344         PTHREAD_CANCEL_ASYNCHRONOUS.
42345         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42346         send SIGCANCEL.
42348         * nptl/default-sched.h: New file.
42349         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42350         * nptl/pthread_create.c: Include it.
42351         (__pthread_create_2_1): Use collect_default_sched instead of making
42352         Linux syscalls here directly.
42354 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42356         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42357         __pthread_once): Use C11 atomics.
42359 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42361         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42363 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42365         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42366         atomic_thread_fence_acquire, atomic_thread_fence_release,
42367         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42368         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42369         atomic_compare_exchange_weak_relaxed,
42370         atomic_compare_exchange_weak_acquire,
42371         atomic_compare_exchange_weak_release,
42372         atomic_exchange_acquire, atomic_exchange_release,
42373         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42374         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42375         atomic_fetch_and_acquire,
42376         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42378 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42380         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42381         USE_ATOMIC_COMPILER_BUILTINS): Define.
42382         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42384         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42386         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42388         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42390         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42392         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42393         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42394         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42395         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42396         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42397         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42398         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42399         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42400         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42402         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42403         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42404         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42405         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42406         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42408         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42409         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42410         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42411         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42412         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42413         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42414         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42415         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42416         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42417         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42418         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42419         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42420         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42421         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42423 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42425         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42426         the sched_priority value here.  It was already checked when the user
42427         called pthread_attr_setschedparam.
42429         * nptl/tst-bad-schedattr.c: New file.
42430         * nptl/Makefile (tests): Add it.
42432 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42433             Florian Weimer  <fweimer@redhat.com>
42434             Joseph Myers  <joseph@codesourcery.com>
42435             Adam Conrad  <adconrad@0c3.net>
42436             Andreas Schwab  <schwab@suse.de>
42437             Brooks  <bmoses@google.com>
42439         [BZ #17625]
42440         * wordexp-test.c (__dso_handle): Add prototype.
42441         (__register_atfork): Likewise.
42442         (__app_register_atfork): New function.
42443         (registered_forks): New global.
42444         (register_fork): New function.
42445         (test_case): Add 3 new tests for WRDE_CMDSUB.
42446         (main): Call __app_register_atfork.
42447         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42448         fork count is non-zero fail the test.
42449         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42450         is set.
42451         (parse_dollars): Remove check for WRDE_NOCMD.
42452         (parse_dquote): Likewise.
42454 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42456         * Makeconfig (built-modules): List non-library modules to be
42457         built.
42458         (module-cppflags): Include libc-modules.h for
42459         everything except shlib-versions.v.i.
42460         (CPPFLAGS): Use it.
42461         (before-compile): Add libc-modules.h.
42462         ($(common-objpfx)libc-modules.h,
42463         $(common-objpfx)libc-modules.stmp): New targets.
42464         (common-generated): Add libc-modules.h and libc-modules.stmp.
42465         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42466         * include/libc-symbols.h: Don't include libc-modules.h.
42467         * include/libc-modules.h: Remove file.
42468         * scripts/gen-libc-modules.awk: New script to generate
42469         libc-modules.h.
42470         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42471         Depend on libc-modules.stmp.
42473         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42475         * Makeconfig (in-module): Get value of libof set for the
42476         translation unit.
42477         (CPPFLAGS): Use $(in-module).
42478         * Makerules: Don't suffix routine names for nonlib.
42479         * include/libc-modules.h: New file.
42480         * include/libc-symbols.h: Include libc-modules.h
42481         (IS_IN): New macro to replace IS_IN_* macros.
42482         * elf/Makefile: Set libof-* for each routine.
42483         * elf/rtld-Rules: Likewise.
42484         * extra-modules.mk: Likewise.
42485         * iconv/Makefile: Likewise.
42486         * iconvdata/Makefile: Likewise.
42487         * locale/Makefile: Likewise.
42488         * malloc/Makefile: Likewise.
42489         * nss/Makefile: Likewise.
42490         * sysdeps/gnu/Makefile: Likewise.
42491         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42492         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42493         * sysdeps/s390/s390-64/Makefile: Likewise.
42494         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42495         CPPFLAGS for nscd instead of nonlib.
42497 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42499         * nptl/createthread.c: New file.
42501         * nptl/createthread.c: Moved ...
42502         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42504         * nptl/createthread.c: Add proper top-line comment.
42505         (do_clone): Folded into ...
42506         (create_thread): ... here.  Take new arguments STOPPED_START and
42507         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42508         increment __nptl_threads, do event-reporting logic, do
42509         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42510         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42511         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42512         just send SIGCANCEL.
42513         * nptl/pthread_create.c: Forward-declare create_thread before
42514         including createthread.c.
42515         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42516         declaration, and new macro START_THREAD_SELF to replace argument.
42517         Remove return statement.
42518         (report_thread_creation): New function.
42519         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42520         synchronization logic, and __nptl_nthreads increment here, around
42521         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42522         PD->parent_cancelhandling here, before create_thread.  When
42523         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42524         __deallocate_stack, and ENOMEM translation here.
42526 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42528         [BZ #17616]
42529         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42530         (mptwo): Rename to __mptwo.
42531         (__inv): Use __mptwo instead of mptwo.
42532         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42533         (mptwo): Rename to __mptwo.
42534         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42535         of mpone and __mptwo instead of mptwo.
42536         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42537         instead of mpone.
42538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42539         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42540         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42541         of mpone and __mptwo instead of mptwo.
42542         (__mpranred): Use __mpone instead of mpone.
42543         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42544         variable.
42545         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42546         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42547         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42548         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42549         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42550         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42551         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42552         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42553         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42554         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42555         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42556         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42557         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42558         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42559         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42560         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42561         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42562         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42563         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42565 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42567         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42568         replace BSD Handler xref with BSD Signal Handling.
42570 2014-11-17  Richard Henderson  <rth@redhat.com>
42572         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42573         (_FP_PACK_RAW_2): Remove.
42574         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42575         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42576         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42577         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42578         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42579         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42580         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42581         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42582         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42583         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42584         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42585         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42586         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42587         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42588         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42589         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42591 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42593         * signal/signal.h [__USE_MISC]
42594         (struct sigvec): Remove type.
42595         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42596         (sigvec): Remove declaration.
42597         * sysdeps/posix/sigvec.c: Moved ...
42598         * signal/sigvec.c: ... here, replacing old file.
42599         (struct sigvec): New type, copied from old signal.h definition.
42600         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42601         (__sigvec): Convert definition to prototype.
42602         (sigvec): Replace weak_alias with compat_symbol.
42603         * signal/Versions (libc: GLIBC_2.21): New version set.
42604         * include/signal.h: Remove __sigvec declaration.
42605         * sysdeps/unix/bsd/sigvec.c: Remove file.
42606         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42607         * manual/signal.texi (BSD Handler): Remove subsection.
42608         Move siginterrupt up to ...
42609         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42610         (Blocking in BSD): Fold subsection into its parent.
42611         * NEWS: Mention sigvec removal.
42613 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42615         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42616         (DLA_FMS): Make definition conditional only on [__FMA4__].
42617         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42618         definition.
42620         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42621         Make definition conditional only on [PROF].
42622         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42623         definition.
42624         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42625         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42627         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42628         !__GNUC__].
42629         * include/signal.h (__sigpause): Move declaration above call to
42630         libc_hidden_proto.
42631         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42632         variable.
42633         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42634         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42636 2014-11-14  David S. Miller  <davem@davemloft.net>
42638         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42639         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42641 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42643         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42644         * configure: Regenerated.
42645         * manual/install.texi (Tools for Compilation): Document a
42646         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42647         compiler verified to work.
42648         * INSTALL: Regenerated.
42650         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42651         redeclare with asm name.
42652         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42653         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42654         including <string.h>.
42655         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42656         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42657         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42658         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42659         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42661         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42663 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42665         * stdlib/strtol.c (__strtol): Use prototype definition.
42667         [BZ #17594]
42668         * stdlib/strtol.c (SYM__): New macro.
42669         (SYM__1): Likewise.
42670         (__strtol): Likewise.
42671         (strtol): Rename to __strtol and define as weak alias of
42672         __strtol.  Use libc_hidden_weak.
42674 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42676         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42677         Use numbered labels in inline assembly.
42679 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42681         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42682         Add setjmp LIBC_PROBE.
42683         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42684         Likewise.
42685         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42686         Add longjmp, longjmp_target LIBC_PROBE.
42687         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42688         Likewise.
42690 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42692         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42693         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42694         to get rid of unused variable warning.
42696 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42698         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42699         Check for unwind_backtrace ==  NULL only in SHARED case.
42700         (__backchain_backtrace): Compile only in SHARED case.
42701         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42702         Likewise.
42703         (__backchain_backtrace): Declare as static.
42705 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42707         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42708         (__libc_multiple_threads_ptr): Variable moved ...
42709         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42711 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42713         * conform/GlibcConform.pm: New file.
42714         * conform/conformtest.pl: Use GlibcConform module.
42715         * conform/linknamespace.pl: New file.
42716         * conform/list-header-symbols.pl: Likewise.
42717         * conform/Makefile (linknamespace-symlists-base): New variable.
42718         (linknamespace-symlists-tests): Likewise.
42719         (linknamespace-header-base): Likewise.
42720         (linknamespace-header-tests): Likewise.
42721         (tests-special): Add new tests.
42722         ($(linknamespace-symlists-tests)): New rule.
42723         (linknamespace-libs): New variable.
42724         ($(objpfx)symlist-stdlibs): New rule.
42725         ($(linknamespace-header-tests)): Likewise.
42726         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42727         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42728         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42729         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42730         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42731         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42732         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42733         (test-xfail-ISO/math.h/linknamespace): Likewise.
42734         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42735         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42736         (test-xfail-ISO/time.h/linknamespace): Likewise.
42737         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42738         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42739         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42740         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42741         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42742         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42743         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42744         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42745         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42746         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42747         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42748         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42749         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42750         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42751         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42752         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42753         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42754         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42755         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42756         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42757         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42758         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42759         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42760         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42761         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42762         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42763         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42764         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42765         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42766         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42767         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42768         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42769         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42770         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42771         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42772         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42773         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42774         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42775         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42776         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42777         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42778         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42779         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42780         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42781         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42782         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42783         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42784         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42785         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42786         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42787         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42788         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42789         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42790         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42791         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42792         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42793         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42794         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42795         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42796         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42797         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42798         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42799         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42800         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42801         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42802         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42803         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42804         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42805         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42806         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42807         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42808         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42809         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42810         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42811         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42812         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42813         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42814         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42815         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42816         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42817         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42818         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42819         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42820         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42821         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42822         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42823         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42824         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42825         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42826         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42827         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42828         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42829         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42830         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42831         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42832         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42833         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42834         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42835         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42836         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42837         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42838         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42839         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42840         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42841         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42842         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42843         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42844         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42845         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42846         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42847         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42848         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42849         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42850         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42851         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42852         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42853         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42854         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42855         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42856         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42857         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42858         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42859         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42860         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42861         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42862         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42863         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42864         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42865         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42866         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42867         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42868         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42869         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42870         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42871         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42872         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42873         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42874         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42875         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42876         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42877         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42878         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42879         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42880         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42881         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42882         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42883         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42884         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42885         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42886         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42888         [BZ #17589]
42889         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42890         of fgets_unlocked.
42892         [BZ #17585]
42893         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42894         (memmem): Rename to __memmem and define as weak alias of
42895         __memmem.  Use libc_hidden_weak.
42896         (__memmem): Use libc_hidden_def.
42897         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42898         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42899         memmem.
42901         [BZ #17582]
42902         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42903         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42904         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42905         and define as weak alias of __fgets_unlocked.  Use
42906         libc_hidden_weak.
42907         (__fgets_unlocked): Use libc_hidden_def.
42908         * include/stdio.h (__fgets_unlocked): Declare.  Use
42909         libc_hidden_proto.
42910         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42911         __fgets_unlocked instead of fgets_unlocked.
42912         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42913         (GET_NPROCS_CONF_PARSER): Likewise.
42914         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42915         (GET_NPROCS_CONF_PARSER): Likewise.
42917         [BZ #17574]
42918         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42919         weak alias of __wmemset.  Use libc_hidden_weak.
42920         (__wmemset): Use libc_hidden_def.
42921         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42922         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42923         of wmemset.
42925         [BZ #17573]
42926         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42927         with asm name __mempcpy.
42928         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42930         [BZ #17572]
42931         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42932         and define as weak alias of __rawmemchr.
42933         (__rawmemchr): Do not define as strong alias of rawmemchr.
42935         [BZ #17571]
42936         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42937         alias of __qsort_r.
42938         (qsort): Call __qsort_r instead of qsort_r.
42939         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42940         (__qsort_r): Declare.  Call libc_hidden_proto.
42941         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42942         instead of qsort_r.
42943         * nscd/gai.c (__qsort_r): Define to qsort_r.
42944         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42945         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42946         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42948         [BZ #17570]
42949         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42950         define as weak alias of __malloc_info.
42952         [BZ #17584]
42953         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42954         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42955         (__rewinddir): Use libc_hidden_def.
42956         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42957         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42958         (__rewinddir): Use libc_hidden_def.
42959         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42960         weak alias of __rewinddir.  Don't use libc_hidden_def.
42961         (__rewinddir): Use libc_hidden_def.
42962         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42963         (__rewinddir): Use libc_hidden_proto.
42964         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42965         rewinddir.
42966         (__getcwd): Use __rewinddir instead of rewinddir.
42968         [BZ #17583]
42969         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42970         alias of __fileno.  Use libc_hidden_weak.
42971         (__fileno): Use libc_hidden_def.
42972         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42973         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42974         alias of __ftello.
42975         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42976         __ftello.
42977         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42978         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
42979         libc_hidden_def.
42980         (fread_unlocked): Don't use libc_hidden_ver.
42981         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42982         and define as weak alias of __fread_unlocked.  Don't use
42983         libc_hidden_def.
42984         (__fread_unlocked): Use libc_hidden_def.
42985         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
42986         (ftello): Don't use libc_hidden_proto.
42987         (__ftello): Declare.  Use libc_hidden_proto.
42988         (fread_unlocked): Don't use libc_hidden_proto.
42989         (__fread_unlocked): Declare.  Use libc_hidden_proto.
42990         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42991         and __ftello instead of fileno, fread_unlocked and ftello.
42993 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42995         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42996         GOT12.
42997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42998         Likewise.
42999         (_dl_start_user): Likewise.
43000         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43002 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43003             Siddhesh Poyarekar  <siddhesh@redhat.com>
43005         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43006         Move argv and envp down instead of moving argc up.
43007         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43009 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43011         [BZ #17506]
43012         * test-skeleton.c (main): Return successful if one of
43013         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43014         * string/tst-strcoll-overflow.c: Define expected status.
43016 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43018         [BZ #17475]
43019         * locale/iso-639.def: Define Bhili and Tulu language codes.
43021 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43023         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43025 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43027         [BZ #17555]
43028         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43030 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43032         * configure.ac: Updated check of minimal required version to
43033         2.22.
43034         * manual/install.texi (Tools for Compilation): Updated version
43035         number.
43036         * configure: Regenerated.
43037         * INSTALL: Likewise.
43039 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43041         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43042         __tls_get_addr.
43044 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43046         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43047         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43048         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43049         libc_hidden_weak.
43050         (waitpid): Define as alias of __waitpid.
43051         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43052         __waitpid.
43053         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43054         libc_hidden_weak.
43055         (waitpid): Define as alias of __waitpid.
43056         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43057         __libc_waitpid alias.
43058         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43059         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43060         Likewise.
43061         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43062         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43063         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43064         alias.
43065         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43066         __waitpid.
43067         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43068         libc_hidden_weak.
43069         (waitpid): Define as alias of __waitpid.
43071 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43073         * manual/llio.texi: Add comment that write safety has been
43074         fixed in Linux.
43076         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43077         (localplt-build-dso): Add elf/ld.so.
43078         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43079         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43080         and free for ld.so.
43081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43082         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43084         Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43086         Likewise.
43087         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43088         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43089         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43090         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43091         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43092         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43093         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43094         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43095         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43096         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43097         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43099 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43101         [BZ #14132]
43102         * include/libc-symbols.h (INTUSE): Remove macro.
43103         (INTDEF): Likewise.
43104         (INTVARDEF): Likewise.
43105         (_INTVARDEF): Likewise.
43106         (INTDEF2): Likewise.
43107         (INTVARDEF2): Likewise.
43108         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43109         rtld_hidden_def instead of INTVARDEF.
43110         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43111         (_dl_starting_up_internal): Remove declaration.
43112         (_dl_starting_up): Use rtld_hidden_proto.
43113         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43114         declaration.
43115         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43116         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43117         _dl_starting_up.
43118         * elf/dl-writev.h (_dl_writev): Likewise.
43119         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43120         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43121         _dl_starting_up_internal.
43123 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43125         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43126         test-skeleton.c.
43128 2014-11-05  Will Newton  <will.newton@linaro.org>
43130         * benchtests/Makefile: (bench-malloc): Add malloc thread
43131         scalability benchmark.
43132         * benchtests/bench-malloc-threads.c: New file.
43134 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43136         * sysdeps/aarch64/strchrnul.S: New file.
43138 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43140         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43141         definition.
43142         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43143         Likewise.
43144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43145         Likewise.
43146         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43147         Likewise.
43148         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43149         Likewise.
43150         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43151         Likewise.
43153 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43155         * catgets/test-gencat.c: Use test-skeleton.c.
43156         * catgets/tst-catgets.c: Likewise.
43157         * csu/tst-empty.c: Likewise.
43158         * elf/tst-audit2.c: Likewise.
43159         * elf/tst-global1.c: Likewise.
43160         * elf/tst-pathopt.c: Likewise.
43161         * elf/tst-piemod1.c: Likewise.
43162         * elf/tst-tls10.c: Likewise.
43163         * elf/tst-tls11.c: Likewise.
43164         * elf/tst-tls12.c: Likewise.
43165         * gnulib/tst-gcc.c: Likewise.
43166         * iconvdata/tst-e2big.c: Likewise.
43167         * iconvdata/tst-loading.c: Likewise.
43168         * iconv/tst-iconv1.c: Likewise.
43169         * iconv/tst-iconv2.c: Likewise.
43170         * inet/test-inet6_opt.c: Likewise.
43171         * inet/tst-gethnm.c: Likewise.
43172         * inet/tst-network.c: Likewise.
43173         * inet/tst-ntoa.c: Likewise.
43174         * intl/tst-codeset.c: Likewise.
43175         * intl/tst-gettext2.c: Likewise.
43176         * intl/tst-gettext3.c: Likewise.
43177         * intl/tst-ngettext.c: Likewise.
43178         * intl/tst-translit.c: Likewise.
43179         * io/test-stat.c: Likewise.
43180         * libio/test-fmemopen.c: Likewise.
43181         * libio/tst-freopen.c: Likewise.
43182         * libio/tst-sscanf.c: Likewise.
43183         * libio/tst-ungetwc1.c: Likewise.
43184         * libio/tst-ungetwc2.c: Likewise.
43185         * libio/tst-widetext.c: Likewise.
43186         * localedata/tst-ctype.c: Likewise.
43187         * localedata/tst-digits.c: Likewise.
43188         * localedata/tst-leaks.c: Likewise.
43189         * localedata/tst-mbswcs1.c: Likewise.
43190         * localedata/tst-mbswcs2.c: Likewise.
43191         * localedata/tst-mbswcs3.c: Likewise.
43192         * localedata/tst-mbswcs4.c: Likewise.
43193         * localedata/tst-mbswcs5.c: Likewise.
43194         * localedata/tst-setlocale.c: Likewise.
43195         * localedata/tst-trans.c: Likewise.
43196         * localedata/tst-wctype.c: Likewise.
43197         * localedata/tst-xlocale1.c: Likewise.
43198         * login/tst-grantpt.c: Likewise.
43199         * malloc/tst-calloc.c: Likewise.
43200         * malloc/tst-malloc.c: Likewise.
43201         * malloc/tst-mallocstate.c: Likewise.
43202         * malloc/tst-mcheck.c: Likewise.
43203         * malloc/tst-mtrace.c: Likewise.
43204         * malloc/tst-obstack.c: Likewise.
43205         * math/atest-exp2.c: Likewise.
43206         * math/atest-exp.c: Likewise.
43207         * math/atest-sincos.c: Likewise.
43208         * math/test-matherr.c: Likewise.
43209         * math/test-misc.c: Likewise.
43210         * math/test-powl.c: Likewise.
43211         * math/tst-definitions.c: Likewise.
43212         * misc/tst-dirname.c: Likewise.
43213         * misc/tst-efgcvt.c: Likewise.
43214         * misc/tst-fdset.c: Likewise.
43215         * misc/tst-hsearch.c: Likewise.
43216         * misc/tst-mntent2.c: Likewise.
43217         * nptl/tst-sem7.c: Likewise.
43218         * nptl/tst-sem8.c: Likewise.
43219         * nptl/tst-sem9.c: Likewise.
43220         * nss/test-netdb.c: Likewise.
43221         * posix/tst-fnmatch.c: Likewise.
43222         * posix/tst-getlogin.c: Likewise.
43223         * posix/tst-gnuglob.c: Likewise.
43224         * posix/tst-mmap.c: Likewise.
43225         * pwd/tst-getpw.c: Likewise.
43226         * resolv/tst-inet_ntop.c: Likewise.
43227         * rt/tst-timer.c: Likewise.
43228         * stdio-common/test-fseek.c: Likewise.
43229         * stdio-common/test-popen.c: Likewise.
43230         * stdio-common/test-vfprintf.c: Likewise.
43231         * stdio-common/tst-cookie.c: Likewise.
43232         * stdio-common/tst-fileno.c: Likewise.
43233         * stdio-common/tst-gets.c: Likewise.
43234         * stdio-common/tst-obprintf.c: Likewise.
43235         * stdio-common/tst-perror.c: Likewise.
43236         * stdio-common/tst-sprintf2.c: Likewise.
43237         * stdio-common/tst-sprintf3.c: Likewise.
43238         * stdio-common/tst-sprintf.c: Likewise.
43239         * stdio-common/tst-swprintf.c: Likewise.
43240         * stdio-common/tst-tmpnam.c: Likewise.
43241         * stdio-common/tst-unbputc.c: Likewise.
43242         * stdio-common/tst-wc-printf.c: Likewise.
43243         * stdlib/tst-environ.c: Likewise.
43244         * stdlib/tst-fmtmsg.c: Likewise.
43245         * stdlib/tst-limits.c: Likewise.
43246         * stdlib/tst-rand48-2.c: Likewise.
43247         * stdlib/tst-rand48.c: Likewise.
43248         * stdlib/tst-random2.c: Likewise.
43249         * stdlib/tst-random.c: Likewise.
43250         * stdlib/tst-strtol.c: Likewise.
43251         * stdlib/tst-strtoll.c: Likewise.
43252         * stdlib/tst-tls-atexit.c: Likewise.
43253         * stdlib/tst-xpg-basename.c: Likewise.
43254         * string/test-ffs.c: Likewise.
43255         * string/tst-bswap.c: Likewise.
43256         * string/tst-inlcall.c: Likewise.
43257         * string/tst-strtok.c: Likewise.
43258         * string/tst-strxfrm.c: Likewise.
43259         * sysdeps/x86_64/tst-audit10.c: Likewise.
43260         * sysdeps/x86_64/tst-audit3.c: Likewise.
43261         * sysdeps/x86_64/tst-audit4.c: Likewise.
43262         * sysdeps/x86_64/tst-audit5.c: Likewise.
43263         * time/tst-ftime_l.c: Likewise.
43264         * time/tst-getdate.c: Likewise.
43265         * time/tst-mktime3.c: Likewise.
43266         * time/tst-mktime.c: Likewise.
43267         * time/tst-posixtz.c: Likewise.
43268         * time/tst-strptime2.c: Likewise.
43269         * time/tst-strptime3.c: Likewise.
43270         * wcsmbs/tst-btowc.c: Likewise.
43271         * wcsmbs/tst-mbrtowc.c: Likewise.
43272         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43273         * wcsmbs/tst-wchar-h.c: Likewise.
43274         * wcsmbs/tst-wcpncpy.c: Likewise.
43275         * wcsmbs/tst-wcrtomb.c: Likewise.
43276         * wcsmbs/tst-wcsnlen.c: Likewise.
43277         * wcsmbs/tst-wcstof.c: Likewise.
43279 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43281         [BZ #14132]
43282         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43283         INTDEF.
43284         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43285         declaration.
43286         (_dl_mcount): Use rtld_hidden_proto.
43287         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43288         _dl_mcount.
43289         * elf/rtld.c (_rtld_global_ro): Likewise.
43291         [BZ #14132]
43292         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43293         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43294         of _dl_init_internal.
43295         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43296         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43297         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43298         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43299         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43300         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43301         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43302         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43303         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43304         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43305         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43306         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43307         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43308         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43309         * sysdeps/tile/dl-start.S (_start): Likewise.
43310         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43311         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43313         [BZ #14132]
43314         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43315         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43316         (rtld_progname): Make macro definition unconditional.
43317         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43318         INTDEF.
43319         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43320         (dl_main): Likewise.
43321         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43322         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43323         instead of _dl_argv_internal.
43324         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43325         __GI__dl_argv instead of INTUSE(_dl_argv).
43326         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43327         __GI__dl_argv instead of _dl_argv_internal.
43329         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43330         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43331         macro.
43332         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43333         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43334         New macro.
43335         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43336         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43337         macro.
43338         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43339         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43341 2014-11-04  Andreas Schwab  <schwab@suse.de>
43343         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43345 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43347         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43348         mtvsrd instruction in binary form.
43350 2014-11-03  Andreas Schwab  <schwab@suse.de>
43352         [BZ #17522]
43353         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43354         for less than MB_LEN_MAX use a local buffer of that size.
43355         * libio/tst-fputws.c: New file.
43356         * libio/Makefile (tests): Add tst-fputws.
43358 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43360         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43361         the size of the fpu_fr.fpu_dregs[] array.
43363 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43365         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43366         (__nanosleep): Do not define as alias.
43367         (nanosleep): Define as alias of __nanosleep.
43368         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43369         __libc_nanosleep name.
43371 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43373         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43374         install.texi in comment.
43376 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43378         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43379         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43380         ... add here and use lwsync or sync ...
43381         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43382         ... and add here using lwsync.
43384 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43386         * elf/dl-machine-reject-phdr.h: New file.
43387         * elf/dl-load.c: #include that.
43388         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43389         if that returned true.
43391 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43393         [BZ #17496]
43394         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43395         gen-as-const-headers chunk.  Add a big scare comment after the last
43396         safe place to touch before-compile.
43398 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43400         * manual/install.texi (Tools for Compilation): Update autoconf
43401         version requirements.
43402         * INSTALL: Regenerated.
43404         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43405         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43406         (__libc_pselect): Likewise.
43408         [BZ #14138]
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43414 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43416         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43417         correct barrier instruction.
43418         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43419         Likewise.
43420         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43421         Likewise.
43423 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43425         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43426         after defining inlines.  Instead, just use parens to defeat macro
43427         expansion of __isctype in its declaration.
43429 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43431         * include/sys/uio.h (__libc_readv): Remove declaration.
43432         (__libc_writev): Likewise.
43433         * misc/readv.c (__libc_readv): Rename to __readv.
43434         (__readv): Do not define as alias.
43435         (readv): Define as alias of __readv.
43436         * misc/writev.c (__libc_writev): Rename to __writev.
43437         (__writev): Do not define as alias.
43438         (writev): Define as alias of __writev.
43439         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43440         (__readv): Do not define as alias.
43441         (readv): Define unconditionally as alias of __readv.
43442         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43443         (__writev): Do not define as alias.
43444         (writev): Define unconditionally as alias of __writev.
43445         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43446         name.
43447         (writev): Do not define __libc_writev name.
43449 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43451         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43452         (convert_charseq): New function, broken out of ...
43453         (use_from_charmap): ... here.  Call it.
43454         (use_to_charmap): Use convert_charseq and free instead of duplicating
43455         its code with a variable-length stack struct.
43457 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43459         * include/fcntl.h (__libc_creat): Remove declaration.
43460         * io/creat.c (__libc_creat): Rename to creat.
43461         (creat): Do not define as alias.
43462         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43463         of creat instead of __libc_creat.
43464         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43465         to creat.
43466         (creat): Do not define as alias.
43467         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43468         __libc_creat.
43469         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43470         __libc_creat name.
43471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43472         Likewise.
43474 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43476         * manual/llio.texi: Add comments discussing why write() may be
43477         considered MT-unsafe on Linux.
43479 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43481         * dl-load.c (local_strdup): Remove.
43482         (expand_dynamic_string_token): Use __strdup.
43483         (decompose_rpath): Likewise.
43484         (_dl_map_object): Likewise.
43486 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43488         [BZ #14132]
43489         * sysdeps/generic/unwind-dw2-fde.c
43490         (__register_frame_info_bases_internal): Do not declare.
43491         (__register_frame_info_table_bases_internal): Likewise.
43492         (__deregister_frame_info_bases_internal): Likewise.
43493         (__register_frame_info_bases): Declare and use hidden_proto before
43494         definition.  Use hidden_def instead of INTDEF.
43495         (__register_frame_info_table_bases): Likewise.
43496         (__deregister_frame_info_bases): Likewise.
43497         (__register_frame_info): Do not use INTUSE.
43498         (__register_frame): Likewise.
43499         (__register_frame_info_table): Likewise.
43500         (__register_frame_table): Likewise.
43501         (__deregister_frame_info): Likewise.
43502         (__deregister_frame): Likewise.
43504 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43506         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43507         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43508         not undefine.
43509         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43510         Likewise.
43511         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43512         Likewise.
43514 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43516         [BZ #14138]
43517         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43518         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43519         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43520         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43521         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43522         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43523         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43524         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43525         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43526         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43527         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43528         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43529         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43530         syscall.
43531         (setfsuid): Likewise.
43532         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43533         (setfsuid): Likewise.
43534         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43535         (setfsuid): Likewise.
43536         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43537         Likewise.
43538         (setfsuid): Likewise.
43539         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43540         (setfsuid): Likewise.
43541         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43542         Likewise.
43543         (setfsuid): Likewise.
43545 2014-10-27  Andreas Schwab  <schwab@suse.de>
43547         [BZ #17501]
43548         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43549         check for Slow_SSE4_2 feature bit.
43550         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43551         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43552         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43553         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43555 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43557         * configure.ac: Validate compiler version with a empirical test of
43558         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43559         $CC -v output.
43560         * configure: Regenerated.
43562         * inet/htons.c (htons): Prototypify.
43563         * inet/htonl.c (htonl): Likewise.
43565 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43567         * string/strncat.c (strncat): Improve performance by using strlen.
43569 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43571         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43573 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43575         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43576         Call libc_fetestexcept_aarch64.
43578 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43580         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43581         Call libc_feholdexcept_aarch64.
43583 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43585         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43586         Call get_rounding_mode.
43588 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43590         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43591         Simplify logic.
43593 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43595         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43596         Simplify logic.
43598 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43600         [BZ #14138]
43601         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43602         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43603         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43604         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43605         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43606         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43607         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43608         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43609         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43610         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43611         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43612         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43613         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43614         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43615         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43616         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43617         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43618         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43619         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43620         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43621         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43622         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43623         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43624         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43625         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43626         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43627         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43628         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43629         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43630         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43631         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43632         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43633         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43634         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43635         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43636         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43637         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43638         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43639         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43640         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43641         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43642         syscall.
43643         (geteuid): Likewise.
43644         (getgid): Likewise.
43645         (getuid): Likewise.
43646         (getresgid): Likewise.
43647         (getresuid): Likewise.
43648         (getgroups): Likewise.
43649         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43650         (geteuid): Likewise.
43651         (getgid): Likewise.
43652         (getuid): Likewise.
43653         (getresgid): Likewise.
43654         (getresuid): Likewise.
43655         (getgroups): Likewise.
43656         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43657         (geteuid): Likewise.
43658         (getgid): Likewise.
43659         (getuid): Likewise.
43660         (getresgid): Likewise.
43661         (getresuid): Likewise.
43662         (getgroups): Likewise.
43663         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43664         Likewise.
43665         (geteuid): Likewise.
43666         (getgid): Likewise.
43667         (getuid): Likewise.
43668         (getresgid): Likewise.
43669         (getresuid): Likewise.
43670         (getgroups): Likewise.
43671         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43672         (geteuid): Likewise.
43673         (getgid): Likewise.
43674         (getuid): Likewise.
43675         (getresgid): Likewise.
43676         (getresuid): Likewise.
43677         (getgroups): Likewise.
43678         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43679         Likewise.
43680         (geteuid): Likewise.
43681         (getgid): Likewise.
43682         (getuid): Likewise.
43683         (getgroups): Likewise.
43685         [BZ #14138]
43686         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43687         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43688         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43689         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43690         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43691         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43692         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43693         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43694         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43695         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43696         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43697         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43698         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43699         __chown.
43700         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43701         (lchown): Likewise.
43702         (fchown): Likewise.
43703         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43704         Likewise.
43705         (lchown): Likewise.
43706         (fchown): Likewise.
43707         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43708         (lchown): Likewise.
43709         (fchown): Likewise.
43710         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43711         Likewise.
43712         (lchown): Likewise.
43713         (fchown): Likewise.
43715 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43717         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43718         Simplify logic.
43720 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43722         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43723         Cleanup logic.
43725 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43727         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43728         Remove unused include.
43730 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43732         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43733         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43734         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43735         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43737 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43738             Helge Deller <deller@gmx.de>
43740         [BZ #17508]
43741         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43742         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43743         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43745 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43747         [BZ #14132]
43748         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43749         Remove macro definition.
43750         (__ashrdi3_v_glibc20): Likewise.
43751         (__lshrdi3_v_glibc20): Likewise.
43752         (__cmpdi2_v_glibc20): Likewise.
43753         (__ucmpdi2_v_glibc20): Likewise.
43754         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43755         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43756         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43757         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43758         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43759         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43761 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43763         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43764         old GNU extension [0] syntax.
43765         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43766         alloca rather than an array member with variable length.
43767         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43768         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43769         (parse_opt): ... here.  Likewise use alloca there.
43770         Validate the -i argument before checking for rootness.
43771         (send_shutdown): New function, broken out of ...
43772         (parse_opt): ... here.
43774 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43776         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43777         macro to get at the _rt_local_ro field.
43778         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43779         ([PIC] case) or _dl_hwcap ([!PIC] case).
43780         * sysdeps/arm/setjmp.S: Likewise.
43782         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43783         * sysdeps/arm/configure.ac: New check to define it.
43784         * sysdeps/arm/configure: Regenerated.
43785         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43786         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43787         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43788         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43789         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43790         Use move/movt pair instead of a load.
43791         (LDST_GLOBAL): Macro removed.
43792         (LDR_GLOBAL): New macro replaces it.
43793         (LDR_HIDDEN): New macro.
43794         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43795         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43797         * setjmp/tst-setjmp-static.c: New file.
43798         * setjmp/Makefile (tests): Add it.
43799         (tests-static): New variable.
43801 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43803         [BZ #17485]
43804         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43806 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43808         [BZ #14132]
43809         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43811 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43813         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43815 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43817         * io/fts.c (dirent_not_directory): New function.
43818         (fts_build): Call it.
43820 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43822         * nptl/version.c (__nptl_main): Use normal __write rather than
43823         INTERNAL_SYSCALL.
43824         (banner): Update copyright years.
43826         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43827         gettimeofday.
43828         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43829         * nptl/pthread_cond_timedwait.c: Likewise.
43830         * nptl/pthread_mutex_timedlock.c: Likewise.
43831         * nptl/sem_timedwait.c: Likewise.
43833         * sysdeps/nptl/bits/libc-lock.h
43834         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43835         (__libc_lock_init_recursive): Return void, not 0.
43836         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43837         (__libc_rwlock_init): Likewise.
43838         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43840 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43842         [BZ #15215]
43843         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43844         (__pthread_once_slow): ... here.
43845         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43846         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43848 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43850         [BZ #15215]
43851         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43852         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43853         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43854         * nptl/pthread_once.c (__pthread_once): Likewise.
43855         Update comments.
43857 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43859         [BZ #14138]
43860         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43861         name.
43862         (writev): Use __libc_writev as strong name.
43863         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43864         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43866 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43868         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43870         * sysdeps/i386/nptl/tls.h
43871         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43872         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43873         New macros.
43874         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43875         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43876         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43877         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43878         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43879         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43881         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43882         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43883         on [__NR_futex].
43884         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43885         broken out of ...
43886         (__pthread_mutex_init): ... here.  Call it.
43887         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43888         Conditionalize PI cases on [__NR_futex].
43889         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43890         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43891         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43893         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43894         conditional on [SIGSETXID].
43895         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43896         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43897         is defined.  Likewise for SIGSETXID.
43898         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43899         Conditionalize definitions on [SIGSETXID].
43900         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43901         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43902         unblocking on [SIGCANCEL].
43904         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43905         [__NR_set_robust_list].
43907 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43909         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43910         (do_compare): Likewise.
43912 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43914         [BZ #15884]
43915         * string/strcoll_l.c: Don't include stdio.h.
43916         (coll_seq): Remove members idxarr and rulearr.
43917         (get_next_seq_cached): Remove function.
43918         (get_next_seq): Likewise.
43919         (get_next_seq_nocache): Rename to get_next_seq.
43920         (do_compare): Remove function.
43921         (do_compare_nocache): Rename to do_compare.
43922         (STRCOLL): Remove weight and rules cache.
43924 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43926         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43927         * sysdeps/arm/sfp-machine.h: ... to here.
43928         * sysdeps/arm/Implies: Remove arm/soft-fp.
43930 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43932         * conform/data/sys/utsname.h-data (*_t): Allow.
43933         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43934         [POSIX] (WEXITED): Do not expect constant.
43935         [POSIX] (WSTOPPED): Likewise.
43936         [POSIX] (WNOHANG): Likewise.
43937         [POSIX] (WNOWAIT): Likewise.
43938         [POSIX] (siginfo_t): Do not expect type or elements.
43939         [POSIX] (pid_t): Do not expect type.
43940         [POSIX] (signal.h): Do not allow header.
43941         [POSIX] (sys/resource.h): Likewise.
43942         [POSIX] (si_*): Do not allow pattern.
43943         [POSIX] (W*): Likewise.
43944         [POSIX] (P_*): Likewise.
43945         [POSIX] (BUS_*): Likewise.
43946         [POSIX] (CLD_*): Likewise.
43947         [POSIX] (FPE_*): Likewise.
43948         [POSIX] (ILL_*): Likewise.
43949         [POSIX] (POLL_*): Likewise.
43950         [POSIX] (SEGV_*): Likewise.
43951         [POSIX] (SI_*): Likewise.
43952         [POSIX] (TRAP_*): Likewise.
43953         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43954         variable.
43956 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43958         [BZ #12926]
43959         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43960         infinite loop when __recvmsg returns 0.
43962 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43964         * CANCEL-FCT-WAIVE: Remove file.
43965         * CANCEL-FILE-WAIVE: Likewise.
43967         [BZ #14132]
43968         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43969         instead of INTVARDEF.
43970         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43971         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43972         rtld_hidden_data_def instead of INTVARDEF.
43973         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43974         * elf/dl-deps.c (expand_dst): Likewise.
43975         * elf/dl-load.c (_dl_dst_count): Likewise.
43976         (_dl_dst_substitute): Likewise.
43977         (decompose_rpath): Likewise.
43978         (_dl_init_paths): Likewise.
43979         (open_path): Likewise.
43980         (_dl_map_object): Likewise.
43981         * elf/rtld.c (dl_main): Likewise.
43982         (process_dl_audit): Likewise.
43983         (process_envvars): Likewise.
43984         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43985         Remove declaration.
43986         (__libc_enable_secure): Use rtld_hidden_proto.
43988 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43990         * elf/dl-load.c
43991         (add_path): New function broken out of _dl_rtld_di_serinfo.
43992         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
43994 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43996         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43997         parentheses around macro arguments.
43998         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44002         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44003         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44005         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44006         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44007         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44009         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44010         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44011         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44012         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44013         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44014         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44016         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44021         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44022         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44023         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44025         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44026         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44027         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44028         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44029         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44030         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44031         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44032         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44033         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44034         Likewise.
44035         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44036         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44037         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44038         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44039         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44040         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44041         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44042         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44043         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44044         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44045         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44046         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44047         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44049         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44056         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44057         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44058         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44059         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44060         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44061         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44062         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44063         (_FP_FRAC_SRS_1): Likewise.
44064         (_FP_FRAC_CLZ_1): Likewise.
44065         (_FP_MUL_MEAT_1_imm): Likewise.
44066         (_FP_MUL_MEAT_1_wide): Likewise.
44067         (_FP_MUL_MEAT_1_hard): Likewise.
44068         (_FP_SQRT_MEAT_1): Likewise.
44069         (_FP_FRAC_ASSEMBLE_1): Likewise.
44070         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44071         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44072         (__FP_CLZ_2): Likewise.
44073         (_FP_MUL_MEAT_2_wide): Likewise.
44074         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44075         (_FP_MUL_MEAT_2_gmp): Likewise.
44076         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44077         (_FP_SQRT_MEAT_2): Likewise.
44078         (_FP_FRAC_ASSEMBLE_2): Likewise.
44079         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44080         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44081         (_FP_FRAC_CLZ_4): Likewise.
44082         (_FP_MUL_MEAT_4_wide): Likewise.
44083         (_FP_MUL_MEAT_4_gmp): Likewise.
44084         (_FP_SQRT_MEAT_4): Likewise.
44085         (_FP_FRAC_ASSEMBLE_4): Likewise.
44086         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44087         * soft-fp/op-common.h (_FP_CMP): Likewise.
44088         (_FP_CMP_EQ): Likewise.
44089         (_FP_CMP_UNORD): Likewise.
44090         (_FP_TO_INT): Likewise.
44091         (_FP_FROM_INT): Likewise.
44092         [!__FP_CLZ] (__FP_CLZ): Likewise.
44093         (_FP_DIV_HELP_imm): Likewise.
44094         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44095         Likewise.
44096         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44097         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44099         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44100         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44101         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44103         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44104         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44105         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44107         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44108         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44109         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44110         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44111         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44112         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44113         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44114         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44115         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44116         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44117         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44121         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44125         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44126         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44127         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44128         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44129         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44130         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44131         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44132         (FP_UNPACK_RAW_SP): Likewise.
44133         (FP_PACK_RAW_S): Likewise.
44134         (FP_PACK_RAW_SP): Likewise.
44135         (FP_UNPACK_S): Likewise.
44136         (FP_UNPACK_SP): Likewise.
44137         (FP_UNPACK_SEMIRAW_S): Likewise.
44138         (FP_UNPACK_SEMIRAW_SP): Likewise.
44139         (FP_PACK_S): Likewise.
44140         (FP_PACK_SP): Likewise.
44141         (FP_PACK_SEMIRAW_S): Likewise.
44142         (FP_PACK_SEMIRAW_SP): Likewise.
44143         (_FP_SQRT_MEAT_S): Likewise.
44144         (FP_CMP_S): Likewise.
44145         (FP_CMP_EQ_S): Likewise.
44146         (FP_CMP_UNORD_S): Likewise.
44147         (FP_TO_INT_S): Likewise.
44148         (FP_FROM_INT_S): Likewise.
44150         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44152         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44153         (FP_EX_INVALID_IMZ): Likewise.
44154         (FP_EX_INVALID_IMZ_FMA): Likewise.
44155         (FP_EX_INVALID_ISI): Likewise.
44156         (FP_EX_INVALID_ZDZ): Likewise.
44157         (FP_EX_INVALID_IDI): Likewise.
44158         (FP_EX_INVALID_SQRT): Likewise.
44159         (FP_EX_INVALID_CVI): Likewise.
44160         (FP_EX_INVALID_VC): Likewise.
44161         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44162         "invalid" exceptions.
44163         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44164         (_FP_ADD_INTERNAL): Likewise.
44165         (_FP_MUL): Likewise.
44166         (_FP_FMA): Likewise.
44167         (_FP_DIV): Likewise.
44168         (_FP_CMP_CHECK_NAN): Likewise.
44169         (_FP_SQRT): Likewise.
44170         (_FP_TO_INT): Likewise.
44171         (FP_EXTEND): Likewise.
44173 2014-10-09  Allan McRae  <allan@archlinux.org>
44175         * po/fr.po: Update French translation from translation project.
44177 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44179         [BZ #14132]
44180         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44181         of INTDEF.
44182         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44183         (__cxa_atexit): Use libc_hidden_proto.
44184         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44186         [BZ #14132]
44187         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44188         declaration.
44189         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44190         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44191         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44192         [!_ISOMAC] (__iswctype_internal): Likewise.
44193         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44194         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44195         alias.
44196         (fcntl): Remove __fcntl_internal alias.
44197         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44198         __connect_internal alias.
44199         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44200         Likewise.
44202         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44203         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44204         FP_DENORM_ZERO.
44205         (_FP_CHECK_FLUSH_ZERO): New macro.
44206         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44207         (_FP_CMP): Likewise.
44208         (_FP_CMP_EQ): Likewise.
44209         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44210         FP_DENORM_ZERO.
44211         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44212         (FP_TRUNC): Likewise.
44214         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44215         treated as invalid conversion, not as normal exponent.
44217         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44218         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44219         (_FP_CMP_EQ): Likewise.
44220         (_FP_CMP_UNORD): Likewise.
44221         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44222         (FP_CMP_EQ_D): Likewise.
44223         (FP_CMP_UNORD_D): Likewise.
44224         * soft-fp/extended.h (FP_CMP_E): Likewise.
44225         (FP_CMP_EQ_E): Likewise.
44226         (FP_CMP_UNORD_E): Likewise.
44227         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44228         (FP_CMP_EQ_Q): Likewise.
44229         (FP_CMP_UNORD_Q): Likewise.
44230         * soft-fp/single.h (FP_CMP_S): Likewise.
44231         (FP_CMP_EQ_S): Likewise.
44232         (FP_CMP_UNORD_S): Likewise.
44233         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44234         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44235         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44236         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44237         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44238         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44239         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44240         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44241         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44242         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44243         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44244         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44245         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44246         to FP_CMP_Q.
44247         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44248         FP_CMP_Q.
44249         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44250         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44251         FP_CMP_EQ_Q.
44252         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44253         FP_CMP_Q.
44254         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44255         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44256         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44257         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44258         FP_CMP_EQ_Q.
44259         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44260         FP_CMP_Q.
44261         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44262         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44263         FP_CMP_EQ_Q.
44264         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44265         FP_CMP_Q.
44266         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44267         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44268         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44269         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44270         FP_CMP_EQ_Q.
44272         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44273         a subnormal result, set the underflow exception if trapping on
44274         underflow is enabled.
44275         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44276         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44277         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44278         redefine to 0.
44279         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44280         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44281         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44282         * soft-fp/extendxftf2.c (__extendxftf2): Use
44283         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44285         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44286         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44287         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44288         FP_HANDLE_EXCEPTIONS.
44289         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44290         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44291         FP_HANDLE_EXCEPTIONS.
44292         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44293         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44294         FP_HANDLE_EXCEPTIONS.
44295         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44296         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44297         FP_HANDLE_EXCEPTIONS.
44299 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44301         [BZ #14132]
44302         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44303         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44304         use INTUSE.
44305         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44306         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44307         Remove alias.
44308         (__adjtimex): Define using libc_hidden_ver.
44309         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44310         Remove declaration.
44311         (ntp_gettime): Call __adjtimex directly.
44312         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44313         Remove declaration.
44314         (ntp_gettimex): Call __adjtimex directly.
44315         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44316         __adjtimex_internal alias.
44318 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44320         [BZ #17460]
44321         * nscd/nscd.c (more_help): Rewrite list of tables collection
44322         using xstrdup and asprintf.
44324         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44326 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44327             Roland McGrath  <roland@hack.frob.com>
44329         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44330         (do_lookup_unique): ... local function 'enter' here; update callers.
44332 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44334         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44335         compat_symbol calls on [SHARED].
44336         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44337         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44338         Remove.
44339         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44340         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44341         (oldsetrlimit): Remove.
44342         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44344         (lchown): New syscall entry.
44345         (oldsetrlimit): Remove.
44346         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44348         (oldsetrlimit): Remove.
44349         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44351         [BZ #14138]
44352         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44353         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44354         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44355         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44356         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44357         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44358         (fchown): Likewise.
44359         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44360         (fchown): Likewise.
44361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44362         Likewise.
44364 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44367         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44368         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44369         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44370         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44371         Likewise.
44372         (__old_sem_post): Likewise.
44374 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44376         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44377         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44378         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44379         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44380         Use INLINE_VSYSCALL macro.
44381         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44382         __vdso_clock_gettime.
44383         * sysdeps/unix/sysv/linux/tile/init-first.c
44384         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44385         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44386         __vdso_clock_gettime.
44388         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44389         to set up frame more cleanly.
44391         * sysdeps/tile/memcmp.c: New file.
44393         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44395         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44396         * sysdeps/tile/tilegx/strcasestr.c: New file.
44397         * sysdeps/tile/tilegx/strnlen.c: New file.
44398         * sysdeps/tile/tilegx/strstr.c: New file.
44400         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44402 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44404         * nptl/tst-setuid3.c: Write errors to stdout.
44406 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44408         * elf/dl-deps.c
44409         (preload): New functions broken out of _dl_map_object_deps.
44410         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44412 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44414         [BZ #14138]
44415         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44416         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44418 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44420         * sysdeps/mips/strcmp.S: New.
44422 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44424         [BZ #14138]
44425         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44426         (linkat): Likewise.
44427         (mkdirat): Likewise.
44428         (readlinkat): Likewise.
44429         (renameat): Likewise.
44430         (symlinkat): Likewise.
44431         (unlinkat): Likewise.
44432         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44433         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44434         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44435         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44436         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44437         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44438         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44440 2014-09-30  Will Newton  <will.newton@linaro.org>
44442         * math/math.h: Define long double math functions if
44443         _LIBC_TEST is defined.
44444         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44446         * localedata/Makefile: Move assignment to tests-special
44447         into an ifdef testing run-built-tests.
44448         * timezone/Makefile: Likewise.
44450 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44452         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44453         with $(BASH) not $(SHELL).
44455 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44456             Matthew LeGendre  <legendre1@llnl.gov>
44458         [BZ #17411]
44459         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44460         l_reloc_result.
44462 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44464         * stdio-common/printf_fp.c
44465         (hack_digit): New function, broken out of ...
44466         (__printf_fp): ... local function here.  Update call sites.
44467         hack_digit now takes an additional parameter that is a pointer
44468         to a struct of the referenced locals.  Those locals moved inside
44469         the struct and references updated.
44471 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44473         * aclocal.m4: Require autoconf 2.69.
44474         * configure: Regenerated.
44475         * sysdeps/aarch64/configure: Likewise.
44476         * sysdeps/alpha/configure: Likewise.
44477         * sysdeps/arm/armv7/configure: Likewise.
44478         * sysdeps/arm/configure: Likewise.
44479         * sysdeps/ia64/configure: Likewise.
44480         * sysdeps/mach/configure: Likewise.
44481         * sysdeps/mips/configure: Likewise.
44482         * sysdeps/s390/configure: Likewise.
44483         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44486         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44487         file.
44488         * sysdeps/ia64/configure.ac: Likewise.
44490 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44493         specify symbol version for ld.so.  Do not include entry for
44494         libpthread.
44495         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44496         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44497         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44499         [BZ #14171]
44500         * Makeconfig [$(build-shared) = yes]
44501         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44502         makefiles.
44503         [$(build-shared) = yes && $(soversions.mk-done) = t]
44504         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44505         [$(build-shared) = yes && $(soversions.mk-done) = t]
44506         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44507         to Makerules.
44508         [$(build-shared) = yes && $(soversions.mk-done) = t]
44509         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44510         here.
44511         [$(build-shared) = yes && $(soversions.mk-done) = t]
44512         (common-generated): Don't append gnu/lib-names.h and
44513         gnu/lib-names.stmp here.
44514         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44515         (lib-names-h-abi): New variable.
44516         [$(build-shared) = yes && $(soversions.mk-done) = t]
44517         (lib-names-stmp-abi): Likewise.
44518         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44519         abi-variants] (before-compile): Append
44520         $(common-objpfx)$(lib-names-h-abi).
44521         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44522         abi-variants] (common-generated): Append gnu/lib-names.h.
44523         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44524         abi-variants] (install-others-nosubdir): Depend on
44525         $(inst_includedir)/$(lib-names-h-abi).
44526         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44527         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44528         [$(build-shared) = yes && $(soversions.mk-done) = t]
44529         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44530         [$(build-shared) = yes && $(soversions.mk-done) = t]
44531         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44532         [$(build-shared) = yes && $(soversions.mk-done) = t]
44533         (common-generated): Append $(lib-names-h-abi) and
44534         $(lib-names-stmp-abi).
44535         * scripts/lib-names.awk: Do not handle multi being set.
44536         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44537         Remove variable.
44538         (abi-lp64_be-ld-soname): Likewise.
44539         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44540         Likewise.
44541         (abi-hard-ld-soname): Likewise.
44542         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44543         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44544         Remove variable.
44545         (abi-o32_hard-ld-soname): Likewise.
44546         (abi-o32_soft_2008-ld-soname): Likewise.
44547         (abi-o32_hard_2008-ld-soname): Likewise.
44548         (abi-n32_soft-ld-soname): Likewise.
44549         (abi-n32_hard-ld-soname): Likewise.
44550         (abi-n32_soft_2008-ld-soname): Likewise.
44551         (abi-n32_hard_2008-ld-soname): Likewise.
44552         (abi-n64_soft-ld-soname): Likewise.
44553         (abi-n64_hard-ld-soname): Likewise.
44554         (abi-n64_soft_2008-ld-soname): Likewise.
44555         (abi-n64_hard_2008-ld-soname): Likewise.
44556         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44557         Likewise.
44558         (abi-64-v2-ld-soname): Likewise.
44559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44560         ld.so entries.
44561         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44562         variable.
44563         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44564         entry.
44565         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44566         variable.
44567         (abi-64-ld-soname): Likewise.
44568         (abi-x32-ld-soname): Likewise.
44569         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44570         entry.
44571         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44573 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44575         [BZ #14138]
44576         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44577         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44578         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44579         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44580         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44581         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44582         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44583         syscall entry for GLIBC_2.2 symbol version.
44584         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44585         Likewise.
44586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44587         (setrlimit): Likewise.
44588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44589         Likewise.
44591 2014-09-23  Will Newton  <will.newton@linaro.org>
44593         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44594         _LINUX_ARM_SYSDEP_H include guard too.
44595         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44596         define.
44598 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44600         * sysdeps/unix/sysv/linux/eventfd.c:
44601         Make first argument unsigned.
44602         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44603         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44605 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44607         [BZ #16852]
44608         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44609         * socket/sys/socket.h: Likewise.
44610         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44612 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44614         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44616 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44618         * time/tst-ftime.c: New test.
44619         * time/Makefile (tests): Add tst-ftime.
44621 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44623         * soft-fp/extended.h: Fix comment formatting.
44624         * soft-fp/op-1.h: Likewise.
44625         * soft-fp/op-2.h: Likewise.
44626         * soft-fp/op-4.h: Likewise.
44627         * soft-fp/op-8.h: Likewise.
44628         * soft-fp/op-common.h: Likewise.
44629         * soft-fp/soft-fp.h: Likewise.
44631         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44633 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44635         [BZ #6652]
44636         * Makeconfig (soversions-default-setname): Remove variable.
44637         ($(common-objpfx)soversions.i): Don't pass default_setname to
44638         soversions.awk.
44639         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44640         oldest_abi to abi-versions.awk.
44641         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44642         * config.make.in (oldest-abi): Remove variable.
44643         * configure.ac (--enable-oldest-abi): Remove configure option.
44644         * configure: Regenerated.
44645         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44646         text.
44647         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44648         * scripts/soversions.awk: Do not handle default_setname variable.
44649         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44650         variable.
44651         * sysdeps/mach/hurd/configure: Regenerated.
44652         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44653         variable.
44654         * sysdeps/unix/sysv/linux/configure: Regenerated.
44656 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44658         * elf/Makefile (CFLAGS-interp.c): Remove.
44659         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44660         path string.
44661         * elf/interp.c: Include generated runtime-linker.h
44663         * Makerules (lib%.so): Don't include $(+interp) in
44664         prerequisites.
44665         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44666         * dlfcn/eval.c: Remove file.
44668         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44669         macros.
44671         [BZ #17266]
44672         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44673         4.2 and newer.
44675         [BZ #17370]
44676         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44678 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44679             Jakub Jelinek  <jakub@redhat.com>
44681         [BZ #17266]
44682         * libio/stdio.h: Check definition of __fortify_function
44683         instead of __extern_always_inline to include bits/stdio2.h.
44684         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44685         check if __extern_always_inline is defined.
44686         [__USE_MISC || __USE_XOPEN]: Likewise.
44687         [__USE_ISOC99] Likewise.
44688         * misc/sys/cdefs.h (__fortify_function): Define only if
44689         __extern_always_inline is defined.
44690         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44691         __extern_always_inline and __extern_inline only for g++-4.3
44692         and newer or a compatible gcc.
44694 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44696         [BZ #17371]
44697         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44698         last change to handle zero prefix length.
44700 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44702         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44703         _SC_REGEX_VERSION.
44705         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44706         _POSIX_RAW_SOCKETS.
44708 2014-09-13  Allan McRae  <allan@archlinux.org>
44710         * po/ru.po: Update Russian translation from translation project.
44712 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44714         * locale/programs/locale.c (show_locale_vars): Inline local function
44715         into its sole call site.  Clean up some style nits.
44716         (print_item): New function, broken out of ...
44717         (show_info): ... local function here.  Clean up style nits.
44719         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44720         out of ...
44721         (set_class_defaults): ... local function set_default here.
44722         Define set_default as a macro locally to pass constant parameters.
44723         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44724         rather than a shared local.
44726         * stdlib/rpmatch.c (try): New function, broken out of ...
44727         (rpmatch): ... local function here.  Also, prototypify definition.
44729 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44731         * scripts/soversions.awk: Do not handle configuration names.
44732         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44733         vendor and os variables to soversions.awk.
44734         * configure.ac: Do not modify gnu-* host_os.
44735         * configure: Regenerated
44736         * shlib-versions: Remove first column with configuration names.
44737         * nptl/shlib-versions: Likewise.
44738         * nptl_db/shlib-versions: Likewise.
44739         * sysdeps/hppa/shlib-versions: Likewise.
44740         * sysdeps/m68k/shlib-versions: Likewise.
44741         * sysdeps/mach/hurd/shlib-versions: Likewise.
44742         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44743         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44744         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44745         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44746         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44747         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44748         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44749         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44751         Likewise.
44752         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44753         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44754         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44755         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44756         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44757         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44758         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44759         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44762         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44764         Regenerated.
44765         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44767         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44769         * shlib-versions: Remove OS-specific entries.  Moved to files in
44770         sysdeps.
44771         * sysdeps/mach/hurd/shlib-versions: New file.
44772         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44774         * nptl/shlib-versions: Remove architecture-specific entries.
44775         Moved to files in sysdeps.
44776         * shlib-versions: Likewise.
44777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44778         file.
44779         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44780         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44781         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44782         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44784         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44785         (UDP_NO_CHECK6_RX): Likewise.
44787 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44789         * sysdeps/posix/sysconf.c (__sysconf): Spell
44790         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44792 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44794         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44795         loading.
44796         * iconv/Versions (__gconv_transliterate): Export for use from
44797         gconv modules.
44798         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44799         (struct __gconv_trans_data, __gconv_trans_fct,
44800         __gconv_trans_context_fct, __gconv_trans_query_fct,
44801         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44802         definitions.
44803         (struct __gconv_step_data): Remove __trans member.
44804         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44805         longer hidden.  Remove unused trans_data argument.
44806         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44807         (__gconv_translit_find): Remove declaration.
44808         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44809         prototype.
44810         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44811         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44812         trans_data argument.  Add hidden definition.
44813         (__gconv_translit_find): Remove.
44814         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44815         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44816         * iconv/skeleton.c: Remove transliteration initialization.
44817         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44818         __gconv_step_data initialization.
44819         * libio/iofwide.c (__libio_translit_): Remove.
44820         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44821         * wcsmbs/btowc.c (__btowc): Likewise.
44822         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44823         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44824         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44825         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44826         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44827         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44828         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44829         * wcsmbs/wctob.c (wctob): Likewise.
44831 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44833         [BZ #16194]
44834         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44835         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44836         register usage.
44837         * sysdeps/x86/Makefile: Adjust.
44839 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44840             Roland McGrath  <roland@hack.frob.com>
44842         * locale/weight.h: Add include guard.
44843         (findidx): Make static rather than auto; take new parameters
44844         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44845         * locale/weightwc.h: Likewise.
44846         * posix/fnmatch_loop.c
44847         (FCT): Change type of EXTRA from int32_t to wint_t.
44848         Don't include either header inside the function.
44849         Call FINDIDX rather than findidx, and pass new arguments.
44850         #undef FINDIDX at the end of the file.
44851         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44852         FINDIDX before including fnmatch_loop.c for the non-wide version.
44853         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44854         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44855         for the wide version.
44856         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44857         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44858         Pass new arguments to findidx.
44859         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44860         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44861         Don't #include it inside the function.  Pass new arguments to findidx.
44862         * posix/regex_internal.h
44863         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44864         (re_string_elem_size_at): Don't #include it inside the function.
44865         Pass new arguments to findidx.
44866         * string/strcoll_l.c: #include WEIGHT_H at top level.
44867         (get_next_seq): Don't #include it inside the function.
44868         Pass new arguments to findidx.
44869         (get_next_seq_nocache): Likewise.
44870         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44871         (STRXFRM): Don't #include it inside the function.
44872         Pass new arguments to findidx.
44874 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44876         [BZ #17344]
44877         * malloc/malloc.c (unlink): Turn asserts into a call to
44878         malloc_printerr.
44880 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44882         [BZ #17370]
44883         * libio/wfileops (do_ftell_wide): Free OUT.
44885 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44887         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44889 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44891         [BZ #17363]
44892         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44893         group if the current group is empty.
44895 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44897         * benchtests/bench-memset.c (test_main): Add more test from size
44898         from 32 to 512 bytes.
44899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44900         Add POWER8 memset object.
44901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44902         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44903         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44904         implementation.
44905         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44906         Likewise.
44907         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44908         multiarch POWER8 memset optimization.
44909         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44910         POWER8 memset optimization.
44912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44913         Remove bzero multiarch objects.
44914         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44915         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44916         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44917         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44918         Remove define.
44919         [__bzero]: Redefine to specific name.
44920         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44921         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44922         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44923         define.
44924         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44925         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44927 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44929         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44930         warnings into errors.
44932         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44933         __cxa_thread_atexit_impl prototype.
44935 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44937         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44938         Fix capitalization of error message.
44940 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44942         * sysdeps/mips/preconfigure: Modify ABI tests.
44944 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44946         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44948 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44949             Carlos O'Donell  <carlos@systemhalted.org>
44951         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44952         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44953         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44954         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44955         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44956         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44957         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44958         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44959         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44960         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44961         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44962         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44963         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44964         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44965         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44966         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44967         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44968         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44969         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44970         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44971         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44972         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44973         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44974         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44975         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44976         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44977         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44978         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44979         Deconditionalize the code that was previously under [RESET_PID].
44980         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44981         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44982         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44983         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44984         include sysdep.h.
44986 2014-09-08  Allan McRae  <allan@archlinux.org>
44988         * version.h (RELEASE): Set to "development".
44989         (VERSION): Set to "2.20.90"
44991 2014-09-07  Allan McRae  <allan@archlinux.org
44993         * version.h (RELEASE): Set to "stable".
44994         (VERSION): Set to "2.20"
44995         * include/features.h (__GLIBC_MINOR__): Set to 20.
44997         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44998         Liebler.
45000         * po/ko.po: Update Korean translation from translation project.
45002 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45004         [BZ #17354]
45005         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45006         macro for handling signed relocations.
45008 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45010         [BZ #17325]
45011         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45012         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45013         assert.
45014         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45015         * iconvdata/ibm935.c (BODY): Likewise.
45016         * iconvdata/ibm937.c (BODY): Likewise.
45017         * iconvdata/ibm939.c (BODY): Likewise.
45018         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45019         assert.
45020         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45021         script.
45022         * iconvdata/run-iconv-test.sh: New test loop for checking for
45023         decoder crashers.
45025 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45027         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45028         libm_hidden_ver.
45030 2014-09-01  Allan McRae  <allan@archlinux.org>
45032         * po/eo.po: Update Esperanto translation from translation project.
45034         * po/ca.po: Update Catalan translation from translation project.
45036 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45038         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45039         __proc_dostop call.
45041 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45043         [BZ #17319]
45044         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45045         to call set_thread_area instead of hand written asm.
45046         (__NR_set_thread_area): Removed define.
45047         (TLS_FLAG_WRITABLE): Likewise.
45048         (__ASSUME_SET_THREAD_AREA): Remove check.
45049         (TLS_EBX_ARG): Remove define.
45050         (TLS_LOAD_EBX): Likewise.
45052 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45054         Simplify atomicity of socket creation in bind.
45056         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45057         looking up the name after linking the file.
45059 2014-08-27  Allan McRae  <allan@archlinux.org>
45061         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45063 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45065         [BZ #17187]
45066         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45067         trans_compare, open_translit, __gconv_translit_find):
45068         Remove module loading code.
45070 2014-08-26  Allan McRae  <allan@archlinux.org>
45072         * po/vi.po: Update Vietnamese translation from translation project.
45074         * po/uk.po: Update Ukrainian translation from translation project.
45076         * po/fr.po: Update French translation from translation project.
45078         * po/ru.po: Update Russian translation from translation project.
45080         * po/pl.po: Update Polish translation from translation project.
45082         * po/cs.po: Update Czech translation from translation project.
45084         * po/de.po: Update German translation from translation project.
45086         * po/bg.po: Update Bulgarian translation from translation project.
45088         * po/sv.po: Update Sweedish translation from translation project.
45090         * po/nl.po: Update Dutch translation from translation project.
45092         * po/es.po: Update Spanish translation from translation project.
45094 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45096         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45098         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45099         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45100         (CPPFLAGS-iconvconfig): Likewise.
45101         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45103         * include/libc-symbols.h: Remove unnecessary check for
45104         NOT_IN_libc.
45105         * nptl/pthreadP.h: Likewise.
45106         * sysdeps/aarch64/setjmp.S: Likewise.
45107         * sysdeps/alpha/setjmp.S: Likewise.
45108         * sysdeps/arm/sysdep.h: Likewise.
45109         * sysdeps/i386/setjmp.S: Likewise.
45110         * sysdeps/m68k/setjmp.c: Likewise.
45111         * sysdeps/posix/getcwd.c: Likewise.
45112         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45113         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45114         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45115         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45116         * sysdeps/sh/sh3/setjmp.S: Likewise.
45117         * sysdeps/sh/sh4/setjmp.S: Likewise.
45118         * sysdeps/unix/alpha/sysdep.h: Likewise.
45119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45121         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45122         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45127         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45130         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45132         * sysdeps/x86_64/setjmp.S: Likewise.
45134 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45136         [BZ #17263]
45137         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45138         <stdint.h>.
45139         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45140         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45142 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45144         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45146         [BZ #17262]
45147         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45148         and __x86_64__ when disabling x87 inline functions.
45150 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45152         [BZ #17259]
45153         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45154         asm statement with __cpuid_count.
45156 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45158         * configure.ac: Change __ehdr_start code to dereference the struct.
45159         Run readelf on the output to look for relocations.
45160         * configure: Regenerated.
45162 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45164         [BZ #17261]
45165         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45166         value to 0.
45167         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45169 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45171         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45173 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45175         [BZ #16892]
45176         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45177         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45179 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45181         * malloc/malloc.c: Fix typo in comment.
45183 2014-08-09  Allan McRae  <allan@archlinux.org>
45185         * Regenerate libc.po.
45187 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45189         * intl/tst-gettext2.sh: Check every lang file for creation.
45191 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45193         * sysdeps/aarch64/fpu/math_private.h
45194         (libc_feholdsetround_noex_aarch64_ctx): New function.
45196 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45198         * sysdeps/arm/armv6/strcpy.S (strcpy):
45199         Fix performance issue in misaligned cases.
45201 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45203         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45204         Move definition from termios.h.
45205         (struct termio): Likewise.
45206         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45207         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45208         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45209         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45210         Likewise.
45211         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45212         Move definition to ioctl-types.h
45213         (struct termio): Likewise.
45214         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45215         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45216         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45217         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45218         Likewise.
45220 2014-08-05  Richard Henderson  <rth@redhat.com>
45222         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45223         exceptions.
45224         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45225         Add fraiseexcpt.
45226         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45227         Use __feraiseexcept.
45228         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45229         Protect libm symbols with IS_IN_libm.
45231         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45233 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45235         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45237 2014-08-04  Will Newton  <will.newton@linaro.org>
45239         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45240         file.
45242 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45244         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45245         variants for each function.
45247 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45249         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45250         appended ...
45251         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45252         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45253         appended ...
45254         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45255         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45256         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45257         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45258         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45259         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45260         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45261         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45262         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45263         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45264         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45265         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45266         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45267         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45268         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45269         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45270         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45272         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45274         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45275         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45276         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45277         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45278         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45279         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45280         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45281         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45282         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45283         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45284         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45285         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45286         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45287         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45288         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45289         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45290         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45291         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45292         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45293         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45294         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45295         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45296         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45297         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45298         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45299         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45300         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45301         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45302         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45303         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45304         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45305         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45306         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45307         Update #include.
45308         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45309         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45311 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45313         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45314         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45315         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45316         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45317         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45318         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45320 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45322         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45323         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45324         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45325         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45327 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45329         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45330         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45331         (__libc_vfork): Define function under this name.
45332         (__vfork): Define as an alias.
45333         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45334         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45336 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45338         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45339         that was previously under [RESET_PID].
45340         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45342 2014-08-04  Andreas Schwab  <schwab@suse.de>
45344         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45346 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45348         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45349         (main): Likewise.
45351 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45353         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45355 2014-08-01  Richard Henderon  <rth@redhat.com>
45357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45358         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45359         typo in exact zero test.
45360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45361         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45364 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45366         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45367         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45368         * sysdeps/arm/sysdep.h: ... here.
45369         [!__ASSEMBLER__]: Include <stdint.h>.
45371 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45373         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45374         (HAVE_WCTYPE_H): Likewise.
45375         (HAVE_ISWCTYPE): Likewise.
45376         (ENABLE_NLS): Likewise.
45377         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45378         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45380         * posix/regex_internal.c: Check if DEBUG is defined and is
45381         set.
45383         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45384         (HAVE_MBSRTOWCS): Likewise.
45385         * posix/fnmatch.c: Include string.h unconditionally.
45387 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45389         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45390         reversal.
45392 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45394         * sysdeps/generic/safe-fatal.h: New file.
45395         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45396         * nptl/forward.c: Include it.
45397         (__pthread_unwind): Use __safe_fatal as default action, rather
45398         than a bogus use of INTERNAL_SYSCALL that could never work.
45400         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45401         * configure.ac (libc_cv_builtin_trap): New test.
45402         * configure: Regenerated.
45403         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45404         (ABORT_INSTRUCTION): Define using __builtin_trap.
45406         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45407         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45408         * sysdeps/nptl/nptl-signals.h: New file.
45409         * nptl/pthreadP.h: Include <nptl-signals.h>.
45411 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45413         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45414         (ONE_DIRECTION): Define.
45415         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45416         (ONE_DIRECTION): Define.
45417         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45418         (ONE_DIRECTION): Define.
45420 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45422         * sysdeps/s390/Makefile: Delete file.
45423         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45424         * sysdeps/s390/__longjmp.c: Delete file.
45425         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45426         Remove fields __flags and __reserved.
45427         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45428         and add versioning.
45429         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45430         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45431         * sysdeps/s390/rtld-setjmp.S: Likewise.
45432         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45433         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45434         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45435         * sysdeps/s390/s390-32/setjmp.S: ... here.
45436         Add versioning.
45437         (__sigsetjmp): Remove setting __flags field.
45438         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45439         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45440         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45441         * sysdeps/s390/s390-64/setjmp.S: ... here.
45442         Add versioning.
45443         (__sigsetjmp): Remove setting __flags field.
45444         * sysdeps/s390/setjmp.S: Delete file.
45445         * sysdeps/s390/sigjmp.c: Likewise.
45446         * sysdeps/s390/v1-longjmp.c: Likewise.
45447         * sysdeps/s390/v1-setjmp.h: Likewise.
45448         * sysdeps/s390/v1-sigjmp.c: Likewise.
45449         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45450         Remove v1-longjmp_chk.
45451         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45452         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45453         Include debug/longjmp_chk.c and add versioning.
45454         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45455         Include nptl/pt-longjmp.c and add versioning.
45456         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45457         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45458         Include __longjmp.c.
45459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45460         Move to ...
45461         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45462         (__getcontext): Remove setting __flags field.
45463         Add versioning.
45464         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45465         Don't restore upper high grps.
45466         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45467         Likewise.
45468         (__swapcontext): Remove setting uc_flags field.
45469         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45470         Delete file.
45471         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45472         Include __longjmp.c.
45473         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45474         Move to ...
45475         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45476         (__getcontext): Remove setting __flags field.
45477         Add versioning.
45478         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45479         (__swapcontext): Remove setting uc_flags field.
45480         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45481         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45482         Remove fields uc_high_gprs and __reserved.
45483         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45484         New file with reverted content.
45485         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45486         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45487         Regenerated.
45488         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45489         Regenerated.
45491 2014-07-31  Andreas Schwab  <schwab@suse.de>
45493         * config.h.in (HAVE_IFUNC): Define to 0.
45494         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45495         definedness.
45497 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45500         memmove-avx-unaligned, memcpy-avx-unaligned and
45501         mempcpy-avx-unaligned.
45502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45503         Add tests for AVX memcpy functions.
45504         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45505         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45506         memcpy_chk.
45507         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45508         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45509         memmove_chk.
45510         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45511         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45512         mempcpy_chk.
45513         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45514         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45515         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45517 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45519         [BZ #17213]
45520         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45521         powerpc64le.
45523 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45525         [BZ #16839]
45526         * manual/llio.texi: Add section about open file description locks.
45527         * manual/examples/ofdlocks.c: Example of open file description
45528         lock usage.
45529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45530         F_OFD_SETLK, and F_OFD_SETLKW.
45532 2014-07-23  Allan McRae  <allan@archlinux.org>
45534         * po/es.po: Update Spanish translation from translation project.
45536 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45538         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45540 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45542         [BZ #17078]
45543         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45544         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45545         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45547 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45549         [BZ #17088]
45550         * math/fesetenv.c (__fesetenv)
45551         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45552         * math/feupdateenv.c (__feupdateenv)
45553         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45555         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45556         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45557         (__ASSUME_SOCKETCALL): Do not define.
45559         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45560         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45561         (__ASSUME_SOCKETCALL): Do not define.
45562         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45563         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45564         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45565         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45566         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45567         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45568         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45569         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45571         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45572         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45573         (__ASSUME_SOCKETCALL): Do not define.
45574         (__ASSUME_IPC64): Define unconditionally.
45575         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45576         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45577         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45578         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45579         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45580         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45581         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45582         Likewise.
45584         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45585         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45586         (__ASSUME_SOCKETCALL): Do not define.
45587         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45588         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45589         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45590         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45591         (__ASSUME_REQUEUE_PI): Define unconditionally.
45592         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45593         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45594         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45595         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45596         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45597         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45599         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45600         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45601         (__ASSUME_SOCKETCALL): Do not define.
45602         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45603         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45604         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45605         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45606         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45607         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45609         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45610         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45611         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45612         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45613         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45614         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45615         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45616         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45617         (__ASSUME_GETCPU_SYSCALL): Likewise.
45619         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45620         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45621         cases for individual architectures.
45622         * sysdeps/gnu/configure: Regenerated.
45623         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45624         LIBC_SLIBDIR_RTLDDIR.
45625         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45626         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45627         LIBC_SLIBDIR_RTLDDIR.
45628         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45630         LIBC_SLIBDIR_RTLDDIR.
45631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45632         Regenerated.
45633         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45634         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45635         file.
45636         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45637         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45638         file.
45639         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45640         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45641         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45642         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45644         * sysdeps/aarch64/shlib-versions: Move to ...
45645         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45646         * sysdeps/alpha/shlib-versions: Move to ...
45647         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45648         * sysdeps/arm/shlib-versions: Move to ...
45649         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45650         * sysdeps/hppa/shlib-versions: Move all contents except for
45651         libgcc_s entry to ...
45652         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45653         entry from ...
45654         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45655         * sysdeps/ia64/shlib-versions: Move to ...
45656         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45657         entry from ...
45658         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45659         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45660         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45661         * sysdeps/microblaze/shlib-versions: Move to ...
45662         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45663         * sysdeps/mips/shlib-versions: Move to ...
45664         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45665         entry from ...
45666         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45667         * sysdeps/tile/shlib-versions: Move to ...
45668         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45669         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45670         from ...
45671         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45672         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45673         entry from ...
45674         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45676 2014-07-17  Will Newton  <will.newton@linaro.org>
45678         * sysdeps/arm/bits/atomic.h
45679         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45680         (__arch_compare_and_exchange_bool_16_int): Likewise.
45681         (__arch_compare_and_exchange_bool_64_int): Likewise.
45683         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45684         into an #else block.
45686 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45688         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45689         just Linux configurations.  Test empirically that the compiler sets
45690         __ARM_EABI__, rather than using the tuple to decide.
45691         * sysdeps/arm/preconfigure: Regenerated.
45692         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45693         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45694         contents appended ...
45695         * sysdeps/arm/configure.ac: ... here.
45696         * sysdeps/arm/configure: Regenerated.
45698 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45700         * nptl/pthread_kill.c: New file.
45701         * nptl/pthread_sigmask.c: New file.
45702         * nptl/pthread_sigqueue.c: New file.
45704         * sysdeps/nptl/lowlevellock.h: New file.
45705         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45706         * sysdeps/nptl/lowlevellock-futex.h: New file.
45708         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45709         Remove dead declarations.
45711 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45713         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45714         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45715         config-cflags-avx2.
45716         * sysdeps/x86_64/configure.ac: Likewise.
45717         * sysdeps/i386/configure: Regenerated.
45718         * sysdeps/x86_64/configure: Likewise.
45719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45720         memset-avx2 only if config-cflags-avx2 is yes.
45721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45722         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45723         defined.
45724         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45725         only if HAVE_AVX2_SUPPORT is defined.
45726         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45728 2014-07-14  Alan Modra  <amodra@gmail.com>
45730         [BZ #17153]
45731         * elf/elf.h (DT_PPC64_NUM): Correct value.
45732         * NEWS: Add to fixed bug list.
45734 2014-07-13  Jim Meyering  <meyering@fb.com>
45736         [BZ 17150]
45737         regex: don't deref NULL upon heap allocation failure
45738         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45739         failure in one more place.
45740         To trigger the segfault, configure grep -with-included-regex,
45741         build it, and run these commands:
45742         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45744 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45746         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45748 2014-07-11  Richard Henderson  <rth@redhat.com>
45750         * sysdeps/aarch64/libm-test-ulps: Update.
45752 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45754         [BZ #17135]
45755         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45756         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45757         (__nptl_setxid): Initialize error member.  Call
45758         __nptl_setxid_error.
45759         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45760         * nptl/descr.h (struct xid_command): Add error member.
45761         * nptl/tst-setuid3.c: New file.
45762         * nptl/Makefile (tests): Add it.
45764 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45766         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45767         New define.
45768         (__lll_trylock): Use __lll_base_trylock.
45769         (__lll_cond_trylock): Likewise.
45771 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45773         * nptl/pthread_create.c (start_thread): Use atomic_or and
45774         lll_futex_wake directly rather than lll_robust_dead.
45775         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45776         (lll_robust_dead): Macro removed.
45777         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45778         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45779         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45780         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45782         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45783         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45784         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45785         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45786         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45787         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45788         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45789         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45790         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45791         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45793         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45794         Use atomic_compare_and_exchange_val_acq directly rather than
45795         lll_robust_trylock.
45796         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45797         (__lll_robust_trylock, lll_robust_trylock): Removed.
45798         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45799         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45800         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45801         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45802         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45803         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45804         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45805         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45806         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45807         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45808         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45809         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45810         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45811         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45813 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45815         * manual/locale.texi (Locale Names): New section documenting
45816         locale name syntax.  Adjust menu and node chaining accordingly.
45817         (Choosing Locale): Reference Locale Names, Locale Categories.
45818         Mention setting LC_ALL=C.  Reflect that name syntax is now
45819         documented.
45820         (Locale Categories): New section title.  Reference Locale Names.
45821         LC_ALL is an environment variable, but not a category.
45822         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45823         description, now in Locale Name.  Reference that section.  Locale
45824         name syntax is now documented.
45826 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45828         [BZ #17137]
45829         * locale/findlocale.c (name_present, valid_locale_name): New
45830         functions.
45831         (_nl_find_locale): Use the loc_name variable to store name
45832         candidates.  Call name_present and valid_locale_name to check and
45833         validate locale names.  Return an error if the locale is invalid.
45835 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45837         * locale/setlocale.c (setlocale): Use strdup for allocating
45838         composite name copy.
45840 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45842         Sync up with gnulib.
45843         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45844         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45845         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45846         and _GL_ARG_NONNULL.
45847         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45848         [!_LIBC]: Include code for Windows and Cygwin.
45849         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45850         Include prototype for int strerror_r.
45851         [!_LIBC] (is_open): New function.
45852         (flush_stdout): New function.
45853         (print_errno_message): Use it.
45854         (error): Likewise.
45855         (error_at_line): Likewise.
45856         (error_tail) Add function attribute macros.  Use
45857         __builtin_expect.
45859         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45861         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45863         * io/ftw.c: Include sys/param.h unconditionally.
45865         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45867         [BZ #17125]
45868         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45869         libc_freeres_ptr.
45870         (freecache): New function to free CACHE on exit.
45872         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45873         initialization.
45875 2014-07-09  David S. Miller  <davem@davemloft.net>
45877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45879         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45880         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45881         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45882         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45883         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45884         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45885         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45886         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45887         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45888         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45889         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45890         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45891         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45893 2014-07-09  Andreas Schwab  <schwab@suse.de>
45895         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45896         output.
45897         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45898         (do_test): Likewise.
45900         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45902 2014-07-09  Will Newton  <will.newton@linaro.org>
45904         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45905         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45906         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45907         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45908         * sysdeps/hppa/start.S (_start): Likewise.
45910 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45912         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45914         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45915         defined.
45917 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45919         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45920         after checking that it is non-NULL.
45922         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45924 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45926         * sysdeps/powerpc/memmove.c: Remove file.
45927         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45928         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45929         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45930         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45931         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45932         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45933         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45934         string memmove instead of removed powerpc one.
45936         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45937         [weak_alias]: Fix compiler warning due trailing data.
45938         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45939         [weak_alias]: Likewise.
45940         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45941         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45943         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45944         (__libc_ifunc_impl_list): Add memmove functions.
45946 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45948         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45949         Remove code.
45950         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45951         Likewise.
45952         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45953         Likewise.
45954         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45955         Likewise.
45956         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45957         Likewise.
45958         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45959         Likewise.
45960         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45961         Likewise.
45962         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45963         Likewise.
45964         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45965         Likewise.
45966         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45967         Likewise.
45968         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45969         Likewise.
45970         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45971         Likewise.
45972         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45973         Likewise.
45974         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45975         Likewise.
45976         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45977         Likewise.
45978         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45979         Likewise.
45980         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45981         Likewise.
45983 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45985         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45986         to avoid alignment traps in non-cacheable memory.
45987         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45990         multiarch objects.
45991         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45992         file: multiarch power7 memmove.
45993         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45994         multiarch default memmove.
45995         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45996         multiarch memove for powerpc32/power4.
45998         * string/bcopy.c: Use full path to include memmove.c.
45999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46000         multiarch objects.
46001         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46002         bcopy for powerpc64.
46003         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46004         bcopy for powerpc64.
46005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46006         and memmove implementations.
46007         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46008         optimized multiarch memmove for POWER7/powerpc64.
46009         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46010         default multiarch memmove for powerpc64.
46011         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46012         multiarch for powerpc64.
46013         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46014         for POWER7/powerpc64.
46015         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46016         memmove for POWER7/powerpc64.
46018         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46019         glibc default one.
46021         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46022         __ELF_NATIVE_CLASS equal to 64.
46024 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46026         * sysdeps/nptl/lowlevellock.h: File removed.
46028         * NEWS: NPTL is no longer an add-on!
46029         * nptl/internaltypes.h: Moved ...
46030         * sysdeps/nptl/internaltypes.h: ... here.
46031         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46032         * sysdeps/nptl/fork.c: Likewise.
46033         * sysdeps/nptl/gai_misc.h: Likewise.
46034         * sysdeps/nptl/librt-cancellation.c: Likewise.
46035         * sysdeps/nptl/jmp-unwind.c: Likewise.
46036         * sysdeps/nptl/setxid.h: Likewise.
46037         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46038         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46039         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46040         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46041         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46042         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46043         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46044         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46045         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46046         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46047         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46048         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46049         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46050         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46051         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46052         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46053         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46054         * nptl/Makeconfig: Moved ...
46055         * sysdeps/nptl/Makeconfig: ... here.
46056         * nptl/configure: File removed.
46057         * nptl/ANNOUNCE: File removed.
46058         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46059         * sysdeps/unix/sysv/linux/configure: Regenerated.
46061         * nptl/Makefile (routines): Add libc_pthread_init,
46062         libc_multiple_threads, register-atfork and unregister-atfork.
46063         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46064         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46065         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46066         pthread-pi-defines.sym, structsem.sym.
46067         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46068         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46069         [$(subdir) = nptl] (tests): Add tst-setgetname.
46070         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46071         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46072         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46073         [!LIBC_SIGACTION]: Remove aliases.
46074         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46075         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46076         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46077         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46078         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46079         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46080         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46082         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46083         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46084         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46085         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46086         __libc_allocate_rtsig_private.
46087         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46088         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46089         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46090         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46091         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46092         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46093         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46094         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46095         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46096         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46097         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46098         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46099         * nptl/internaltypes.h: ... here.
46100         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46101         * sysdeps/nptl/jmp-unwind.c: ... here.
46102         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46103         * nptl/libc-lowlevellock.c: ... here.
46104         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46105         * nptl/libc_multiple_threads.c: ... here.
46106         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46107         * nptl/libc_pthread_init.c: ... here.
46108         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46109         * nptl/lowlevelbarrier.sym: ... here.
46110         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46111         * nptl/lowlevelcond.sym: ... here.
46112         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46113         * nptl/lowlevellock.c: ... here.
46114         * nptl/lowlevellock.h: Moved ...
46115         * sysdeps/nptl/lowlevellock.h: ... here.
46116         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46117         * nptl/lowlevelrobustlock.c: ... here.
46118         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46119         * nptl/lowlevelrobustlock.sym: ... here.
46120         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46121         * nptl/lowlevelrwlock.sym: ... here.
46122         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46123         * nptl/pt-fork.c: ... here.
46124         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46125         * nptl/pthread-pi-defines.sym: ... here.
46126         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46127         * nptl/pthread_attr_getaffinity.c: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46129         * nptl/pthread_attr_setaffinity.c: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46131         * nptl/pthread_mutex_cond_lock.c: ... here.
46132         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46133         Update #include.
46134         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46135         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46136         * nptl/pthread_once.c: ... here, replacing old file.
46137         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46138         * nptl/pthread_yield.c: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46140         * nptl/register-atfork.c: ... here.
46141         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46142         * nptl/sem_post.c: ... here.
46143         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46144         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46145         * nptl/sem_timedwait.c: ... here.
46146         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46147         * nptl/sem_trywait.c: ... here.
46148         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46149         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46150         * nptl/sem_wait.c: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46152         * nptl/structsem.sym: ... here.
46153         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46154         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46155         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46156         * nptl/unregister-atfork.c: ... here.
46157         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46158         * nptl/unwindbuf.sym: ... here.
46159         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46160         * sysdeps/nptl/fork.c: ... here.
46161         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46162         * sysdeps/nptl/fork.h: ... here.
46163         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46164         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46165         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46166         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46167         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46168         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46169         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46170         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46171         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46172         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46173         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46174         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46175         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46176         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46177         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46178         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46179         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46180         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46181         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46182         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46183         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46184         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46185         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46186         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46187         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46188         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46189         * sysdeps/unix/sysv/linux/raise.c: ... here.
46190         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46191         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46192         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46193         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46194         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46195         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46197         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46198         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46199         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46200         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46201         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46202         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46203         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46204         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46206 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46208         * sysdeps/generic/memcopy.h: Add comment for
46209         MEMCPY_OK_FOR_FWD_MEMMOVE.
46211 2014-07-04  Will Newton  <will.newton@linaro.org>
46213         * string/memchr.c: Merge from gnulib.
46214         [_LIBC]: Remove conditionals.
46215         (__ptr_t): Remove define.
46216         (LONG_MAX_32_BITS): Likewise.
46217         (LONG_MAX): Likewise.
46218         (MEMCHR): Use ANSI prototype and optimize algorithm.
46220         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46222 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46224         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46225         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46227         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46228         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46229         in a bare environment with no <stdlib.h> installed.
46230         * sysdeps/nptl/configure: Regenerated.
46232         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46234         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46235         AC_EGREP_CPP for kernel header checks, so they only succeed if
46236         including <linux/version.h> actually works right.
46237         * sysdeps/unix/sysv/linux/configure: Regenerated.
46239         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46240         value so it's not diagnosed as unused.
46242         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46243         thing) with "ifeq ($(subdir),rt)".
46245 2014-07-03  Richard Henderson  <rth@redhat.com>
46247         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46248         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46249         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46251         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46252         (math_force_eval): New.
46254         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46255         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46257         * sysdeps/alpha/fpu/s_round.c: Remove file.
46258         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46260         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46261         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46262         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46263         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46264         (_dl_start, print_statistics): Likewise.
46265         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46266         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46268         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46269         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46270         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46271         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46272         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46273         (HP_SMALL_TIMING_AVAIL): Define.
46274         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46275         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46276         (HP_SMALL_TIMING_AVAIL): Define.
46277         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46278         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46280         * sysdeps/aarch64/hp-timing.h: New file.
46282         * sysdeps/generic/hp-timing.h: Remove dead comment.
46283         * sysdeps/generic/hp-timing-common.h: New file.
46284         * sysdeps/alpha/hp-timing.h: Include it.
46285         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46286         * sysdeps/i386/i686/hp-timing.h: Likewise.
46287         * sysdeps/ia64/hp-timing.h: Likewise.
46288         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46289         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46290         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46291         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46292         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46293         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46294         (hp_timing_t): New.
46296         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46297         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46298         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46299         * elf/rtld.c (_dl_start_final): Likewise.
46300         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46301         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46302         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46303         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46304         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46305         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46306         (HP_TIMING_DIFF_INIT): Remove.
46307         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46308         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46309         (HP_TIMING_DIFF_INIT): Remove.
46310         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46311         * sysdeps/i386/i686/hp-timing.c: Remove file.
46312         * sysdeps/x86_64/hp-timing.c: Remove file.
46313         * sysdeps/ia64/hp-timing.c: Remove file.
46314         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46315         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46316         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46317         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46319         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46320         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46321         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46322         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46323         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46324         (HP_TIMING_ACCUM): Remove.
46325         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46326         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46327         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46329         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46330         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46331         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46332         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46333         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46334         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46335         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46336         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46338         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46340 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46342         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46344 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46346         Sync up with gettext.
46347         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46348         [_MSC_VER]: Include malloc.h
46349         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46350         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46351         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46352         TEMP_FAILURE_RETRY.  Cast return of alloca.
46353         [!_LIBC] Call gl_rwlock_init.
46354         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46356 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46358         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46359         before checking its value.
46361 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46363         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46365         * debug/memcpy_chk.c: Don't include pagecopy.h.
46366         * debug/mempcpy_chk.c: Likewise.
46367         * string/memcpy.c: Likewise.
46368         * string/memmove.c: Likewise.
46369         * sysdeps/powerpc/memmove.c: Likewise.
46370         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46371         definition of PAGE_COPY_FWD_MAYBE here...
46372         * sysdeps/generic/pagecopy.h: ... from here.
46373         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46375 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46376             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46378         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46380         optimizations.
46381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46382         (__libc_ifunc_impl_list): Likewise.
46383         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46384         multiarch strcat for PPC64.
46385         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46386         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46388 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46390         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46392 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46394         * intl/loadmsgcat.c: Remove declaration of
46395         get_sysdep_segment_value.
46396         (get_sysdep_segment_value): Use ISO C style.
46397         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46398         semicolon.  Fix typo and formatting in comment.
46399         (_nl_unload_domain): Use ISO C style.
46401         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46403 2014-07-02  Will Newton  <will.newton@linaro.org>
46405         * malloc/obstack.c: Merge from gnulib master.
46406         [HAVE_CONFIG_H]: Remove conditional code.
46407         [!_LIBC]: Include config.h.
46408         [!ELIDE_CODE]: Don't include inttypes.h, include
46409         stdint.h unconditionally.
46410         (print_and_abort): Mark as _Noreturn.
46411         (_obstack_allocated_p): Mark as __attribute_pure__.
46412         (obstack_free): Rename to __obstack_free.
46413         [!__attribute__]: Remove conditional code.
46414         * malloc/obstack.h: Merge from gnulib master.
46415         [__cplusplus]: Move conditional down.
46416         [!__attribute_pure__]: Define __attribute_pure__ here
46417         if it is not already defined.
46418         (_obstack_memory_used): Mark as __attribute_pure__.
46419         [!__obstack_free]: Define as obstack_free.
46420         [__GNUC__]: Remove check for ancient NeXT gcc.
46422 2014-07-02  Will Newton  <will.newton@linaro.org>
46423             Paul Eggert  <eggert@cs.ucla.edu>
46425         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46427 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46429         * resolv/gethnamaddr.c: Add comment warning that the file is
46430         not maintained.
46432 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46434         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46435         entries.
46437         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46438         entry for aio_cancel and aio_cancel64.
46439         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46440         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46441         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46442         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46443         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46444         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46445         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46446         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46447         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46448         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46449         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46450         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46451         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46453 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46455         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46456         * nptl/pthread_mutex_lock.c: Likewise.
46457         * nptl/pthread_mutex_timedlock.c: Likewise.
46458         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46460 2014-07-01  Richard henderson  <rth@redhat.com>
46462         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46463         (__isnan, __isnanl): Remove.
46464         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46466         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46468 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46470         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46472 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46474         * resolv/nss_dns/dns-host.c (getanswer_r)
46475         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46477 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46480         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46481         undefine.
46482         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46483         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46485 2014-07-01  Roland McGrath <roland@hack.frob.com>
46487         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46488         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46490         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46491         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46493         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46494         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46495         ... here.
46496         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46497         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46499         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46500         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46501         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46502         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46504         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46505         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46506         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46507         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46508         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46509         Moved ...
46510         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46511         ... here.
46512         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46513         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46514         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46515         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46516         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46517         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46518         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46519         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46520         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46521         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46522         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46523         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46524         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46525         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46526         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46527         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46528         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46529         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46530         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46531         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46532         ... here.
46533         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46534         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46535         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46536         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46537         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46538         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46539         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46540         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46542 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46544         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46545         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46546         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46547         Add sysdep.
46549 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46553 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46555         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46556         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46558         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46560         * sysdeps/arm/libm-test-ulps: Regenerated.
46562 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46563             Roland McGrath <roland@hack.frob.com>
46565         * test-skeleton.c (signal_handler): Kill the whole process group
46566         before killing the child individually.
46567         (main): Report any failure on `setpgid'.
46569 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46571         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46572         from _TLS_H to _ARM_NPTL_TLS_H.
46573         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46574         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46576 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46578         [BZ #16539]
46579         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46580         (__expm1l): Return argument unchanged when small but not
46581         subnormal.
46583         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46584         include macro name.
46585         (_FP_UNPACK_RAW_1_P): Likewise.
46586         (_FP_PACK_RAW_1): Likewise.
46587         (_FP_PACK_RAW_1_P): Likewise.
46588         (_FP_MUL_MEAT_1_wide): Likewise.
46589         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46590         (_FP_MUL_MEAT_1_hard): Likewise.
46591         (_FP_DIV_MEAT_1_imm): Likewise.
46592         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46593         (_FP_DIV_MEAT_1_udiv): Likewise.
46594         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46595         (_FP_UNPACK_RAW_2): Likewise.
46596         (_FP_UNPACK_RAW_2_P): Likewise.
46597         (_FP_PACK_RAW_2): Likewise.
46598         (_FP_PACK_RAW_2_P): Likewise.
46599         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46600         (_FP_MUL_MEAT_2_wide): Likewise.
46601         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46602         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46603         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46604         (_FP_MUL_MEAT_2_gmp): Likewise.
46605         (_FP_DIV_MEAT_2_udiv): Likewise.
46606         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46607         (_FP_FRAC_SRL_4): Likewise.
46608         (_FP_FRAC_SRST_4): Likewise.
46609         (_FP_FRAC_SRS_4): Likewise.
46610         (_FP_UNPACK_RAW_4): Likewise.
46611         (_FP_UNPACK_RAW_4_P): Likewise.
46612         (_FP_PACK_RAW_4): Likewise.
46613         (_FP_PACK_RAW_4_P): Likewise.
46614         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46615         (_FP_MUL_MEAT_4_wide): Likewise.
46616         (_FP_MUL_MEAT_4_gmp): Likewise.
46617         (umul_ppppmnnn): Likewise.
46618         (_FP_DIV_MEAT_4_udiv): Likewise.
46619         (__FP_FRAC_ADD_4): Likewise.
46620         (__FP_FRAC_SUB_3): Likewise.
46621         (__FP_FRAC_SUB_4): Likewise.
46622         (__FP_FRAC_DEC_3): Likewise.
46623         (__FP_FRAC_DEC_4): Likewise.
46624         (__FP_FRAC_ADDI_4): Likewise.
46625         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46626         (_FP_FRAC_SRL_8): Likewise.
46627         (_FP_FRAC_SRS_8): Likewise.
46629         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46630         include macro name.
46631         (FP_UNPACK_RAW_EP): Likewise.
46632         (FP_PACK_RAW_E): Likewise.
46633         (FP_PACK_RAW_EP): Likewise.
46634         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46635         (_FP_ISSIGNAN): Likewise.
46636         (_FP_ADD_INTERNAL): Likewise.
46637         (_FP_FMA): Likewise.
46638         (_FP_CMP): Likewise.
46639         (_FP_SQRT): Likewise.
46640         (_FP_TO_INT): Likewise.
46641         (_FP_FROM_INT): Likewise.
46642         (FP_EXTEND): Likewise.
46643         (_FP_DIV_MEAT_N_loop): Likewise.
46645 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46647         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46648         throughout.
46650 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46652         [BZ #17097]
46653         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46654         result with correct sign in case of exponents that produce
46655         overflow except for X very close to 1.
46657 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46659         mktime: merge #if/#ifdef usage from glibc
46660         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46661         as that works with both Glibc's and Gnulib's style.
46662         See thread starting at Siddhesh Poyarekar's bug report at:
46663         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46665 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46667         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46668         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46669         * sysdeps/tile/tilegx/memmove.c: Remove file.
46671 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46673         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46674         abi-name definition.
46675         * scripts/soversions.awk: Do not handle or generate ABI lines.
46676         * shlib-versions: Remove ABI entries.
46677         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46678         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46680 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46683         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46685         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46687         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46689         Moved ...
46690         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46691         ... here.
46692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46693         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46695         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46696         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46697         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46698         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46699         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46700         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46701         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46702         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46703         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46704         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46705         Moved ...
46706         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46707         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46708         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46710         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46712         Moved ...
46713         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46715         Moved ...
46716         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46718         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46720         Moved ...
46721         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46722         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46723         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46724         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46725         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46727         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46729         Moved ...
46730         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46732         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46733         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46734         Moved ...
46735         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46736         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46737         Moved ...
46738         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46740         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46742         Moved ...
46743         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46744         ... here.
46745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46746         Identical file removed.
46747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46748         Moved ...
46749         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46750         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46751         Identical file removed.
46752         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46753         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46754         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46755         Moved ...
46756         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46758         Identical file removed.
46759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46760         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46761         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46762         Identical file removed.
46763         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46764         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46765         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46766         Identical file removed.
46767         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46768         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46769         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46770         Identical file removed.
46771         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46772         Moved ...
46773         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46774         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46775         Identical file removed.
46776         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46777         Moved ...
46778         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46779         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46780         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46781         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46782         Identical file removed.
46783         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46784         Moved ...
46785         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46786         ... here.
46787         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46788         Identical file removed.
46789         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46790         Moved ...
46791         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46792         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46793         Identical file removed.
46794         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46795         Moved ...
46796         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46797         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46798         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46799         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46800         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46801         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46802         Moved ...
46803         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46804         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46805         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46807         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46808         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46809         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46810         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46811         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46813 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46815         [BZ #17092]
46816         * nscd/nscd.c (monitor_child): Return exit status of child
46817         instead of return value from wait syscall.
46819 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46821         * configure.ac (libc_commonpagesize): Remove variable.
46822         (libc_relro_required): Likewise.
46823         (libc_cv_z_relro): Remove configure test.
46824         * configure: Regenerated.
46825         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46826         variable.
46827         (libc_relro_required): Likewise.
46828         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46829         (libc_relro_required): Likewise.
46830         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46831         (libc_relro_required): Likewise.
46832         * sysdeps/arm/preconfigure: Regenerated.
46833         * sysdeps/ia64/preconfigure: Remove file.
46834         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46835         variable.
46836         (libc_relro_required): Likewise.
46838         [BZ #16561]
46839         [BZ #16562]
46840         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46841         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46842         recompute overflowing results in original rounding mode.
46843         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46844         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46845         recompute overflowing results in original rounding mode.
46846         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46847         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46848         recompute overflowing results in original rounding mode.
46849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46850         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46851         recompute overflowing results in original rounding mode.
46852         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46853         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46854         recompute overflowing results in original rounding mode.
46855         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46856         (libc_feholdsetround_ctx): New macro.
46857         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46858         * sysdeps/i386/fpu/libm-test-ulps: Update.
46859         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46861 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46863         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46864         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46865         corresponding .cpsetup call.
46867 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46869         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46870         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46871         * sysdeps/arm/Makefile [$(subdir) = csu]
46872         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46873         (static-only-routines): Add aeabi_read_tp here.
46874         (shared-only-routines): Add libc-aeabi_read_tp here.
46875         (CFLAGS-libc-start.c): Add -fexceptions here.
46876         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46877         (sysdep_routines, static-only-routines, shared-only-routines):
46878         Don't add to these here.
46879         (CFLAGS-libc-start.c): Likewise.
46881         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46882         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46883         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46884         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46885         * sysdeps/arm/Makefile [$(subdir) = rt]
46886         (librt-sysdep_routines, librt-shared-only-routines):
46887         Append rt-aeabi_unwind_cpp_pr1 here.
46888         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46889         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46890         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46891         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46892         Append nptl-aeabi_unwind_cpp_pr1 here.
46893         (tests): Filter out tst-cleanupx4 here.
46894         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46895         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46896         Don't do those here.
46898 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46900         * scripts/list-sources.sh: Do not handle ports specially.
46902 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46904         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46905         * sysdeps/arm/feupdateenv.c: Likewise.
46907         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46909 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46911         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46912         trailing whitespace removed.
46913         * scripts/config.guess: Update to version 2014-03-23.
46914         * scripts/config.sub: Update to version 2014-05-01
46915         * scripts/install-sh: Update to version 2013-12-25.23.
46916         * scripts/move-if-change: Update from gnulib.
46918 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46920         * debug/memmove_chk.c: Remove pagecopy.h include.
46922 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46924         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46925         identical to gnulib mktime.
46927 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46929         * configure.ac: Do not test for machine being rs6000.  Do not test
46930         for powerpc*-*soft.
46931         * configure: Regenerated.
46933         [BZ #11505]
46934         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46935         test.
46936         * configure: Regenerated.
46937         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46938         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46939         Remove configure test.
46940         * sysdeps/arm/configure: Regenerated.
46941         * sysdeps/nptl/configure.ac: Do not check
46942         libc_cv_asm_cfi_directives.
46943         * sysdeps/nptl/configure: Regenerated.
46944         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46945         * sysdeps/x86_64/nptl/configure: Remove generated file.
46946         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46947         unconditional.
46948         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46950 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46952         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46953         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46954         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46955         it is defined.
46957         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46958         instead of whether it is defined.
46959         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46960         * sysdeps/hppa/dl-machine.h: Likewise.
46961         * sysdeps/ia64/dl-machine.h: Likewise.
46962         * sysdeps/m68k/dl-machine.h: Likewise.
46963         * sysdeps/microblaze/dl-machine.h: Likewise.
46964         * sysdeps/mips/dl-machine.: Likewise.
46965         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46966         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46967         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46968         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46969         * sysdeps/sh/dl-machine.h: Likewise.
46970         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46971         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46972         * sysdeps/tile/dl-machine.h: Likewise.
46973         * sysdeps/x86_64/dl-machine.h: Likewise.
46975         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46976         code.
46977         (verify_persistent_db): Likewise.
46979 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46982         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46984         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46986         Moved ...
46987         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46988         ... here.
46989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46990         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46992         Identical file removed.
46993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46994         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46996         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46998         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47000         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47002         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47004         Moved ...
47005         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47007         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47009         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47011         Moved ...
47012         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47014         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47016         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47018         Identical file removed.
47019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47020         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47022         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47024         Moved ...
47025         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47026         ... here.
47027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47028         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47030         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47032         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47034         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47036         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47038         Moved ...
47039         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47041         Moved ...
47042         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47044         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47046         Moved ...
47047         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47049         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47051         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47052         folded into ...
47053         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47054         * sysdeps/unix/sysv/linux/s390/Versions
47055         (libpthread: GLIBC_2.19): New version set.
47056         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47057         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47058         (librt: GLIBC_2.3.3): New version set.
47059         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47060         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47061         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47062         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47063         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47064         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47065         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47066         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47067         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47068         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47069         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47070         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47071         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47072         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47073         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47074         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47075         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47076         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47077         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47078         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47079         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47080         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47081         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47082         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47083         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47084         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47085         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47086         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47087         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47088         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47089         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47090         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47092         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47094         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47095         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47097         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47098         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47099         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47100         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47101         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47102         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47103         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47105         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47106         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47107         (__libc_vfork): Define the function under this name.
47108         [!NOT_IN_libc] (__vfork): Make this an alias.
47109         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47110         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47111         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
47112         (__libc_vfork): Define the function under this name.
47113         [!NOT_IN_libc] (__vfork): Make this an alias.
47114         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47115         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47116         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47119         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47121         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47122         code that was previously under [RESET_PID].
47123         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47124         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47127         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47128         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47129         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47130         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47131         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47132         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47133         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47134         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47135         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47136         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47137         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47138         Moved ...
47139         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47140         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47141         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47142         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47143         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47144         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47145         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47146         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47147         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47148         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47149         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47150         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47151         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47152         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47153         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47154         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47155         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47156         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47157         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47158         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47159         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47160         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47161         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47162         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47163         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47164         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47165         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47167         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47169 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47171         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47172         that was previously under [RESET_PID].
47173         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47175 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47177         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47178         not undefine and redefine.
47179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47180         [O_CLOEXEC]: Make code unconditional.
47181         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47182         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47183         <kernel-features.h>.
47184         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47185         conditional variable definition.
47186         (shm_open) [O_CLOEXEC]: Make code unconditional.
47187         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47188         code.
47190         * configure.ac (USE_REGPARMS): Don't define here.
47191         * configure: Regenerated.
47192         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47193         * sysdeps/i386/configure: Regenerated.
47195         * nptl/createthread.c: Don't include kernel-features.h.
47196         * nptl/pthread_cancel.c: Likewise.
47197         * nptl/pthread_condattr_setclock.c: Likewise.
47198         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47199         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47200         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47201         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47202         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47203         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47204         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47207         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47208         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47209         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47210         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47211         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47212         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47213         * nscd/gai.c: Likewise.
47214         * nss/nss_db/db-open.c: Likewise.
47215         * sysdeps/generic/ldsodefs.h: Likewise.
47216         * sysdeps/sh/nptl/tls.h: Likewise.
47217         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47218         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47219         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47220         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47221         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47222         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47223         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47224         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47225         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47226         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47227         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47228         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47229         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47230         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47231         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47232         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47233         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47234         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47235         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47236         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47237         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47239         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47240         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47244         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47245         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47246         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47247         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47248         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47249         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47250         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47251         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47252         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47253         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47254         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47255         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47256         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47257         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47258         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47259         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47260         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47261         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47262         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47263         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47264         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47265         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47266         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47267         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47268         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47269         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47270         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47271         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47272         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47273         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47274         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47297         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47298         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47299         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47300         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47301         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47302         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47303         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47304         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47305         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47306         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47307         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47308         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47309         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47310         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47311         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47312         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47313         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47314         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47315         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47316         * sysdeps/unix/sysv/linux/system.c: Likewise.
47317         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47318         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47319         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47320         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47321         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47322         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47323         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47325         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47326         * configure: Regenerated.
47327         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47329         * configure.ac (base_machine): Do not set specially for particular
47330         machines here.
47331         * configure: Regenerated.
47332         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47333         settings from configure.ac.
47334         * sysdeps/i386/preconfigure: New file.
47335         * sysdeps/s390/preconfigure: Likewise.
47336         * sysdeps/sh/preconfigure: Likewise.
47337         * sysdeps/sparc/preconfigure: Likewise.
47339 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47341         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47342         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47343         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47344         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47345         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47346         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47347         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47348         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47349         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47350         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47351         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47352         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47353         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47354         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47355         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47356         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47357         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47358         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47359         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47361         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47362         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47363         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47364         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47365         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47366         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47367         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47368         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47369         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47370         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47371         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47372         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47373         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47374         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47375         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47376         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47377         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47378         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47379         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47380         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47381         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47382         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47383         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47384         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47385         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47386         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47387         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47388         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47389         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47390         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47391         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47392         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47393         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47394         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47395         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47396         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47397         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47398         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47401         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47403         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47405         Moved ...
47406         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47407         ... here.
47408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47409         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47411         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47413         Moved ...
47414         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47416         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47418         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47420         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47422         Moved ...
47423         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47425         Moved ...
47426         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47428         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47430         Moved ...
47431         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47433         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47435         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47437         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47439         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47441         Moved ...
47442         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47443         ... here.
47444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47445         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47447         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47449         Moved ...
47450         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47452         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47454         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47456         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47458         Moved ...
47459         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47461         Moved ...
47462         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47464         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47466         Moved ...
47467         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47469         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47471         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47473 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47475         * timezone/checktab.awk: Update from tzcode 2014e.
47476         * timezone/private.h: Likewise.
47477         * timezone/tzfile.h: Likewise.
47478         * timezone/zdump.c: Likewise.
47479         * timezone/zic.c: Likewise.
47481         * sysdeps/unix/sysv/linux/kernel-features.h
47482         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47483         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47484         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47485         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47486         Remove conditional code.
47488 2014-06-25  Will Newton  <will.newton@linaro.org>
47490         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47491         (_dl_arm_cap_flags): Add HWCAP2 values.
47492         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47493         (_DL_HWCAP_COUNT): Increase to 37.
47494         (_DL_HWCAP_LAST): New define.
47495         (_DL_HWCAP2_LAST): New define.
47496         (_dl_procinfo): Add support for printing
47497         AT_HWCAP2 entries.
47498         (_dl_string_hwcap): Use _dl_hwcap_string.
47500 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47504 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47506         * README: Do not mention ports directory.
47508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47509         Remove macro.
47510         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47511         <kernel-features.h>.
47512         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47513         conditional variable definition.
47514         (__futimes): Update comment.
47515         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47516         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47518         [BZ #16560]
47519         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47520         arguments close to 0.
47521         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47522         Likewise.
47523         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47524         Likewise.
47525         * math/auto-libm-test-in: Add more tests of exp10.
47526         * math/auto-libm-test-out: Regenerated.
47527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47529         * sysdeps/unix/sysv/linux/kernel-features.h
47530         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47531         * sysdeps/unix/sysv/linux/readv.c: Do not include
47532         <kernel-features.h>.
47533         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47534         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47535         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47536         unconditional.
47537         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47538         conditional code.
47539         * sysdeps/unix/sysv/linux/writev.c: Do not include
47540         <kernel-features.h>.
47541         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47542         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47543         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47544         unconditional.
47545         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47546         conditional code.
47548 2014-06-25  Will Newton  <will.newton@linaro.org>
47550         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47551         comment changes throughout the file.  Remove checks
47552         for HAVE_*_H definitions that are not required.
47553         (__gen_tempname): Call abort if an unknown kind value is
47554         passed.
47556 2014-06-25  Andreas Schwab  <schwab@suse.de>
47558         [BZ #17086]
47559         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47560         scalbln, scalblnf, scalblnl in libc.
47562 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47564         [BZ #17086]
47565         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47566         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47567         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47569 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47571         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47572         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47573         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47574         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47575         Update #include.
47576         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47577         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47578         Update #include.
47579         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47580         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47581         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47582         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47583         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47584         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47585         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47586         * sysdeps/x86/bits/semaphore.h: ... here.
47587         * sysdeps/x86/nptl/elide.h: Moved ...
47588         * sysdeps/x86/elide.h: ... here.
47589         * sysdeps/x86_64/nptl/Implies: File removed.
47590         * sysdeps/i386/nptl/Implies: File removed.
47592 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47594         [BZ #16539]
47595         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47596         return the argument for normal arguments with exponent below -64.
47597         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47598         Likewise.
47599         * math/auto-libm-test-in: Add another test of expm1.
47600         * math/auto-libm-test-out: Regenerated.
47602         [BZ #16287]
47603         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47604         calling __erfcl for arguments at least 16.
47605         * math/auto-libm-test-in: Add more tests of erf.
47606         * math/auto-libm-test-out: Regenerated.
47608         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47609         individual architectures.
47610         * sysdeps/unix/sysv/linux/configure: Regenerated.
47611         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47612         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47613         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47614         (ldd_rewrite_script): Define variable.
47615         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47617         file.
47618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47619         generated file.
47620         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47621         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47622         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47623         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47624         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47625         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47626         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47627         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47629 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47631         [BZ #17084]
47632         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47633         Rename member __data.d to __data.__elision_data.
47635 2014-06-24  Wilco  <wdijkstr@arm.com>
47637         * NEWS: Add 16918 to fixed bug list.
47639 2014-06-24  Wilco  <wdijkstr@arm.com>
47641         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47643 2014-06-24  Wilco  <wdijkstr@arm.com>
47645         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47646         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47647         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47648         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47649         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47650         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47651         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47652         Use _FPU_MASK_RM.
47654 2014-06-24  Wilco  <wdijkstr@arm.com>
47656         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47658 2014-06-24  Wilco  <wdijkstr@arm.com>
47660         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47661         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47662         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47663         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47665 2014-06-24  Wilco  <wdijkstr@arm.com>
47667         [BZ #16918]
47668         * sysdeps/arm/feupdateenv.c (feupdateenv):
47669         Rewrite to reduce FPSCR accesses and fix return value.
47671 2014-06-24  Wilco  <wdijkstr@arm.com>
47673         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47674         Optimize to avoid unnecessary FPSCR writes.
47675         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47676         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47677         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47678         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47680 2014-06-24  Wilco  <wdijkstr@arm.com>
47682         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47683         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47684         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47685         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47686         Call libc_fetestexcept_vfp.
47687         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47688         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47689         __SOFTFP__ ifdef so that they can be built for softfp.
47691 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47693         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47694         argument type signed char.
47696         * Makerules (check-abi): Dump diff of symlist if the test
47697         fails.
47699 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47701         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47702         using abort.
47704         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47705         Remove unused variable ST.
47707 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47709         [BZ #16354]
47710         [BZ #17061]
47711         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47712         small arguments before calling __expm1.
47713         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47714         small arguments before calling __expm1f.
47715         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47716         small arguments before calling __expm1l.
47717         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47718         Likewise.
47719         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47720         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47721         spurious underflow for some cosh tests.
47722         * math/auto-libm-test-out: Regenerated.
47723         * sysdeps/i386/fpu/libm-test-ulps: Update.
47725         [BZ #17050]
47726         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47727         (__ieee754_y1): Set errno if return value overflows.
47728         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47729         (__ieee754_y1f): Set errno if return value overflows.
47730         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47731         (__ieee754_y1l): Set errno if return value overflows.
47732         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47733         (__ieee754_y1l): Set errno if return value overflows.
47734         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47735         * math/auto-libm-test-out: Regenerated.
47737         * math/gen-auto-libm-tests.c: Document use of
47738         ignore-zero-inf-sign.
47739         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47740         (input_flags): Add ignore-zero-inf-sign.
47741         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47742         * math/gen-libm-test.pl (generate_testfile): Handle
47743         ignore-zero-inf-sign.
47744         * math/auto-libm-test-in: Mark some cpow tests with
47745         ignore-zero-inf-sign and some with xfail-rounding.
47746         * math/auto-libm-test-out: Regenerated.
47747         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47748         * sysdeps/i386/fpu/libm-test-ulps: Update.
47749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751         [BZ #16315]
47752         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47753         overflowing or underflowing operations take place with sign of
47754         result.
47755         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47756         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47757         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47758         (__ieee754_pow): Recompute overflowing and underflowing results in
47759         original rounding mode.
47760         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47761         (__powl_helper): Allow negative argument X and scale negated value
47762         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47763         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47764         overflowing or underflowing operations take place with sign of
47765         result.
47766         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47767         Include <math.h>.
47768         * math/auto-libm-test-in: Add more tests of pow.
47769         * math/auto-libm-test-out: Regenerated.
47770         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47771         (pow_tonearest_test_data): Remove.
47772         (pow_test_tonearest): Likewise.
47773         (pow_towardzero_test_data): Likewise.
47774         (pow_test_towardzero): Likewise.
47775         (pow_downward_test_data): Likewise.
47776         (pow_test_downward): Likewise.
47777         (pow_upward_test_data): Likewise.
47778         (pow_test_upward): Likewise.
47779         (main): Don't call removed functions.
47780         * sysdeps/i386/fpu/libm-test-ulps: Update.
47781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47783 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47786         Moved ...
47787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47789         Moved ...
47790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47792         Moved ...
47793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47795         Moved ...
47796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47798         File removed.
47799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47800         File removed.
47801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47802         File removed.
47803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47804         File removed.
47805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47806         File removed.
47807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47808         File removed.
47809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47810         File removed.
47811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47812         File removed.
47813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47814         File removed.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47816         File removed.
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47818         File removed.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47820         File removed.
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47822         Moved ...
47823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47825         Moved ...
47826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47827         ... here.
47828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47829         Moved ...
47830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47832         Moved ...
47833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47835         Moved ...
47836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47838         Moved ...
47839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47841         Moved ...
47842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47844         Moved ...
47845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47847         Moved ...
47848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47851         ... here.
47852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47853         Moved ...
47854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47856         Moved ...
47857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47858         ... here.
47859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47860         Moved ...
47861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47862         ... here.
47863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47864         Moved ...
47865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47866         ... here.
47867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47868         Moved ...
47869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47871         Moved ...
47872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47876         Moved ...
47877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47878         ... here.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47880         Moved ...
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47882         ... here.
47883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47884         Moved ...
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47887         Moved ...
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47890         Moved ...
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47893         Moved ...
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47896         Moved ...
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47898         ... here.
47899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47900         Moved ...
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47903         Moved ...
47904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47906         Moved ...
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47909         Moved ...
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47914         Moved ...
47915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47917         Moved ...
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47920         Moved ...
47921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47922         ... here.
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47924         Moved ...
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47926         ... here.
47927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47928         Moved ...
47929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47930         ... here.
47931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47932         Moved ...
47933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47935         Moved ...
47936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47938         Moved ...
47939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47941         Moved ...
47942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47943         ... here.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47945         Moved ...
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47947         ... here.
47948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47949         Moved ...
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47951         ... here.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47953         Moved ...
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47956         Moved ...
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47959 2014-06-23  Will Newton  <will.newton@linaro.org>
47960             Wilco  <wdijkstr@arm.com>
47962         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47963         implementation.  Include get-rounding-mode.h.
47964         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47965         [!libc_feholdsetround_noex_ctx]: Define
47966         libc_feholdsetround_noex_ctx.
47967         [!libc_feholdsetround_noexf_ctx]: Define
47968         libc_feholdsetround_noexf_ctx.
47969         [!libc_feholdsetround_noexl_ctx]: Define
47970         libc_feholdsetround_noexl_ctx.
47971         (libc_feholdsetround_ctx): New function.
47972         (libc_feresetround_ctx): New function.
47973         (libc_feholdsetround_noex_ctx): New function.
47974         (libc_feresetround_noex_ctx): New function.
47976 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47978         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47979         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47980         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47981         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47982         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47983         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47985         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47986         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47987         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47988         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47989         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47990         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47991         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47992         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47993         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47994         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47995         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47996         Moved ...
47997         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47998         ... here.
47999         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48000         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48001         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48002         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48003         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48004         Moved ...
48005         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48006         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48007         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48008         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48009         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48010         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48011         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48012         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48013         Moved ...
48014         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48015         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48016         Moved ...
48017         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48018         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48019         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48020         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48021         Moved ...
48022         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48023         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48024         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48025         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48026         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48027         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48028         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48029         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48030         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48031         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48032         Moved ...
48033         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48034         ... here.
48035         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48036         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48037         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48038         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48039         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48040         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48041         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48042         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48043         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48044         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48045         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48046         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48047         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48048         Moved ...
48049         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48050         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48051         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48052         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48053         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48054         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48055         Moved ...
48056         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48057         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48058         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48059         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48060         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48062         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48063         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48064         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48065         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48066         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48067         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48068         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48069         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48070         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48071         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48072         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48073         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48074         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48075         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48077         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48079         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48080         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48081         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48082         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48083         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48084         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48085         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48086         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48087         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48088         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48089         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48091 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48094         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48095         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48096         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48097         (IPV6_PMTUDISC_INTERFACE): Likewise.
48098         (IPV6_PMTUDISC_OMIT): Likewise.
48100 2014-06-23  Andreas Schwab  <schwab@suse.de>
48102         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48103         Remove unused errout label.
48105 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48107         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48108         macro: hardware supports Vector Crypto instructions.
48110 2014-06-23  Will Newton  <will.newton@linaro.org>
48112         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48113         rather than __builtin_expect.
48115         * elf/dl-lookup.c (undefined_msg): Remove variable.
48116         (_dl_lookup_symbol_x): Replace undefined_msg with string
48117         literal.
48119         * elf/dl-lookup.c (do_lookup_unique): New function.
48120         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48121         to a separate function.
48123 2014-06-23  Andreas Schwab  <schwab@suse.de>
48125         [BZ #17079]
48126         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48127         before reading the next line.
48129 2014-06-23  Will Newton  <will.newton@linaro.org>
48131         * test-skeleton.c (signal_handler): Use printf and %m
48132         rather than perror.  Use printf rather than fprintf to
48133         stderr.  Use puts rather than fputs to stderr.
48134         (main): Likewise.
48136 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48138         * nscd/nscd.c (thread_info_t): Remove typedef.
48139         (thread_info): Remove variable.
48141 2014-06-21  Allan McRae  <allan@archlinux.org>
48143         * NEWS: Mention CVE-2014-4043.
48145 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48147         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48148         * nptl/smp.h: ... here.
48150         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48152         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48153         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48154         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48155         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48157         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48158         * nptl/stack-aliasing.h: New file.
48159         * sysdeps/i386/i686/stack-aliasing.h: New file.
48160         * sysdeps/i386/i686/nptl/Makefile: File removed.
48161         * sysdeps/x86_64/stack-aliasing.h: New file.
48162         * sysdeps/x86_64/nptl/Makefile
48163         (CFLAGS-pthread_create.c): Variable removed.
48165         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48166         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48167         old file.
48168         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48169         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48170         old file.
48172 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48174         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48175         (__ASSUME_SIGFRAME_V2): Remove macro.
48176         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48177         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48178         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48179         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48180         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48181         Declare as function.  Remove conditional macro definitions.
48182         (__default_rt_sa_restorer): Likewise.
48183         (__default_sa_restorer_v1): Remove declaration.
48184         (__default_sa_restorer_v2): Likewise.
48185         (__default_rt_sa_restorer_v1): Likewise.
48186         (__default_rt_sa_restorer_v2): Likewise.
48187         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48188         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48189         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48191 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48193         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48194         (libpthread-routines): Add sysdep.
48195         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48196         * sysdeps/unix/sysv/linux/sparc/Versions
48197         (libpthread: GLIBC_2.3.3): New version set.
48198         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48199         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48200         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48201         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48202         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48203         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48204         Moved ...
48205         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48206         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48207         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48208         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48209         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48210         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48211         * sysdeps/sparc/nptl/sem_init.c: ... here.
48212         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48213         * sysdeps/sparc/nptl/sem_post.c: ... here.
48214         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48215         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48216         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48217         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48218         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48219         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48220         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48221         (libpthread-routines): Add cpu_relax.
48222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48223         File removed.
48224         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48225         (librt: GLIBC_2.3.3): New version set.
48226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48227         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48228         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48229         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48232         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48234         Moved ...
48235         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48237         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48239         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48241         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48243         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48245         Moved ...
48246         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48247         Update #include.
48248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48249         Moved ...
48250         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48251         Update #include.
48252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48253         Moved ...
48254         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48255         Update #include.
48256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48257         Moved ...
48258         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48259         Update #include.
48260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48261         Moved ...
48262         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48263         Update #include.
48264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48265         Moved ...
48266         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48267         Update #include.
48268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48269         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48275         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48277         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48279         Moved ...
48280         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48282         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48284         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48286 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48288         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48289         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48290         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48291         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48292         * nscd/nscd.c: Likewise.
48293         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48294         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48295         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48296         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48298         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48299         <kernel-features.h>.
48300         (init_mq_netlink): Remove conditional have_sock_cloexec
48301         definitions.  Remove code conditional on have_sock_cloexec < 0.
48302         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48303         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48304         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48305         <kernel-features.h>.
48306         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48307         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48309 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48312         Add tests for memset_chk and memset.
48314         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48315         with AVX2_Usable.
48317 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48319         [BZ #16046]
48320         * elf/tst-dl-iter-static.c: New file.
48321         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48323         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48324         error.
48326 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48328         * sysdeps/unix/sysv/linux/kernel-features.h
48329         (__ASSUME_F_GETOWN_EX): Remove macro.
48330         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48331         <kernel-features.h>.
48332         (miss_F_GETOWN_EX): Remove variable or macro.
48333         (do_fcntl): Do not check miss_F_GETOWN_EX.
48334         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48337         Remove macro.
48338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48339         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48340         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48342         * sysdeps/unix/sysv/linux/kernel-features.h
48343         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48344         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48345         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48346         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48348 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48350         [BZ #17075]
48351         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48352         Fix calculation of the symbol's value.
48353         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48354         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48355         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48356         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48357         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48358         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48359         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48360         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48361         (modules-names): Add `tst-armtlsdescmod',
48362         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48363         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48364         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48365         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48366         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48367         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48368         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48369         ($(objpfx)tst-armtlsdescloc): New dependency.
48370         ($(objpfx)tst-armtlsdescextnow): Likewise.
48371         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48372         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48373         TLS scheme support.
48374         * sysdeps/arm/configure: Regenerate.
48376 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48378         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48379         (__atfct_seterrno_2): Likewise.
48380         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48381         <kernel-features.h>.
48382         (__ASSUME_ATFCTS): Do not undefine and redefine.
48383         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48384         (__have_atfcts): Remove conditional definition.
48385         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48386         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48387         unreachable if [__ASSUME_ATFCTS].
48388         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48389         not undefine and redefine.
48390         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48391         <kernel-features.h>.
48392         (faccessat) [__NR_faccessat]: Make code unconditional.
48393         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48394         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48395         <kernel-features.h>.
48396         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48397         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48398         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48399         <kernel-features.h>.
48400         (fchownat) [__NR_fchownat]: Make code unconditional.
48401         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48402         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48403         <kernel-features.h>.
48404         (futimesat) [__NR_futimesat]: Make code unconditional.
48405         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48406         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48407         <kernel-features.h>.
48408         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48409         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48410         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48411         <kernel-features.h>.
48412         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48413         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48414         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48415         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48416         <kernel-features.h>.
48417         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48418         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48419         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48420         <kernel-features.h>.
48421         (linkat) [__NR_linkat]: Make code unconditional.
48422         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48423         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48424         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48425         <kernel-features.h>.
48426         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48427         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48428         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48429         <kernel-features.h>.
48430         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48431         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48432         * sysdeps/unix/sysv/linux/openat.c: Do not include
48433         <kernel-features.h>.
48434         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48435         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48436         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48437         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48438         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48439         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48440         <kernel-features.h>.
48441         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48442         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48443         result of INLINE_SYSCALL directly, not via int variable.
48444         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48445         <kernel-features.h>.
48446         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48447         (renameat) [__NR_renameat]: Make code unconditional.
48448         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48449         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48450         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48451         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48452         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48453         (__ASSUME_ATFCTS): Do not undefine and redefine.
48454         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48455         <kernel-features.h>.
48456         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48457         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48458         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48459         <kernel-features.h>.
48460         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48461         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48462         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48463         (__ASSUME_ATFCTS): Do not undefine and redefine.
48464         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48465         <kernel-features.h>.
48466         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48467         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48468         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48469         <kernel-features.h>.
48470         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48471         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48473 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48475         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48477 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48479         [BZ #17069]
48480         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48481         constructed tree before returning error.
48482         * posix/bug-regexp36.c: Expand test case.
48484 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48486         [BZ #6803]
48487         * math/libm-test.inc (scalbln_test_date):
48488         Add errno expectations.
48489         * math/w_scalblnf.c: New File.
48490         Add wrapper which checks for setting errno to ERANGE.
48491         Add weak_alias for corresponding scalbln function.
48492         * math/w_scalbln.c: Likewise.
48493         * math/w_scalblnl.c: Likewise.
48494         * math/Makefile (libm-calls): Add w_scalbln.
48495         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48496         Remove weak_alias for corresponding scalbln function.
48497         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48498         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48499         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48501         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48502         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48503         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48504         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48505         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48506         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48507         Remove long_double_symbol for scalblnl function in libm, libc.
48508         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48509         Add wrapper which checks for setting errno to ERANGE.
48510         Add long_double_symbol for scalblnl function in libm, libc.
48511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48512         Remove long_double_symbol for scalblnl in libm.
48513         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48514         Add wrapper which checks for setting errno to ERANGE.
48515         Add long_double_symbol for scalblnl function in libm.
48516         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48517         Do not use wrapper because of own implementation.
48519 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48521         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48522         3 bytes for __pad1 for x32.
48523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48525 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48526             H.J. Lu  <hongjiu.lu@intel.com>
48528         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48529         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48530         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48531         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48532         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48534 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48536         [BZ #17069]
48537         * posix/regcomp.c (parse_expression): Deallocate partially
48538         constructed tree before returning error.
48539         * posix/Makefile.c (tests): Add bug-regex36.
48540         (generated): Add bug-regex36.mtrace.
48541         (tests-special): Add $(objpfx)bug-regex36-mem.out
48542         (bug-regex36-ENV): New variable.
48543         ($(objpfx)bug-regex36-mem.out): New rule.
48544         * posix/bug-regex36.c: New file.
48546 2014-06-19  Will Newton  <will.newton@linaro.org>
48548         * malloc/malloc.c (systrim): If extra is zero then return
48549         early.
48551 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48553         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48555 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48557         * sysdeps/aarch64/strchr.S: New file.
48559 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48561         [BZ #17022]
48562         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48563         from arguments -2 or below.
48564         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48565         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48567 2014-06-18  Andreas Schwab  <schwab@suse.de>
48569         [BZ #17062]
48570         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48571         of a bracket expr not to run off the end of the string.
48572         * posix/Makefile (tests): Add tst-fnmatch3.
48573         * posix/tst-fnmatch3.c: New file.
48575 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48577         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48578         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48579         [$(cross-compiling) = no]: Likewise.
48580         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48581         [$(cross-compiling) = no]: Likewise.
48583 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48585         [BZ #17031]
48586         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48587         double, adjusted for any remainder from the high double.
48588         * math/libm-test.inc (nearbyint): Add tests.
48589         (rint): Likewise.
48591 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48593         * nptl/sysdeps/powerpc/Makefile: Moved ...
48594         * sysdeps/powerpc/nptl/Makefile: ... here.
48595         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48596         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48597         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48598         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48599         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48600         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48601         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48602         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48603         * nptl/sysdeps/powerpc/tls.h: Moved ...
48604         * sysdeps/powerpc/nptl/tls.h: ... here.
48606 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48608         [BZ #16681]
48609         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48610         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48611         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48612         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48613         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48614         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48615         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48616         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48617         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48619 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48621         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48623 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48625         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48626         defined operator.
48628         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48629         $TIMEOUTFACTOR.
48631 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48633         [BZ #17058]
48634         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48635         non-executed part of the test.
48637 2014-06-16  Andreas Schwab  <schwab@suse.de>
48639         * string/bits/string2.h (strdup, strndup): Update feature guard.
48641 2014-06-14  David S. Miller  <davem@davemloft.net>
48643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48645 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48647         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48648         that was previously under [RESET_PID].
48649         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48651         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48652         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48653         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48654         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48655         (__libc_vfork): New strong alias.
48656         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48658 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48660         * sysdeps/generic/elide.h: New file.
48662 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48664         * Makefile (installed-headers): Adjust path of pthread.h header.
48666 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48668         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48669         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48670         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48671         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48673         * nptl/sysdeps/s390/Makefile: Moved ...
48674         * sysdeps/s390/nptl/Makefile: ... here.
48675         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48676         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48677         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48678         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48679         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48680         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48681         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48682         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48683         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48684         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48685         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48686         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48687         * nptl/sysdeps/s390/tls.h: Moved ...
48688         * sysdeps/s390/nptl/tls.h: ... here.
48690         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48691         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48693 2014-06-13  David S. Miller  <davem@davemloft.net>
48695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48698         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48702         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48703         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48704         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48705         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48706         Remove RESET_PID cpp guards.
48707         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48708         Remove RESET_PID cpp guards.
48709         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48711 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48713         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48714         __sp to uintptr_t.
48716 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48718         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48720         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48721         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48722         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48723         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48724         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48725         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48727         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48728         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48729         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48730         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48731         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48732         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48733         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48734         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48735         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48736         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48737         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48739         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48740         (pthread_rwlock_rdlock): Add elision.
48741         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48742         (pthread_rwlock_wrlock): Add elision.
48743         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48744         (pthread_rwlock_trywrlock): Add elision.
48745         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48746         (pthread_rwlock_tryrdlock): Add elision.
48747         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48748         (pthread_rwlock_tryrdlock): Add elision unlock.
48749         * nptl/sysdeps/pthread/pthread.h:
48750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48751         (PTHREAD_RWLOCK_INITIALIZER,
48752         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48753         Handle new elision field.
48754         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48755         * sysdeps/arm/nptl/bits/pthreadtypes.h
48756         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48757         * sysdeps/sh/nptl/bits/pthreadtypes.h
48758         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48759         * sysdeps/tile/nptl/bits/pthreadtypes.h
48760         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48761         * sysdeps/a/nptl/bits/pthreadtypes.h
48762         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48763         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48764         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48765         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48766         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48767         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48768         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48769         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48770         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48771         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48772         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48773         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48774         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48775         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48776         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48777         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48778         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48779         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48780         (elision_init): Set try_xbegin to zero when no RTM.
48781         * sysdeps/x86/nptl/bits/pthreadtypes.h
48782         (pthread_rwlock_t): Change __pad1 to __rwelision.
48783         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48785 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48787         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48788         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48789         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48790         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48792 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48794         [BZ #16996]
48795         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48796         that the cached result has been set before returning it.
48798 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48800         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48801         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48802         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48803         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48804         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48805         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48807         * nptl/sysdeps/sparc/Makefile: Moved ...
48808         * sysdeps/sparc/nptl/Makefile: ... here.
48809         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48810         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48811         * nptl/sysdeps/sparc/tls.h: Moved ...
48812         * sysdeps/sparc/nptl/tls.h: ... here.
48813         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48814         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48815         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48816         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48817         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48818         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48819         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48820         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48821         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48822         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48823         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48824         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48825         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48826         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48827         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48828         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48829         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48830         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48831         Update #include.
48832         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48833         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48834         Update #include.
48835         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48837         Update #include.
48838         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48839         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48840         Update #include.
48842         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48844         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48845         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48847         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48848         (struct list_links): Type removed.
48849         (struct thread_node, struct timer_node): Replace struct list_links
48850         with struct list_head.
48851         (list_unlink_ip): Likewise.
48852         * sysdeps/pthread/timer_routines.c
48853         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48854         (list_append, list_insbefore): Likewise.
48855         (list_init): Function removed.
48856         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48857         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48858         * sysdeps/pthread/Makefile: ... here, new file.
48860         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48861         * sysdeps/nptl/Implies: ... here.
48862         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48863         * nptl/sysdeps/pthread/list.h: Moved ...
48864         * include/list.h: ... here.
48865         * nptl/sysdeps/pthread/createthread.c: Moved ...
48866         * nptl/createthread.c: ... here.
48867         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48868         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48869         * nptl/pt-longjmp.c: ... here.
48870         * nptl/sysdeps/pthread/Makefile: Moved ...
48871         * sysdeps/nptl/Makefile: ... here.
48872         * nptl/sysdeps/pthread/Subdirs: Moved ...
48873         * sysdeps/nptl/Subdirs: ... here.
48874         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48875         * sysdeps/nptl/aio_misc.h: ... here.
48876         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48877         * sysdeps/nptl/bits/libc-lock.h: ... here.
48878         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48879         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48880         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48881         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48882         * nptl/sysdeps/pthread/configure: Moved ...
48883         * sysdeps/nptl/configure: ... here.
48884         * nptl/sysdeps/pthread/configure.ac: Moved ...
48885         * sysdeps/nptl/configure.ac: ... here.
48886         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48887         * sysdeps/nptl/gai_misc.h: ... here.
48888         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48889         * sysdeps/nptl/librt-cancellation.c: ... here.
48890         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48891         * sysdeps/nptl/malloc-machine.h: ... here.
48892         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48893         * sysdeps/nptl/pthread-functions.h: ... here.
48894         * nptl/sysdeps/pthread/pthread.h: Moved ...
48895         * sysdeps/nptl/pthread.h: ... here.
48896         * nptl/sysdeps/pthread/setxid.h: Moved ...
48897         * sysdeps/nptl/setxid.h: ... here.
48898         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48899         * sysdeps/nptl/sigfillset.c: ... here.
48900         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48901         * sysdeps/nptl/tcb-offsets.h: ... here.
48902         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48903         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48904         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48905         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48906         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48907         * sysdeps/pthread/allocalim.h: ... here.
48908         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48909         * sysdeps/pthread/bits/sigthread.h: ... here.
48910         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48911         * sysdeps/pthread/flockfile.c: ... here.
48912         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48913         * sysdeps/pthread/ftrylockfile.c: ... here.
48914         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48915         * sysdeps/pthread/funlockfile.c: ... here.
48916         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48917         * sysdeps/pthread/posix-timer.h: ... here.
48918         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48919         * sysdeps/pthread/timer_create.c: ... here.
48920         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48921         * sysdeps/pthread/timer_delete.c: ... here.
48922         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48923         * sysdeps/pthread/timer_getoverr.c: ... here.
48924         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48925         * sysdeps/pthread/timer_gettime.c: ... here.
48926         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48927         * sysdeps/pthread/timer_routines.c: ... here.
48928         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48929         * sysdeps/pthread/timer_settime.c: ... here.
48930         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48931         * sysdeps/pthread/tst-timer.c: ... here.
48932         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48933         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48935         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48936         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48938         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48939         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48940         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48941         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48942         Update #include target.
48943         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48944         * sysdeps/i386/i686/nptl/Makefile: ... here.
48945         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48946         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48947         Update #include target.
48948         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48949         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48950         * nptl/sysdeps/i386/Makefile: Moved ...
48951         * sysdeps/i386/nptl/Makefile: ... here.
48952         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48953         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48954         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48955         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48956         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48957         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48958         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48959         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48960         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48961         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48962         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48963         * nptl/sysdeps/i386/tls.h: Moved ...
48964         * sysdeps/i386/nptl/tls.h: ... here.
48966         * sysdeps/sh/Makefile [$(subdir) = csu]
48967         (gen-as-const-headers): Add tcb-offsets.sym.
48968         * nptl/sysdeps/sh/Makefile: File removed.
48969         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48970         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48971         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48972         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48973         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48974         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48975         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48976         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48977         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48978         * sysdeps/sh/nptl/pthreaddef.h: ... here.
48979         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48980         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48981         * nptl/sysdeps/sh/tls.h: Moved ...
48982         * sysdeps/sh/nptl/tls.h: ... here.
48983         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48984         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48985         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48986         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48987         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48988         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48989         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48990         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48991         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48992         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48993         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48994         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48995         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48996         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48997         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48998         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48999         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49000         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49001         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49002         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49003         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49004         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49005         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49006         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49007         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49008         Moved ...
49009         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49010         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49011         Moved ...
49012         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49013         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49014         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49015         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49016         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49017         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49018         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49019         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49020         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49021         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49022         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49023         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49024         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49025         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49026         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49027         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49028         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49029         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49030         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49032 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49034         * posix/spawn_faction_addopen.c: Include string.h.
49036 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49038         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49039         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49040         * nptl/sysdeps/x86_64/Makefile: Moved ...
49041         * sysdeps/x86_64/nptl/Makefile: ... here.
49042         * nptl/sysdeps/x86_64/configure: Moved ...
49043         * sysdeps/x86_64/nptl/configure: ... here.
49044         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49045         * sysdeps/x86_64/nptl/configure.ac: ... here.
49046         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49047         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49048         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49049         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49050         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49051         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49052         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49053         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49054         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49055         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49056         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49057         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49058         * nptl/sysdeps/x86_64/tls.h: Moved ...
49059         * sysdeps/x86_64/nptl/tls.h: ... here.
49060         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49061         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49062         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49063         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49065         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49067 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49071 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49073         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49074         type.
49075         [POSIX] (off_t): Likewise.
49076         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49077         [POSIX] (S_ISBLK): Require macro.
49078         [POSIX] (S_ISCHR): Likewise.
49079         [POSIX] (S_ISDIR): Likewise.
49080         [POSIX] (S_ISFIFO): Likewise.
49081         [POSIX] (S_ISREG): Likewise.
49082         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49083         optional-macro.
49084         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49085         type.
49086         [POSIX] (time_t): Likewise.
49087         [POSIX] (timer_t): Likewise.
49089 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49091         [BZ #17048]
49092         * posix/spawn_int.h (struct __spawn_action): Make the path string
49093         non-const to support deallocation.
49094         * posix/spawn_faction_addopen.c
49095         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49096         * posix/spawn_faction_destroy.c
49097         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49098         path in all spawn_do_open actions.
49099         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49100         posix_spawn_file_actions_addopen.
49102 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49104         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49105         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49106         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49107         conditional code always true.
49108         (__libc_vfork): New alias.
49110 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49112         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49113         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49115         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49117         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49118         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49120         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49121         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49123         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49124         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49126 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49128         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49129         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49130         multiarch strcmp for PPC64.
49131         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49132         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49134         multiarch optimizations.
49135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49136         (__libc_ifunc_impl_list): Likewise.
49138 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49140         * benchtests/scripts/validate_benchout.py: New script.
49141         * benchtests/Makefile (bench-func): Call it.
49142         * benchtests/scripts/benchout.schema.json: New file.
49144 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49146         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49147         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49148         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49149         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49150         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49151         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49152         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49153         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49154         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49155         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49156         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49157         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49158         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49159         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49160         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49161         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49163         Moved ...
49164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49165         ... here.
49166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49167         Moved ...
49168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49170         Moved ...
49171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49172         ... here.
49173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49174         Moved ...
49175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49176         ... here.
49177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49178         Moved ...
49179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49181         Moved ...
49182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49183         ... here.
49184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49185         Moved ...
49186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49187         ... here.
49188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49189         Moved ...
49190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49192         Moved ...
49193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49194         ... here.
49195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49196         Moved ...
49197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49198         ... here.
49199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49200         Moved ...
49201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49202         ... here.
49203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49204         Moved ...
49205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49207         Moved ...
49208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49209         ... here.
49210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49211         Moved ...
49212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49213         ... here.
49214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49215         Moved ...
49216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49217         ... here.
49218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49219         Moved ...
49220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49222         Moved ...
49223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49224         ... here.
49225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49226         Moved ...
49227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49228         ... here.
49229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49230         Moved ...
49231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49233         Moved ...
49234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49235         ... here.
49236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49237         Moved ...
49238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49240         Moved ...
49241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49243         Moved ...
49244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49245         ... here.
49246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49247         Moved ...
49248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49249         ... here.
49250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49251         Moved ...
49252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49253         ... here.
49254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49255         Moved ...
49256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49258         Moved ...
49259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49260         ... here.
49261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49262         Moved ...
49263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49264         ... here.
49265         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49266         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49267         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49268         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49269         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49270         Moved ...
49271         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49272         ... here.
49273         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49274         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49275         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49276         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49277         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49278         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49279         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49280         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49281         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49282         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49283         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49284         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49285         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49286         Moved ...
49287         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49289         Moved ...
49290         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49291         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49292         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49293         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49294         Moved ...
49295         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49297         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49298         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49299         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49300         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49301         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49303 2014-06-10  Wilco  <wdijkstr@arm.com>
49305         * math/test-fenv-return.c: New file.
49306         * math/Makefile: Add new test test-fenv-return.
49308 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49310         [BZ #17042]
49311         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49312         when x - 1 is zero.
49313         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49314         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49315         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49316         0.0L for an argument of 1.0L.
49317         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49318         Likewise.
49319         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49320         value when x - 1 is zero.
49321         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49322         * sysdeps/i386/fpu/libm-test-ulps: Update.
49323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49325 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49327         [BZ #15119]
49328         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49330 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49332         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49333         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49335 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49337         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49338         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49340         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49341         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49343         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49344         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49346         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49347         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49349         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49350         if not already defined.
49351         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49352         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49353         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49354         (TLS_INIT_TP): Use it.
49355         (TLS_DEFINE_INIT_TP): New macro.
49356         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49358 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49360         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49361         constant.
49362         [POSIX] (IXANY): Likewise.
49363         [POSIX] (OLCUC): Likewise.
49364         [POSIX || POSIX2008] (CBAUD): Do not allow.
49365         [POSIX || POSIX2008] (DEFECHO): Likewise.
49366         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49367         [POSIX || POSIX2008] (ECHOKE): Likewise.
49368         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49369         [POSIX || POSIX2008] (EXTA): Likewise.
49370         [POSIX || POSIX2008] (EXTB): Likewise.
49371         [POSIX || POSIX2008] (FLUSHO): Likewise.
49372         [POSIX || POSIX2008] (LOBLK): Likewise.
49373         [POSIX || POSIX2008] (PENDIN): Likewise.
49374         [POSIX || POSIX2008] (SWTCH): Likewise.
49375         [POSIX || POSIX2008] (VDISCARD): Likewise.
49376         [POSIX || POSIX2008] (VDSUSP): Likewise.
49377         [POSIX || POSIX2008] (VLNEXT): Likewise.
49378         [POSIX || POSIX2008] (VREPRINT): Likewise.
49379         [POSIX || POSIX2008] (VSTATUS): Likewise.
49380         [POSIX || POSIX2008] (VWERASE): Likewise.
49381         (B*): Change to B[0123456789]*.
49382         * conform/data/time.h-data [POSIX || UNIX98]
49383         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49384         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49385         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49386         [POSIX] (tm_*): Do not allow.
49388 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49390         * Makefile (install): Don't set LANGUAGE.
49391         * Makefile.in (install): Likewise.
49392         * assert/Makefile (test-assert-ENV): Remove variable.
49393         (test-assert-perr-ENV): Likewise.
49394         * elf/Makefile (neededtest4-ENV): Likewise.
49395         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49396         [$(cross-compiling) = no]: Don't set LANGUAGE.
49397         * io/ftwtest-sh (LANG): Remove variable.
49398         * libio/Makefile (tst-widetext-ENV): Likewise.
49399         * manual/install.texi (Running make install): Don't refer to
49400         environment settings for make install.
49401         * INSTALL: Regenerated.
49402         * nptl/tst-tls6.sh: Don't set LANG.
49403         * posix/globtest.sh (LANG): Remove variable.
49404         * string/Makefile (tester-ENV): Likewise.
49405         (inl-tester-ENV): Likewise.
49406         (noinl-tester-ENV): Likewise.
49407         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49408         [$(cross-compiling) = no]: Don't set LANGUAGE.
49409         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49410         without explicit environment settings.
49412 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49414         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49415         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49416         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49417         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49419 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49421         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49422         other files in the crypt directory.
49423         * crypt/crypt.c: Remove duplicate includes.
49424         * crypt/crypt-entry.c: Likewise.
49425         * crypt/crypt_util.c: Likewise.
49427 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49429         * Makeconfig (run-program-env): New variable.
49430         (run-program-prefix-before-env): Likewise.
49431         (run-program-prefix-after-env): Likewise.
49432         (run-program-prefix): Define in terms of new variables.
49433         (built-program-cmd-before-env): New variable.
49434         (built-program-cmd-after-env): Likewise.
49435         (built-program-cmd): Define in terms of new variables.
49436         (test-program-prefix-before-env): New variable.
49437         (test-program-prefix-after-env): Likewise.
49438         (test-program-prefix): Define in terms of new variables.
49439         (test-program-cmd-before-env): New variable.
49440         (test-program-cmd-after-env): Likewise.
49441         (test-program-cmd): Define in terms of new variables.
49442         * Rules (make-test-out): Use $(run-program-env).
49443         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49444         (help): Do not mention environment variables.  Mention
49445         --timeoutfactor option.
49446         (timeoutfactor): New variable.
49447         (blacklist_exports): Remove function.
49448         (exports): Remove variable.
49449         (command): Do not include ${exports}.
49450         * manual/install.texi (Configuring and compiling): Do not mention
49451         test wrappers preserving environment variables.  Mention that last
49452         assignment to a variable must take precedence.
49453         * INSTALL: Regenerated.
49454         * benchtests/Makefile (run-bench): Use $(run-program-env).
49455         * catgets/Makefile ($(objpfx)test1.cat): Use
49456         $(built-program-cmd-before-env), $(run-program-env) and
49457         $(built-program-cmd-after-env).
49458         ($(objpfx)test2.cat): Do not specify environment variables
49459         explicitly.
49460         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49461         $(run-program-env) and $(built-program-cmd-after-env).
49462         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49463         $(run-program-env) and $(test-program-cmd-after-env).
49464         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49465         explicitly.
49466         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49467         run_program_env and test_program_cmd_after_env arguments.
49468         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49469         * elf/tst-pathopt.sh: Use run_program_env argument.
49470         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49471         $(test-wrapper-env) and $(run-program-env).
49472         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49473         run_program_env arguments.
49474         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49475         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49476         $(test-program-prefix-before-env), $(run-program-env) and
49477         $(test-program-prefix-after-env).
49478         ($(objpfx)tst-gettext2.out): Likewise.
49479         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49480         run_program_env and test_program_prefix_after_env arguments.
49481         * intl/tst-gettext2.sh: Likewise.
49482         * intl/tst-gettext4.sh: Do not set environment variables
49483         explicitly.
49484         * intl/tst-gettext6.sh: Likewise.
49485         * intl/tst-translit.sh: Likewise.
49486         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49487         $(test-program-prefix-before-env), $(run-program-env) and
49488         $(test-program-prefix-after-env).
49489         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49490         run_program_env and test_program_prefix_after_env arguments.
49491         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49492         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49493         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49494         explicitly with each use of ${test_wrapper_env}.
49495         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49496         $(test-program-prefix-before-env), $(run-program-env) and
49497         $(test-program-prefix-after-env).
49498         * posix/tst-getconf.sh: Do not set environment variables
49499         explicitly.
49500         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49501         run_program_env and test_program_prefix_after_env arguments.
49502         * stdio-common/tst-printf.sh: Do not set environment variables
49503         explicitly.
49504         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49505         $(test-program-prefix-before-env), $(run-program-env) and
49506         $(test-program-prefix-after-env).
49507         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49508         run_program_env and test_program_prefix_after_env arguments.
49509         Split $test calls into $test_pre and $test.
49510         * timezone/Makefile (build-testdata): Use
49511         $(built-program-cmd-before-env), $(run-program-env) and
49512         $(built-program-cmd-after-env).
49514 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49516         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49517         strlen for non SHARED builds.
49519 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49521         * nptl/allocatestack.c (check_list): Inlined function...
49522         (__reclaim_stacks): ... here.
49524 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49526         [BZ #15698]
49527         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49528         memory overrun.
49530 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49532         * Rules (make-test-out): Include
49533         LOCPATH=$(common-objpfx)localedata in default environment.
49534         * debug/Makefile (tst-chk1-ENV): Remove variable.
49535         (tst-chk2-ENV): Likewise.
49536         (tst-chk3-ENV): Likewise.
49537         (tst-chk4-ENV): Likewise.
49538         (tst-chk5-ENV): Likewise.
49539         (tst-chk6-ENV): Likewise.
49540         (tst-lfschk1-ENV): Likewise.
49541         (tst-lfschk2-ENV): Likewise.
49542         (tst-lfschk3-ENV): Likewise.
49543         (tst-lfschk4-ENV): Likewise.
49544         (tst-lfschk5-ENV): Likewise.
49545         (tst-lfschk6-ENV): Likewise.
49546         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49547         (tst-iconv7-ENV): Likewise.
49548         * intl/Makefile (LOCPATH-ENV): Likewise.
49549         (tst-codeset-ENV): Likewise.
49550         (tst-gettext3-ENV): Likewise.
49551         (tst-gettext5-ENV): Likewise.
49552         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49553         (tst-fopenloc-ENV): Likewise.
49554         (tst-fgetws-ENV): Remove variable.
49555         (tst-ungetwc1-ENV): Likewise.
49556         (tst-ungetwc2-ENV): Likewise.
49557         (bug-ungetwc2-ENV): Likewise.
49558         (tst-swscanf-ENV): Likewise.
49559         (bug-ftell-ENV): Likewise.
49560         (tst-fgetwc-ENV): Likewise.
49561         (tst-fseek-ENV): Likewise.
49562         (tst-ftell-partial-wide-ENV): Likewise.
49563         (tst-ftell-active-handler-ENV): Likewise.
49564         (tst-ftell-append-ENV): Likewise.
49565         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49566         (tst-regexloc-ENV): Likewise.
49567         (bug-regex1-ENV): Likewise.
49568         (tst-regex-ENV): Likewise.
49569         (tst-regex2-ENV): Likewise.
49570         (bug-regex5-ENV): Likewise.
49571         (bug-regex6-ENV): Likewise.
49572         (bug-regex17-ENV): Likewise.
49573         (bug-regex18-ENV): Likewise.
49574         (bug-regex19-ENV): Likewise.
49575         (bug-regex20-ENV): Likewise.
49576         (bug-regex22-ENV): Likewise.
49577         (bug-regex23-ENV): Likewise.
49578         (bug-regex25-ENV): Likewise.
49579         (bug-regex26-ENV): Likewise.
49580         (bug-regex30-ENV): Likewise.
49581         (bug-regex32-ENV): Likewise.
49582         (bug-regex33-ENV): Likewise.
49583         (bug-regex34-ENV): Likewise.
49584         (bug-regex35-ENV): Likewise.
49585         (tst-rxspencer-ENV): Likewise.
49586         (tst-rxspencer-no-utf8-ENV): Likewise.
49587         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49588         (tst-sscanf-ENV): Likewise.
49589         (tst-swprintf-ENV): Likewise.
49590         (tst-swscanf-ENV): Likewise.
49591         (test-vfprintf-ENV): Likewise.
49592         (scanf13-ENV): Likewise.
49593         (bug14-ENV): Likewise.
49594         (tst-grouping-ENV): Likewise.
49595         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49596         (tst-strtod3-ENV): Likewise.
49597         (tst-strtod4-ENV): Likewise.
49598         (tst-strtod5-ENV): Likewise.
49599         (testmb2-ENV): Likewise./
49600         * string/Makefile (tst-strxfrm-ENV): Likewise.
49601         (tst-strxfrm2-ENV): Likewise.
49602         (bug-strcoll1-ENV): Likewise.
49603         (test-strcasecmp-ENV): Likewise.
49604         (test-strncasecmp-ENV): Likewise.
49605         * time/Makefile (tst-strptime-ENV): Likewise.
49606         (tst-ftime_l-ENV): Likewise.
49607         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49608         (tst-mbrtowc-ENV): Likewise.
49609         (tst-wcrtomb-ENV): Likewise.
49610         (tst-mbrtowc2-ENV): Likewise.
49611         (tst-c16c32-1-ENV): Likewise.
49612         (tst-mbsnrtowcs-ENV): Likewise.
49614 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49616         * manual/resource.texi (How to get information about the memory
49617         subsystem?): Fix typo.
49618         Reported by Peon de la Parra Ivan <peon@keba.com>
49620 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49622         [BZ #16882]
49623         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49624         (pthread_spin_lock): Branch out of spin loop to proper location.
49625         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49626         (pthread_spin_lock): Likewise.
49628         * nptl/tst-spin4.c: New test.
49629         * nptl/Makefile (tests): Add tst-spin4.
49631 2014-06-03  Andreas Schwab  <schwab@suse.de>
49633         [BZ #15946]
49634         * resolv/res_send.c (send_dg): Reload file descriptor after
49635         calling reopen.
49637 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49639         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49641 2014-06-03  Richard Henderson  <rth@redhat.com>
49643         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49644         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49645         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49646         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49647         in the SAVE_PID block.
49648         (__libc_vfork): New alias.
49649         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49651         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49652         child in registers, not on the stack.  Remove RESET_PID conditionals.
49653         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49655 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49657         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49659 2014-06-03  Wilco  <wdijkstr@arm.com>
49661         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49662         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49663         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49664         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49665         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49666         Likewise.
49668 2014-06-03  Wilco  <wdijkstr@arm.com>
49670         * sysdeps/aarch64/fpu/math_private.h
49671         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49672         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49673         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49674         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49675         Fix declarations.
49677 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49679         * crypt/crypt-private.h: Include ufc-crypt.h.
49680         (__b64_from_24bit): Declare extern.
49681         * crypt/crypt_util.c(__b64_from_24bit): New function.
49682         (b64t): New static const variable.
49683         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49684         (b64t): Remove variable.
49685         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49686         * crypt/sha256-crypt.c: Include crypt-private.h.
49687         (b64t): Remove variable.
49688         (__sha256_crypt_r): Remove b64_from_24bit and replace
49689         with __b64_from_24bit.
49690         * crypt/sha512-crypt.c: Likewise.
49692 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49694         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49695         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49696         Label the code __libc_vfork rather than __vfork.
49697         [!NOT_IN_libc] (vfork): Define as weak alias.
49698         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49699         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49700         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49702 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49704         * malloc/malloc.c (malloc_info): Fix format specifier for
49705         n_mmaps.
49707 2014-06-02  Wilco  <wdijkstr@arm.com>
49709         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49710         FPCR write.
49712 2014-06-02  Wilco  <wdijkstr@arm.com>
49714         [BZ #17009]
49715         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49716         Rewrite to reduce FPCR/FPSR accesses.
49718 2014-06-01  David S. Miller  <davem@davemloft.net>
49720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49722 2014-05-31  David S. Miller  <davem@davemloft.net>
49724         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49725         to occur in round to nearest mode when |x| >= 2.0
49727 2014-05-30  Richard Henderson  <rth@twiddle.net>
49729         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49730         (PSEUDO_RET_NOERRNO): Remove.
49731         (ret): Don't redefine.
49732         (ret_NOERRNO): Define in terms of ret.
49733         (ret_ERRVAL): Likewise.
49735         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49736         use of PSEUDO_RET; perform the error check directly.
49738 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49740         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49741         with __int128_t.
49743 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49745         * malloc/malloc (malloc_info): Fix formatting.
49747 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49748             Roland McGrath  <roland@hack.frob.com>
49750         * malloc/malloc (malloc_info): Also print mmapped statistics.
49752 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49754         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49755         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49757 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49759         * malloc/malloc.c (malloc_info): Inline mi_arena.
49761 2014-05-29  Richard Henderson  <rth@twiddle.net>
49763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49764         Remove comma before expanding ASM_ARGS_##nr.
49765         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49766         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49767         of ASM_ARGS_##nr.
49768         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49769         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49770         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49771         (ASM_ARGS_1): Add leading comma.
49773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49774         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49775         to __errno_location.
49776         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49777         Remove the expected plt for __errno_location.
49779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49780         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49781         call to __read_tp.
49783         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49784         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49785         it and break it down.
49786         (DOCARGS_0, DOCARGS_1): Do nothing.
49787         (DOCARGS_2): Update to store into the new stack frame.
49788         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49789         (UNDOCARGS_1): Update to restore from the new stack frame.
49790         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49791         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49794         (SINGLE_THREAD_P): New parameter for result regno.
49795         (PSEUDO): Update to match; use cbz instead of beq.
49797         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49798         Use ENTRY to define the _nocancel entry point.  Share the syscall
49799         and syscall error check paths with the cancel path.
49800         (PSEUDO_END): New.
49802         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49803         whitespace; tabs before and after asm mnemonics.
49805 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49807         [BZ #15132]
49808         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49809         Call fstat64 or stat64 internally, depending on arguments passed.
49810         Replace stat buffer argument with file descriptor argument.
49811         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49812         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49813         Pass fd to __internal_statvfs instead of calling fstat64.
49814         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49815         Pass fd to __internal_statvfs64 instead of calling fstat64.
49816         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49817         Pass -1 to __internal_statvfs instead of calling stat64.
49818         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49819         Pass -1 to __internal_statvfs64 instead of calling stat64.
49821 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49823         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49824         that was previously under [RESET_PID].
49825         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49827         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49828         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49830 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49832         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49834         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49835         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49837 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49839         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49841 2014-05-27  Andreas Schwab  <schwab@suse.de>
49843         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49844         TLS_INIT_TP macro.
49845         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49846         * elf/rtld.c (init_tls, dl_main): Likewise.
49847         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49848         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49849         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49850         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49851         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49852         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49853         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49854         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49855         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49856         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49857         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49858         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49859         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49860         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49861         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49862         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49863         * sysdeps/generic/tls.h: Update description.
49865 2014-05-27  Will Newton  <will.newton@linaro.org>
49867         [BZ #16990]
49868         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49869         and restore r2 rather than just restoring.
49871 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49873         [BZ #16724]
49874         * libio/tst-ftell-append.c: New test case.
49875         * libio/Makefile (tests): Add test case.
49876         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49877         append mode.
49878         * libio/wfileops.c (do_ftell_wide): Likewise.
49880 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49884         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49885         ...
49886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49888         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49889         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49890         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49891         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49892         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49893         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49895         Moved ...
49896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49898         Moved ...
49899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49900         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49901         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49902         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49903         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49904         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49905         ...
49906         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49907         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49908         Moved ...
49909         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49910         here.
49911         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49912         ...
49913         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49914         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49915         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49917         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49918         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49919         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49920         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49923         merge into ...
49924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49926         ...
49927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49929         ...
49930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49932         Moved ...
49933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49934         here.
49935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49936         Moved ...
49937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49939         Moved ...
49940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49943         conditional [RESET_PID].
49944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49946         removed.
49947         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49948         removed.
49950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49951         <tcb-offsets.h>.
49952         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49953         (__libc_vfork): New strong alias.
49954         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49955         removed.
49956         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49957         Removed.
49959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49960         <tcb-offsets.h>.
49961         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49962         (__libc_vfork): New strong alias.
49963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49964         removed.
49965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49966         removed.
49968 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49970         * malloc/malloc.c (mi_arena): New function.
49971         (malloc_info): Remove nested function mi_arena. Call non-nosted
49972         function mi_arena.
49974 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49976         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49977         by insrwi.
49978         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49979         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49980         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49981         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49982         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49983         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49984         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49986 2014-05-26  Andreas Schwab  <schwab@suse.de>
49988         [BZ #16984]
49989         * locale/programs/repertoire.c (repertoire_read): Add slash
49990         between I18NPATH element and file name.
49991         * locale/programs/locfile.c (locfile_read): Likewise.
49993 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49995         * nptl/pthread_mutexattr_settype.c
49996         (__pthread_mutexattr_settype):
49997         Disable lock elision for PTHREAD_MUTEX_NORMAL.
49999 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50001         * nptl/tst-mutex5 (do_test):
50002         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50004 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50006         * benchtests/README: Document 'init' directive.
50007         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50008         BENCH_INIT.
50009         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50010         (parse_file): Recognize 'init' directive.
50012 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50014         [BZ #16796]
50015         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50016         alignment of struct pthread.
50018 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50020         [BZ #16878]
50021         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50022         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50023         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50024         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50026 2014-05-25  Richard Henderson  <rth@twiddle.net>
50028         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50029         (SINGLE_THREAD_P_PIC): Remove.
50030         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50031         (SINGLE_THREAD_P_PIC): Remove.
50033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50034         branch to syscall error ...
50035         (PSEUDO): ... here.
50036         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50037         from __local_syscall_error to .Lsyscall_error.
50038         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50039         (SYSCALL_ERROR): Update label name.
50041         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50042         Do not use DOARGS/UNDOARGS.
50043         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50044         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50045         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50046         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50047         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50050         block comment.
50052         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50053         define if !NOT_IN_libc.
50054         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50055         define with non-default symbol versions.
50057 2014-05-23  Richard Henderson  <rth@twiddle.net>
50059         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50060         (vfork, __vfork): Define via compat_symbol.
50062         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50063         [!HAVE_IFUNC] (vfork_compat): Remove.
50064         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50066 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50068         [BZ #16978]
50069         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50070         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50071         variable.
50073 2014-05-23  Richard Henderson  <rth@twiddle.net>
50075         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50076         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50077         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50078         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50080         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50081         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50082         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50083         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50084         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50085         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50086         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50087         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50088         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50089         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50090         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50091         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50092         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50093         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50094         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50095         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50096         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50097         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50098         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50099         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50100         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50101         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50102         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50103         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50104         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50105         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50106         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50107         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50108         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50109         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50110         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50111         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50112         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50113         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50114         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50115         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50116         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50117         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50118         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50119         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50120         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50121         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50122         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50123         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50124         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50125         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50126         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50127         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50128         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50129         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50130         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50131         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50132         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50133         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50134         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50135         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50137         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50138         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50139         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50140         before exiting on error.
50141         (__libc_vfork): New strong alias.
50142         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50143         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50145         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50146         that was previously under [RESET_PID].
50147         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50149         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50151 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50153         [BZ #16977]
50154         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50155         value when x - 1 is zero.
50156         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50157         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50158         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50159         0.0L for an argument of 1.0L.
50160         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50161         Likewise.
50162         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50163         value when x - 1 is zero.
50164         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50165         * sysdeps/i386/fpu/libm-test-ulps: Update.
50166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50168 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50170         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50171         alphasort and versionsort.
50173 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50175         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50176         macro.
50177         [copysignf]: Likewise.
50179 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50181         * crypt/md5-crypt.c: Fix formatting.
50183 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50185         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50186         (b64_from_24bit): New function.
50188 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50190         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50191         libc_hidden_builtin_def to ifunc.
50192         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50193         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50195 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50197         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50198         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50200 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50202         * nscd/Depend (linuxthreads): Remove.
50203         (nptl): Add.
50204         * resolv/Depend (linuxthreads): Remove.
50205         * rt/Depend (linuxthreads): Remove.
50207         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50208         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50209         $(common-objpfx)elf/.
50210         (link-libc-before-gnulib): Likewise.
50211         (elfobjdir): Remove variable.
50212         * Makefile (install): Use $(elf-objpfx) instead of
50213         $(common-objpfx)elf/.
50214         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50215         $(elfobjdir)/.
50216         (link-libc-deps): Likewise.
50217         ($(common-objpfx)libc.so): Likewise.
50218         ($(common-objpfx)linkobj/libc.so): Likewise.
50219         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50220         instead of $(common-objpfx)elf/.
50221         (symbolic-link-list): Likewise.
50222         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50223         [$(cross-compiling) = no]: Likewise.
50224         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50225         $(elfobjdir)/.
50226         (static-gnulib-arch): Likewise.
50227         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50228         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50229         $(common-objpfx)elf/.
50231 2014-05-21  Richard Henderson  <rth@redhat.com>
50233         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50234         (SINGLE_THREAD_P): Use the correct width load.  Fold
50235         into the ldr offset.
50237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50238         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50240 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50242         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50243         (libgcc_s_resume): Use __attribute_used__.
50244         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50245         Likewise.
50247 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50249         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50250         optimization when used with float constants.
50252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50254 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50256         [BZ #16915]
50257         * locale/nl_langinfo_l.c: Make direct reference to every
50258         _nl_current_CATEGORY symbol.
50259         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50260         (tests-static): Add tst-langinfo-static.
50261         (tests-special): Add tst-langinfo-static.out.
50262         ($(objpfx)tst-langinfo.out): Redirect output.
50263         ($(objpfx)tst-langinfo-static.out): New.
50264         * localedata/tst-langinfo.sh: Send output to stdout.
50265         * localedata/tst-langinfo-static.c: New file.
50267         [BZ #16965]
50268         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50269         when the shift amount is modulo the limb size.
50271 2014-05-20  Richard Henderson  <rth@redhat.com>
50273         [BZ #16967]
50274         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50275         Change type of sa_flags from unsigned int to int.
50277         [BZ #16966]
50278         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50280         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50282 2014-05-20  Will Newton  <will.newton@linaro.org>
50284         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50285         Test the return value of the system call in the nocancel case.
50287 2014-05-20  Will Newton  <will.newton@linaro.org>
50288             Yvan Roux  <yvan.roux@linaro.org>
50290         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50291         #include of asm/ptrace.h.
50292         (PTRACE_GET_THREAD_AREA): Remove #undef.
50293         (PTRACE_GETHBPREGS): Likewise.
50294         (PTRACE_SETHBPREGS): Likewise.
50295         (struct user_regs_struct): New structure.
50296         (struct user_fpsimd_struct): New structure.
50297         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50298         #include of asm/ptrace.h and second #include of sys/user.h.
50299         (PTRACE_GET_THREAD_AREA): Remove #undef.
50300         (PTRACE_GETHBPREGS): Likewise.
50301         (PTRACE_SETHBPREGS): Likewise.
50302         (ELF_NGREG): Use new struct user_regs_struct.
50303         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50305 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50307         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50310 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50312         [BZ #16958]
50313         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50314         membar to avoid block loads/stores to overlap previous stores.
50316 2014-05-17  Richard Henderson  <rth@redhat.com>
50318         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50319         Create the __##syscall_name##_nocancel entry point.
50320         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50321         Remove; let the sysdep-cancel.h code create it.
50323 2014-05-17  David S. Miller  <davem@davemloft.net>
50325         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50326         Protect with __USE_GNU.
50327         (TIOCSET_TEMPT): Likewise.
50328         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50329         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50330         these are already provided in bits/ioctl-types.h
50332 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50334         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50335         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50337         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50338         Use wait4 regardless of [__NR_waitpid].
50340 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50342         PR libgcc/60166
50343         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50344         (_FP_NANSIGN_Q): Set the quiet bit.
50346 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50348         * benchtests/Makefile
50349         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50350         not $(common-objpfx)math/libm.so.
50351         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50352         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50353         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50354         $(common-objpfx)dlfcn/libdl.so.
50355         ($(objpfx)tst-audit8): Depend on $(libm), not
50356         $(common-objpfx)math/libm.so.
50357         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50358         not $(common-objpfx)dlfcn/libdl.so.
50359         * math/Makefile
50360         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50361         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50362         [$(build-shared) = yes].
50363         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50364         $(common-objpfx)nptl/libpthread.so.
50365         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50366         $(common-objpfx)math/libm.so$(libm.so-version) or
50367         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50368         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50369         $(common-objpfx)dlfcn/libdl.so.
50370         * setjmp/Makefile (link-libm): Remove variable.
50371         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50372         * stdio-common/Makefile (link-libm): Remove variable.
50373         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50374         * stdlib/Makefile (link-libm): Remove variable.
50375         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50376         ($(objpfx)tst-strtod-round): Likewise.
50377         ($(objpfx)tst-tininess): Likewise.
50378         ($(objpfx)tst-strtod-underflow): Likewise.
50379         ($(objpfx)tst-strtod6): Likewise.
50380         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50381         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50382         $(common-objpfx)dlfcn/libdl.so.
50384 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50386         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50387         BSD terminal modes definitions.
50389 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50391         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50392         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50394         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50395         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50396         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50397         Don't do #include_next.
50398         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50399         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50400         Don't do #include_next.
50401         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50402         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50403         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50404         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50406 2014-05-16  Allan McRae  <allan@archlinux.org>
50408         * po/sv.po: Update Swedish translation from translation project.
50410         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50411         in sed expression.
50413 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50415         [BZ #16917]
50416         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50417         errno if the TIOCGPTN ioctl fails with an error different than
50418         EINVAL.
50419         * login/tst-ptsname.c: New file.
50420         * login/Makefile (tests): Add tst-ptsname.
50422         [BZ #16943]
50423         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50424         and prlimit64.
50426 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50428         [BZ #16849]
50429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50430         herrno to return EAI_AGAIN.
50432 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50434         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50435         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50436         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50437         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50438         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50439         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50440         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50441         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50442         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50443         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50444         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50445         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50446         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50447         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50448         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50449         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50450         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50451         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50452         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50453         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50454         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50455         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50456         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50457         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50458         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50459         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50460         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50461         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50462         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50463         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50465         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50467         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50469         Moved ...
50470         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50472         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50474         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50476         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50478         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50480         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50482         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50484         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50486         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50488         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50490         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50492         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50494         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50496         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50498         Moved ...
50499         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50501         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50503         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50505         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50507         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50509         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50511         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50513         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50515         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50517         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50519         Moved ...
50520         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50522         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50524         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50525         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50526         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50527         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50528         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50529         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50530         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50531         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50532         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50533         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50534         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50535         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50536         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50537         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50538         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50539         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50540         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50541         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50542         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50543         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50544         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50545         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50546         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50547         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50548         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50549         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50550         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50551         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50552         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50553         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50554         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50556         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50557         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50559         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50560         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50561         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50562         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50563         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50564         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50565         Moved ...
50566         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50567         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50568         Moved ...
50569         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50571         Moved ...
50572         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50573         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50574         Moved ...
50575         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50576         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50577         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50578         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50579         Moved ...
50580         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50581         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50582         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50583         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50584         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50585         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50586         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50587         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50588         Moved ...
50589         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50590         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50591         Moved ...
50592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50593         ... here.
50594         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50595         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50596         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50597         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50598         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50599         Moved ...
50600         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50601         ... here.
50602         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50603         Moved ...
50604         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50605         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50606         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50607         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50608         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50609         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50610         Moved ...
50611         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50612         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50613         Moved ...
50614         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50616         Moved ...
50617         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50618         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50619         Moved ...
50620         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50621         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50622         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50623         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50624         Moved ...
50625         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50626         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50627         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50628         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50629         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50630         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50631         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50632         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50633         Moved ...
50634         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50635         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50636         Moved ...
50637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50638         ... here.
50639         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50640         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50641         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50642         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50643         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50644         Moved ...
50645         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50646         ... here.
50647         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50648         Moved ...
50649         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50650         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50651         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50652         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50653         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50654         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50655         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50656         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50657         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50658         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50659         Moved ...
50660         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50661         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50662         Moved ...
50663         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50664         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50665         Moved ...
50666         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50667         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50668         Moved ...
50669         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50670         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50671         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50672         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50673         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50674         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50675         Moved ...
50676         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50677         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50678         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50679         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50680         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50681         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50682         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50683         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50684         Moved ...
50685         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50686         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50687         Moved ...
50688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50689         ... here.
50690         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50691         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50692         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50693         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50694         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50695         Moved ...
50696         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50697         ... here.
50698         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50699         Moved ...
50700         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50701         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50702         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50703         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50704         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50705         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50706         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50707         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50708         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50709         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50710         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50712         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50713         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50715         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50716         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50718         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50719         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50720         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50721         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50722         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50723         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50724         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50725         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50726         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50727         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50728         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50729         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50730         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50731         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50732         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50733         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50734         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50736         Moved ...
50737         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50738         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50739         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50741         Moved ...
50742         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50743         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50744         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50745         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50746         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50747         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50748         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50749         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50750         Moved ...
50751         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50753         Moved ...
50754         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50755         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50756         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50757         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50758         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50759         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50760         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50761         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50762         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50763         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50764         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50765         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50766         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50767         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50768         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50769         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50770         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50772         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50773         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50774         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50775         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50776         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50778         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50779         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50780         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50781         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50782         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50783         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50784         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50785         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50786         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50787         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50790         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50792         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50793         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50794         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50795         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50796         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50797         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50798         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50799         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50800         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50801         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50802         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50803         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50804         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50805         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50807         Update #include.
50808         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50809         Likewise.
50810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50811         Likewise.
50812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50813         Likewise.
50814         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50815         Likewise.
50816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50817         Likewise.
50818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50819         Likewise.
50820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50821         Likewise.
50822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50823         Likewise.
50824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50825         Likewise.
50826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50828         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50830         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50831         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50832         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50833         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50834         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50835         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50836         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50838         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50840         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50842         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50843         that was previously under [RESET_PID].
50844         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50845         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50846         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50848         * sysdeps/i386/nptl/Implies: New file.
50849         * sysdeps/x86_64/nptl/Implies: New file.
50850         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50851         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50852         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50853         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50855         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50856         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50857         (__libc_vfork): New strong alias.
50858         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50859         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50861         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50862         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50863         (__libc_vfork): New strong alias.
50864         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50865         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50867         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50868         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50869         (__libc_vfork): New strong alias.
50870         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50871         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50872         * nptl/pt-vfork.c: New file.
50873         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50874         (libpthread: GLIBC_2.20): New version set (empty).
50876 2014-05-14  Will Newton  <will.newton@linaro.org>
50878         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50879         rather than #if.
50881 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50883         [BZ #16564]
50884         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50885         arguments with exponent 65 or above.
50886         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50887         arguments 0x1p113L or above.
50888         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50889         to arguments 0x1p107L or above.
50890         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50891         positive arguments with exponent 65 or above.
50892         * math/auto-libm-test-in: Add more tests of log1p.
50893         * math/auto-libm-test-out: Regenerated.
50895         [BZ #16928]
50896         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50897         non-finite arguments is +0.
50898         * math/s_cacosf.c (__cacosf): Likewise.
50899         * math/s_cacosl.c (__cacosl): Likewise.
50900         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50901         * sysdeps/i386/fpu/libm-test-ulps: Update.
50902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50904         [BZ #16927]
50905         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50906         value.
50907         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50908         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50909         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50910         for explicit high bit of mantissa when testing for argument equal
50911         to 1.
50912         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50913         * sysdeps/i386/fpu/libm-test-ulps: Update.
50914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50916         [BZ #16516]
50917         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50918         (__erf): Scale by 16 instead of 8 in potentially underflowing
50919         case.  Ensure exception if result actually underflows.
50920         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50921         (__erff): Scale by 16 instead of 8 in potentially underflowing
50922         case.  Ensure exception if result actually underflows.
50923         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50924         (efx8): Remove variable.
50925         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50926         case.  Ensure exception if result actually underflows.
50927         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50928         (efx8): Remove variable.
50929         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50930         case.  Ensure exception if result actually underflows.
50931         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50932         (efx8): Remove variable.
50933         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50934         case.  Ensure exception if result actually underflows.
50935         * math/auto-libm-test-in: Add more tests of erf.
50936         * math/auto-libm-test-out: Regenerated.
50938 2014-05-14  Andreas Schwab  <schwab@suse.de>
50940         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50941         Remove code conditionalized on USE___THREAD.
50943         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50944         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50945         not definedness.
50947 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50950         Define unconditionally.
50951         (__ASSUME_O_CLOEXEC): Likewise.
50952         (__ASSUME_SOCK_CLOEXEC): Likewise.
50953         (__ASSUME_IN_NONBLOCK): Likewise.
50954         (__ASSUME_PIPE2): Likewise.
50955         (__ASSUME_EVENTFD2): Likewise.
50956         (__ASSUME_SIGNALFD4): Likewise.
50957         (__ASSUME_DUP3): Likewise.
50958         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50959         (__ASSUME_DUP3): Do not define.
50960         (__ASSUME_EVENTFD2): Likewise.
50961         (__ASSUME_IN_NONBLOCK): Likewise.
50962         (__ASSUME_O_CLOEXEC): Likewise.
50963         (__ASSUME_PIPE2): Likewise.
50964         (__ASSUME_SIGNALFD4): Likewise.
50965         (__ASSUME_SOCK_CLOEXEC): Likewise.
50966         (__ASSUME_UTIMES): Undefine.
50967         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50968         (__ASSUME_UTIMES): Do not define.
50969         (__ASSUME_O_CLOEXEC): Likewise.
50970         (__ASSUME_SOCK_CLOEXEC): Likewise.
50971         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50972         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50973         0x020621].
50974         (__ASSUME_PIPE2): Likewise.
50975         (__ASSUME_EVENTFD2): Likewise.
50976         (__ASSUME_SIGNALFD4): Likewise.
50977         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50978         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50979         Do not define.
50980         (__ASSUME_EVENTFD2): Likewise.
50981         (__ASSUME_SIGNALFD4): Likewise.
50982         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50983         (__ASSUME_32BITUIDS): Likewise.
50984         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50985         (__ASSUME_IPC64): Likewise.
50986         (__ASSUME_ST_INO_64_BIT): Likewise.
50987         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50988         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50989         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50990         (__ASSUME_UTIMES): Do not define.
50991         (__ASSUME_PSELECT): Likewise.
50992         (__ASSUME_PPOLL): Likewise.
50993         (__ASSUME_O_CLOEXEC): Likewise.
50994         (__ASSUME_SOCK_CLOEXEC): Likewise.
50995         (__ASSUME_IN_NONBLOCK): Likewise.
50996         (__ASSUME_PIPE2): Likewise.
50997         (__ASSUME_EVENTFD2): Likewise.
50998         (__ASSUME_SIGNALFD4): Likewise.
50999         (__ASSUME_DUP3): Likewise.
51000         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51001         (__ASSUME_UTIMES): Likewise.
51002         (__ASSUME_O_CLOEXEC): Likewise.
51003         (__ASSUME_SOCK_CLOEXEC): Likewise.
51004         (__ASSUME_IN_NONBLOCK): Likewise.
51005         (__ASSUME_PIPE2): Likewise.
51006         (__ASSUME_EVENTFD2): Likewise.
51007         (__ASSUME_SIGNALFD4): Likewise.
51008         (__ASSUME_DUP3): Likewise.
51009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51010         (__ASSUME_UTIMES): Likewise.
51011         (__ASSUME_O_CLOEXEC): Likewise.
51012         (__ASSUME_SOCK_CLOEXEC): Likewise.
51013         (__ASSUME_IN_NONBLOCK): Likewise.
51014         (__ASSUME_PIPE2): Likewise.
51015         (__ASSUME_EVENTFD2): Likewise.
51016         (__ASSUME_SIGNALFD4): Likewise.
51017         (__ASSUME_DUP3): Likewise.
51018         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51019         Likewise.
51020         (__ASSUME_UTIMES): Likewise.
51021         (__ASSUME_EVENTFD2): Likewise.
51022         (__ASSUME_SIGNALFD4): Likewise.
51023         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51024         (__ASSUME_O_CLOEXEC): Likewise.
51025         (__ASSUME_SOCK_CLOEXEC): Likewise.
51026         (__ASSUME_IN_NONBLOCK): Likewise.
51027         (__ASSUME_PIPE2): Likewise.
51028         (__ASSUME_EVENTFD2): Likewise.
51029         (__ASSUME_SIGNALFD4): Likewise.
51030         (__ASSUME_DUP3): Likewise.
51031         (__ASSUME_UTIMES): Undefine.
51033         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51034         feclearexcept.  Remove symbol versioning code.
51035         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51036         symbol versioning code.
51037         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51038         symbol versioning code.
51039         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51040         feupdateenv.  Remove symbol versioning code.
51041         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51042         fegetexceptflag.  Remove symbol versioning code.
51043         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51044         fesetexceptflag.  Remove symbol versioning code.
51045         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51046         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51047         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51048         (__posix_fadvise64_l32): Remove prototype.
51049         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51050         code.
51052 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51054         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51055         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51056         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51057         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51059 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51061         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51062         current working directory
51064 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51066         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51067         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51068         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51069         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51070         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51071         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51072         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51073         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51074         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51075         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51076         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51077         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51078         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51079         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51080         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51081         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51082         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51083         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51084         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51085         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51086         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51087         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51088         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51089         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51090         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51091         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51092         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51093         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51094         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51095         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51096         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51097         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51098         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51099         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51100         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51101         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51102         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51103         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51104         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51105         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51106         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51107         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51109         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51110         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51112         * sysdeps/unix/sysv/linux/arm/Makefile
51113         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51114         Add rt-aeabi_unwind_cpp_pr1.
51115         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51116         Add nptl-aeabi_unwind_cpp_pr1.
51117         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51118         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51119         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51120         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51121         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51122         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51124         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51125         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51126         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51127         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51129         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51130         Deconditionalize the code that was previously under [RESET_PID].
51131         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51133         * sysdeps/generic/exit-thread.h: New file.
51134         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51135         * include/unistd.h (__exit_thread): Remove declaration.
51136         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51137         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51138         * csu/libc-start.c: Include <exit-thread.h>.
51139         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51140         * nptl/pthread_create.c: Include <exit-thread.h>.
51141         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51142         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51143         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51144         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51145         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51146         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51147         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51148         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51149         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51150         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51151         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51152         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51153         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51154         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51155         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51156         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51157         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51159 2014-05-13  Andreas Schwab  <schwab@suse.de>
51161         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51163 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51165         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51166         (__ASSUME_UTIMES): Do not condition on kernel version.
51167         (__ASSUME_PSELECT): Define unconditionally.
51168         (__ASSUME_PPOLL): Likewise.
51169         (__ASSUME_ATFCTS): Likewise.
51170         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51171         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51172         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51173         (__ASSUME_UTIMENSAT): Define unconditionally.
51174         (__ASSUME_PRIVATE_FUTEX): Likewise.
51175         (__ASSUME_FALLOCATE): Likewise.
51176         (__ASSUME_O_CLOEXEC): Likewise.
51177         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51178         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51179         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51180         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51181         (__ASSUME_IN_NONBLOCK): Likewise.
51182         (__ASSUME_PIPE2): Likewise.
51183         (__ASSUME_EVENTFD2): Likewise.
51184         (__ASSUME_SIGNALFD4): Likewise.
51185         (__ASSUME_DUP3): Likewise.
51186         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51187         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51188         (__ASSUME_AT_RANDOM): Likewise.
51189         (__ASSUME_PREADV): Likewise.
51190         (__ASSUME_PWRITEV): Likewise.
51191         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51192         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51193         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51194         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51195         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51196         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51197         (__ASSUME_O_CLOEXEC): Define unconditionally.
51198         (__ASSUME_PSELECT): Do not undefine conditionally.
51199         (__ASSUME_PPOLL): Likewise.
51200         (__ASSUME_ATFCTS): Likewise.
51201         (__ASSUME_SET_ROBUST_LIST): Likewise.
51202         (__ASSUME_UTIMENSAT): Likewise.
51203         (__ASSUME_FDATASYNC): Define unconditionally.
51204         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51205         (__ASSUME_SIGFRAME_V2): Likewise.
51206         )__ASSUME_EVENTFD2): Likewise.
51207         (__ASSUME_SIGNALFD4): Likewise.
51208         (__ASSUME_PSELECT): Do not undefine conditionally.
51209         (__ASSUME_PPOLL): Likewise.
51210         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51211         (__ASSUME_PSELECT): Define unconditionally.
51212         (__ASSUME_PPOLL): Likewise.
51213         (__ASSUME_O_CLOEXEC): Likewise.
51214         (__ASSUME_SOCK_CLOEXEC): Likewise.
51215         (__ASSUME_IN_NONBLOCK): Likewise.
51216         (__ASSUME_PIPE2): Likewise.
51217         (__ASSUME_EVENTFD2): Likewise.
51218         (__ASSUME_SIGNALFD4): Likewise.
51219         (__ASSUME_DUP3): Likewise.
51220         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51221         (__ASSUME_O_CLOEXEC): Likewise.
51222         (__ASSUME_SOCK_CLOEXEC): Likewise.
51223         (__ASSUME_IN_NONBLOCK): Likewise.
51224         (__ASSUME_PIPE2): Likewise.
51225         (__ASSUME_EVENTFD2): Likewise.
51226         (__ASSUME_SIGNALFD4): Likewise.
51227         (__ASSUME_DUP3): Likewise.
51228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51229         (__ASSUME_EVENTFD2): Likewise.
51230         (__ASSUME_SIGNALFD4): Likewise.
51231         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51233 2014-05-12  Andreas Schwab  <schwab@suse.de>
51235         [BZ #16932]
51236         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51237         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51238         than maximum RPC packet size.
51239         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51240         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51241         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51242         (_nss_nis_getservbyport_r): Likewise.
51244 2014-05-12  Will Newton  <will.newton@linaro.org>
51246         * malloc/Makefile (tests): Add tst-mallopt.
51247         * malloc/tst-mallopt.c: New file.
51249 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51251         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51252         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51254 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51256         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51257         (tst-tlsmod6.so): Likewise.
51259 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51261         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51263 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51265         [BZ #16064]
51266         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51267         and <dl-procinfo.h>.
51268         (__fegetenv): Save SSE state in envp->__eip if supported.
51269         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51270         envp->__eip if supported.
51271         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51272         and <dl-procinfo.h>.
51273         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51274         __data_offset and __data_selector in environment to 0.  Set SSE
51275         state if supported.
51276         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51277         test-fenv-sse.
51278         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51279         -mfpmath=sse.
51280         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51282 2014-05-09  Will Newton  <will.newton@linaro.org>
51284         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51285         and libc_relro_required for ARM.
51286         * sysdeps/arm/preconfigure: Regenerate.
51288 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51289             Stefan Liebler  <stli@linux.vnet.ibm.com>
51291         * config.make.in (enable-lock-elision): New Makefile variable.
51292         * configure.ac: Likewise.
51293         * configure: Regenerate.
51294         * sysdeps/s390/configure.ac:
51295         Add check for gcc transactions support.
51296         * sysdeps/s390/configure: Regenerate.
51297         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51298         Build elision files if enabled.
51299         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51300         Add lock elision support for s390.
51301         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51302         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51303         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51304         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51305         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51306         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51307         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51308         Likewise.
51309         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51310         Likewise.
51311         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51312         Likewise.
51313         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51314         Likewise.
51315         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51316         (__lll_timedlock_elision, __lll_lock_elision)
51317         (__lll_unlock_elision, __lll_trylock_elision)
51318         (lll_timedlock_elision, lll_lock_elision)
51319         (lll_unlock_elision, lll_trylock_elision): Add.
51320         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51321         (pthread_mutex_t): Add lock elision support for s390.
51323 2014-05-14  Wilco  <wdijkstr@arm.com>
51325         * sysdeps/arm/fclrexcpt.c: Cleanup.
51326         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51327         * sysdeps/arm/feenablxcpt.c: Cleanup.
51328         * sysdeps/arm/fegetenv.c: Cleanup.
51329         * sysdeps/arm/fegetexcept.c: Cleanup.
51330         * sysdeps/arm/fegetround.c: Cleanup.
51331         * sysdeps/arm/feholdexcpt.c: Cleanup.
51332         * sysdeps/arm/fesetenv.c: Cleanup.
51333         * sysdeps/arm/fesetround.c: Cleanup.
51334         * sysdeps/arm/feupdateenv.c: Cleanup.
51335         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51336         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51337         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51338         * sysdeps/arm/ftestexcept.c: Cleanup.
51339         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51340         * sysdeps/arm/setfpucw.c: Cleanup.
51342 2014-05-09  Will Newton  <will.newton@linaro.org>
51344         * sysdeps/arm/armv7/strcmp.S: New file.
51345         * NEWS: Mention addition of ARMv7 optimized strcmp.
51347 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51349         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51350         look for %.ac rather than %.in.
51352         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51353         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51354         * sysdeps/mach/hurd/configure: Regenerated.
51355         * sysdeps/unix/sysv/linux/configure: Regenerated.
51357         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51359 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51361         [BZ #16922]
51362         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51363         (LONG_SUB): Ditto.
51364         (PTR_SUB): Ditto.
51366 2014-05-07  Andreas Schwab  <schwab@suse.de>
51368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51369         when skipping over non-matching result from nscd.
51371 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51373         [BZ #16876]
51374         * nptl/sockperf.c (client): Check socket return value.
51376         [BZ #16877]
51377         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51378         nscd security class.
51380 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51382         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51383         * sysdeps/arm/unwind.h: ... here.
51385 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51387         [BZ #16916]
51388         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51389         Define.
51391 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51393         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51394         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51395         multiarch strncpy for PPC64.
51396         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51397         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51399         multiarch optimizations.
51400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51401         (__libc_ifunc_impl_list): Likewise.
51402         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51403         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51404         multiarch stpncpy for PPC64.
51405         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51406         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51408 2014-05-06  Andreas Schwab  <schwab@suse.de>
51410         [BZ #16912]
51411         * gmon/mcount.c (_MCOUNT_DECL): Use
51412         atomic_compare_and_exchange_bool_acq instead of
51413         catomic_compare_and_exchange_bool_acq.
51415 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51417         * elf/Makefile (others, install-bin): Remove pldd.
51418         (pldd-modules): Variable removed.
51419         ($(objpfx)pldd): Target removed.
51420         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51421         (others, install-bin): Append pldd here.
51422         ($(objpfx)pldd): New target.
51424         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51425         to 0, so the first #if test emitted later doesn't see it undefined.
51426         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51427         * sysdeps/gnu/errlist.c: Regenerated.
51429 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51431         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51432         [libc_hidden_builtin_def]: Define to empty value.
51433         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51434         [libc_hidden_builtin_def]: Likewise.
51435         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51436         [libc_hidden_builtin_def]: Likewise.
51437         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51438         [libc_hidden_builtin_def]: Likewise.
51439         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51440         __redirect_memcpy and define ifunc as default hidden symbol.
51441         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51442         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51444 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51446         * locale/iso-4217.def: Reintroduce XDR currency.
51448 2014-05-04  Allan McRae  <allan@archlinux.org>
51450         * po/eo.po: Update Esperanto translation from translation project.
51452 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51454         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51455         and FEATURE_INDEX_MAX to 1.
51456         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51458 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51460         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51461         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51462         * iconvdata/big5.c (ONE_DIRECTION): Define.
51463         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51464         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51465         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51466         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51467         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51468         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51469         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51470         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51471         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51472         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51473         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51474         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51475         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51476         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51477         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51478         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51479         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51480         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51481         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51482         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51483         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51484         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51485         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51486         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51487         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51488         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51489         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51490         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51491         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51492         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51493         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51494         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51495         * iconvdata/johab.c (ONE_DIRECTION): Define.
51496         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51497         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51498         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51499         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51500         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51501         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51502         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51503         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51504         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51505         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51507 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51509         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51510         (_IO_JUMPS_OFFSET): Define to 0.
51512         * nptl/sysdeps/pthread/bits/libc-lock.h
51513         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51514         (__libc_lock_define_initialized_recursive): Always define using
51515         initializer.  Modern compilers treat uninitialized (implicit zero) and
51516         explicit zero initializers the same (i.e. put the datum in bss).
51518 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51520         * nscd/nscd-client.h: Include <string.h>.
51522 2014-05-01  David S. Miller  <davem@davemloft.net>
51524         [BZ #16885]
51525         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51526         multiple zero bytes exist at the end of a string.
51527         Reported by Aurelien Jarno <aurelien@aurel32.net>
51529         * string/test-strcmp.c (check): Add explicit test for situations where
51530         there are multiple zero bytes after the first.
51532 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51534         [BZ #16890]
51535         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51536         when compiling wprintf.
51537         * stdio-common/tstdiomisc.c (t3): New function.
51538         (main): Call it.
51540 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51542         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51543         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51544         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51545         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51547 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51549         * stdlib/longlong.h: Updated from GCC.
51551 2014-05-01  Will Newton  <will.newton@linaro.org>
51552             Bernard Ogden  <bernie.ogden@linaro.org>
51554         * NEWS: Update fixed bug list.
51556         [BZ #15119]
51557         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51559 2014-04-30  David S. Miller  <davem@davemloft.net>
51561         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51562         (libc_feholdexcept_setround_sparc_ctx): New function.
51563         (libc_fesetenv_sparc_ctx): Likewise.
51564         (libc_feupdateenv_sparc_ctx): Likewise.
51565         (libc_feholdsetround_sparc_ctx): Likewise.
51566         (libc_feholdexcept_setround_ctx): Define.
51567         (libc_feholdexcept_setroundf_ctx): Likewise.
51568         (libc_feholdexcept_setroundl_ctx): Likewise.
51569         (libc_fesetenv_ctx): Likewise.
51570         (libc_fesetenvf_ctx): Likewise.
51571         (libc_fesetenvl_ctx): Likewise.
51572         (libc_feupdateenv_ctx): Likewise.
51573         (libc_feupdateenvf_ctx): Likewise.
51574         (libc_feupdateenvl_ctx): Likewise.
51575         (libc_feresetround_ctx): Likewise.
51576         (libc_feresetroundf_ctx): Likewise.
51577         (libc_feresetroundl_ctx): Likewise.
51578         (libc_feholdsetround_ctx): Likewise.
51579         (libc_feholdsetroundf_ctx): Likewise.
51580         (libc_feholdsetroundl_ctx): Likewise.
51582         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51583         with __USE_GNU instead of XOPEN cpp guards.
51585         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51586         0.
51588         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51589         with XOPEN cpp guards.
51591 2014-04-30  Julian Brown  <julian@codesourcery.com>
51593         [BZ #16888]
51594         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51595         handling.
51597 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #9894]
51600         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51601         Change to 2.6.32.
51602         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51603         * sysdeps/unix/sysv/linux/configure: Regenerated.
51604         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51605         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51606         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51607         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51608         * README: Update reference to required Linux kernel version.
51609         * manual/install.texi (Linux): Update reference to required Linux
51610         kernel headers version.
51611         * INSTALL: Regenerated.
51613         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51614         header inclusion.
51615         [POSIX] (limits.h): Likewise.
51616         [POSIX] (math.h): Likewise.
51617         [POSIX] (sys/wait.h): Likewise.
51618         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51619         function.
51620         [POSIX] (stddef.h): Do not allow header inclusion.
51622 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51624         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51626 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51628         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51629         Return immediately after lll_futex_wake.
51631 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51633         [BZ #16791]
51634         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51635         structure.
51636         (datahead_init_pos): Call datahead_init_common early.
51637         (datahead_init_neg): Likewise.
51639         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51640         datahead_init_neg): New functions.
51641         * nscd/aicache.c (addhstaiX): Use them.
51642         * nscd/grpcache.c (cache_addgr): Likewise.
51643         * nscd/hstcache.c (cache_addhst): Likewise.
51644         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51645         * nscd/netgroupcache.c (do_notfound): Likewise.
51646         (addgetnetgrentX): Likewise.
51647         (addinnetgrX): Likewise.
51648         * nscd/pwdcache.c (cache_addpw): Likewise.
51649         * nscd/servicescache.c (cache_addserv): Likewise.
51651 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51652             Atsushi Onoe  <atsushi@onoe.org>
51654         [BZ #14308]
51655         [BZ #12994]
51656         [BZ #13651]
51657         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51658         one response is valid.
51659         * resolv/res_send.c (send_dg): Check for validity of other
51660         response if the current response is a referral.
51662 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51664         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51666 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51668         [BZ #16823]
51669         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51670         Always divide by positive zero when computing -Inf result.
51671         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51672         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51674 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51676         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51677         FPSCR if value do not change.
51678         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51679         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51680         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51681         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51682         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51683         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51684         function.
51686 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51688         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51689         * sysdeps/unix/sysv/linux/hppa: Move directory from
51690         ports/systeps/unix/sysv/linux/hppa.
51691         * README: Update listing for hppa-*-linux-gnu.
51693 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51695         [BZ #16754]
51696         * manual/stdio.texi (Hook functions): Fix types of stream hook
51697         functions.
51698         [BZ #16854]
51699         * socket/sys/socket.h: Fix typo in comment.
51701 2014-04-28  Wilco  <wdijkstr@arm.com>
51703         * sysdeps/arm/fenv_private.h: New file.
51704         * sysdeps/arm/math_private.h: New file.
51705         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51707 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51709         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51710         with __int128_t.
51711         (La_x86_64_retval): Likewise.
51713 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51715         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51716         fpsr if value didn't change.
51717         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51718         to fpcr if value didn't change.
51719         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51720         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51721         fpsr or fpcr if value didn't change.
51722         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51723         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51724         fpcr if value didn't change.
51725         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51726         to fpsr if value didn't change.
51728 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51730         * nptl/tst-sem3.c: Use test-skeleton.c
51731         (main): Rename to do_test.  Use return instead of
51732         exit.
51733         * nptl/tst-sem4.c: Use test-skeleton.c
51734         (main): Rename to do_test.
51736 2014-04-22  David S. Miller  <davem@davemloft.net>
51738         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51739         (struct sigaction): New struct member __glibc_reserved0, change
51740         type of sa_flags to int.
51742 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51744         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51745         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51747 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51749         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51750         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51752 2014-04-22  Will Newton  <will.newton@linaro.org>
51753             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51755         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51756         (__longjmp): Add longjmp and longjmp_target SystemTap
51757         probes.
51758         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51759         (__sigsetjmp): Add setjmp SystemTap probe.
51761 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51763         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51764         match manual order.
51766 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51768         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51770         * sysdeps/powerpc/fpu/fenv_private.h
51771         (libc_feholdexcept_setroundl_ctx): Define to
51772         libc_feholdexcept_setround_ppc_ctx.
51773         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51774         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51775         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51776         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51778 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51780         * sysdeps/aarch64/math-tests.h: New file.
51782 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51784         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51785         New.
51786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51787         Check and set bit_AVX2_Usable.
51788         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51789         macro.
51790         (bit_AVX2): Likewise.
51791         (index_AVX2_Usable): Likewise.
51792         (CPUID_AVX2): Likewise.
51793         (HAS_AVX2): Likewise.
51795 2014-04-17  Will Newton  <will.newton@linaro.org>
51797         * manual/setjmp.texi (System V contexts): Add note that
51798         calling setcontext on a context created by a call to a
51799         signal handler is undefined.  Update text to note that
51800         setcontext from a signal handler is possible but not
51801         recommended.
51803         [BZ #16629]
51804         * stdlib/tst-setcontext.c: Include signal.h.
51805         (main): Check that the signal stack before and
51806         after swapcontext is the same.
51808         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51809         Re-implement to restore registers in user code and avoid
51810         rt_sigreturn system call.
51812 2014-04-17  Wilco  <wdijkstr@arm.com>
51814         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51815         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51816         * math/test-fenv.c: Skip exception trap tests on targets which only
51817         support non-stop mode.
51819 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51820             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51822         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51823         (libc_feholdsetround_aarch64_ctx)
51824         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51825         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51826         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51827         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51828         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51829         (libc_feresetround_noexl_ctx): Define.
51831 2014-04-16  Richard Henderson  <rth@redhat.com>
51833         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51835         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51836         unwind tables.
51838         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51839         const from the non-libc, non-ldso copy.
51841         * sysdeps/alpha/libm-test-ulps: Regenerate.
51843 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51844             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51846         * sysdeps/aarch64/fpu/math_private.h: New file.
51848 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51850         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51852 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51854         [BZ #16275]
51855         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51856         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51858         Intel MPX bound registers before _dl_profile_fixup.
51859         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51860         registers after _dl_profile_fixup.  Save and restore bound
51861         registers bnd0/bnd1 when calling _dl_call_pltexit.
51862         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51863         (LR_BND_OFFSET): Likewise.
51864         (LRV_BND0_OFFSET): Likewise.
51865         (LRV_BND1_OFFSET): Likewise.
51867 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51869         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51870         to...
51871         * sysdeps/mach/hurd/i386/tls.h: ... here.
51872         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51873         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51874         fields.
51876 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51878         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51880 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51882         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51884 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51886         [BZ #14770]
51887         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51888         * sysdeps/s390/configure: Regenerate.
51890         [BZ #16824]
51891         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51892         Set round-to-nearest internally to reduce error accumulation.
51894 2014-04-16  Alan Modra  <amodra@gmail.com>
51896         [BZ #16740]
51897         [BZ #16619]
51898         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51899         * math/libm-test.inc (frexp_test_data): Add tests.
51900         * NEWS: Update fixed bug list.
51902 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51904         * benchtests/Makefile: Depend on libraries in build directory.
51905         (bench-math): Separate out math tests.
51906         (bench-pthread): Separate out pthread tests.
51907         (bench): Include math and pthread tests.
51909 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51911         [BZ #16831]
51912         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51913         _dl_debug_initialize.
51915         * configure.ac: Remove SELinux header check.
51916         * configure: Regenerate.
51917         * nscd/selinux.c (perms): Array of const char* to permission names.
51918         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51919         default policy. Call string_to_security_class and string_to_av_perm to
51920         translate strings. Enforce default policy and call avs_has_perm with
51921         results of translated strings.
51923 2014-04-13  David S. Miller  <davem@davemloft.net>
51925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51927 2014-04-12  Allan McRae  <allan@archlinux.org>
51929         [BZ #16838]
51930         * manual/string.texi (Collation Functions): Fix qsort argument
51931         order in example.
51932         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51934 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51936         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51937         Make the test a no-op if there are no exceptions defined.
51939 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51941         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51942         enable-hardcoded-path-in-tests
51944 2014-04-11  Will Newton  <will.newton@linaro.org>
51946         * benchtests/Makefile (extra-objs): Add json-lib.o.
51947         (bench-func): Tidy up JSON output.
51948         * benchtests/bench-skeleton.c: Include json-lib.h.
51949         (main): Use JSON library functions to do output of
51950         benchmark results.
51951         * benchtests/bench-timing-type.c (main): Output the
51952         timing type simply, leaving formatting to the user.
51953         * benchtests/json-lib.c: New file.
51954         * benchtests/json-lib.h: Likewise.
51956 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51958         [BZ #15215]
51959         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51960         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51961         memory barriers.  Add comments.
51962         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51963         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51964         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51965         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51966         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51967         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51969 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51971         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51972         * sysdeps/s390/s390-64/configure.ac: ... this ...
51973         * sysdeps/s390/configure.ac: ... to here.
51974         * sysdeps/s390/s390-32/configure: Delete file.
51975         * sysdeps/s390/s390-64/configure: Delete file.
51976         * sysdeps/s390/configure: Regenerate.
51978 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
51980         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51982 2014-04-11  Will Newton  <will.newton@linaro.org>
51984         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51985         to zero if it is not defined elsewhere.  (mtrim): Test
51986         the value of MALLOC_DEBUG with #if rather than #ifdef.
51988 2014-04-10 Torvald Riegel  <triegel@redhat.com>
51990         * benchtests/pthread_once-inputs: New file.
51991         * benchtests/pthread_once-source.c: New file.
51992         * benchtests/README: Update documentation.
51994 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
51995             H.J. Lu  <hongjiu.lu@intel.com>
51997         [BZ #16275]
51998         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51999         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52000         * sysdeps/x86_64/configure: Regenerated.
52001         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52002         macro.
52003         (REGISTER_SAVE_RAX): Likewise.
52004         (REGISTER_SAVE_RCX): Likewise.
52005         (REGISTER_SAVE_RDX): Likewise.
52006         (REGISTER_SAVE_RSI): Likewise.
52007         (REGISTER_SAVE_RDI): Likewise.
52008         (REGISTER_SAVE_R8): Likewise.
52009         (REGISTER_SAVE_R9): Likewise.
52010         (REGISTER_SAVE_BND0): Likewise.
52011         (REGISTER_SAVE_BND1): Likewise.
52012         (REGISTER_SAVE_BND2): Likewise.
52013         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52014         bound registers when calling _dl_fixup.
52016 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52018         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52019         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52020         of its definition.
52021         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52022         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52023         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52024         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52025         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52026         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52027         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52029 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52031         [BZ #15514]
52032         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52033         pathconf(_PC_NAME_MAX).
52035 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52037         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52038         Remove macro usage.
52039         (__PTHREAD_SPINS): Move definition to ...
52040         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52041         (__PTHREAD_SPINS): ... here.
52042         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52043         (__PTHREAD_SPIN): Likewise.
52044         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52045         (__PTHREAD_SPIN): Likewise.
52046         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52047         (__PTHREAD_SPIN): Likewise.
52048         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52049         (__PTHREAD_SPIN): Likewise.
52050         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52051         (__PTHREAD_SPIN): Likewise.
52052         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52053         (__PTHREAD_SPIN): Likewise.
52054         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52055         (__PTHREAD_SPIN): Likewise.
52056         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52057         (__PTHREAD_SPIN): Likewise.
52058         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52059         (__PTHREAD_SPIN): Likewise.
52060         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52061         (__PTHREAD_SPIN): Likewise.
52062         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52063         (__PTHREAD_SPIN): Likewise.
52064         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52065         (__PTHREAD_SPIN): Likewise.
52067         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52068         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52069         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52070         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52071         imply folder.
52072         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52073         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52074         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52075         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52076         correct imply path.
52077         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52078         strlen symbol for non multi-arch builds.
52079         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52080         missing hidden_def and weak_alias.
52082 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52084         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52086 2014-04-07  Will Newton  <will.newton@linaro.org>
52088         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52089         and contents.  [!_LIBC] Remove #ifndef and contents.
52090         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52091         * string/memccpy.c (__memccpy): Use ANSI prototype.
52092         * string/memfrob.c (memfrob): Likewise.
52093         * string/strcoll.c (STRCOLL): Likewise.
52094         * string/strlen.c (strlen): Likewise.
52095         * string/strtok.c (STRTOK): Likewise.
52096         * string/strcat.c: Remove unused #include of memcopy.h.
52097         (strcat): Use ANSI prototype.
52098         * string/strchr.c: Remove unused #include of memcopy.h.
52099         (strchr): Use ANSI prototype.
52100         * string/strcmp.c: Remove unused #include of memcopy.h.
52101         (strcmp): Use ANSI prototype.
52102         * string/strcpy.c: Remove unused #include of memcopy.h.
52103         (strcpy): Use ANSI prototype.
52105 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52107         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52108         * config.make.in (config-extra-cppflags): Set it from
52109         libc_extra_cppflags.
52110         * configure.ac (libc_extra_cflags): Make it accumulate over
52111         configure fragments.
52112         (libc_extra_cppflags): New flag.
52113         * configure. Regenerate.
52114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52115         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52116         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52119         [BZ #16815]
52120         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52121         result for FE_DOWNWARD rounding mode.
52122         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52123         Likewise.
52124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52126 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52128         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52129         in function argument name.
52131 2014-04-03  David Svoboda  <svoboda@cert.org>
52133         [BZ #5666]
52134         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52135         explicitly.
52137 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52139         * elf/dl-unmap-segments.h: New file.
52140         * sysdeps/generic/ldsodefs.h
52141         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52142         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52143         * elf/dl-fptr.c: Likewise.
52144         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52145         * sysdeps/aarch64/tlsdesc.c: Likewise.
52146         * sysdeps/arm/tlsdesc.c: Likewise.
52147         * sysdeps/i386/tlsdesc.c: Likewise.
52148         * sysdeps/tile/dl-runtime.c: Likewise.
52149         * sysdeps/x86_64/tlsdesc.c: Likewise.
52150         * elf/dl-load.h: New file.
52151         * elf/dl-load.c: Include it.
52152         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52153         Macros moved to dl-load.h.
52154         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52155         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52156         Use _dl_unmap_segments in place of __munmap.
52157         Break out segment-mapping loop into ...
52158         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52160 2014-04-03  Will Newton  <will.newton@linaro.org>
52162         * elf/dl-lookup.c (do_lookup_x): Remove comment
52163         referring to nested function and move variable
52164         declarations down to before first use.
52166 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52168         [BZ #16799]
52169         [BZ #16800]
52170         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52171         with 0 numerator.
52172         * math/s_catanf.c (__catanf): Likewise.
52173         * math/s_catanh.c (__catanh): Likewise.
52174         * math/s_catanhf.c (__catanhf): Likewise.
52175         * math/s_catanhl.c (__catanhl): Likewise.
52176         * math/s_catanl.c (__catanl): Likewise.
52177         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52178         by positive zero when computing -Inf result.
52179         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52180         (catanh_test): Likewise.
52181         * sysdeps/i386/fpu/libm-test-ulps: Update.
52182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52184         [BZ #16789]
52185         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52186         instead of using underflowing value in computing result.
52187         * math/s_clog10.c (__clog10): Likewise.
52188         * math/s_clog10f.c (__clog10f): Likewise.
52189         * math/s_clog10l.c (__clog10l): Likewise.
52190         * math/s_clogf.c (__clogf): Likewise.
52191         * math/s_clogl.c (__clogl): Likewise.
52192         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52193         (clog10_test): Likewise.
52194         * sysdeps/i386/fpu/libm-test-ulps: Update.
52195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52197 2014-04-02  Alan Modra  <amodra@gmail.com>
52199         [BZ #16739]
52200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52201         output when value is near a power of two.  Use int64_t for lx and
52202         remove casts.  Use decimal rather than hex exponent constants.
52203         Don't use long double multiplication when double will suffice.
52204         * math/libm-test.inc (nextafter_test_data): Add tests.
52205         * NEWS: Add 16739 and 16786 to bug list.
52207         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52209         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52211 2014-04-01  Will Newton  <will.newton@linaro.org>
52213         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52214         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52216 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52218         [BZ #13347]
52219         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52220         * nptl/tst-setuid2.c: New file.
52221         * nptl/Makefile (xtests): Add tst-setuid2.
52223 2014-04-01  Alan Modra  <amodra@gmail.com>
52225         [BZ #16786]
52226         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52228 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52230         [BZ #6803]
52231         [BZ #6804]
52232         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52233         set errno as appropriate.
52234         * math/w_scalbf.c (__scalbf): Likewise.
52235         * math/w_scalbl.c (__scalbl): Likewise.
52236         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52237         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52238         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52239         Add more NaN tests.
52241         [BZ #16349]
52242         * math/w_atan2.c: Include <errno.h>.
52243         (__atan2): Set errno for result underflowing to zero.
52244         * math/w_atan2f.c: Include <errno.h>.
52245         (__atan2f): Set errno for result underflowing to zero.
52246         * math/w_atan2l.c: Include <errno.h>.
52247         (__atan2l): Set errno for result underflowing to zero.
52248         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52249         tests.
52250         * math/auto-libm-test-out: Regenerated.
52252 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52254         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52255         Encode instruction correctly in little endian.
52256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52257         Likewise.
52258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52259         Likewise.
52260         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52261         Likewise.
52262         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52263         Likewise.
52265 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52267         [BZ #9894]
52268         * sysdeps/unix/sysv/linux/kernel-features.h
52269         [__sparc__ && !__arch64__ && !__sparc_v9__]
52270         (__ASSUME_SET_ROBUST_LIST): Do not define.
52271         [__sparc__ && !__arch64__ && !__sparc_v9__]
52272         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52273         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52274         Likewise.
52275         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52276         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52277         (__ASSUME_REQUEUE_PI): Likewise.
52278         (__ASSUME_SET_ROBUST_LIST): Likewise.
52279         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52280         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52281         Undefine.
52282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52283         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52284         Likewise.
52285         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52286         Likewise.
52287         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52288         Likewise.
52289         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52290         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52291         Undefine.
52292         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52293         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52294         Likewise.
52296         [BZ #16648]
52297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52299         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52301 2014-03-31  Will Newton  <will.newton@linaro.org>
52303         * benchtests/Makefile (bench): Add ffs and ffsll to list
52304         of tests.
52305         * benchtests/ffs-inputs: New file.
52306         * benchtests/ffsll-inputs: Likewise.
52308 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52310         [BZ #16770]
52311         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52312         too large before casting to int.
52313         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52314         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52315         * math/libm-test.inc (scalb_test_data): Add more tests.
52317 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52319         * benchtests/Makefile (DETAILED_OPT): New make option.
52320         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52321         set.
52322         * benchtests/bench-skeleton.c: Include stdbool.h.
52323         (main): Store and print timings per input.
52324         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52325         member to each argument value.
52326         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52327         (_print_arg_data): Initialize per-input timing to 0.
52329         * benchtests/Makefile (timing-type): New binary.
52330         (bench-clean): Also remove bench-timing-type.
52331         (bench): New target for timing-type.
52332         (bench-func): Print output in JSON format.
52333         * benchtests/bench-skeleton.c (main): Print output in JSON
52334         format.
52335         * benchtests/bench-timing-type.c: New file.
52336         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52337         (TIMING_PRINT_STATS): Remove.
52338         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52339         name separately.
52341         * benchtests/bench-modf.c: Remove.
52342         * benchtests/modf-inputs: New inputs file.
52344 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52346         [BZ #16362]
52347         * math/s_clog10.c (M_PI_LOG10E): New macro.
52348         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52349         imaginary parts are 0.
52350         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52351         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52352         imaginary parts are 0.
52353         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52354         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52355         imaginary parts are 0.
52356         * math/libm-test.inc (clog10_test_data): Update expected results
52357         for when real and imaginary parts are 0.
52359 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52361         * elf/dl-load.c: Finish conversion of __builtin_expect into
52362         __glibc_{un}likely.
52364 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52366         [BZ #16348]
52367         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52368         1+x for argument with exponent below -67.
52369         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52370         Likewise.
52371         * math/auto-libm-test-in: Add more tests of exp.
52372         * math/auto-libm-test-out: Regenerated.
52374 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52376         [BZ #16759]
52377         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52378         (nscd_getnetgrent): Use it.
52380         [BZ #16760]
52381         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52382         of stpcpy.
52384 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52386         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52387         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52388         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52389         (lll_robust_unlock): Remove out of line section. Use cfi
52390         intrinsics.
52391         (LLL_STUB_UNWIND_INFO*): Remove.
52392         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52393         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52394         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52395         (lll_robust_unlock): Remove out of line section. Use cfi
52396         intrinsics.
52397         (LLL_STUB_UNWIND_INFO*): Remove.
52399 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52401         [BZ #16758]
52402         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52403         blank values.
52405 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52407         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52409 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52411         [BZ #16198]
52412         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52413         fnstenv.
52414         * math/test-fenv-preserve.c: New file.
52415         * math/Makefile (tests): Add test-fenv-preserve.
52417 2014-03-26  Will Newton <will.newton@linaro.org>
52419         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52421 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52423         * scripts/versionlist.awk: Partition the version sets and emit all
52424         GLIBC_* (sorted) before all others (sorted).
52426 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52428         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52429         GLIBC_2.2.5 version.
52431 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52433         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52434         calls.
52436         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52437         previous change.
52439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52441 2014-03-25  Andreas Schwab  <schwab@suse.de>
52443         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52444         label to be used after in6ailist is initialized.
52446 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52448         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52449         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52451 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52453         [BZ #16357]
52454         [BZ #16599]
52455         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52456         min_plus_half.
52457         (fp_formats): Update initializers.
52458         (init_fp_formats): Initialize new field.
52459         (output_for_one_input_case): Allow underflow for results up to
52460         min_plus_half.
52461         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52462         * math/auto-libm-test-in: Don't mark some underflows from asin and
52463         atanh as spurious.
52464         * math/auto-libm-test-out: Regenerated.
52465         * sysdeps/i386/fpu/libm-test-ulps: Update.
52466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52468 2014-03-25  Andreas Schwab  <schwab@suse.de>
52470         * libio/Makefile (tst-ftell-partial-wide-ENV)
52471         (tst-ftell-active-handler-ENV): Define.
52473 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52475         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52477 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52479         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52481 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52483         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52484         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52485         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52487 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52489         [BZ #16634]
52490         * elf/dl-load.c (open_verify): Add mode parameter.
52491         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52492         (open_path): Change from boolean 'secure' to complete flag 'mode'
52493         (_dl_map_object): Adjust.
52494         * elf/Makefile (tests): Add tst-dlopen-aout.
52495         * elf/tst-dlopen-aout.c: New test.
52497 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52499         [BZ #16714]
52500         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52501         (struct stat): Rename member pad0 to __glibc_reserved0.
52503         [BZ #16712]
52504         * sysdeps/s390/s390-32/bits/wordsize.h
52505         (__WORDSIZE32_SIZE_ULONG): New define.
52506         * sysdeps/s390/s390-64/bits/wordsize.h
52507         (__WORDSIZE32_SIZE_ULONG): Likewise.
52508         * sysdeps/generic/stdint.h (SIZE_MAX):
52509         Define as UL if __WORDSIZE32_SIZE_ULONG.
52511         [BZ #16713]
52512         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52513         (__glibc_reserved0): New variable.
52514         (sa_flags): Change type to int.
52516         * posix/Makefile (before-compile): Use += before-compile instead
52517         of a :=.
52519         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52520         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52522 2014-03-20  Andreas Schwab  <schwab@suse.de>
52524         [BZ #16743]
52525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52526         non-matching result from nscd.
52528 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52530         * scripts/bench.py: Moved to ...
52531         * benchtests/scripts/bench.py: ... here.
52532         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52534 2014-03-24  Andreas Schwab  <schwab@suse.de>
52536         [BZ #16002]
52537         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52538         alloca_account and account alloca use for struct in6ailist.
52540 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52542         [BZ #16284]
52543         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52544         rounding mode to recompute results that overflow to infinity or
52545         underflow to zero.
52546         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52547         bug 16284.
52548         * math/auto-libm-test-out: Regenerated.
52549         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52550         (ccosh_test): Likewise.
52551         (csin_test_data): Use plus_oflow.
52552         (csin_test): Use ALL_RM_TEST.
52553         (csinh_test_data): Use plus_oflow.
52554         (csinh_test): Use ALL_RM_TEST.
52555         * sysdeps/i386/fpu/libm-test-ulps: Update.
52556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52558 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52560         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52561         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52562         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52564         [BZ #16731]
52565         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52566         when x - 1 is zero.
52567         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52568         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52569         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52570         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52571         argument is 1.
52572         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52573         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52574         zero.
52575         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52576         * sysdeps/i386/fpu/libm-test-ulps: Update.
52577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52579 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52581         * scripts/bench.pl: Remove file.
52582         * scripts/bench.py: New benchmark script.
52583         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52584         * benchtests/README: Mention python dependency.
52585         * scripts/pylintrc: New file.
52586         * scripts/pylint: New file.
52588         * bits/mathdef.h: Use #ifdef instead of #if.
52589         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52590         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52591         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52592         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52593         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52594         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52596 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52597             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52599         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52601         and strpbrk-ppc64 objects.
52602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52603         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52604         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52605         multiarch strpbrk for POWER7.
52606         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52607         multiarch strpbrk for PPC64.
52608         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52609         ifunc selector.
52610         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52611         strpbrk for POWER7.
52613 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52615         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52616         (atan_test): Likewise.
52617         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52618         (atanh_test): Use ALL_RM_TEST.
52619         (atan2_test_data): Likewise.
52620         (cabs_test): Likewise.
52621         (cacosh_test): Likewise.
52622         (carg_test): Likewise.
52623         (casin_test): Likewise.
52624         (casinh_test): Likewise.
52625         (cbrt_test): Likewise.
52626         (csqrt_test): Likewise.
52627         (erf_test): Likewise.
52628         (erfc_test): Likewise.
52629         (pow10_test): Likewise.
52630         (exp2_test): Likewise.
52631         (hypot_test): Likewise.
52632         (j0_test): Likewise.
52633         (j1_test): Likewise.
52634         (lgamma_test): Likewise.
52635         (gamma_test): Likewise.
52636         (sincos_test): Likewise.
52637         (tanh_test): Likewise.
52638         (y0_test): Likewise.
52639         (y1_test): Likewise.
52640         * sysdeps/i386/fpu/libm-test-ulps: Update.
52641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52643 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52645         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52647         and strcspn-ppc64 objects.
52648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52649         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52650         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52651         multiarch strcspn for POWER7.
52652         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52653         multiarch strcspn for PPC64.
52654         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52655         ifunc selector.
52656         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52657         strcspn for POWER7.
52659 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52661         * math/gen-libm-test.pl (generate_testfile): Expect only function
52662         name as argument to AUTO_TESTS_* and pass results for all rounding
52663         modes to parse_args.
52664         (parse_auto_input): Separate inputs of automatic tests from
52665         outputs before storing in %auto_tests.
52666         * math/libm-test.inc (acos_test_data): Update call to
52667         AUTO_TESTS_f_f.
52668         (acos_test): Use ALL_RM_TEST.
52669         (acos_tonearest_test_data): Remove.
52670         (acos_test_tonearest): Likewise.
52671         (acos_towardzero_test_data): Likewise.
52672         (acos_test_towardzero): Likewise.
52673         (acos_downward_test_data): Likewise.
52674         (acos_test_downward): Likewise.
52675         (acos_upward_test_data): Likewise.
52676         (acos_test_upward): Likewise.
52677         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52678         (asin_test_data): Likewise.
52679         (asin_test): Use ALL_RM_TEST.
52680         (asin_tonearest_test_data): Remove.
52681         (asin_test_tonearest): Likewise.
52682         (asin_towardzero_test_data): Likewise.
52683         (asin_test_towardzero): Likewise.
52684         (asin_downward_test_data): Likewise.
52685         (asin_test_downward): Likewise.
52686         (asin_upward_test_data): Likewise.
52687         (asin_test_upward): Likewise.
52688         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52689         (atan_test_data): Likewise.
52690         (atanh_test_data): Likewise.
52691         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52692         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52693         (carg_test_data): Likewise.
52694         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52695         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52696         (ccosh_test_data): Likewise.
52697         (cexp_test_data): Likewise.
52698         (clog_test_data): Likewise.
52699         (clog10_test_data): Likewise.
52700         (cos_test_data): Update call to AUTO_TESTS_f_f.
52701         (cos_test): Use ALL_RM_TEST.
52702         (cos_tonearest_test_data): Remove.
52703         (cos_test_tonearest): Likewise.
52704         (cos_towardzero_test_data): Likewise.
52705         (cos_test_towardzero): Likewise.
52706         (cos_downward_test_data): Likewise.
52707         (cos_test_downward): Likewise.
52708         (cos_upward_test_data): Likewise.
52709         (cos_test_upward): Likewise.
52710         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52711         (cosh_test): Use ALL_RM_TEST.
52712         (cosh_tonearest_test_data): Remove.
52713         (cosh_test_tonearest): Likewise.
52714         (cosh_towardzero_test_data): Likewise.
52715         (cosh_test_towardzero): Likewise.
52716         (cosh_downward_test_data): Likewise.
52717         (cosh_test_downward): Likewise.
52718         (cosh_upward_test_data): Likewise.
52719         (cosh_test_upward): Likewise.
52720         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52721         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52722         (ctan_test_data): Likewise.
52723         (ctan_test): Use ALL_RM_TEST.
52724         (ctan_tonearest_test_data): Remove.
52725         (ctan_test_tonearest): Likewise.
52726         (ctan_towardzero_test_data): Likewise.
52727         (ctan_test_towardzero): Likewise.
52728         (ctan_downward_test_data): Likewise.
52729         (ctan_test_downward): Likewise.
52730         (ctan_upward_test_data): Likewise.
52731         (ctan_test_upward): Likewise.
52732         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52733         (ctanh_test): Use ALL_RM_TEST.
52734         (ctanh_tonearest_test_data): Remove.
52735         (ctanh_test_tonearest): Likewise.
52736         (ctanh_towardzero_test_data): Likewise.
52737         (ctanh_test_towardzero): Likewise.
52738         (ctanh_downward_test_data): Likewise.
52739         (ctanh_test_downward): Likewise.
52740         (ctanh_upward_test_data): Likewise.
52741         (ctanh_test_upward): Likewise.
52742         (erf_test_data): Update call to AUTO_TESTS_f_f.
52743         (erfc_test_data): Likewise.
52744         (exp_test_data): Likewise.
52745         (exp_test): Use ALL_RM_TEST.
52746         (exp_tonearest_test_data): Remove.
52747         (exp_test_tonearest): Likewise.
52748         (exp_towardzero_test_data): Likewise.
52749         (exp_test_towardzero): Likewise.
52750         (exp_downward_test_data): Likewise.
52751         (exp_test_downward): Likewise.
52752         (exp_upward_test_data): Likewise.
52753         (exp_test_upward): Likewise.
52754         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52755         (exp10_test): Use ALL_RM_TEST.
52756         (exp10_tonearest_test_data): Remove.
52757         (exp10_test_tonearest): Likewise.
52758         (exp10_towardzero_test_data): Likewise.
52759         (exp10_test_towardzero): Likewise.
52760         (exp10_downward_test_data): Likewise.
52761         (exp10_test_downward): Likewise.
52762         (exp10_upward_test_data): Likewise.
52763         (exp10_test_upward): Likewise.
52764         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52765         (expm1_test_data): Likewise.
52766         (expm1_test): Use ALL_RM_TEST.
52767         (expm1_tonearest_test_data): Remove.
52768         (expm1_test_tonearest): Likewise.
52769         (expm1_towardzero_test_data): Likewise.
52770         (expm1_test_towardzero): Likewise.
52771         (expm1_downward_test_data): Likewise.
52772         (expm1_test_downward): Likewise.
52773         (expm1_upward_test_data): Likewise.
52774         (expm1_test_upward): Likewise.
52775         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52776         (fma_test): Use ALL_RM_TEST.
52777         (fma_towardzero_test_data): Remove.
52778         (fma_test_towardzero): Likewise.
52779         (fma_downward_test_data): Likewise.
52780         (fma_test_downward): Likewise.
52781         (fma_upward_test_data): Likewise.
52782         (fma_test_upward): Likewise.
52783         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52784         (j0_test_data): Update call to AUTO_TESTS_f_f.
52785         (j1_test_data): Likewise.
52786         (jn_test_data): Update call to AUTO_TESTS_if_f.
52787         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52788         (log_test_data): Update call to AUTO_TESTS_f_f.
52789         (log10_test_data): Likewise.
52790         (log1p_test_data): Likewise.
52791         (log2_test_data): Likewise.
52792         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52793         (pow_tonearest_test_data): Likewise.
52794         (sin_test_data): Update call to AUTO_TESTS_f_f.
52795         (sin_test): Use ALL_RM_TEST.
52796         (sin_tonearest_test_data): Remove.
52797         (sin_test_tonearest): Likewise.
52798         (sin_towardzero_test_data): Likewise.
52799         (sin_test_towardzero): Likewise.
52800         (sin_downward_test_data): Likewise.
52801         (sin_test_downward): Likewise.
52802         (sin_upward_test_data): Likewise.
52803         (sin_test_upward): Likewise.
52804         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52805         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52806         (sinh_test): Use ALL_RM_TEST.
52807         (sinh_tonearest_test_data): Remove.
52808         (sinh_test_tonearest): Likewise.
52809         (sinh_towardzero_test_data): Likewise.
52810         (sinh_test_towardzero): Likewise.
52811         (sinh_downward_test_data): Likewise.
52812         (sinh_test_downward): Likewise.
52813         (sinh_upward_test_data): Likewise.
52814         (sinh_test_upward): Likewise.
52815         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52816         (sqrt_test): Use ALL_RM_TEST.
52817         (sqrt_tonearest_test_data): Remove.
52818         (sqrt_test_tonearest): Likewise.
52819         (sqrt_towardzero_test_data): Likewise.
52820         (sqrt_test_towardzero): Likewise.
52821         (sqrt_downward_test_data): Likewise.
52822         (sqrt_test_downward): Likewise.
52823         (sqrt_upward_test_data): Likewise.
52824         (sqrt_test_upward): Likewise.
52825         (tan_test_data): Update call to AUTO_TESTS_f_f.
52826         (tan_test): Use ALL_RM_TEST.
52827         (tan_tonearest_test_data): Remove.
52828         (tan_test_tonearest): Likewise.
52829         (tan_towardzero_test_data): Likewise.
52830         (tan_test_towardzero): Likewise.
52831         (tan_downward_test_data): Likewise.
52832         (tan_test_downward): Likewise.
52833         (tan_upward_test_data): Likewise.
52834         (tan_test_upward): Likewise.
52835         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52836         (tgamma_test_data): Likewise.
52837         (y0_test_data): Likewise.
52838         (y1_test_data): Likewise.
52839         (yn_test_data): Update call to AUTO_TESTS_if_f.
52840         (main): Do not call removed functions.
52842 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52844         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52845         (ldexp_test_data): Remove.
52846         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52847         scalbn_test_data.
52848         (scalb_test): Use ALL_RM_TEST.
52850 2014-03-19  Andreas Schwab  <schwab@suse.de>
52852         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52854 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52856         [BZ #16649]
52857         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52858         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52859         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52861         (__ASSUME_PREADV): Undefine.
52862         (__ASSUME_PWRITEV): Likewise.
52864 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52866         * bits/mman-linux.h: Add comment about non-Linux use.
52867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52868         bits/mman-linux.h resting place.
52870         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52871         * bits/mman-linux.h: ... here.
52873 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52875         * conform/conformtest.pl: Add standard definition when calling C
52876         preprocessor on data files.
52877         (checknamespace): Remove unused variable.
52879 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52881         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52882         minus_oflow, plus_uflow and minus_uflow in expected results.
52883         * math/libm-test.inc (scalbn_test_data): Add more tests of
52884         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52885         minus_uflow.
52886         (scalbn_test): Use ALL_RM_TEST.
52887         (scalbln_test_data): Add more tests of negative arguments.  Use
52888         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52889         (scalbln_test): Use ALL_RM_TEST.
52891 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52893         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52895 2014-03-18  Will Newton  <will.newton@linaro.org>
52897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52898         inaccurate comment.
52900 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52902         * Makerules [!subdir] (check-abi): Exit with error status if a
52903         test failed.
52905 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52907         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52908         for rint.  Include results for all rounding modes.
52909         (nearbyint_test): Use ALL_RM_TEST.
52910         (rint_test_data): Include all tests used for nearbyint.
52912 2014-03-17  Will Newton  <will.newton@linaro.org>
52914         * nptl/sysdeps/pthread/pthread.h: Revert previous
52915         change.
52917         * sysdeps/generic/ldsodefs.h: Revert previous
52918         change.
52920         * libio/genops.c: Revert previous change.
52921         * libio/libioP.h: Likewise.
52922         * stdio-common/vfprintf.c: Likewise.
52924         * sysdeps/generic/math_private.h: Revert previous
52925         change.
52927         * sysdeps/generic/math_private.h: Check whether
52928         HAVE_RM_CTX is defined with #ifdef rather
52929         than #if.
52931         * argp/argp-fmtstream.h: Check whether
52932         __STRICT_ANSI__ is defined with #ifdef rather
52933         than #if.
52934         * argp/argp.h: Likewise.
52936         * libio/genops.c: Check whether
52937         _IO_JUMPS_OFFSET is defined with #ifdef rather
52938         than #if.
52939         * libio/libioP.h: Likewise.
52940         * stdio-common/vfprintf.c: Likewise.
52942         * sysdeps/generic/ldsodefs.h: Check whether
52943         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52944         than #if.
52946         * nptl/sysdeps/pthread/pthread.h: Check
52947         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52948         its value.
52950 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52952         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52953         setting O_APPEND.
52954         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52955         test case.
52957         [BZ #16680]
52958         * libio/fileops.c (_IO_file_open): Seek to end of file but
52959         don't cache the offset.
52960         (get_file_offset): Remove function.
52961         (do_ftell): Use cached offset when available.
52962         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52963         don't cache the offset.
52964         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52965         case.
52966         (do_one_test): Call it.
52967         (do_ftell_test): Fix up expected old offset for a+ mode.
52968         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52969         available.
52971         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52972         up test status with function return status.
52973         (do_write_test): Likewise.
52974         (do_append_test): Likewise.
52976         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52977         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52978         Remove.
52980 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52982         * math/gen-libm-test.pl (parse_args): Handle results specified for
52983         each rounding mode separately.
52984         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52985         tests and results from lrint_tonearest_test_data,
52986         lrint_towardzero_test_data, lrint_downward_test_data and
52987         lrint_upward_test_data.
52988         (lrint_test): Use ALL_RM_TEST.
52989         (lrint_tonearest_test_data): Remove.
52990         (lrint_test_tonearest): Likewise.
52991         (lrint_towardzero_test_data): Likewise.
52992         (lrint_test_towardzero): Likewise.
52993         (lrint_downward_test_data): Likewise.
52994         (lrint_test_downward): Likewise.
52995         (lrint_upward_test_data): Likewise.
52996         (lrint_test_upward): Likewise.
52997         (llrint_test_data): Merge in per-rounding-mode tests and results
52998         from llrint_tonearest_test_data, llrint_towardzero_test_data,
52999         llrint_downward_test_data and llrint_upward_test_data.
53000         (llrint_test): Use ALL_RM_TEST.
53001         (llrint_tonearest_test_data): Remove.
53002         (llrint_test_tonearest): Likewise.
53003         (llrint_towardzero_test_data): Likewise.
53004         (llrint_test_towardzero): Likewise.
53005         (llrint_downward_test_data): Likewise.
53006         (llrint_test_downward): Likewise.
53007         (llrint_upward_test_data): Likewise.
53008         (llrint_test_upward): Likewise.
53009         (rint_test_data): Merge in per-rounding-mode tests and results
53010         from rint_tonearest_test_data, rint_towardzero_test_data,
53011         rint_downward_test_data and rint_upward_test_data.  Add
53012         per-rounding-mode results for tests not in those arrays.
53013         (rint_test): Use ALL_RM_TEST.
53014         (rint_tonearest_test_data): Remove.
53015         (rint_test_tonearest): Likewise.
53016         (rint_towardzero_test_data): Likewise.
53017         (rint_test_towardzero): Likewise.
53018         (rint_downward_test_data): Likewise.
53019         (rint_test_downward): Likewise.
53020         (rint_upward_test_data): Likewise.
53021         (rint_test_upward): Likewise.
53022         (main): Don't call removed functions.
53024 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53026         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53027         "Compiled on ..." crapola.  It is anti-useful.
53029 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53031         * scripts/evaluate-test.sh: Handle fourth argument to determine
53032         whether test run should stop on failure.
53033         * Makeconfig (stop-on-test-failure): New variable.
53034         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53035         $(stop-on-test-failure).
53036         * Makefile (tests): Give a summary of results from testing and
53037         exit with failure status if they include an ERROR or FAIL.
53038         (xtests): Likewise.
53039         * manual/install.texi (Configuring and compiling): Mention
53040         stop-on-test-failure=y.
53041         * INSTALL: Regenerated.
53043 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53045         * scripts/versionlist.awk: New file.
53046         * Makerules [$(build-shared) = yes]
53047         (postclean-generated): Add Versions.def, not Versions.def.v and
53048         Versions.def.v.i.
53049         ($(common-objpfx)Versions.def.v.i): Target removed.
53050         ($(common-objpfx)Versions.def): New target.
53051         ($(common-objpfx)Versions.all): Depend on that rather that
53052         $(common-objpfx)Versions.def.v.
53053         * Versions.def: File removed.
53055         * Makeconfig (+gccwarn): Add -Wundef.
53056         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53057         a dl-sysdep.h breaking its contract.
53058         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53059         * include/stackinfo.h: New file.
53060         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53061         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53062         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53063         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53064         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53065         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53066         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53067         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53068         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53069         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53070         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53071         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53072         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53073         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53074         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53076 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53078         [BZ #16707]
53079         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53080         implementation.
53081         * math/libm-test.inc (round_test_data): Add more tests.
53083         [BZ #16706]
53084         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53085         implementation.
53086         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53088         [BZ #16701]
53089         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53090         implementation.
53091         * math/libm-test.inc (ceil_test_data): Add more tests.
53093         * math/libm-test.inc (trunc_test_data): Add more tests related to
53094         BZ#16414.
53096 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53098         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53099         with #if rather than #ifdef.
53100         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53102 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53104         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53105         first.  Disable AVX-512 GCC support if assembler doesn't support
53106         it.
53107         * sysdeps/x86_64/configure: Regenerated.
53109 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53111         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53112         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53113         (__old_pthread_attr_setstack): Likewise.
53114         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53115         [!_STACK_GROWS_DOWN]: Likewise.
53117 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53119         * config.make.in (have-bash2): Delete.
53120         * configure.ac (libc_cv_have_bash2): Delete.
53121         * configure: Regenerate.
53122         * elf/Makefile (common-ldd-rewrite): Rename to ...
53123         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53124         (sh-ldd-rewrite): Delete.
53125         (bash-ldd-rewrite): Delete.
53126         (have-bash2): Delete checks.
53127         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53128         ldd-rewrite.
53130         * config.make.in (have-ksh): Delete.
53131         (KSH): Delete.
53132         * configure.ac (libc_cv_have_ksh): Delete.
53133         * configure: Regenerate.
53135         * elf/Makefile: Delete $(have-ksh) check.
53136         ($(objpfx)sotruss): Change KSH to BASH.
53137         * elf/sotruss.ksh: Rename to ...
53138         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53139         function style to match POSIX.  Drop ksh vim mode setting.
53141         * manual/time.texi (Specifying the Time Zone with TZ): Change
53142         Tuesday to Thursday.
53144         * debug/tst-longjmp_chk2.c: Update header comment.
53145         (stackoverflow_handler): Add comment.  Call assert on pass value.
53147 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53149         [BZ #16194]
53150         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53151         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53152         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53153         (La_x86_64_vector): Add zmm.
53154         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53155         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53156         ($(objpfx)tst-audit10): New target.
53157         ($(objpfx)tst-audit10.out): Likewise.
53158         (tst-audit10-ENV): New.
53159         (AVX512-CFLAGS): Likewise.
53160         (CFLAGS-tst-audit10.c): Likewise.
53161         (CFLAGS-tst-auditmod10a.c): Likewise.
53162         (CFLAGS-tst-auditmod10b.c): Likewise.
53163         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53164         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53165         * sysdeps/x86_64/configure: Regenerated.
53166         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53167         AVX-512 zmm register support.
53168         (_dl_x86_64_save_sse): Likewise.
53169         (_dl_x86_64_restore_sse): Likewise.
53170         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53171         size vector registers.
53172         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53173         (ZMM_SIZE): Likewise.
53174         * sysdeps/x86_64/tst-audit10.c: New file.
53175         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53176         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53178 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53180         * configure.ac (HAVE_EHDR_START): New check.
53181         * configure: Regenerated.
53182         * config.h.in (HAVE_EHDR_START): New #undef.
53183         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53184         assuming the lowest-addressed segment maps the start of the file.
53186 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53188         * INSTALL: Regenerated.
53190 2014-03-13  Will Newton  <will.newton@linaro.org>
53192         * manual/setjmp.texi (System V contexts): Improve
53193         clarity and grammar of documentation.
53195 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53197         [BZ #16381]
53198         * elf/Makefile (tests): Add tst-pie2.
53199         (tests-pie): Add tst-pie2.
53200         * elf/tst-pie2.c: New file.
53201         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53202         for ET_EXEC.
53203         * elf/rtld.c (map_doit): Load executable as lt_executable.
53204         (dl_main): Likewise.
53206 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53208         [BZ #16642]
53209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53210         (__ASSUME_PSELECT): Undefine.
53212 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53214         [BZ #16689]
53215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53216         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53217         static build.
53218         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53219         selector for static builds.
53221 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53223         [BZ #16695]
53224         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53225         key in the buffer.
53227 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53229         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53230         IFUNC selector for static builds.
53232 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53234         * sysdeps/mips/math_private.h [__mips_hard_float]
53235         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53236         libc_feresetround_mips_ctx.
53237         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53238         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53239         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53241         [BZ #16677]
53242         * math/s_nextafter.c (__nextafter): Do not return value from
53243         overflowing computation.
53244         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53245         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53246         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53247         Likewise.
53248         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53249         Likewise.
53250         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53251         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53253 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53255         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53256         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53257         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53258         the new mov targetting sp.
53260 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53262         [BZ #16683]
53263         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53264         Define it for static builds as well.
53265         (NO_BZERO_IMPL): Likewise.
53267 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53269         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53270         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53271         multiarch strspn for PPC64.
53272         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53273         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53275         (__libc_ifunc_impl_list): Likewise.
53276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53277         multiarch optimizations
53278         * string/strspn.c (strspn): Using macro to redefine symbol name.
53280 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53281             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53283         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53284         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53285         multiarch strncat for PPC64.
53286         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53287         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53289         (__libc_ifunc_impl_list): Likewise.
53290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53291         multiarch optimizations
53293 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53295         [BZ #16639]
53296         * nscd/nscd.service: Make service type forking.
53298 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53300         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53301         sign in non default rounding modes.
53302         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53304 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53306         * math/libm-test.inc (ALL_RM_TEST): New macro.
53307         (ceil_test): Use ALL_RM_TEST.
53308         (cimag_test): Likewise.
53309         (conj_test): Likewise.
53310         (copysign_test): Likewise.
53311         (cproj_test): Likewise.
53312         (creal_test): Likewise.
53313         (fabs_test): Likewise.
53314         (floor_test): Likewise.
53315         (fmax_test): Likewise.
53316         (fmin_test): Likewise.
53317         (fmod_test): Likewise.
53318         (fpclassify_test): Likewise.
53319         (frexp_test): Likewise.
53320         (ilogb_test): Likewise.
53321         (isfinite_test): Likewise.
53322         (finite_test): Likewise.
53323         (isgreater_test): Likewise.
53324         (isgreaterequal_test): Likewise.
53325         (isinf_test): Likewise.
53326         (isless_test): Likewise.
53327         (islessequal_test): Likewise.
53328         (islessgreater_test): Likewise.
53329         (isnan_test): Likewise.
53330         (isnormal_test): Likewise.
53331         (issignaling_test): Likewise.
53332         (isunordered_test): Likewise.
53333         (logb_test): Likewise.
53334         (logb_downward_test_data): Remove.
53335         (logb_test_downward): Likewise.
53336         (lround_test): Use ALL_RM_TEST.
53337         (llround_test): Likewise.
53338         (modf_test): Likewise.
53339         (nexttoward_test): Likewise.
53340         (remainder_test): Likewise.
53341         (drem_test): Likewise.
53342         (remainder_tonearest_test_data): Likewise.
53343         (remainder_test_tonearest): Likewise.
53344         (drem_test_tonearest): Likewise.
53345         (remainder_towardzero_test_data): Likewise.
53346         (remainder_test_towardzero): Likewise.
53347         (drem_test_towardzero): Likewise.
53348         (remainder_downward_test_data): Likewise.
53349         (remainder_test_downward): Likewise.
53350         (drem_test_downward): Likewise.
53351         (remainder_upward_test_data): Likewise.
53352         (remainder_test_upward): Likewise.
53353         (drem_test_upward): Likewise.
53354         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53355         (round_test): Use ALL_RM_TEST.
53356         (signbit_test): Likewise.
53357         (trunc_test): Likewise.
53358         (significand_test): Likewise.
53359         (main): Don't call removed functions.
53361 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53363         [BZ #16674]
53364         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53365         || __USE_XOPEN2K8].
53366         (ILL_ILLOPN): Likewise.
53367         (ILL_ILLADR): Likewise.
53368         (ILL_ILLTRP): Likewise.
53369         (ILL_PRVOPC): Likewise.
53370         (ILL_PRVREG): Likewise.
53371         (ILL_COPROC): Likewise.
53372         (ILL_BADSTK): Likewise.
53373         (FPE_INTDIV): Likewise.
53374         (FPE_INTOVF): Likewise.
53375         (FPE_FLTDIV): Likewise.
53376         (FPE_FLTOVF): Likewise.
53377         (FPE_FLTUND): Likewise.
53378         (FPE_FLTRES): Likewise.
53379         (FPE_FLTINV): Likewise.
53380         (FPE_FLTSUB): Likewise.
53381         (SEGV_MAPERR): Likewise.
53382         (SEGV_ACCERR): Likewise.
53383         (BUS_ADRALN): Likewise.
53384         (BUS_ADRERR): Likewise.
53385         (BUS_OBJERR): Likewise.
53386         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53387         (TRAP_TRACE): Likewise.
53388         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53389         __USE_XOPEN2K8].
53390         (CLD_KILLED): Likewise.
53391         (CLD_DUMPED): Likewise.
53392         (CLD_TRAPPED): Likewise.
53393         (CLD_STOPPED): Likewise.
53394         (CLD_CONTINUED): Likewise.
53395         (POLL_IN): Likewise.
53396         (POLL_OUT): Likewise.
53397         (POLL_MSG): Likewise.
53398         (POLL_ERR): Likewise.
53399         (POLL_PRI): Likewise.
53400         (POLL_HUP): Likewise.
53401         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53402         Likewise.
53403         (ILL_ILLOPN): Likewise.
53404         (ILL_ILLADR): Likewise.
53405         (ILL_ILLTRP): Likewise.
53406         (ILL_PRVOPC): Likewise.
53407         (ILL_PRVREG): Likewise.
53408         (ILL_COPROC): Likewise.
53409         (ILL_BADSTK): Likewise.
53410         (FPE_INTDIV): Likewise.
53411         (FPE_INTOVF): Likewise.
53412         (FPE_FLTDIV): Likewise.
53413         (FPE_FLTOVF): Likewise.
53414         (FPE_FLTUND): Likewise.
53415         (FPE_FLTRES): Likewise.
53416         (FPE_FLTINV): Likewise.
53417         (FPE_FLTSUB): Likewise.
53418         (SEGV_MAPERR): Likewise.
53419         (SEGV_ACCERR): Likewise.
53420         (BUS_ADRALN): Likewise.
53421         (BUS_ADRERR): Likewise.
53422         (BUS_OBJERR): Likewise.
53423         (BUS_MCEERR_AR): Likewise.
53424         (BUS_MCEERR_AO): Likewise.
53425         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53426         (TRAP_TRACE): Likewise.
53427         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53428         __USE_XOPEN2K8].
53429         (CLD_KILLED): Likewise.
53430         (CLD_DUMPED): Likewise.
53431         (CLD_TRAPPED): Likewise.
53432         (CLD_STOPPED): Likewise.
53433         (CLD_CONTINUED): Likewise.
53434         (POLL_IN): Likewise.
53435         (POLL_OUT): Likewise.
53436         (POLL_MSG): Likewise.
53437         (POLL_ERR): Likewise.
53438         (POLL_PRI): Likewise.
53439         (POLL_HUP): Likewise.
53440         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53441         (ILL_ILLOPN): Likewise.
53442         (ILL_ILLADR): Likewise.
53443         (ILL_ILLTRP): Likewise.
53444         (ILL_PRVOPC): Likewise.
53445         (ILL_PRVREG): Likewise.
53446         (ILL_COPROC): Likewise.
53447         (ILL_BADSTK): Likewise.
53448         (FPE_INTDIV): Likewise.
53449         (FPE_INTOVF): Likewise.
53450         (FPE_FLTDIV): Likewise.
53451         (FPE_FLTOVF): Likewise.
53452         (FPE_FLTUND): Likewise.
53453         (FPE_FLTRES): Likewise.
53454         (FPE_FLTINV): Likewise.
53455         (FPE_FLTSUB): Likewise.
53456         (SEGV_MAPERR): Likewise.
53457         (SEGV_ACCERR): Likewise.
53458         (BUS_ADRALN): Likewise.
53459         (BUS_ADRERR): Likewise.
53460         (BUS_OBJERR): Likewise.
53461         (BUS_MCEERR_AR): Likewise.
53462         (BUS_MCEERR_AO): Likewise.
53463         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53464         (TRAP_TRACE): Likewise.
53465         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53466         __USE_XOPEN2K8].
53467         (CLD_KILLED): Likewise.
53468         (CLD_DUMPED): Likewise.
53469         (CLD_TRAPPED): Likewise.
53470         (CLD_STOPPED): Likewise.
53471         (CLD_CONTINUED): Likewise.
53472         (POLL_IN): Likewise.
53473         (POLL_OUT): Likewise.
53474         (POLL_MSG): Likewise.
53475         (POLL_ERR): Likewise.
53476         (POLL_PRI): Likewise.
53477         (POLL_HUP): Likewise.
53478         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53479         Likewise.
53480         (ILL_ILLOPN): Likewise.
53481         (ILL_ILLADR): Likewise.
53482         (ILL_ILLTRP): Likewise.
53483         (ILL_PRVOPC): Likewise.
53484         (ILL_PRVREG): Likewise.
53485         (ILL_COPROC): Likewise.
53486         (ILL_BADSTK): Likewise.
53487         (ILL_BADIADDR): Likewise.
53488         (ILL_BREAK): Likewise.
53489         (FPE_INTDIV): Likewise.
53490         (FPE_INTOVF): Likewise.
53491         (FPE_FLTDIV): Likewise.
53492         (FPE_FLTOVF): Likewise.
53493         (FPE_FLTUND): Likewise.
53494         (FPE_FLTRES): Likewise.
53495         (FPE_FLTINV): Likewise.
53496         (FPE_FLTSUB): Likewise.
53497         (FPE_DECOVF): Likewise.
53498         (FPE_DECDIV): Likewise.
53499         (FPE_DECERR): Likewise.
53500         (FPE_INVASC): Likewise.
53501         (FPE_INVDEC): Likewise.
53502         (SEGV_MAPERR): Likewise.
53503         (SEGV_ACCERR): Likewise.
53504         (SEGV_PSTKOVF): Likewise.
53505         (BUS_ADRALN): Likewise.
53506         (BUS_ADRERR): Likewise.
53507         (BUS_OBJERR): Likewise.
53508         (BUS_MCEERR_AR): Likewise.
53509         (BUS_MCEERR_AO): Likewise.
53510         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53511         (TRAP_TRACE): Likewise.
53512         (TRAP_BRANCH): Likewise.
53513         (TRAP_HWBKPT): Likewise.
53514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53515         __USE_XOPEN2K8].
53516         (CLD_KILLED): Likewise.
53517         (CLD_DUMPED): Likewise.
53518         (CLD_TRAPPED): Likewise.
53519         (CLD_STOPPED): Likewise.
53520         (CLD_CONTINUED): Likewise.
53521         (POLL_IN): Likewise.
53522         (POLL_OUT): Likewise.
53523         (POLL_MSG): Likewise.
53524         (POLL_ERR): Likewise.
53525         (POLL_PRI): Likewise.
53526         (POLL_HUP): Likewise.
53527         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53528         (ILL_ILLOPN): Likewise.
53529         (ILL_ILLADR): Likewise.
53530         (ILL_ILLTRP): Likewise.
53531         (ILL_PRVOPC): Likewise.
53532         (ILL_PRVREG): Likewise.
53533         (ILL_COPROC): Likewise.
53534         (ILL_BADSTK): Likewise.
53535         (FPE_INTDIV): Likewise.
53536         (FPE_INTOVF): Likewise.
53537         (FPE_FLTDIV): Likewise.
53538         (FPE_FLTOVF): Likewise.
53539         (FPE_FLTUND): Likewise.
53540         (FPE_FLTRES): Likewise.
53541         (FPE_FLTINV): Likewise.
53542         (FPE_FLTSUB): Likewise.
53543         (SEGV_MAPERR): Likewise.
53544         (SEGV_ACCERR): Likewise.
53545         (BUS_ADRALN): Likewise.
53546         (BUS_ADRERR): Likewise.
53547         (BUS_OBJERR): Likewise.
53548         (BUS_MCEERR_AR): Likewise.
53549         (BUS_MCEERR_AO): Likewise.
53550         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53551         (TRAP_TRACE): Likewise.
53552         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53553         __USE_XOPEN2K8].
53554         (CLD_KILLED): Likewise.
53555         (CLD_DUMPED): Likewise.
53556         (CLD_TRAPPED): Likewise.
53557         (CLD_STOPPED): Likewise.
53558         (CLD_CONTINUED): Likewise.
53559         (POLL_IN): Likewise.
53560         (POLL_OUT): Likewise.
53561         (POLL_MSG): Likewise.
53562         (POLL_ERR): Likewise.
53563         (POLL_PRI): Likewise.
53564         (POLL_HUP): Likewise.
53565         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53566         (ILL_ILLOPN): Likewise.
53567         (ILL_ILLADR): Likewise.
53568         (ILL_ILLTRP): Likewise.
53569         (ILL_PRVOPC): Likewise.
53570         (ILL_PRVREG): Likewise.
53571         (ILL_COPROC): Likewise.
53572         (ILL_BADSTK): Likewise.
53573         (FPE_INTDIV): Likewise.
53574         (FPE_INTOVF): Likewise.
53575         (FPE_FLTDIV): Likewise.
53576         (FPE_FLTOVF): Likewise.
53577         (FPE_FLTUND): Likewise.
53578         (FPE_FLTRES): Likewise.
53579         (FPE_FLTINV): Likewise.
53580         (FPE_FLTSUB): Likewise.
53581         (SEGV_MAPERR): Likewise.
53582         (SEGV_ACCERR): Likewise.
53583         (BUS_ADRALN): Likewise.
53584         (BUS_ADRERR): Likewise.
53585         (BUS_OBJERR): Likewise.
53586         (BUS_MCEERR_AR): Likewise.
53587         (BUS_MCEERR_AO): Likewise.
53588         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53589         (TRAP_TRACE): Likewise.
53590         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53591         __USE_XOPEN2K8].
53592         (CLD_KILLED): Likewise.
53593         (CLD_DUMPED): Likewise.
53594         (CLD_TRAPPED): Likewise.
53595         (CLD_STOPPED): Likewise.
53596         (CLD_CONTINUED): Likewise.
53597         (POLL_IN): Likewise.
53598         (POLL_OUT): Likewise.
53599         (POLL_MSG): Likewise.
53600         (POLL_ERR): Likewise.
53601         (POLL_PRI): Likewise.
53602         (POLL_HUP): Likewise.
53603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53604         (ILL_ILLOPN): Likewise.
53605         (ILL_ILLADR): Likewise.
53606         (ILL_ILLTRP): Likewise.
53607         (ILL_PRVOPC): Likewise.
53608         (ILL_PRVREG): Likewise.
53609         (ILL_COPROC): Likewise.
53610         (ILL_BADSTK): Likewise.
53611         (FPE_INTDIV): Likewise.
53612         (FPE_INTOVF): Likewise.
53613         (FPE_FLTDIV): Likewise.
53614         (FPE_FLTOVF): Likewise.
53615         (FPE_FLTUND): Likewise.
53616         (FPE_FLTRES): Likewise.
53617         (FPE_FLTINV): Likewise.
53618         (FPE_FLTSUB): Likewise.
53619         (SEGV_MAPERR): Likewise.
53620         (SEGV_ACCERR): Likewise.
53621         (BUS_ADRALN): Likewise.
53622         (BUS_ADRERR): Likewise.
53623         (BUS_OBJERR): Likewise.
53624         (BUS_MCEERR_AR): Likewise.
53625         (BUS_MCEERR_AO): Likewise.
53626         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53627         (TRAP_TRACE): Likewise.
53628         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53629         __USE_XOPEN2K8].
53630         (CLD_KILLED): Likewise.
53631         (CLD_DUMPED): Likewise.
53632         (CLD_TRAPPED): Likewise.
53633         (CLD_STOPPED): Likewise.
53634         (CLD_CONTINUED): Likewise.
53635         (POLL_IN): Likewise.
53636         (POLL_OUT): Likewise.
53637         (POLL_MSG): Likewise.
53638         (POLL_ERR): Likewise.
53639         (POLL_PRI): Likewise.
53640         (POLL_HUP): Likewise.
53641         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53642         (ILL_ILLOPN): Likewise.
53643         (ILL_ILLADR): Likewise.
53644         (ILL_ILLTRP): Likewise.
53645         (ILL_PRVOPC): Likewise.
53646         (ILL_PRVREG): Likewise.
53647         (ILL_COPROC): Likewise.
53648         (ILL_BADSTK): Likewise.
53649         (ILL_DBLFLT): Likewise.
53650         (ILL_HARDWALL): Likewise.
53651         (FPE_INTDIV): Likewise.
53652         (FPE_INTOVF): Likewise.
53653         (FPE_FLTDIV): Likewise.
53654         (FPE_FLTOVF): Likewise.
53655         (FPE_FLTUND): Likewise.
53656         (FPE_FLTRES): Likewise.
53657         (FPE_FLTINV): Likewise.
53658         (FPE_FLTSUB): Likewise.
53659         (SEGV_MAPERR): Likewise.
53660         (SEGV_ACCERR): Likewise.
53661         (BUS_ADRALN): Likewise.
53662         (BUS_ADRERR): Likewise.
53663         (BUS_OBJERR): Likewise.
53664         (BUS_MCEERR_AR): Likewise.
53665         (BUS_MCEERR_AO): Likewise.
53666         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53667         (TRAP_TRACE): Likewise.
53668         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53669         __USE_XOPEN2K8].
53670         (CLD_KILLED): Likewise.
53671         (CLD_DUMPED): Likewise.
53672         (CLD_TRAPPED): Likewise.
53673         (CLD_STOPPED): Likewise.
53674         (CLD_CONTINUED): Likewise.
53675         (POLL_IN): Likewise.
53676         (POLL_OUT): Likewise.
53677         (POLL_MSG): Likewise.
53678         (POLL_ERR): Likewise.
53679         (POLL_PRI): Likewise.
53680         (POLL_HUP): Likewise.
53681         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53682         (ILL_ILLOPN): Likewise.
53683         (ILL_ILLADR): Likewise.
53684         (ILL_ILLTRP): Likewise.
53685         (ILL_PRVOPC): Likewise.
53686         (ILL_PRVREG): Likewise.
53687         (ILL_COPROC): Likewise.
53688         (ILL_BADSTK): Likewise.
53689         (FPE_INTDIV): Likewise.
53690         (FPE_INTOVF): Likewise.
53691         (FPE_FLTDIV): Likewise.
53692         (FPE_FLTOVF): Likewise.
53693         (FPE_FLTUND): Likewise.
53694         (FPE_FLTRES): Likewise.
53695         (FPE_FLTINV): Likewise.
53696         (FPE_FLTSUB): Likewise.
53697         (SEGV_MAPERR): Likewise.
53698         (SEGV_ACCERR): Likewise.
53699         (BUS_ADRALN): Likewise.
53700         (BUS_ADRERR): Likewise.
53701         (BUS_OBJERR): Likewise.
53702         (BUS_MCEERR_AR): Likewise.
53703         (BUS_MCEERR_AO): Likewise.
53704         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53705         (TRAP_TRACE): Likewise.
53706         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53707         __USE_XOPEN2K8].
53708         (CLD_KILLED): Likewise.
53709         (CLD_DUMPED): Likewise.
53710         (CLD_TRAPPED): Likewise.
53711         (CLD_STOPPED): Likewise.
53712         (CLD_CONTINUED): Likewise.
53713         (POLL_IN): Likewise.
53714         (POLL_OUT): Likewise.
53715         (POLL_MSG): Likewise.
53716         (POLL_ERR): Likewise.
53717         (POLL_PRI): Likewise.
53718         (POLL_HUP): Likewise.
53719         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53720         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53722         [BZ #16670]
53723         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53724         before #include of <time.h>.
53725         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53726         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53727         (test-xfail-UNIX98/sched.h/conform): Likewise.
53729 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53731         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53732         error absence of trapping exception support.
53733         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53735 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53737         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53738         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53739         * timezone/Makefile (testdata): Move definition above include of
53740         Rules.
53741         (test-zones): New variable.
53742         (tests-special): Add zone files.
53743         (build-testdata): Use $(evaluate-test).
53745         * elf/Makefile (tests-special): Rename tests to end with .out.
53746         ($(objpfx)noload-mem): Likewise.
53747         ($(objpfx)tst-leaks1-mem): Likewise.
53748         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53749         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53750         $(objpfx)test-iconvconfig.out.
53751         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53752         set -e inside subshell and redirect output to file.
53753         * iconvdata/Makefile (generated): Rename tests to end with .out.
53754         Correct type.
53755         (tests-special): Rename tests to end with .out.
53756         ($(objpfx)mtrace-tst-loading): Likewise.
53757         * intl/Makefile (generated): Likewise.
53758         (tests-special): Likewise.
53759         ($(objpfx)mtrace-tst-gettext): Likewise.
53760         * misc/Makefile (generated): Likewise.
53761         (tests-special): Likewise.
53762         ($(objpfx)tst-error1-mem): Likewise.
53763         * nptl/Makefile (tests-special): Likewise.
53764         ($(objpfx)tst-stack3-mem): Likewise.
53765         (generated): Likewise.
53766         * posix/Makefile (generated): Likewise.
53767         (tests-special): Likewise.
53768         (xtests-special): Likewise.
53769         ($(objpfx)tst-fnmatch-mem): Likewise.
53770         ($(objpfx)bug-regex2-mem): Likewise.
53771         ($(objpfx)bug-regex14-mem): Likewise.
53772         ($(objpfx)bug-regex21-mem): Likewise.
53773         ($(objpfx)bug-regex31-mem): Likewise.
53774         ($(objpfx)tst-vfork3-mem): Likewise.
53775         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53776         ($(objpfx)tst-pcre-mem): Likewise.
53777         ($(objpfx)tst-boost-mem): Likewise.
53778         ($(objpfx)bug-ga2-mem): Likewise.
53779         ($(objpfx)bug-glob2-mem): Likewise.
53780         * resolv/Makefile (generate): Likewise.
53781         (tests-special): Likewise.
53782         (xtests-special): Likewise.
53783         (generated): Likewise.
53784         ($(objpfx)mtrace-tst-leaks): Likewise.
53785         ($(objpfx)mtrace-tst-leaks2): Likewise.
53787         * scripts/merge-test-results.sh: New file.
53788         * Makefile (tests-special-notdir): New variable.
53789         (tests): Run merge-test-results.sh.
53790         (xtests): Likewise.
53791         * Rules (tests-special-notdir): New variable.
53792         (xtests-special-notdir): Likewise.
53793         (tests): Run merge-test-results.sh
53794         (xtests): Likewise.
53796         * Makeconfig (test-xfail-name): New variable.
53797         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53798         compute variable name for expected failures.
53799         * conform/Makefile (conformtest-headers-data): New variable.
53800         (conformtest-standards): Likewise.
53801         (conformtest-headers-ISO): Likewise.
53802         (conformtest-headers-ISO99): Likewise.
53803         (conformtest-headers-ISO11): Likewise.
53804         (conformtest-headers-POSIX): Likewise.
53805         (conformtest-headers-XPG3): Likewise.
53806         (conformtest-headers-XPG4): Likewise.
53807         (conformtest-headers-UNIX98): Likewise.
53808         (conformtest-headers-XOPEN2K): Likewise.
53809         (conformtest-headers-POSIX2008): Likewise.
53810         (conformtest-headers-XOPEN2K8): Likewise.
53811         (conformtest-header-list-base): Likewise.
53812         (conformtest-header-list-tests): Likewise.
53813         (conformtest-header-base): Likewise.
53814         (conformtest-header-tests): Likewise.
53815         (tests-special): Add $(conformtest-header-list-tests).  If
53816         [$(fast-check) && !$(cross-compiling)], add
53817         $(conformtest-header-tests) instead of
53818         $(objpfx)run-conformtest.out.
53819         (generated): Add $(conformtest-header-list-base).  If
53820         [$(fast-check) && !$(cross-compiling)], add
53821         $(conformtest-header-base).  Remove previous setting.
53822         ($(conformtest-header-list-tests)): New target.
53823         (test-xfail-run-conformtest): Remove variable.
53824         ($(objpfx)run-conformtest.out): Remove target.
53825         (test-xfail-ISO11/complex.h/conform): New variable.
53826         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53827         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53828         (test-xfail-XPG3/varargs.h/conform): Likewise.
53829         (test-xfail-XPG4/varargs.h/conform): Likewise.
53830         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53831         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53832         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53833         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53834         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53835         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53836         (test-xfail-XPG3/ftw.h/conform): Likewise.
53837         (test-xfail-XPG3/grp.h/conform): Likewise.
53838         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53839         (test-xfail-XPG3/limits.h/conform): Likewise.
53840         (test-xfail-XPG3/pwd.h/conform): Likewise.
53841         (test-xfail-XPG3/search.h/conform): Likewise.
53842         (test-xfail-XPG3/signal.h/conform): Likewise.
53843         (test-xfail-XPG3/stdio.h/conform): Likewise.
53844         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53845         (test-xfail-XPG3/string.h/conform): Likewise.
53846         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53847         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53848         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53849         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53850         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53851         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53852         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53853         (test-xfail-XPG3/termios.h/conform): Likewise.
53854         (test-xfail-XPG3/time.h/conform): Likewise.
53855         (test-xfail-XPG3/unistd.h/conform): Likewise.
53856         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53857         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53858         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53859         (test-xfail-XPG4/netdb.h/conform): Likewise.
53860         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53861         (test-xfail-XPG4/signal.h/conform): Likewise.
53862         (test-xfail-XPG4/stdio.h/conform): Likewise.
53863         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53864         (test-xfail-XPG4/stropts.h/conform): Likewise.
53865         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53866         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53867         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53868         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53869         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53870         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53871         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53872         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53873         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53874         (test-xfail-XPG4/termios.h/conform): Likewise.
53875         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53876         (test-xfail-XPG4/unistd.h/conform): Likewise.
53877         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53878         (test-xfail-POSIX/sched.h/conform): Likewise.
53879         (test-xfail-POSIX/signal.h/conform): Likewise.
53880         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53881         (test-xfail-POSIX/tar.h/conform): Likewise.
53882         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53883         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53884         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53885         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53886         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53887         (test-xfail-UNIX98/sched.h/conform): Likewise.
53888         (test-xfail-UNIX98/signal.h/conform): Likewise.
53889         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53890         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53891         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53892         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53893         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53894         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53895         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53896         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53897         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53898         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53899         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53900         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53901         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53902         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53903         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53904         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53905         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53906         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53907         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53908         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53909         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53910         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53911         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53912         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53913         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53914         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53915         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53916         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53917         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53918         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53919         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53920         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53921         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53922         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53923         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53924         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53925         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53926         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53927         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53928         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53929         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53930         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53931         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53932         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53933         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53934         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53935         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53936         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53937         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53938         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53939         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53940         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53941         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53942         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53943         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53944         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53945         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53946         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53947         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53948         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53949         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53950         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53951         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53952         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53953         (conformtest-cc-flags): Likewise.
53954         ($(conformtest-header-tests): New target.
53955         * conform/check-header-lists.sh: New file.
53956         * conform/run-conformtest.sh: Remove.
53958         * conform/conformtest.pl: Allow ' and \ in values given for
53959         constants.
53960         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53961         inclusion.
53962         [POSIX] (sys/types.h): Likewise.
53963         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53964         inclusion.
53965         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53966         inclusion.
53967         * conform/data/signal.h-data (SIGIO): Remove expectation.
53968         [XPG3] (SIGBUS): Do not expect.
53969         [POSIX || XPG3] (SIGPOLL): Likewise.
53970         [POSIX || XPG3] (SIGPROF): Likewise.
53971         [POSIX || XPG3] (SIGSYS): Likewise.
53972         [XPG3] (SIGTRAP): Likewise.
53973         [POSIX || XPG3] (SIGURG): Likewise.
53974         [POSIX || XPG3] (SIGVTALRM): Likewise.
53975         [POSIX || XPG3] (SIGXCPU): Likewise.
53976         [POSIX || XPG3] (SIGXFSZ): Likewise.
53977         [POSIX] (SA_SIGINFO): Expect.
53978         [XPG3] (siginfo_t): Do not expect type or contents.
53979         [POSIX] (si_pid): Do not expect element.
53980         [POSIX] (si_uid): Likewise.
53981         [POSIX] (si_addr): Likewise.
53982         [POSIX] (si_status): Likewise.
53983         [POSIX] (si_band): Likewise.
53984         [XPG4] (si_value): Likewise.
53985         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53986         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53987         [POSIX || XPG3] (ILL_ILLADR): Likewise.
53988         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53989         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53990         [POSIX || XPG3] (ILL_PRVREG): Likewise.
53991         [POSIX || XPG3] (ILL_COPROC): Likewise.
53992         [POSIX || XPG3] (ILL_BADSTK): Likewise.
53993         [POSIX || XPG3] (FPE_INTDIV): Likewise.
53994         [POSIX || XPG3] (FPE_INTOVF): Likewise.
53995         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53996         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53997         [POSIX || XPG3] (FPE_FLTUND): Likewise.
53998         [POSIX || XPG3] (FPE_FLTRES): Likewise.
53999         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54000         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54001         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54002         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54003         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54004         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54005         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54006         [POSIX || XPG3] (CLD_EXITED): Likewise.
54007         [POSIX || XPG3] (CLD_KILLED): Likewise.
54008         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54009         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54010         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54011         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54012         [POSIX || XPG3] (POLL_IN): Likewise.
54013         [POSIX || XPG3] (POLL_OUT): Likewise.
54014         [POSIX || XPG3] (POLL_MSG): Likewise.
54015         [POSIX || XPG3] (POLL_ERR): Likewise.
54016         [POSIX || XPG3] (POLL_PRI): Likewise.
54017         [POSIX || XPG3] (POLL_HUP): Likewise.
54018         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54019         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54020         (SIG*): Do not allow.
54021         [XPG3] (si_*): Likewise.
54022         [XPG3] (SI_*): Likewise.
54023         [XPG3 || XPG4] (sigev_*): Likewise.
54024         [XPG3 || XPG4] (SIGEV_*): Likewise.
54025         [XPG3 || XPG4] (sival_*): Likewise.
54026         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54027         [POSIX || XPG3] (BUS_*): Likewise.
54028         [POSIX || XPG3] (CLD_*): Likewise.
54029         [POSIX || XPG3] (FPE_*): Likewise.
54030         [POSIX || XPG3] (ILL_*): Likewise.
54031         [POSIX || XPG3] (POLL_*): Likewise.
54032         [POSIX || XPG3] (SEGV_*): Likewise.
54033         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54034         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54035         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54036         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54037         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54038         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54039         Specify type and value.
54040         (TVERSLEN): Likewise.
54041         (REGTYPE): Likewise.
54042         (AREGTYPE): Likewise.
54043         (LNKTYPE): Likewise.
54044         (SYMTYPE): Likewise.
54045         (CHRTYPE): Likewise.
54046         (BLKTYPE): Likewise.
54047         (DIRTYPE): Likewise.
54048         (FIFOTYPE): Likewise.
54049         (CONTTYPE): Likewise.
54050         (TSUID): Likewise.
54051         (TSGID): Likewise.
54052         (TSVTX): Likewise.
54053         (TUREAD): Likewise.
54054         (TUWRITE): Likewise.
54055         (TUEXEC): Likewise.
54056         (TGREAD): Likewise.
54057         (TGWRITE): Likewise.
54058         (TGEXEC): Likewise.
54059         (TOREAD): Likewise.
54060         (TOWRITE): Likewise.
54061         (TOEXEC): Likewise.
54062         [POSIX] (TSVTX): Expect constant.
54064 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54066         * Makefile (tests): Change dependencies to ....
54067         (tests-special): ... additions to this variable.
54068         (tests): Depend on $(tests-special).
54069         * Makerules (check-abi-list): New variable.
54070         (check-abi): Depend on $(check-abi-list).
54071         [$(subdir) = elf] (tests-special): Add
54072         $(objpfx)check-abi-libc.out.
54073         [$(build-shared) = yes && subdir] (tests-special): Add
54074         $(check-abi-list).
54075         [$(build-shared) = yes && subdir] (tests): Do not depend on
54076         check-abi.
54077         * Rules (tests): Depend on $(tests-special).
54078         (xtests): Depend on $(xtests-special).
54079         * catgets/Makefile (tests): Change dependencies to ....
54080         (tests-special): ... additions to this variable.
54081         * conform/Makefile (tests): Change dependencies to ....
54082         (tests-special): ... additions to this variable.
54083         * elf/Makefile (tests): Change dependencies to ....
54084         (tests-special): ... additions to this variable.
54085         * grp/Makefile (tests): Change dependencies to ....
54086         (tests-special): ... additions to this variable.
54087         * iconv/Makefile (xtests): Change dependencies to ....
54088         (xtests-special): ... additions to this variable.
54089         * iconvdata/Makefile (tests): Change dependencies to ....
54090         (tests-special): ... additions to this variable.
54091         * intl/Makefile (tests): Change dependencies to ....
54092         (tests-special): ... additions to this variable.  Also add
54093         $(objpfx)tst-gettext.out.
54094         * io/Makefile (tests): Change dependencies to ....
54095         (tests-special): ... additions to this variable.
54096         * libio/Makefile (tests): Change dependencies to ....
54097         (tests-special): ... additions to this variable.
54098         * malloc/Makefile (tests): Change dependencies to ....
54099         (tests-special): ... additions to this variable.
54100         * misc/Makefile (tests): Change dependencies to ....
54101         (tests-special): ... additions to this variable.
54102         * nptl/Makefile (tests): Change dependencies to ....
54103         (tests-special): ... additions to this variable.
54104         * nptl_db/Makefile (tests): Change dependencies to ....
54105         (tests-special): ... additions to this variable.
54106         * posix/Makefile (tests): Change dependencies to ....
54107         (tests-special): ... additions to this variable.
54108         (xtests): Change dependencies to ....
54109         (xtests-special): ... additions to this variable.
54110         * resolv/Makefile (tests): Change dependencies to ....
54111         (tests-special): ... additions to this variable.
54112         (xtests): Change dependencies to ....
54113         (xtests-special): ... additions to this variable.
54114         * stdio-common/Makefile (tests): Change dependencies to ....
54115         (tests-special): ... additions to this variable.
54116         (do-tst-unbputc): Remove target.
54117         (do-tst-printf): Likewise.
54118         * stdlib/Makefile (tests): Change dependencies to ....
54119         (tests-special): ... additions to this variable.
54120         * string/Makefile (tests): Change dependencies to ....
54121         (tests-special): ... additions to this variable.
54122         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54123         (tests-special): ... additions to this variable.
54125         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54126         whole file.
54127         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54128         whole file.
54129         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54130         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54132         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54133         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54134         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54135         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54136         * conform/data/libgen.h-data [XPG3]: Likewise.
54137         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54138         * conform/data/ndbm.h-data [XPG3]: Likewise.
54139         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54140         * conform/data/netdb.h-data [XPG3]: Likewise.
54141         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54142         * conform/data/poll.h-data [XPG3]: Likewise.
54143         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54144         * conform/data/strings.h-data [XPG3]: Likewise.
54145         * conform/data/stropts.h-data [XPG3]: Likewise.
54146         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54147         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54148         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54149         Likewise.
54150         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54151         * conform/data/sys/time.h-data [XPG3]: Likewise.
54152         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54153         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54154         * conform/data/sys/un.h-data [XPG3]: Likewise.
54155         * conform/data/syslog.h-data [XPG3]: Likewise.
54156         * conform/data/ucontext.h-data [XPG3]: Likewise.
54157         * conform/data/utmpx.h-data [XPG3]: Likewise.
54158         * conform/data/varargs.h-data [UNIX98]: Enable file.
54160         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54162         * math/libm-test.inc (struct test_f_f_data): Move expected results
54163         into structure for each rounding mode.
54164         (struct test_ff_f_data): Likewise.
54165         (struct test_ff_f_data_nexttoward): Likewise.
54166         (struct test_fi_f_data): Likewise.
54167         (struct test_fl_f_data): Likewise.
54168         (struct test_if_f_data): Likewise.
54169         (struct test_fff_f_data): Likewise.
54170         (struct test_c_f_data): Likewise.
54171         (struct test_f_f1_data): Likewise.
54172         (struct test_fF_f1_data): Likewise.
54173         (struct test_ffI_f1_data): Likewise.
54174         (struct test_c_c_data): Likewise.
54175         (struct test_cc_c_data): Likewise.
54176         (struct test_f_i_data): Likewise.
54177         (struct test_ff_i_data): Likewise.
54178         (struct test_f_l_data): Likewise.
54179         (struct test_f_L_data): Likewise.
54180         (struct test_fFF_11_data): Likewise.
54181         (RM_): New macro.
54182         (RM_FE_DOWNWARD): Likewise.
54183         (RM_FE_TONEAREST): Likewise.
54184         (RM_FE_TOWARDZERO): Likewise.
54185         (RM_FE_UPWARD): Likewise.
54186         (RUN_TEST_LOOP_f_f): Update references to expected results.
54187         (RUN_TEST_LOOP_2_f): Likewise.
54188         (RUN_TEST_LOOP_fff_f): Likewise.
54189         (RUN_TEST_LOOP_c_f): Likewise.
54190         (RUN_TEST_LOOP_f_f1): Likewise.
54191         (RUN_TEST_LOOP_fF_f1): Likewise.
54192         (RUN_TEST_LOOP_fI_f1): Likewise.
54193         (RUN_TEST_LOOP_ffI_f1): Likewise.
54194         (RUN_TEST_LOOP_c_c): Likewise.
54195         (RUN_TEST_LOOP_cc_c): Likewise.
54196         (RUN_TEST_LOOP_f_i): Likewise.
54197         (RUN_TEST_LOOP_f_i_tg): Likewise.
54198         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54199         (RUN_TEST_LOOP_f_b): Likewise.
54200         (RUN_TEST_LOOP_f_b_tg): Likewise.
54201         (RUN_TEST_LOOP_f_l): Likewise.
54202         (RUN_TEST_LOOP_f_L): Likewise.
54203         (RUN_TEST_LOOP_fFF_11): Likewise.
54204         * math/gen-libm-test.pl (parse_args): Output four copies of
54205         expected results for each test.
54207         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54208         (__ASSUME_UTIMES): Remove.
54209         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54210         (__ASSUME_UTIMES): Likewise.
54212         * math/gen-auto-libm-tests.c: Update comment on output format.
54213         (output_for_one_input_case): Generate before-rounding and
54214         after-rounding information as conditions on output flags not
54215         floating-point format.
54216         * math/auto-libm-test-out: Regenerated.
54217         * math/gen-libm-test.pl (cond_value): New function.
54218         (or_cond_value): Use cond_value.
54219         (generate_testfile): Handle conditional exceptions.
54221 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54223         * math/libm-test.inc (max_valid_error): New variable.
54224         (init_max_error): Take new argument specifying whether function
54225         results are exactly determined.  Set max_valid_error and bound
54226         other variables for errors based on this argument.
54227         (set_max_error): Do not record results above max_valid_error.
54228         (check_float_internal): Only accept errors of up to 0.5ulps if
54229         also at most max_valid_error.
54230         (START): Take new argument EXACT and pass it to init_max_error.
54231         (acos_test): Update call to START.
54232         (acos_test_tonearest): Likewise.
54233         (acos_test_towardzero): Likewise.
54234         (acos_test_downward): Likewise.
54235         (acos_test_upward): Likewise.
54236         (acosh_test): Likewise.
54237         (asin_test): Likewise.
54238         (asin_test_tonearest): Likewise.
54239         (asin_test_towardzero): Likewise.
54240         (asin_test_downward): Likewise.
54241         (asin_test_upward): Likewise.
54242         (asinh_test): Likewise.
54243         (atan_test): Likewise.
54244         (atanh_test): Likewise.
54245         (atan2_test): Likewise.
54246         (cabs_test): Likewise.
54247         (cacos_test): Likewise.
54248         (cacosh_test): Likewise.
54249         (carg_test): Likewise.
54250         (casin_test): Likewise.
54251         (casinh_test): Likewise.
54252         (catan_test): Likewise.
54253         (catanh_test): Likewise.
54254         (cbrt_test): Likewise.
54255         (ccos_test): Likewise.
54256         (ccosh_test): Likewise.
54257         (ceil_test): Likewise.
54258         (cexp_test): Likewise.
54259         (cimag_test): Likewise.
54260         (clog_test): Likewise.
54261         (clog10_test): Likewise.
54262         (conj_test): Likewise.
54263         (copysign_test): Likewise.
54264         (cos_test): Likewise.
54265         (cos_test_tonearest): Likewise.
54266         (cos_test_towardzero): Likewise.
54267         (cos_test_downward): Likewise.
54268         (cos_test_upward): Likewise.
54269         (cosh_test): Likewise.
54270         (cosh_test_tonearest): Likewise.
54271         (cosh_test_towardzero): Likewise.
54272         (cosh_test_downward): Likewise.
54273         (cosh_test_upward): Likewise.
54274         (cpow_test): Likewise.
54275         (cproj_test): Likewise.
54276         (creal_test): Likewise.
54277         (csin_test): Likewise.
54278         (csinh_test): Likewise.
54279         (csqrt_test): Likewise.
54280         (ctan_test): Likewise.
54281         (ctan_test_tonearest): Likewise.
54282         (ctan_test_towardzero): Likewise.
54283         (ctan_test_downward): Likewise.
54284         (ctan_test_upward): Likewise.
54285         (ctanh_test): Likewise.
54286         (ctanh_test_tonearest): Likewise.
54287         (ctanh_test_towardzero): Likewise.
54288         (ctanh_test_downward): Likewise.
54289         (ctanh_test_upward): Likewise.
54290         (erf_test): Likewise.
54291         (erfc_test): Likewise.
54292         (exp_test): Likewise.
54293         (exp_test_tonearest): Likewise.
54294         (exp_test_towardzero): Likewise.
54295         (exp_test_downward): Likewise.
54296         (exp_test_upward): Likewise.
54297         (exp10_test): Likewise.
54298         (exp10_test_tonearest): Likewise.
54299         (exp10_test_towardzero): Likewise.
54300         (exp10_test_downward): Likewise.
54301         (exp10_test_upward): Likewise.
54302         (pow10_test): Likewise.
54303         (exp2_test): Likewise.
54304         (expm1_test): Likewise.
54305         (expm1_test_tonearest): Likewise.
54306         (expm1_test_towardzero): Likewise.
54307         (expm1_test_downward): Likewise.
54308         (expm1_test_upward): Likewise.
54309         (fabs_test): Likewise.
54310         (fdim_test): Likewise.
54311         (floor_test): Likewise.
54312         (fma_test): Likewise.
54313         (fma_test_towardzero): Likewise.
54314         (fma_test_downward): Likewise.
54315         (fma_test_upward): Likewise.
54316         (fmax_test): Likewise.
54317         (fmin_test): Likewise.
54318         (fmod_test): Likewise.
54319         (fpclassify_test): Likewise.
54320         (frexp_test): Likewise.
54321         (hypot_test): Likewise.
54322         (ilogb_test): Likewise.
54323         (isfinite_test): Likewise.
54324         (finite_test): Likewise.
54325         (isgreater_test): Likewise.
54326         (isgreaterequal_test): Likewise.
54327         (isinf_test): Likewise.
54328         (isless_test): Likewise.
54329         (islessequal_test): Likewise.
54330         (islessgreater_test): Likewise.
54331         (isnan_test): Likewise.
54332         (isnormal_test): Likewise.
54333         (issignaling_test): Likewise.
54334         (isunordered_test): Likewise.
54335         (j0_test): Likewise.
54336         (j1_test): Likewise.
54337         (jn_test): Likewise.
54338         (ldexp_test): Likewise.
54339         (lgamma_test): Likewise.
54340         (gamma_test): Likewise.
54341         (lrint_test): Likewise.
54342         (lrint_test_tonearest): Likewise.
54343         (lrint_test_towardzero): Likewise.
54344         (lrint_test_downward): Likewise.
54345         (lrint_test_upward): Likewise.
54346         (llrint_test): Likewise.
54347         (llrint_test_tonearest): Likewise.
54348         (llrint_test_towardzero): Likewise.
54349         (llrint_test_downward): Likewise.
54350         (llrint_test_upward): Likewise.
54351         (log_test): Likewise.
54352         (log10_test): Likewise.
54353         (log1p_test): Likewise.
54354         (log2_test): Likewise.
54355         (logb_test): Likewise.
54356         (logb_test_downward): Likewise.
54357         (lround_test): Likewise.
54358         (llround_test): Likewise.
54359         (modf_test): Likewise.
54360         (nearbyint_test): Likewise.
54361         (nextafter_test): Likewise.
54362         (nexttoward_test): Likewise.
54363         (pow_test): Likewise.
54364         (pow_test_tonearest): Likewise.
54365         (pow_test_towardzero): Likewise.
54366         (pow_test_downward): Likewise.
54367         (pow_test_upward): Likewise.
54368         (remainder_test): Likewise.
54369         (drem_test): Likewise.
54370         (remainder_test_tonearest): Likewise.
54371         (drem_test_tonearest): Likewise.
54372         (remainder_test_towardzero): Likewise.
54373         (drem_test_towardzero): Likewise.
54374         (remainder_test_downward): Likewise.
54375         (drem_test_downward): Likewise.
54376         (remainder_test_upward): Likewise.
54377         (drem_test_upward): Likewise.
54378         (remquo_test): Likewise.
54379         (rint_test): Likewise.
54380         (rint_test_tonearest): Likewise.
54381         (rint_test_towardzero): Likewise.
54382         (rint_test_downward): Likewise.
54383         (rint_test_upward): Likewise.
54384         (round_test): Likewise.
54385         (scalb_test): Likewise.
54386         (scalbn_test): Likewise.
54387         (scalbln_test): Likewise.
54388         (signbit_test): Likewise.
54389         (sin_test): Likewise.
54390         (sin_test_tonearest): Likewise.
54391         (sin_test_towardzero): Likewise.
54392         (sin_test_downward): Likewise.
54393         (sin_test_upward): Likewise.
54394         (sincos_test): Likewise.
54395         (sinh_test): Likewise.
54396         (sinh_test_tonearest): Likewise.
54397         (sinh_test_towardzero): Likewise.
54398         (sinh_test_downward): Likewise.
54399         (sinh_test_upward): Likewise.
54400         (sqrt_test): Likewise.
54401         (sqrt_test_tonearest): Likewise.
54402         (sqrt_test_towardzero): Likewise.
54403         (sqrt_test_downward): Likewise.
54404         (sqrt_test_upward): Likewise.
54405         (tan_test): Likewise.
54406         (tan_test_tonearest): Likewise.
54407         (tan_test_towardzero): Likewise.
54408         (tan_test_downward): Likewise.
54409         (tan_test_upward): Likewise.
54410         (tanh_test): Likewise.
54411         (tgamma_test): Likewise.
54412         (trunc_test): Likewise.
54413         (y0_test): Likewise.
54414         (y1_test): Likewise.
54415         (yn_test): Likewise.
54416         (significand_test): Likewise.
54418         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54419         individual tests in comment.
54420         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54421         (prev_max_error): New variable.
54422         (prev_real_max_error): Likewise.
54423         (prev_imag_max_error): Likewise.
54424         (compare_ulp_data): Don't refer to test names in comment.
54425         (find_test_ulps): Remove function.
54426         (find_function_ulps): Likewise.
54427         (find_complex_function_ulps): Likewise.
54428         (init_max_error): Take function name as argument.  Look up ulps
54429         for that function.
54430         (print_ulps): Remove function.
54431         (print_max_error): Use prev_max_error instead of calling
54432         find_function_ulps.
54433         (print_complex_max_error): Use prev_real_max_error and
54434         prev_imag_max_error instead of calling find_complex_function_ulps.
54435         (check_float_internal): Take max_ulp parameter instead of calling
54436         find_test_ulps.  Don't call print_ulps.
54437         (check_float): Update call to check_float_internal.
54438         (check_complex): Update calls to check_float_internal.
54439         (START): Pass argument to init_max_error.
54440         * math/gen-libm-test.pl (%results): Don't include "kind"
54441         information.
54442         (parse_ulps): Don't handle ulps of individual tests.
54443         (print_ulps_file): Likewise.
54444         (output_ulps): Likewise.
54445         * math/README.libm-test: Update.
54446         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54447         individual tests.
54448         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54449         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54450         * sysdeps/arm/libm-test-ulps: Likewise.
54451         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54452         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54453         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54454         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54455         * sysdeps/microblaze/libm-test-ulps: Likewise.
54456         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54457         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54458         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54459         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54460         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54461         * sysdeps/sh/libm-test-ulps: Likewise.
54462         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54463         * sysdeps/tile/libm-test-ulps: Likewise.
54464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54466 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54468         * math/libm-test.inc (print_complex_max_error): Check separately
54469         whether real and imaginary errors are within allowed range and
54470         pass 0 to print_complex_function_ulps instead of value within
54471         allowed range.
54473 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54475         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54476         formatting.
54477         (get_handles_fopen): Likewise.
54478         (do_write_test): Likewise.
54480         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54482         * libio/fileops.c (do_ftell): Use cached offset when
54483         available.
54484         * libio/iofwide.c (do_ftell_wide): Likewise.
54485         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54486         _IO_file_attach.
54487         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54489         [BZ #16532]
54490         * libio/libioP.h (get_file_offset): New function.
54491         * libio/fileops.c (get_file_offset): Likewise.
54492         (do_ftell): Likewise.
54493         (_IO_new_file_seekoff): Split out ftell logic.
54494         * libio/wfileops.c (do_ftell_wide): Likewise.
54495         (_IO_wfile_seekoff): Split out ftell logic.
54496         * libio/tst-ftell-active-handler.c: New test case.
54497         * libio/Makefile (tests): Add it.
54499 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54501         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54502         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54504 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54506         [BZ #16639]
54507         * nscd/connections.c (nscd_init): Call do_exit.
54508         (start_threads): Call do_exit and notify_parent.
54509         (begin_drop_privileges): Call do_exit.
54510         (finish_drop_privileges): Likewise.
54511         * nscd/selinux.c (preserve_capabilities): Likewise.
54512         (install_real_capabilities): Likewise.
54513         (nscd_selinux_enabled): Likewise.
54514         (avc_create_thread): Likewise.
54515         (avc_alloc_lock): Likewise.
54516         (nscd_avc_init): Likewise.
54517         * nscd/nscd.c (parent_fd): New static variable.
54518         (main): Create a pipe between parent and child processes.
54519         Skip closing parent_fd.
54520         (monitor_child): New function.
54521         (do_exit): Likewise.
54522         (notify_parent): Likewise.
54523         * nscd/nscd.h (notify_parent): Likewise.
54524         (do_exit): Likewise.
54526 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54528         * malloc/malloc.c (__libc_calloc): Revert last change.
54530 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54534 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54536         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54538         implementation.
54539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54540         (__libc_ifunc_impl_list): Likewise.
54541         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54542         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54543         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54544         * string/strrchr.c: Define STRRCHR.
54546 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54548         * benchtest/bench-strtok.c (simple_strtok): Delete.
54549         (strtok_string): Use as benchmark.
54550         * string/strtok (STRTOK): New macro.
54552 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54554         * manual/threads.texi: Add header and standard comments to all
54555         functions.
54557         * elf/dl-lookup.c (check_match): New function.
54558         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54559         (do_lookup_x): Remove nested function check_match. Use non-nested
54560         function check_match.
54562 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54564         * csu/Makefile (generated, before-compile): Use += rather than =.
54565         * catgets/Makefile (generated, generated-dirs): Likewise.
54566         * debug/Makefile (generated): Likewise.
54567         * dlfcn/Makefile (generated): Likewise.
54568         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54569         * iconvdata/Makefile (before-compile, generated): Likewise.
54570         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54571         * libio/Makefile (generated): Likewise.
54572         * malloc/Makefile (generated): Likewise.
54573         * manual/Makefile (generated, generated-dirs): Likewise.
54574         * misc/Makefile (generated): Likewise.
54575         * posix/Makefile (generated): Likewise.
54576         * resolv/Makefile (generated): Likewise.
54577         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54578         * timezone/Makefile (generated, generated-dirs): Likewise.
54580         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54582 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54585         power8 implementation.
54586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54587         file: POWER8 llround ifunc implementation.
54588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54589         (__lllround): Add POWER8 implementation.
54590         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54591         POWER8 llround implementation.
54593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54594         power8 implementation.
54595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54596         file: POWER8 llrint ifunc implementation.
54597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54598         Add POWER8 implementation.
54599         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54600         POWER8 llrint implementation.
54602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54603         power8 implementation.
54604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54605         file: POWER8 finite ifunc implementation.
54606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54607         Add POWER8 implementation.
54608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54609         Likewise.
54610         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54611         POWER8 finite implementation.
54612         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54615         power8 implementation.
54616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54617         file: POWER8 isinf ifunc implementation.
54618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54619         POWER8 implementation.
54620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54621         Likewise.
54622         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54623         isinf implementation.
54624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54626         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54627         (INIT_ARCH): Add hwcap2 initialization.
54628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54629         power8 implementation.
54630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54631         file: POWER8 isnan ifunc implementation.
54632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54633         POWER8 implementation.
54634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54635         Likewise.
54636         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54637         isnan implementation.
54638         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54640 2014-02-27  Joey Ye  <joey.ye@arm.com>
54642         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54643         (_FP_NANFRAC_Q): Set to zero.
54645 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54647         [BZ #16623]
54648         * math/auto-libm-test-in: New test inputs.
54649         * math/auto-libm-test-out: Regenerate.
54650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54651         and DA.
54652         (__cos): Likewise.
54653         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54655 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54657         * scripts/evaluate-test.sh: Take new argument indicating whether
54658         failure is expected.
54659         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54660         indicating whether failure is expected.
54661         * conform/Makefile (test-xfail-run-conformtest): New variable.
54662         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54663         level.
54664         * posix/Makefile (test-xfail-annexc): New variable.
54665         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54667 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54669         * argp/Makefile: Include Makeconfig immediately after defining
54670         subdir.
54671         * assert/Makefile: Likewise.
54672         * benchtests/Makefile: Likewise.
54673         * catgets/Makefile: Likewise.
54674         * conform/Makefile: Likewise.
54675         * crypt/Makefile: Likewise.
54676         * csu/Makefile: Likewise.
54677         (all): Remove target.
54678         * ctype/Makefile: Include Makeconfig immediately after defining
54679         subdir.
54680         * debug/Makefile: Likewise.
54681         * dirent/Makefile: Likewise.
54682         * dlfcn/Makefile: Likewise.
54683         * gmon/Makefile: Likewise.
54684         * gnulib/Makefile: Likewise.
54685         * grp/Makefile: Likewise.
54686         * gshadow/Makefile: Likewise.
54687         * hesiod/Makefile: Likewise.
54688         * hurd/Makefile: Likewise.
54689         (all): Remove target.
54690         * iconvdata/Makefile: Include Makeconfig immediately after
54691         defining subdir.
54692         * inet/Makefile: Likewise.
54693         * intl/Makefile: Likewise.
54694         * io/Makefile: Likewise.
54695         * libio/Makefile: Likewise.
54696         (all): Remove target.
54697         * locale/Makefile: Include Makeconfig immediately after defining
54698         subdir.
54699         * login/Makefile: Likewise.
54700         * mach/Makefile: Likewise.
54701         (all): Remove target.
54702         * malloc/Makefile: Include Makeconfig immediately after defining
54703         subdir.
54704         (all): Remove target.
54705         * manual/Makefile: Include Makeconfig immediately after defining
54706         subdir.
54707         * math/Makefile: Likewise.
54708         * misc/Makefile: Likewise.
54709         * nis/Makefile: Likewise.
54710         * nss/Makefile: Likewise.
54711         * po/Makefile: Likewise.
54712         (all): Remove target.
54713         * posix/Makefile: Include Makeconfig immediately after defining
54714         subdir.
54715         * pwd/Makefile: Likewise.
54716         * resolv/Makefile: Likewise.
54717         * resource/Makefile: Likewise.
54718         * rt/Makefile: Likewise.
54719         * setjmp/Makefile: Likewise.
54720         * shadow/Makefile: Likewise.
54721         * signal/Makefile: Likewise.
54722         * socket/Makefile: Likewise.
54723         * soft-fp/Makefile: Likewise.
54724         * stdio-common/Makefile: Likewise.
54725         * stdlib/Makefile: Likewise.
54726         * streams/Makefile: Likewise.
54727         * string/Makefile: Likewise.
54728         * sunrpc/Makefile: Likewise.
54729         (all): Remove target.
54730         * sysvipc/Makefile: Include Makeconfig immediately after defining
54731         subdir.
54732         * termios/Makefile: Likewise.
54733         * time/Makefile: Likewise.
54734         * timezone/Makefile: Likewise.
54735         (all): Remove target.
54736         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54737         subdir.
54738         * wctype/Makefile: Likewise.
54740 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54742         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54743         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54744         (libc_feholdexcept_setround_mips): Ditto.
54745         (libc_feholdsetround): New.
54746         (libc_feholdsetroundf): New.
54747         (libc_feholdsetroundl): New.
54748         (libc_feupdateenv_test_mips): New.
54749         (libc_feupdateenv_test): New.
54750         (libc_feupdateenv_testf): New.
54751         (libc_feupdateenv_testl): New.
54752         (libc_feresetround): New.
54753         (libc_feresetroundf): New.
54754         (libc_feresetroundl): New.
54755         (libc_fetestexcept_mips): New.
54756         (libc_fetestexcept): New.
54757         (libc_fetestexceptf): New.
54758         (libc_fetestexceptl): New.
54759         (HAVE_RM_CTX): New.
54760         (libc_feholdexcept_setround_mips_ctx): New.
54761         (libc_feholdexcept_setround_ctx): New.
54762         (libc_feholdexcept_setroundf_ctx): New.
54763         (libc_feholdexcept_setroundl_ctx): New.
54764         (libc_fesetenv_mips_ctx): New.
54765         (libc_fesetenv_ctx): New.
54766         (libc_fesetenv_ctxf): New.
54767         (libc_fesetenv_ctxl): New.
54768         (libc_feupdateenv_mips_ctx): New.
54769         (libc_feupdateenv_ctx): New.
54770         (libc_feupdateenvf_ctx): New.
54771         (libc_feupdateenvl_ctx): New.
54772         (libc_feholdsetround_mips_ctx): New.
54773         (libc_feholdsetround_ctx): New.
54774         (libc_feholdsetroundf_ctx): New.
54775         (libc_feholdsetroundl_ctx): New.
54776         (libc_feresetround_mips_ctx): New.
54777         (libc_feresetround_ctx): New.
54778         (libc_feresetroundf_ctx): New.
54779         (libc_feresetroundl_ctx): New.
54781 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54783         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54785         * manual/ipc.texi: New file.
54786         * manual/Makefile (chapters): Add ipc.
54787         * manual/job.texi: Add "Inter-Process Communication" to next.
54788         * manual/process.texi: Add "Inter-Process Communication" to prev.
54790 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54794 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54796         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54798         * manual/arith.texi: Fix spaces after sentences.
54799         * manual/charset.texi: Likewise.
54800         * manual/errno.texi: Likewise.
54801         * manual/install.texi: Likewise.
54802         * manual/llio.texi: Likewise.
54803         * manual/locale.texi: Likewise.
54804         * manual/maint.texi: Likewise.
54805         * manual/math.texi: Likewise.
54806         * manual/memory.texi: Likewise.
54807         * manual/message.texi: Likewise.
54808         * manual/probes.texi: Likewise.
54809         * manual/resource.texi: Likewise.
54810         * manual/signal.texi: Likewise.
54811         * manual/socket.texi: Likewise.
54812         * manual/stdio.texi: Likewise.
54813         * manual/string.texi: Likewise.
54814         * manual/time.texi: Likewise.
54815         * manual/users.texi: Likewise.
54817 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54819         [BZ #16632]
54820         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54821         _DEFAULT_SOURCE is defined.
54823 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54824             Carlos O'Donell  <carlos@redhat.com>
54826         [BZ #16613]
54827         * elf/dl-tls.c (_dl_count_modids): New function.
54828         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54829         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54830         audit library and increment generation counter.
54831         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54832         * elf/tst-audit9.c: New file.
54833         * elf/tst-auditmod9a.c: New file.
54834         * elf/tst-auditmod9b.c: New file.
54835         * elf/Makefile: Add rules to build and run tst-audit9.
54837 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54839         [BZ #15347]
54840         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54842 2014-02-25  Will Newton  <will.newton@linaro.org>
54844         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54845         (__longjmp): Restore sp and lr before restoring callee
54846         saved registers.  Add longjmp and longjmp_target
54847         SystemTap probe point.
54848         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54849         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54850         Define to zero to match jmpbuf layout.
54851         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54852         (__sigsetjmp): Save sp and lr before saving callee
54853         saved registers.  Add setjmp SystemTap probe point.
54855 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54857         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54859 2014-02-24  Andreas Schwab  <schwab@suse.de>
54861         [BZ #15804]
54862         * elf/pldd.c (wait_for_ptrace_stop): New function.
54863         (main): Call it after attaching.
54865 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54867         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54868         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54869         Versions files is now verboten.
54870         * hurd/Versions (libc: GLIBC_2.0):
54871         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54872         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54873         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54874         * mach/Versions: Likewise.
54876         * csu/Versions: Remove unused %include.
54877         * resolv/Versions: Likewise.
54879 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54881         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54882         ($(objpfx)check-local-headers.out): Likewise.
54883         ($(objpfx)begin-end-check.out): Likewise.
54884         * Makerules (check-abi-%.out): Likewise.
54885         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54886         ($(objpfx)test2.cat): Likewise.
54887         ($(objpfx)de/libc.cat): Likewise.
54888         ($(objpfx)test-gencat.out): Likewise.
54889         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54890         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54891         ($(objpfx)noload-mem): Likewise.
54892         ($(objpfx)tst-pathopt.out): Likewise.
54893         ($(objpfx)tst-rtld-load-self.out): Likewise.
54894         ($(objpfx)tst-array1-cmp.out): Likewise.
54895         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54896         ($(objpfx)tst-array2-cmp.out): Likewise.
54897         ($(objpfx)tst-array3-cmp.out): Likewise.
54898         ($(objpfx)tst-array4-cmp.out): Likewise.
54899         ($(objpfx)tst-array5-cmp.out): Likewise.
54900         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54901         ($(objpfx)check-textrel.out): Likewise.
54902         ($(objpfx)check-execstack.out): Likewise.
54903         ($(objpfx)check-localplt.out): Likewise.
54904         ($(objpfx)order2-cmp.out): Likewise.
54905         ($(objpfx)tst-leaks1-mem): Likewise.
54906         ($(objpfx)tst-leaks1-static-mem): Likewise.
54907         ($(objpfx)tst-initorder-cmp.out): Likewise.
54908         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54909         ($(objpfx)tst-unused-dep.out): Likewise.
54910         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54911         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54912         * iconv/Makefile (test-iconvconfig): Likewise.
54913         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54914         ($(objpfx)iconv-test.out): Likewise.
54915         ($(objpfx)tst-tables.out): Likewise.
54916         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54917         ($(objpfx)tst-gettext.out): Likewise.
54918         ($(objpfx)tst-translit.out): Likewise.
54919         ($(objpfx)tst-gettext2.out): Likewise.
54920         ($(objpfx)tst-gettext4.out): Likewise.
54921         ($(objpfx)tst-gettext6.out): Likewise.
54922         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54923         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54924         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54925         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54926         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54927         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54928         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54929         ($(objpfx)wordexp-tst.out): Likewise.
54930         ($(objpfx)annexc.out): Likewise.
54931         ($(objpfx)tst-fnmatch-mem): Likewise.
54932         ($(objpfx)bug-regex2-mem): Likewise.
54933         ($(objpfx)bug-regex14-mem): Likewise.
54934         ($(objpfx)bug-regex21-mem): Likewise.
54935         ($(objpfx)bug-regex31-mem): Likewise.
54936         ($(objpfx)tst-vfork3-mem): Likewise.
54937         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54938         ($(objpfx)tst-pcre-mem): Likewise.
54939         ($(objpfx)tst-boost-mem): Likewise.
54940         ($(objpfx)tst-getconf.out): Likewise.
54941         ($(objpfx)bug-ga2-mem): Likewise.
54942         ($(objpfx)bug-glob2-mem): Likewise.
54943         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54944         ($(objpfx)mtrace-tst-leaks2): Likewise.
54945         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54946         ($(objpfx)tst-printf.out): Likewise.
54947         ($(objpfx)tst-setvbuf1.out): Likewise.
54948         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54949         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54950         ($(objpfx)tst-fmtmsg.out): Likewise.
54951         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54952         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54954         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54955         * bits/sigaction.h [__USE_MISC]: Likewise.
54956         * bits/waitstatus.h: Update #endif comments.
54957         * ctype/ctype.h: Likewise.
54958         * dirent/dirent.h: Likewise.
54959         [__USE_MISC]: Remove redundant conditionals.
54960         * grp/grp.h: Update #endif comments.
54961         [__USE_GNU]: Remove redundant conditionals.
54962         [__USE_MISC]: Likewise.
54963         * inet/netinet/in.h [__USE_GNU]: Likewise.
54964         * io/sys/stat.h [__USE_MISC]: Likewise.
54965         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54966         * libio/bits/stdio.h: Update #endif comments.
54967         [__USE_MISC]: Remove redundant conditionals.
54968         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54969         * libio/stdio.h: Update #endif comments.
54970         [__USE_MISC]: Remove redundant conditionals.
54971         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54972         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54973         * math/math.h: Update #else and #endif comments.
54974         [__USE_MISC]: Remove redundant conditionals.
54975         * misc/sys/uio.h: Update #endif comments.
54976         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54977         * posix/glob.h [__USE_MISC]: Likewise.
54978         * posix/sys/types.h: Update #endif comments.
54979         [__USE_MISC]: Remove redundant conditionals.
54980         * posix/sys/wait.h: Update #endif comments.
54981         [__USE_MISC]: Remove redundant conditionals.
54982         * posix/unistd.h: Update #endif comments.
54983         [__USE_MISC]: Remove redundant conditionals.
54984         * pwd/pwd.h [__USE_GNU]: Likewise.
54985         [__USE_MISC]: Likewise.
54986         * resolv/netdb.h [__USE_GNU]: Likewise.
54987         * signal/signal.h: Update #endif comments.
54988         [__USE_MISC]: Remove redundant conditionals.
54989         * stdlib/stdlib.h: Update #else and #endif comments.
54990         [__USE_MISC]: Remove redundant conditionals.
54991         [__USE_GNU]: Likewise.
54992         * string/bits/string2.h [__USE_MISC]: Likewise.
54993         * string/string.h: Update #endif comments.
54994         [__USE_MISC]: Remove redundant conditionals.
54995         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54996         Likewise.
54997         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54998         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54999         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55000         Likewise.
55001         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55002         Likewise.
55003         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55004         comments.
55005         [__USE_MISC]: Remove redundant conditionals.
55006         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55007         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55008         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55009         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55010         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55011         Likewise.
55012         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55013         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55014         Likewise.
55015         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55016         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55017         Likewise.
55018         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55019         Likewise.
55020         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55021         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55022         Likewise.
55023         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55024         Likewise.
55025         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55026         * sysdeps/x86/bits/string.h: Update #endif comments.
55027         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55028         conditionals.
55029         * time/sys/time.h: Update #endif comments.
55030         * time/time.h: Likewise.
55031         [__USE_MISC]: Remove redundant conditionals.
55033 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55035         [BZ #16600]
55036         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55038 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55040         * Versions.def (librt): Add GLIBC_2.17.
55042 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55044         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55045         synonym for _SYS_AUXV_H to allow direct inclusion.
55046         * sysdeps/sparc/bits/hwcap.h: Likewise.
55047         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55048         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55049         * sysdeps/sparc/sysdep.h: Likewise.
55051 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55053         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55055 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55057         * benchtests/bench-strrchr.c: Print length instead of position.
55059 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55061         [BZ #16611]
55062         * sysdeps/unix/sysv/linux/kernel-features.h
55063         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55064         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55065         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55066         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55067         Likewise.
55068         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55069         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55070         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55071         (__ASSUME_SENDMMSG): Define instead of using previous
55072         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55073         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55074         (__ASSUME_SENDMMSG_SYSCALL): Define.
55075         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55076         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55077         Likewise.
55078         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55079         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55080         Likewise.
55081         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55082         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55083         Likewise.
55084         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55085         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55086         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55087         [__ASSUME_SENDMMSG]: Change conditionals to
55088         [__ASSUME_SENDMMSG_SOCKETCALL].
55089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55090         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55091         Define.
55092         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55093         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55094         Likewise.
55095         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55096         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55097         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55098         [!__ASSUME_SENDMMSG]: Change conditional to
55099         [!__ASSUME_SENDMMSG_SOCKETCALL].
55100         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55101         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55102         Define.
55104         [BZ #16610]
55105         * sysdeps/unix/sysv/linux/kernel-features.h
55106         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55107         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55108         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55109         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55110         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55111         [__i386__ || __sparc__]
55112         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55113         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55114         (__ASSUME_RECVMMSG): Define instead of using previous
55115         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55116         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55117         (__ASSUME_RECVMMSG_SYSCALL): Define.
55118         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55119         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55120         Likewise.
55121         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55122         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55123         Likewise.
55124         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55126         Likewise.
55127         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55128         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55129         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55130         [__ASSUME_RECVMMSG]: Change condition to
55131         [__ASSUME_RECVMMSG_SOCKETCALL].
55132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55133         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55134         Define.
55135         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55136         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55137         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55138         Likewise.
55139         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55140         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55141         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55142         [!__ASSUME_RECVMMSG]: Change condition to
55143         [!__ASSUME_RECVMMSG_SOCKETCALL].
55144         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55145         (__ASSUME_RECVMMSG_SYSCALL): Define.
55147         [BZ #16609]
55148         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55149         __powerpc__ || __s390__ || __sh__ || __sparc__]
55150         (__ASSUME_SOCKETCALL): Define.
55151         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55152         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55153         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55154         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55155         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55156         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55157         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55158         (__ASSUME_ACCEPT4): Define instead of using previous
55159         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55160         __powerpc__ || __sparc__ || __s390__)] condition.
55161         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55162         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55163         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55164         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55165         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55166         [!__ASSUME_ACCEPT4]: Change condition to
55167         [!__ASSUME_ACCEPT4_SOCKETCALL].
55168         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55169         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55170         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55171         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55172         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55173         __ASSUME_ACCEPT4_SYSCALL.
55174         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55175         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55176         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55177         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55178         __ASSUME_ACCEPT4_SYSCALL.
55179         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55180         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55181         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55182         [__ASSUME_ACCEPT4]: Change condition to
55183         [__ASSUME_ACCEPT4_SOCKETCALL].
55184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55185         (__ASSUME_SOCKETCALL): Define.
55186         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55187         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55188         (__ASSUME_SOCKETCALL): Define.
55189         (__ASSUME_ACCEPT4): Remove.
55190         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55191         Define.
55192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55193         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55194         Likewise.
55195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55196         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55198         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55199         macro.
55200         (HWCAP_ARM_LPAE): Likewise.
55201         (HWCAP_ARM_EVTSTRM): Likewise.
55202         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55203         Add vpfd32, lpae and evtstrm.
55204         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55205         Increase to 22.
55207 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55209         * math/auto-libm-test-in: Add tests of clog10.
55210         * math/auto-libm-test-out: Regenerated.
55211         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55212         * sysdeps/i386/fpu/libm-test-ulps: Update.
55213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55215 2014-02-18  Andreas Schwab  <schwab@suse.de>
55217         [BZ #16574]
55218         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55219         Store non-zero if the second buffer was newly allocated.
55220         (send_dg): Likewise.
55221         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55222         to send_vc and send_dg.
55223         (res_nsend): Pass NULL for ansp2_malloced.
55224         * resolv/res_query.c (__libc_res_nquery): Add parameter
55225         answerp2_malloced and pass it down to __libc_res_nsend.
55226         (res_nquery): Pass additional NULL to __libc_res_nquery.
55227         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55228         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55229         second answer buffer if answerp2_malloced was set.
55230         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55231         (__libc_res_nquerydomain): Add parameter
55232         answerp2_malloced and pass it down to __libc_res_nquery.
55233         (res_nquerydomain): Pass additional NULL to
55234         __libc_res_nquerydomain.
55235         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55236         additional NULL to __libc_res_nsend and __libc_res_nquery.
55237         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55238         additional NULL to __libc_res_nsearch.
55239         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55240         parameter of __libc_res_nsearch to check for separately allocated
55241         second buffer.
55242         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55243         __libc_res_nquery.
55244         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55245         additional NULL to __libc_res_nquery.
55246         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55247         __libc_res_nsearch.
55248         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55249         * include/resolv.h: Update prototypes of __libc_res_nquery,
55250         __libc_res_nsearch, __libc_res_nsend.
55252 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55254         * math/auto-libm-test-in: Add tests of fma.
55255         * math/auto-libm-test-out: Regenerated.
55256         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55257         (fma_towardzero_test_data): Likewise.
55258         (fma_downward_test_data): Likewise.
55259         (fma_upward_test_data): Likewise.
55260         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55261         mpc_mode.
55262         (rounding_modes): Add values for new field.
55263         (func_calc_method): Add value mpfr_fff_f.
55264         (func_calc_desc): Add mpfr_fff_f union field.
55265         (test_function): Add field exact_args.
55266         (FUNC): Add macro argument EXACT_ARGS.
55267         (FUNC_mpfr_f_f): Update call to FUNC.
55268         (FUNC_mpfr_f_f): Likewise.
55269         (FUNC_mpfr_ff_f): Likewise.
55270         (FUNC_mpfr_if_f): Likewise.
55271         (FUNC_mpc_c_f): Likewise.
55272         (FUNC_mpc_c_c): Likewise.
55273         (test_functions): Add fma.  Update calls to FUNC.
55274         (handle_input_arg): Add argument exact_args.
55275         (add_test): Update call to handle_input_arg.
55276         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55277         (output_for_one_input_case): Update call to calc_generic_results.
55278         Recalculate exact zero results in each rounding mode.
55280         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55281         non-negative before setting low bit.
55282         * math/auto-libm-test-in: Mark one asin test possibly having
55283         spurious underflow.
55284         * math/auto-libm-test-out: Regenerated.
55285         * sysdeps/i386/fpu/libm-test-ulps: Update.
55286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55288 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55290         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55291         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55292         ports/sysdeps/unix/sysv/linux/microblaze.
55293         * README: Add missing listing for microblaze*-*-linux-gnu.
55295 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55297         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55298         duplicate code
55300 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55302         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55303         * sysdeps/unix/sysv/linux/ia64: Move directory from
55304         ports/sysdeps/unix/sysv/linux/ia64.
55305         * README: Update listing for ia64-*-linux-gnu.
55307 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55308             Joseph Myers  <joseph@codesourcery.com>
55310         * Makeconfig (test-name): New variable.
55311         (evaluate-test): Likewise.
55312         * Makerules (do-test-clean): Remove .test-result files.
55313         (common-mostlyclean): Likewise.
55314         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55315         * scripts/evaluate-test.sh: New file.
55317 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55319         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55320         separate $(objpfx)tst-fopenloc-cmp.out and
55321         $(objpfx)tst-fopenloc-mem.out targets.
55322         (tests): Update dependencies.
55323         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55324         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55325         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55326         (tst-rxspencer-no-utf8-ARGS): New variable.
55327         (tst-rxspencer-no-utf8-ENV): Likewise.
55328         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55329         instead of $(objpfx)tst-rxspencer-mem.
55330         ($(objpfx)tst-rxspencer-mem): Change target to
55331         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55332         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55333         * posix/tst-rxspencer-no-utf8.c: New file.
55335         * elf/Makefile ($(objpfx)order.out): Remove rule.
55336         [$(run-built-tests) = yes] (tests): Depend on
55337         $(objpfx)order-cmp.out.
55338         ($(objpfx)order-cmp.out): New rule.
55339         [$(run-built-tests) = yes] (tests): Depend on
55340         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55341         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55342         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55343         $(objpfx)tst-array5-static-cmp.out.
55344         ($(objpfx)tst-array1.out): Remove rule.
55345         ($(objpfx)tst-array1-cmp.out): New rule.
55346         ($(objpfx)tst-array1-static.out): Remove rule.
55347         ($(objpfx)tst-array1-static-cmp.out): New rule.
55348         ($(objpfx)tst-array2.out): Remove rule.
55349         ($(objpfx)tst-array2-cmp.out): New rule.
55350         ($(objpfx)tst-array3.out): Remove rule.
55351         ($(objpfx)tst-array3-cmp.out): New rule.
55352         ($(objpfx)tst-array4.out): Remove rule.
55353         ($(objpfx)tst-array4-cmp.out): New rule.
55354         ($(objpfx)tst-array5.out): Remove rule.
55355         ($(objpfx)tst-array5-cmp.out): New rule.
55356         ($(objpfx)tst-array5-static.out): Remove rule.
55357         ($(objpfx)tst-array5-static-cmp.out): New rule.
55358         [$(run-built-tests) = yes] (tests): Depend on
55359         $(objpfx)order2-cmp.out.
55360         ($(objpfx)order2.out): Remove rule.
55361         ($(objpfx)order2-cmp.out): New rule.
55362         ($(objpfx)tst-initorder.out): Remove rule.
55363         [$(run-built-tests) = yes] (tests): Depend on
55364         $(objpfx)tst-initorder-cmp.out.
55365         ($(objpfx)tst-initorder-cmp.out): New rule.
55366         ($(objpfx)tst-initorder2.out): Remove rule.
55367         [$(run-built-tests) = yes] (tests): Depend on
55368         $(objpfx)tst-initorder2-cmp.out.
55369         ($(objpfx)tst-initorder2-cmp.out): New rule.
55370         [$(run-built-tests) = yes] (tests): Depend on
55371         $(objpfx)tst-unused-dep-cmp.out.
55372         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55373         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55374         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55375         on $(objpfx)tst-setvbuf1-cmp.out.
55376         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55377         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55378         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55379         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55380         ($(objpfx)tst-svc.out): Remove rule.
55381         ($(objpfx)tst-svc-cmp.out): New rule.
55383 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55385         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55386         * ctype/ctype.h [__USE_MISC]: Likewise.
55387         * dirent/dirent.h [__USE_MISC]: Likewise.
55388         * grp/grp.h [__USE_MISC]: Likewise.
55389         * io/fcntl.h [__USE_MISC]: Likewise.
55390         * io/sys/stat.h [__USE_MISC]: Likewise.
55391         * libio/stdio.h [__USE_MISC]: Likewise.
55392         * posix/unistd.h [__USE_MISC]: Likewise.
55393         * pwd/pwd.h [__USE_MISC]: Likewise.
55394         * stdlib.h [__USE_MISC]: Likewise.
55395         * string/bits/string2.h [__USE_MISC]: Likewise.
55396         * string/string.h [__USE_MISC]: Likewise.
55397         * time/time.h [__USE_MISC]: Likewise.
55399 2014-02-13  Andreas Schwab  <schwab@suse.de>
55401         [BZ #16574]
55402         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55403         second answer buffer if it was separately allocated.
55405 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55407         * sysdeps/mips/math-tests.h: Include <features.h>.
55408         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55409         (ROUNDING_TESTS_long_double): Do not define.
55410         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55411         (EXCEPTION_TESTS_long_double): Likewise.
55412         * sysdeps/mips/mips64/libm-test-ulps: Update.
55414         * include/features.h (__USE_BSD): Remove macro definitions.
55415         (__USE_SVID): Likewise.
55416         (_BSD_SOURCE): Likewise.
55417         (_SVID_SOURCE): Likewise.
55418         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55419         from definition of _DEFAULT_SOURCE.
55420         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55421         [_DEFAULT_SOURCE].
55422         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55423         * bits/mman.h [__USE_BSD]: Likewise.
55424         * bits/termios.h [__USE_BSD]: Likewise.
55425         * bits/waitstatus.h [__USE_BSD]: Likewise.
55426         * ctype/ctype.h [__USE_SVID]: Likewise.
55427         * dirent/dirent.h [__USE_BSD]: Likewise.
55428         * grp/grp.h [__USE_SVID]: Likewise.
55429         [__USE_BSD]: Likewise.
55430         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55431         * io/fcntl.h [__USE_BSD]: Likewise.
55432         * io/ftw.h [__USE_BSD]: Likewise.
55433         * io/sys/stat.h [__USE_BSD]: Likewise.
55434         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55435         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55436         * libio/stdio.h [__USE_SVID]: Likewise.
55437         [__USE_BSD]: Likewise.
55438         * math/math.h [__USE_SVID]: Likewise.
55439         [__USE_BSD]: Likewise.
55440         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55441         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55442         * misc/search.h [__USE_SVID]: Likewise.
55443         * misc/sys/mman.h [__USE_BSD]: Likewise.
55444         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55445         * misc/sys/uio.h [__USE_BSD]: Likewise.
55446         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55447         * posix/glob.h [__USE_BSD]: Likewise.
55448         * posix/regex.h [__USE_BSD]: Likewise.
55449         * posix/sys/types.h [__USE_BSD]: Likewise.
55450         [__USE_SVID]: Likewise.
55451         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55452         * posix/sys/wait.h [__USE_BSD]: Likewise.
55453         [__USE_SVID]: Likewise.
55454         * posix/unistd.h [__USE_BSD]: Likewise.
55455         [__USE_SVID]: Likewise.
55456         * pwd/pwd.h [__USE_SVID]: Likewise.
55457         * resolv/netdb.h [__USE_BSD]: Likewise.
55458         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55459         * signal/signal.h [__USE_BSD]: Likewise.
55460         [__USE_SVID]: Likewise.
55461         * socket/sys/socket.h [__USE_BSD]: Likewise.
55462         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55463         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55464         [__USE_SVID]: Likewise.
55465         * string/bits/string2.h [__USE_BSD]: Likewise.
55466         [__USE_SVID]: Likewise.
55467         * string/bits/string3.h [__USE_BSD]: Likewise.
55468         * string/endian.h [__USE_BSD]: Likewise.
55469         * string/string.h [__USE_SVID]: Likewise.
55470         [__USE_BSD]: Likewise.
55471         * string/strings.h [__USE_BSD]: Likewise.
55472         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55473         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55474         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55475         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55476         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55477         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55478         Likewise.
55479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55480         Likewise.
55481         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55482         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55483         Likewise.
55484         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55485         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55486         Likewise.
55487         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55488         Likewise.
55489         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55490         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55491         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55492         Likewise.
55493         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55494         Likewise.
55495         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55496         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55497         * termios/termios.h [__USE_BSD]: Likewise.
55498         * time/sys/time.h [__USE_BSD]: Likewise.
55499         * time/time.h [__USE_BSD]: Likewise.
55500         [__USE_SVID]: Likewise.
55502         * Makefile (subdir_targets): Remove subdir_lint.out.
55504         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55505         (do-tst-printf): Likewise.
55506         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55507         $(objpfx)tst-printf.out.
55509         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55511         * Makerules (check-abi-%): Change target to
55512         $(objpfx)check-abi-%.out.
55513         (check-abi target): Update dependencies.
55514         (check-abi-pattern variable): Redirect output of diff to $@.
55515         (check-abi variable): Likewise.
55516         * elf/Makefile (check-abi): Update dependencies.
55518         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55519         unused.
55520         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55521         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55522         subnormal range.
55523         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55524         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55525         value has largest subnormal exponent.
55526         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55527         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55528         * sysdeps/aarch64/soft-fp/sfp-machine.h
55529         (_FP_TININESS_AFTER_ROUNDING): New macro.
55530         * sysdeps/alpha/soft-fp/sfp-machine.h
55531         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55532         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55533         Likewise.
55534         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55535         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55536         * sysdeps/mips/soft-fp/sfp-machine.h
55537         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55538         * sysdeps/powerpc/soft-fp/sfp-machine.h
55539         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55540         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55541         Likewise.
55542         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55543         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55545         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55546         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55547         Likewise.
55549 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55551         [BZ #16545]
55552         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55553         model 1.
55555 2014-02-12  Richard Henderson  <rth@redhat.com>
55557         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55558         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55559         * sysdeps/unix/sysv/linux/alpha: Move directory from
55560         ports/sysdeps/unix/sysv/linux/alpha.
55561         * README: Update listing for alpha-*-linux-gnu.
55563 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55565         * include/features.h: Update comment documenting feature test
55566         macros.
55567         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55568         _DEFAULT_SOURCE.
55569         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55570         (_SVID_SOURCE): Likewise.
55571         (_DEFAULT_SOURCE): Update description of default features.
55572         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55573         with _GNU_SOURCE.
55574         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55575         (S_ISVTX): Likewise.
55576         * manual/math.texi (Mathematical Constants): Likewise.
55577         * manual/signal.texi (Interrupted Primitives): Likewise.
55578         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55579         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55580         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55581         Don't refer to _SVID_SOURCE in warning text.
55583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55585         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55586         already defined.
55587         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55588         * sysdeps/mips/dl-lookup.c: Remove.
55589         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55591 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55593         [BZ #16447]
55594         * math/auto-libm-test-in: Add testcase for expl.
55595         * math/auto-libm-test-out: Regenerate.
55596         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55597         calculation of unsafe.
55598         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55600 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55602         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55603         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55604         ports/sysdeps/unix/sysv/linux/aarch64.
55605         * README: Update listing for aarch64*-*-linux-gnu.
55607 2014-02-11  Will Newton  <will.newton@linaro.org>
55609         * manual/probes.texi (Mathematical Function Probes): Use
55610         "triggered" instead of "hit".
55612         * manual/probes.texi (Internal Probes): Add documentation
55613         of setjmp, longjmp and longjmp_target probes.
55615         * include/stap-probe.h: Add comment about probe argument
55616         format.
55618         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55619         definition.  (tr_where, tr_freehook, tr_mallochook,
55620         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55622 2014-02-11  David S. Miller  <davem@davemloft.net>
55624         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55625         processing int_tests.
55627 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55629         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55630         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55631         * sysdeps/unix/sysv/linux/mips: Move directory from
55632         ports/sysdeps/unix/sysv/linux/mips.
55633         * README: Update listing for mips-*-linux-gnu and
55634         mips64-*-linux-gnu.
55636 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55638         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55639         * sysdeps/unix/sysv/linux/m68k: Move directory from
55640         ports/sysdeps/unix/sysv/linux/m68k.
55641         * README: Update listing for m68k-*-linux-gnu.
55643 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55645         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55646         * sysdeps/unix/sysv/linux/generic: Move directory from
55647         ports/sysdeps/unix/sysv/linux/generic.
55648         * sysdeps/unix/sysv/linux/tile: Move directory from
55649         ports/sysdeps/unix/sysv/linux/tile.
55650         * README: Update listing for tile*-*-linux-gnu.
55652 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55654         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55655         __builtin_expect.
55656         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55657         * catgets/open_catalog.c (__open_catalog): Likewise.
55658         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55659         * debug/confstr_chk.c: Likewise.
55660         * debug/fread_chk.c (__fread_chk): Likewise.
55661         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55662         * debug/getgroups_chk.c: Likewise.
55663         * debug/mbsnrtowcs_chk.c: Likewise.
55664         * debug/mbsrtowcs_chk.c: Likewise.
55665         * debug/mbstowcs_chk.c: Likewise.
55666         * debug/memcpy_chk.c: Likewise.
55667         * debug/memmove_chk.c: Likewise.
55668         * debug/mempcpy_chk.c: Likewise.
55669         * debug/memset_chk.c: Likewise.
55670         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55671         * debug/strcat_chk.c (__strcat_chk): Likewise.
55672         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55673         * debug/strncat_chk.c (__strncat_chk): Likewise.
55674         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55675         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55676         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55677         * debug/wcpncpy_chk.c: Likewise.
55678         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55679         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55680         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55681         * debug/wcsncpy_chk.c: Likewise.
55682         * debug/wcsnrtombs_chk.c: Likewise.
55683         * debug/wcsrtombs_chk.c: Likewise.
55684         * debug/wcstombs_chk.c: Likewise.
55685         * debug/wmemcpy_chk.c: Likewise.
55686         * debug/wmemmove_chk.c: Likewise.
55687         * debug/wmempcpy_chk.c: Likewise.
55688         * debug/wmemset_chk.c: Likewise.
55689         * dirent/scandirat.c (SCANDIRAT): Likewise.
55690         * dlfcn/dladdr1.c (dladdr1): Likewise.
55691         * dlfcn/dladdr.c (dladdr): Likewise.
55692         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55693         * dlfcn/dlerror.c (__dlerror): Likewise.
55694         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55695         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55696         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55697         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55698         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55699         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55700         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55701         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55702         Likewise.
55703         * elf/dl-conflict.c: Likewise.
55704         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55705         * elf/dl-dst.h: Likewise.
55706         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55707         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55708         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55709         * elf/dl-init.c (call_init, _dl_init): Likewise.
55710         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55711         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55712         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55713         Likewise.
55714         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55715         Likewise.
55716         * elf/dl-minimal.c (__libc_memalign): Likewise.
55717         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55718         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55719         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55720         * elf/dl-sym.c (do_sym): Likewise.
55721         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55722         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55723         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55724         * elf/dl-writev.h (_dl_writev): Likewise.
55725         * elf/ldconfig.c (search_dir): Likewise.
55726         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55727         (dl_main): Likewise.
55728         * elf/setup-vdso.h (setup_vdso): Likewise.
55729         * grp/compat-initgroups.c (compat_call): Likewise.
55730         * grp/fgetgrent.c (fgetgrent): Likewise.
55731         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55732         * grp/putgrent.c (putgrent): Likewise.
55733         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55734         Likewise.
55735         * hurd/hurdinit.c: Likewise.
55736         * iconvdata/8bit-gap.c (struct): Likewise.
55737         * iconvdata/ansi_x3.110.c : Likewise.
55738         * iconvdata/big5.c : Likewise.
55739         * iconvdata/big5hkscs.c : Likewise.
55740         * iconvdata/cp1255.c: Likewise.
55741         * iconvdata/cp1258.c : Likewise.
55742         * iconvdata/cp932.c : Likewise.
55743         * iconvdata/euc-cn.c: Likewise.
55744         * iconvdata/euc-jisx0213.c : Likewise.
55745         * iconvdata/euc-jp.c: Likewise.
55746         * iconvdata/euc-jp-ms.c : Likewise.
55747         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55748         * iconvdata/gb18030.c : Likewise.
55749         * iconvdata/gbbig5.c (const): Likewise.
55750         * iconvdata/gbgbk.c: Likewise.
55751         * iconvdata/gbk.c : Likewise.
55752         * iconvdata/ibm1364.c : Likewise.
55753         * iconvdata/ibm930.c : Likewise.
55754         * iconvdata/ibm932.c: Likewise.
55755         * iconvdata/ibm933.c : Likewise.
55756         * iconvdata/ibm935.c : Likewise.
55757         * iconvdata/ibm937.c : Likewise.
55758         * iconvdata/ibm939.c : Likewise.
55759         * iconvdata/ibm943.c: Likewise.
55760         * iconvdata/iso_11548-1.c: Likewise.
55761         * iconvdata/iso-2022-cn.c : Likewise.
55762         * iconvdata/iso-2022-cn-ext.c : Likewise.
55763         * iconvdata/iso-2022-jp-3.c: Likewise.
55764         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55765         * iconvdata/iso-2022-kr.c : Likewise.
55766         * iconvdata/iso646.c (gconv_end): Likewise.
55767         * iconvdata/iso_6937-2.c : Likewise.
55768         * iconvdata/iso_6937.c : Likewise.
55769         * iconvdata/iso8859-1.c: Likewise.
55770         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55771         * iconvdata/shift_jisx0213.c : Likewise.
55772         * iconvdata/sjis.c : Likewise.
55773         * iconvdata/t.61.c : Likewise.
55774         * iconvdata/tcvn5712-1.c : Likewise.
55775         * iconvdata/tscii.c: Likewise.
55776         * iconvdata/uhc.c : Likewise.
55777         * iconvdata/unicode.c (gconv_end): Likewise.
55778         * iconvdata/utf-16.c (gconv_end): Likewise.
55779         * iconvdata/utf-32.c (gconv_end): Likewise.
55780         * iconvdata/utf-7.c (base64): Likewise.
55781         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55782         * iconv/gconv_close.c (__gconv_close): Likewise.
55783         * iconv/gconv_open.c (__gconv_open): Likewise.
55784         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55785         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55786         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55787         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55788         (ucs4le_internal_loop_single): Likewise.
55789         * iconv/iconv.c (iconv): Likewise.
55790         * iconv/iconv_close.c: Likewise.
55791         * iconv/loop.c (SINGLE): Likewise.
55792         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55793         * include/atomic.h: Likewise.
55794         * inet/inet6_option.c (option_alloc): Likewise.
55795         * intl/bindtextdom.c (set_binding_values): Likewise.
55796         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55797         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55798         * intl/localealias.c (read_alias_file): Likewise.
55799         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55800         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55801         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55802         * libio/fmemopen.c (fmemopen): Likewise.
55803         * libio/iofgets.c (_IO_fgets): Likewise.
55804         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55805         * libio/iofgetws.c (fgetws): Likewise.
55806         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55807         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55808         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55809         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55810         * locale/findlocale.c (_nl_find_locale): Likewise.
55811         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55812         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55813         Likewise.
55814         * locale/setlocale.c (setlocale): Likewise.
55815         * login/programs/pt_chown.c (main): Likewise.
55816         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55817         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55818         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55819         (mmap, mmap64, mremap, munmap): Likewise.
55820         * math/e_exp2l.c: Likewise.
55821         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55822         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55823         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55824         * math/s_catan.c (__catan): Likewise.
55825         * math/s_catanf.c (__catanf): Likewise.
55826         * math/s_catanh.c (__catanh): Likewise.
55827         * math/s_catanhf.c (__catanhf): Likewise.
55828         * math/s_catanhl.c (__catanhl): Likewise.
55829         * math/s_catanl.c (__catanl): Likewise.
55830         * math/s_ccosh.c (__ccosh): Likewise.
55831         * math/s_ccoshf.c (__ccoshf): Likewise.
55832         * math/s_ccoshl.c (__ccoshl): Likewise.
55833         * math/s_cexp.c (__cexp): Likewise.
55834         * math/s_cexpf.c (__cexpf): Likewise.
55835         * math/s_cexpl.c (__cexpl): Likewise.
55836         * math/s_clog10.c (__clog10): Likewise.
55837         * math/s_clog10f.c (__clog10f): Likewise.
55838         * math/s_clog10l.c (__clog10l): Likewise.
55839         * math/s_clog.c (__clog): Likewise.
55840         * math/s_clogf.c (__clogf): Likewise.
55841         * math/s_clogl.c (__clogl): Likewise.
55842         * math/s_csin.c (__csin): Likewise.
55843         * math/s_csinf.c (__csinf): Likewise.
55844         * math/s_csinh.c (__csinh): Likewise.
55845         * math/s_csinhf.c (__csinhf): Likewise.
55846         * math/s_csinhl.c (__csinhl): Likewise.
55847         * math/s_csinl.c (__csinl): Likewise.
55848         * math/s_csqrt.c (__csqrt): Likewise.
55849         * math/s_csqrtf.c (__csqrtf): Likewise.
55850         * math/s_csqrtl.c (__csqrtl): Likewise.
55851         * math/s_ctan.c (__ctan): Likewise.
55852         * math/s_ctanf.c (__ctanf): Likewise.
55853         * math/s_ctanh.c (__ctanh): Likewise.
55854         * math/s_ctanhf.c (__ctanhf): Likewise.
55855         * math/s_ctanhl.c (__ctanhl): Likewise.
55856         * math/s_ctanl.c (__ctanl): Likewise.
55857         * math/w_pow.c: Likewise.
55858         * math/w_powf.c: Likewise.
55859         * math/w_powl.c: Likewise.
55860         * math/w_scalb.c (sysv_scalb): Likewise.
55861         * math/w_scalbf.c (sysv_scalbf): Likewise.
55862         * math/w_scalbl.c (sysv_scalbl): Likewise.
55863         * misc/error.c (error_tail): Likewise.
55864         * misc/pselect.c (__pselect): Likewise.
55865         * nis/nis_callback.c (__nis_create_callback): Likewise.
55866         * nis/nis_call.c (__nisfind_server): Likewise.
55867         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55868         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55869         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55870         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55871         * nis/nis_lookup.c (nis_lookup): Likewise.
55872         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55873         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55874         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55875         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55876         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55877         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55878         * nis/nss_compat/compat-initgroups.c (add_group)
55879         (internal_getgrent_r): Likewise.
55880         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55881         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55882         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55883         (internal_getspnam_r): Likewise.
55884         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55885         (_nss_nis_getaliasbyname_r): Likewise.
55886         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55887         (_nss_nis_getntohost_r): Likewise.
55888         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55889         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55890         (_nss_nis_getgrgid_r): Likewise.
55891         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55892         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55893         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55894         (_nss_nis_gethostbyname4_r): Likewise.
55895         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55896         (initgroups_netid): Likewise.
55897         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55898         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55899         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55900         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55901         (_nss_nis_getprotobynumber_r): Likewise.
55902         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55903         (_nss_nis_getsecretkey): Likewise.
55904         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55905         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55906         (_nss_nis_getpwuid_r): Likewise.
55907         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55908         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55909         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55910         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55911         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55912         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55913         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55914         Likewise.
55915         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55916         (_nss_nisplus_getntohost_r): Likewise.
55917         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55918         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55919         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55920         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55921         Likewise.
55922         * nis/nss_nisplus/nisplus-initgroups.c
55923         (_nss_nisplus_initgroups_dyn): Likewise.
55924         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55925         (_nss_nisplus_getnetbyaddr_r): Likewise.
55926         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55927         (_nss_nisplus_getprotobynumber_r): Likewise.
55928         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55929         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55930         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55931         Likewise.
55932         * nis/nss_nisplus/nisplus-service.c
55933         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55934         (_nss_nisplus_getservbyport_r): Likewise.
55935         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55936         (_nss_nisplus_getspnam_r): Likewise.
55937         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55938         Likewise.
55939         * nscd/aicache.c (addhstaiX): Likewise.
55940         * nscd/cache.c (cache_search, prune_cache): Likewise.
55941         * nscd/connections.c (register_traced_file, send_ro_fd)
55942         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55943         (main_loop_epoll): Likewise.
55944         * nscd/grpcache.c (addgrbyX): Likewise.
55945         * nscd/hstcache.c (addhstbyX): Likewise.
55946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55947         * nscd/mem.c (gc, mempool_alloc): Likewise.
55948         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55949         (addinnetgrX): Likewise.
55950         * nscd/nscd-client.h (__nscd_acquire_maplock)
55951         (__nscd_drop_map_ref): Likewise.
55952         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55953         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55954         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55955         Likewise.
55956         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55957         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55958         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55959         (__nscd_get_map_ref): Likewise.
55960         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55961         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55962         Likewise.
55963         * nscd/pwdcache.c (addpwbyX): Likewise.
55964         * nscd/selinux.c (preserve_capabilities): Likewise.
55965         * nscd/servicescache.c (addservbyX): Likewise.
55966         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55967         * posix/fnmatch.c (fnmatch): Likewise.
55968         * posix/getopt.c (_getopt_internal_r): Likewise.
55969         * posix/glob.c (glob, glob_in_dir): Likewise.
55970         * posix/wordexp.c (exec_comm_child): Likewise.
55971         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55972         (getanswer_r, gaih_getanswer_slice): Likewise.
55973         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55974         * resolv/res_init.c: Likewise.
55975         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55976         * resolv/res_query.c (__libc_res_nquery): Likewise.
55977         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55978         Likewise.
55979         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55980         * stdio-common/perror.c (perror): Likewise.
55981         * stdio-common/printf_fp.c (___printf_fp): Likewise.
55982         * stdio-common/tmpnam.c (tmpnam): Likewise.
55983         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55984         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55985         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55986         Likewise.
55987         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55988         * stdlib/putenv.c (putenv): Likewise.
55989         * stdlib/setenv.c (__add_to_environ): Likewise.
55990         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55991         * stdlib/strtol_l.c (INTERNAL): Likewise.
55992         * string/memmem.c (memmem): Likewise.
55993         * string/strerror.c (strerror): Likewise.
55994         * string/strnlen.c (__strnlen): Likewise.
55995         * string/test-memmem.c (simple_memmem): Likewise.
55996         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55997         * sunrpc/pm_getport.c (__get_socket): Likewise.
55998         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55999         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56000         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56001         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56002         Likewise.
56003         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56004         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56005         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56006         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56007         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56008         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56009         Likewise.
56010         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56011         Likewise.
56012         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56013         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56014         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56015         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56016         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56018         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56019         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56020         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56021         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56022         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56023         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56024         Likewise.
56025         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56026         Likewise.
56027         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56028         Likewise.
56029         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56030         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56031         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56032         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56033         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56034         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56035         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56036         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56038         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56039         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56040         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56041         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56042         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56044         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56045         Likewise.
56046         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56047         Likewise.
56048         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56049         Likewise.
56050         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56051         Likewise.
56052         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56054         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56055         Likewise.
56056         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56057         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56058         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56059         * sysdeps/posix/sleep.c: Likewise.
56060         * sysdeps/posix/tempname.c: Likewise.
56061         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56062         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56063         Likewise.
56064         * sysdeps/powerpc/powerpc32/dl-machine.h
56065         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56066         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56067         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56068         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56069         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56070         Likewise.
56071         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56072         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56073         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56074         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56075         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56076         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56077         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56078         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56079         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56080         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56081         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56082         (elf_machine_lazy_rel): Likewise.
56083         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56084         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56085         (elf_machine_lazy_rel): Likewise.
56086         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56087         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56088         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56089         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56090         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56091         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56092         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56093         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56094         Likewise.
56095         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56096         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56097         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56098         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56099         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56100         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56101         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56102         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56103         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56104         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56105         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56106         Likewise.
56107         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56108         (__posix_fallocate64_l64): Likewise.
56109         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56110         (posix_fallocate): Likewise.
56111         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56112         Likewise.
56113         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56114         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56115         (getifaddrs_internal): Likewise.
56116         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56117         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56118         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56119         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56120         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56121         (__posix_fallocate64_l64): Likewise.
56122         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56123         Likewise.
56124         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56126         (__get_clockfreq): Likewise.
56127         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56128         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56129         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56132         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56133         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56134         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56135         Likewise.
56136         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56137         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56138         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56139         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56140         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56141         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56142         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56143         Likewise.
56144         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56145         (posix_fallocate): Likewise.
56146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56147         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56148         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56149         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56150         (elf_machine_rela, elf_machine_rela_relative)
56151         (elf_machine_lazy_rel): Likewise.
56152         * time/asctime.c (asctime_internal): Likewise.
56153         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56154         * time/tzset.c (__tzset_parse_tz): Likewise.
56155         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56156         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56157         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56158         * wcsmbs/wcsmbsload.h: Likewise.
56160         [BZ #15894]
56161         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56163         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56164         (arena_get2): Remove THREAD_STATS conditionals.
56165         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56166         (__malloc_stats, int): Likewise.
56168 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56170         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56171         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56173         * manual/setjmp.texi: Fix typos/grammar errors.
56175         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56176         Only return early when n is <= 0.  Delete unused return statement.
56178         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56179         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56180         * debug/tst-longjmp_chk3.c: New file.
56182         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56183         (test_main): Replace code with set_fortify_handler call.
56184         * debug/test-strcpy_chk.c: Likewise.
56185         * debug/tst-chk1.c: Likewise.
56186         * debug/tst-longjmp_chk.c: Likewise.
56187         * test-skeleton.c: Include fcntl.h & paths.h
56188         (set_fortify_handler): Define.
56190         * debug/tst-longjmp_chk.c: Add header comment and include
56191         ../test-skeleton.c.
56192         (do_test): Mark static.
56193         (TEST_FUNCTION): Define.
56195         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56196         (IP_PMTUDISC_INTERFACE): Likewise.
56197         (IP_MULTICAST_IF): Likewise.
56198         (IP_MULTICAST_TTL): Likewise.
56199         (IP_MULTICAST_LOOP): Likewise.
56200         (IP_ADD_MEMBERSHIP): Likewise.
56201         (IP_DROP_MEMBERSHIP): Likewise.
56202         (IP_UNBLOCK_SOURCE): Likewise.
56203         (IP_BLOCK_SOURCE): Likewise.
56204         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56205         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56206         (IP_MSFILTER): Likewise.
56207         (MCAST_JOIN_GROUP): Likewise.
56208         (MCAST_BLOCK_SOURCE): Likewise.
56209         (MCAST_UNBLOCK_SOURCE): Likewise.
56210         (MCAST_LEAVE_GROUP): Likewise.
56211         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56212         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56213         (MCAST_MSFILTER): Likewise.
56214         (IP_MULTICAST_ALL): Likewise.
56215         (IP_UNICAST_IF): Likewise.
56217         * timezone/Makefile: Delete $(have-ksh) check.
56218         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56219         * timezone/tzselect.ksh: Add +x mode bits.
56221         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56222         (ANON_INODE_FS_MAGIC): Likewise.
56223         (BDEVFS_MAGIC): Likewise.
56224         (BINFMTFS_MAGIC): Likewise.
56225         (BTRFS_TEST_MAGIC): Likewise.
56226         (CRAMFS_MAGIC_WEND): Likewise.
56227         (DEBUGFS_MAGIC): Likewise.
56228         (ECRYPTFS_SUPER_MAGIC): Likewise.
56229         (EXT3_SUPER_MAGIC): Likewise.
56230         (EXT4_SUPER_MAGIC): Likewise.
56231         (FUTEXFS_SUPER_MAGIC): Likewise.
56232         (HOSTFS_SUPER_MAGIC): Likewise.
56233         (HUGETLBFS_MAGIC): Likewise.
56234         (MINIX3_SUPER_MAGIC): Likewise.
56235         (MTD_INODE_FS_MAGIC): Likewise.
56236         (NILFS_SUPER_MAGIC): Likewise.
56237         (OPENPROM_SUPER_MAGIC): Likewise.
56238         (PIPEFS_MAGIC): Likewise.
56239         (PSTOREFS_MAGIC): Likewise.
56240         (QNX6_SUPER_MAGIC): Likewise.
56241         (RAMFS_MAGIC): Likewise.
56242         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56243         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56244         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56245         (SECURITYFS_MAGIC): Likewise.
56246         (SELINUX_MAGIC): Likewise.
56247         (SMACK_MAGIC): Likewise.
56248         (SOCKFS_MAGIC): Likewise.
56249         (SQUASHFS_MAGIC): Likewise.
56250         (STACK_END_MAGIC): Likewise.
56251         (TMPFS_MAGIC): Likewise.
56252         (USBDEVICE_SUPER_MAGIC): Likewise.
56253         (V9FS_MAGIC): Likewise.
56254         (XENFS_SUPER_MAGIC): Likewise.
56255         (CRAMFS_MAGIC): Fix typo in comment.
56256         (EXT2_SUPER_MAGIC): Update comment.
56257         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56259 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56261         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56262         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56263         * sysdeps/unix/sysv/linux/arm: Move directory from
56264         ports/sysdeps/unix/sysv/linux/arm.
56265         * README: Update listing for arm-*-linux-gnueabi.
56267         * README: Remove mention of am33.
56269 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56271         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56272         than the comma operator, to avoid "rhs of comma has no effect"
56273         compiler warnings.
56274         (__sigfillset, __sigandset, __sigorset): Likewise.
56275         * include/signal.h (__sigemptyset): Likewise.
56276         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56278 2014-02-07  Allan McRae  <allan@archlinux.org>
56280         * version.h (RELEASE): Set to "development".
56281         (VERSION): Set to "2.19.90"
56282         * NEWS: Add 2.20 section.
56284 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56286         [BZ #16529]
56287         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56289 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56291         * manual/contrib.texi: Update entry for Carlos O'Donell,
56292         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56294 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56296         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56298         * sysdeps/unix/sysv/linux/kernel-features.h
56299         [__LINUX_KERNEL_VERSION >= 0x020621]
56300         (__ASSUME_PROC_PID_TASK_COMM): Define.
56302 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56304         [BZ #16398]
56305         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56306         conversion when destination buffer does not have enough space.
56307         * libio/tst-ftell-partial-wide.c: New test case.
56308         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56310         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56311         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56312         Leonard and Allan McRae.
56314 2014-02-04  David S. Miller  <davem@davemloft.net>
56316         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56317         32-bit.
56319 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56322         New file
56323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56324         New file
56325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56326         New file.
56327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56328         New file.
56329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56330         New file.
56331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56332         New file.
56333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56334         New file.
56335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56336         New file.
56337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56338         New file.
56339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56340         New file.
56341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56342         New file.
56343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56344         New file.
56345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56346         New file.
56348 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56350         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56351         * shlib-versions: Likewise.
56353 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56354             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56356         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56357         (abilist-pattern): New variable, set to %-le.abilist.
56359         * Makerules (abilist-pattern): New variable.
56360         (vpath): Use $(abilist-pattern) in place of %.abilist.
56361         (check-abi-% pattern rule): Likewise.
56362         (check-abi, update-abi): Likewise.
56364 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56368 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56370         * manual/startup.texi: Add next, previous, and top entries for
56371         the `Program Arguments' and `Environment Variables' nodes.
56373 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56375         * manual/macros.texi: Add comments before MTASC-safety macros.
56377         * manual/users.texi: Document MTASC-safety properties.
56379         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56380         (pthread_getspecific, pthread_setspecific): Format with
56381         @deftypefun, and add @safety note.
56382         * manual/signal.texi: Move comments that analyze the above
56383         functions to their home place.
56385 2014-02-03  Allan McRae  <allan@archlinux.org>
56387         * po/sl.po: Update Slovenian translation from translation project.
56389 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56391         * manual/time.texi (timegm): Add missing blank after @c.
56392         Reported by Joseph Myers <joseph@codesourcery.com>.
56394 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56396         * manual/check-safety.sh: New.
56397         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56399         * manual/terminal.texi: Document MTASC-safety properties.
56401         * manual/filesys.texi: Document MTASC-safety properties.
56403         * manual/errno.texi: Document MTASC-safety properties.
56405         * manual/intro.texi: Document safety identifiers and
56406         conditionals.
56408         * manual/string.texi (wcstok): Fix prototype.
56409         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56411         * manual/time.texi: Document MTASC-safety properties.
56413         * manual/string.texi: Document MTASC-safety properties.
56415         * manual/threads.texi: Document MTASC-safety properties.
56417         * manual/stdio.texi: Document MTASC-safety properties.
56419         * manual/syslog.texi: Document MTASC-safety properties.
56421         * manual/sysinfo.texi: Document MTASC-safety properties.
56423         * manual/startup.texi: Document MTASC-safety properties.
56425         * manual/socket.texi: Document MTASC-safety properties.
56427         * manual/signal.texi: Document MTASC-safety properties.
56429 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56431         * manual/setjmp.texi: Document MTASC-safety properties.
56433         * manual/search.texi: Document MTASC-safety properties.
56435         * manual/resource.texi: Document MTASC-safety properties.
56437         * manual/process.texi: Document MTASC-safety properties.
56439         * manual/platform.texi: Document MTASC-safety properties.
56441         * manual/pipe.texi: Document MTASC-safety properties.
56443         * manual/pattern.texi: Document MTASC-safety properties.
56445         * manual/message.texi: Document MTASC-safety properties.
56447         [BZ #12751]
56448         * manual/memory.texi: Document MTASC-safety properties.
56450         * manual/math.texi: Document MTASC-safety properties.
56452         * manual/locale.texi: Document MTASC-safety properties.
56454         * manual/llio.texi: Document MTASC-safety properties.
56456         * manual/libdl.texi: New.
56458         * manual/lang.texi: Document MTASC-safety properties.
56460         * manual/job.texi: Document MTASC-safety properties.
56462         * manual/getopt.texi: Document MTASC-safety properties.
56464         * manual/ctype.texi: Document MTASC-safety properties.
56466 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56468         [BZ #16046]
56469         * csu/libc-tls.c (static_map): Remove variable.
56470         (__libc_setup_tls): Use main executable's link map for TLS data.
56471         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56472         casing for LM_ID_BASE and GL(dl_nns).
56473         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56474         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56475         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56476         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56477         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56478         member.
56479         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56480         l_phnum members.
56482 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56484         * manual/debug.texi: Document MTASC-safety properties.
56486 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56488         [BZ #16510]
56489         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56490         of __x86_64__ when disabling x87 inline functions.
56492 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56494         * manual/charset.texi: Document MTASC-safety properties.
56496         * manual/crypt.texi: Document MTASC-safety properties.
56498         * manual/conf.texi: Document MTASC-safety properties.
56500         * manual/arith.texi: Document MTASC-safety properties.
56502         * manual/argp.texi: Document MTASC-safety properties.
56504         * manual/macros.texi: Introduce macros to document multi
56505         thread, asynchronous signal and asynchronous cancellation
56506         safety properties.
56507         * manual/intro.texi: Introduce the properties themselves.
56509 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56511         * sysdeps/sh/sh4/Makefile: New file.
56513 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56515         * math/gen-libm-test.pl ($srcdir): New variable.
56516         ($auto_input): Use it.
56518 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56520         [BZ #16506]
56521         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56522         access beyond array bounds when parsing netgroups file.
56524         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56525         the old buffer before realloc.
56527 2014-01-27  Allan McRae  <allan@archlinux.org>
56529         * po/fr.po: Update French translation from translation project.
56531 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56533         * sysdeps/sh/libm-test-ulps: Regenerate.
56535 2014-01-24  David S. Miller  <davem@davemloft.net>
56537         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56539 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56541         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56542         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56544 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56546         [BZ #16474]
56547         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56548         string pointers after reallocation.
56550 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56552         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56553         __SH4A__ instead of __SH_FPU_ANY__.
56555 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56557         * sysdeps/sh/fpu_control.h: New file.
56558         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56559         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56560         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56561         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56562         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56563         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56564         * sysdeps/sh/sys/ucontext.h: Remove.
56565         * sysdeps/sh/sys: Remove directory.
56567 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56569         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56570         s390/sys/ucontext.h.
56571         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56572         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56574 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56576         [BZ #15605]
56577         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56579 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56581         [BZ #16431]
56582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56583         Adjust the vDSO correctly for internal calls.
56584         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56586 2014-01-20  Allan McRae  <allan@archlinux.org>
56588         * po/ca.po: Update Catalan translation from translation project.
56590 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56592         * sysdeps/s390/sotruss-lib.c: New file.
56594 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56596         [BZ #16430]
56597         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56598         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56599         local calls issues by not having a PLT stub required for IFUNC calls.
56600         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56602 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56604         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56605         * math/test-fpucw-static.c: Likewise.
56607 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56609         [BZ #16453]
56610         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56612 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56614         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56615         implementation for powerpc.
56617 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56619         [BZ #14782]
56620         * sysdeps/posix/system.c (__libc_system): Do not enable
56621         asynchronous cancellation.
56623 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56625         [BZ #16427]
56626         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56627         handling only for numbers special also in the IEEE case.
56629 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56631         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56633 2014-01-11  Allan McRae  <allan@archlinux.org>
56635         * po/bg.po: Update Bulgarian translation from translation project.
56637         * po/de.po: Update German translation from translation project.
56639 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56641         * sysdeps/generic/gcc-compat.h: New file.
56643 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56645         * benchtests/asin-inputs: Correct slow inputs.
56646         * benchtests/acos-inputs: Likewise.
56648 2014-01-10  Allan McRae  <allan@archlinux.org>
56650         * po:sv.po: Update Swedish translation from translation project.
56652         * po/vi.po: Update Vietnamese translation from translation project.
56654         * po/eo.po: Update Esperanto translation from translation project.
56656         * po/cs.po: Update Czech translation from translation project.
56658         * po/nl.po: Update Dutch translation from translation project.
56660         * po/pl.po: Update Polish translation from translation project.
56662         * po/ru.po: Update Russian translation from translation project.
56664         * po/uk.po: Update Ukrainian translation from translation project.
56666 2014-01-08  Brooks Moses  <bmoses@google.com>
56668         * elf/dl-load.c: Fix comment typo.
56670 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56672         * po/header.pot: Rename to...
56673         * po/pot.header: ... this.
56674         * po/Makefile: Use pot.header.
56676 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56677             Maxim Kuvyrkov  <maxim@kugelworks.com>
56679         [BZ #16394]
56680         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56681         SRC and DEST against LEN.
56683 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56685         [BZ #16414]
56686         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56687         implementation.
56688         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56690 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56694 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56696         [BZ #16408]
56697         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56698         for large positive arguments.
56700 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56702         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56704         * math/auto-libm-test-in: Mark various tests with
56705         xfail-rounding:ldbl-128ibm.
56706         * math/auto-libm-test-out: Regenerated.
56708         [BZ #16407]
56709         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56710         Increase overflow threshold.
56712 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56714         [BZ #14286]
56715         * stdio-common/vfprintf.c: Check for integer overflow.
56717 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56719         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56720         the first argument and return value of __tls_get_addr_internal.
56722 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56724         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56725         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56727 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56729         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56730         * sysdeps/s390/rtld-global-offsets.sym: New file.
56731         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56732         GLIBC_2.19 symbol.
56733         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56734         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56735         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56736         ... this.
56737         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56738         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56739         ... this.
56740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56741         Regenerate.
56742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56743         Regenerate.
56744         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56745         halfs of GPRs for high_gprs contexts.
56746         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56747         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56748         field.
56749         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56750         uc_flags field.
56751         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56752         64 bit versions:
56753         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56754         for high GPRs (uc_high_gprs) and for future extensions
56755         (__reserved).
56756         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56757         for future extensions (__reserved).
56758         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56759         64 bit versions:
56760         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56761         SC_HIGHGPRS offset definition.
56762         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56763         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56765         * Versions.def: Add GLIBC_2.19 for libpthread.
56766         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56767         siglongjmp for libpthread with GLIBC_2.19 symver.
56768         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56769         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56770         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56771         * sysdeps/s390/__longjmp.c: New file.
56772         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56773         * sysdeps/s390/longjmp.c: New file.
56774         * sysdeps/s390/setjmp.S: New file.
56775         * sysdeps/s390/sigjmp.S: New file.
56776         * sysdeps/s390/v1-longjmp.c: New file.
56777         * sysdeps/s390/v1-setjmp.h: New file.
56778         * sysdeps/s390/v1-sigjmp.c: New file.
56779         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56780         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56781         GLIBC_2.19 version.
56782         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56783         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56784         versioned symbols for ____longjmp_chk.
56785         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56786         Likewise.
56787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56788         Regenerate.
56789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56790         Regenerate.
56791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56792         Regenerate.
56793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56794         Regenerate.
56795         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56796         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56797         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56798         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56799         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56800         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56801         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56802         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56803         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56804         * sysdeps/s390/rtld-__longjmp.c: New file.
56805         * sysdeps/s390/rtld-setjmp.S: New file.
56807 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56809         [BZ #16400]
56810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56811         Return -__logl (x) for small positive arguments without evaluating
56812         a polynomial.
56814 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56816         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56817         Rename to ...
56818         (__ptrace_peeksiginfo_args): ... this.
56819         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56820         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56821         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56823 2014-01-06  Allan McRae  <allan@archlinux.org>
56825         * inet/netinet/in.h: Fix typo in comment.
56827 2014-01-05  Andreas Jaeger  <aj@suse.de>
56829         * sysdeps/i386/fpu/libm-test-ulps: Update.
56831 2014-01-05  Allan McRae  <allan@archlinux.org>
56833         * po/libc.pot: Regenerated.
56835         * malloc/memusagestat.c: Fix gettext call formatting.
56837 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56839         * nscd/nscd.c: Improve usage() output.
56841 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56843         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56844         * sysdeps/unix/sysv/linux/configure: Regenerated.
56845         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56846         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56848 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56850         [BZ #16390]
56851         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56852         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56854 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56856         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56857         extra tokens at end of #undef directive.
56858         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56859         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56860         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56862 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56864         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56866         * math/auto-libm-test-in: Mark various tests with
56867         xfail-rounding:ldbl-128ibm.
56868         * math/auto-libm-test-out: Regenerated.
56870 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56872         [BZ #16386]
56873         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56874         numbers with subnormal high part when calculating exponent.
56876         [BZ #16385]
56877         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56878         fabs.
56880         [BZ #16384]
56881         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56882         M_LN2l.
56883         (__ieee754_acoshl): Use __log1pl not __log1p.
56885 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56887         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56888         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56889         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56890         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56891         (reused_arena, arena_get2): Convert to GNU style.
56892         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56893         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56894         (memalign_check, __malloc_set_state): Likewise.
56895         * malloc/mallocbug.c (main): Likewise.
56896         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56897         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56898         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56899         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56900         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56901         (__posix_memalign, malloc_info): Likewise.
56902         * malloc/malloc.h: Likewise.
56903         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56904         (mallochook, memalignhook, reallochook, mabort): Likewise.
56905         * malloc/mcheck.h: Likewise.
56906         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56907         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56908         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56909         * malloc/morecore.c (__default_morecore): Likewise.
56910         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56911         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56912         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56913         (print_and_abort): Likewise.
56914         * malloc/obstack.h: Likewise.
56915         * malloc/set-freeres.c (__libc_freeres): Likewise.
56916         * malloc/tst-mallocstate.c (main): Likewise.
56917         * malloc/tst-mtrace.c (main): Likewise.
56918         * malloc/tst-realloc.c (do_test): Likewise.
56920 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56922         [BZ #16366]
56923         * nscd/netgroupcache.c (do_notfound): New function.
56924         (addgetnetgrentX): Use it.
56926         [BZ # 16365]
56927         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56928         NSS_STATUS_NOTFOUND.
56930 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56932         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56935 2014-01-01  Allan McRae  <allan@archlinux.org>
56937         * scripts/update-copyrights: Update configure input file suffix.
56939         * NEWS: Update copyright year.
56940         * catgets/gencat.c: Likewise.
56941         * csu/version.c: Likewise.
56942         * debug/catchsegv.sh: Likewise.
56943         * debug/pcprofiledump.c: Likewise.
56944         * debug/xtrace.sh: Likewise.
56945         * elf/ldconfig.c: Likewise.
56946         * elf/ldd.bash.in: Likewise.
56947         * elf/pldd.c: Likewise.
56948         * elf/sotruss.ksh: Likewise.
56949         * elf/sprof.c: Likewise.
56950         * iconv/iconv_prog.c: Likewise.
56951         * iconv/iconvconfig.c: Likewise.
56952         * locale/programs/locale.c: Likewise.
56953         * locale/programs/localedef.c: Likewise.
56954         * login/programs/pt_chown.c: Likewise.
56955         * malloc/memusage.sh: Likewise.
56956         * malloc/memusagestat.c: Likewise.
56957         * malloc/mtrace.pl: Likewise.
56958         * manual/libc.texinfo: Likewise.
56959         * nscd/nscd.c: Likewise.
56960         * nss/getent.c: Likewise.
56961         * nss/makedb.c: Likewise.
56962         * posix/getconf.c: Likewise.
56963         * scripts/test-installation.pl: Likewise.
56965         * All files with FSF copyright notices: Update copyright dates
56966         using scripts/update-copyrights.
56967         * intl/plural.c: Regenerated.
56968         * locale/programs/charmap-kw.h: Likewise.
56969         * locale/programs/locfile-kw.h: Likewise.
56971 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56973         * sysdeps/unix/sysv/linux/configure: Regenerated.
56974         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56975         the linux/fanotify.h header.
56976         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56977         HAVE_LINUX_FANOTIFY_H is defined.
56979 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56981         * benchtests/cos-inputs: New inputs.
56982         * benchtests/sin-inputs: Likewise.
56984         * benchtests/atan-inputs: New inputs. Fix name of multiple
56985         precision fallback inputs.
56987         * benchtests/atanh-inputs: New inputs.
56988         * benchtests/tanh-inputs: Likewise.
56990         * benchtests/acosh-inputs: New inputs.
56991         * benchtests/asinh-inputs: Likewise.
56993         * benchtests/cosh-inputs: New inputs.
56994         * benchtests/sinh-inputs: Likewise.
56996         * benchtests/acos-inputs: Add more inputs.
56997         * benchtests/asin-inputs: Likewise.
56999 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57001         [BZ #16375]
57002         * manual/arith.texi: Fix spelling.
57003         * manual/charset.texi: Likewise.
57004         * manual/errno.texi: Likewise.
57005         * manual/filesys.texi: Likewise.
57006         * manual/lang.texi: Likewise.
57007         * manual/llio.texi: Likewise.
57008         * manual/locale.texi: Likewise.
57009         * manual/message.texi: Likewise.
57010         * manual/resource.texi: Likewise.
57011         * manual/search.texi: Likewise.
57012         * manual/setjmp.texi: Likewise.
57013         * manual/stdio.texi: Likewise.
57014         * manual/string.texi: Likewise.
57015         * manual/sysinfo.texi: Likewise.
57016         * manual/time.texi: Likewise.
57018 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57020         * po/sl.po: New file.
57022 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57024         * .gitignore: Add core/.gdbinit/.gdb_history.
57026 2013-12-27  Allan McRae  <allan@archlinux.org>
57028         [BZ #16369]
57029         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57030         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57032 2013-12-24  Brooks Moses  <bmoses@google.com>
57034         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57035         all compilers that claim C++98 compliance, not just GCC.
57036         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57037         Likewise.
57039 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57041         * NEWS: Restore accidentally deleted bug-fix entries.
57043 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57044             Ondřej Bílka  <neleai@seznam.cz>
57046         [BZ #15073]
57047         * malloc/malloc.c (_int_free): Perform sanity check only if we
57048         have_lock.
57050 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57052         [BZ #12986]
57053         * manual/stdio.texi (String Input Conversions): Clarify that character
57054         classes are not supported.
57056 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57060 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57062         [BZ #16337]
57063         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57064         Calculate results for small negative arguments directly rather
57065         than using reflection formula with special underflow handling.
57067         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57068         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57069         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57070         (fchflags): Likewise.
57071         (revoke): Likewise.
57072         (setlogin): Likewise.
57073         (sigaltstack): Likewise.
57074         (wait4): Likewise.
57075         (sigblock): Remove.
57076         (sigsetmask): Likewise.
57077         (wait3): Likewise.
57078         (waitpid): Likewise.
57079         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57080         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57081         file.
57082         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57083         * sysdeps/unix/bsd/Makefile: ... here.
57084         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57085         * sysdeps/unix/bsd/Versions: ... here.
57086         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57087         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57088         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57089         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57090         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57091         * sysdeps/unix/bsd/sigblock.c: ... here.
57092         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57093         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57094         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57095         * sysdeps/unix/bsd/sigvec.c: ... here.
57096         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57097         * sysdeps/unix/bsd/tcdrain.c: ... here.
57098         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57099         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57100         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57101         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57102         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57103         * sysdeps/unix/bsd/wait.c: ... here.
57104         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57105         * sysdeps/unix/bsd/wait3.c: ... here.
57106         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57107         * sysdeps/unix/bsd/waitpid.c: ... here.
57109 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57111         [BZ #16356]
57112         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57113         round-to-nearest for [!USE_AS_EXPM1L].
57114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57115         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57116         more tests of exp and exp10.  Expect some exp10 tests to miss
57117         exceptions or fail in directed rounding modes.
57118         * math/auto-libm-test-out: Regenerated.
57119         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57120         (exp10_test_tonearest): New function.
57121         (exp10_towardzero_test_data): New array.
57122         (exp10_test_towardzero): New function.
57123         (exp10_downward_test_data): New array.
57124         (exp10_test_downward): New function.
57125         (exp10_upward_test_data): New array.
57126         (exp10_test_upward): New function.
57127         (main): Call the new functions.
57128         * sysdeps/i386/fpu/libm-test-ulps: Update.
57129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57131 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57133         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57134         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57135         * math/auto-libm-test-out: Regenerated.
57136         * math/libm-test.inc (acosh_test_data): Add more tests.
57137         (atanh_test_data): Likewise.
57138         (ceil_test_data): Likewise.
57139         (copysign_test_data): Likewise.
57140         * sysdeps/i386/fpu/libm-test-ulps: Update.
57141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57143         * timezone/checktab.awk: Update from tzcode 2013i.
57144         * timezone/private.h: Likewise.
57145         * timezone/scheck.c: Likewise.
57146         * timezone/tzfile.h: Likewise.
57147         * timezone/tzselect.ksh: Likewise.
57148         * timezone/zdump.c: Likewise.
57149         * timezone/zic.c: Likewise.
57151         * math/auto-libm-test-in: Add tests of cpow.
57152         * math/auto-libm-test-out: Regenerated.
57153         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57154         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57155         mpc_cc_c.
57156         (func_calc_desc): Add mpc_cc_c union field.
57157         (test_functions): Add cpow.
57158         (special_fill_2pi): New function.
57159         (special_real_inputs): Add 2pi.
57160         (calc_generic_results): Handle mpc_cc_c.
57161         * sysdeps/i386/fpu/libm-test-ulps: Update.
57162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57164         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57165         csqrt, ctan and ctanh.
57166         * math/auto-libm-test-out: Regenerated.
57167         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57168         (TEST_COND_x86): Likewise.
57169         (ccos_test_data): Use AUTO_TESTS_c_c.
57170         (ccosh_test_data): Likewise.
57171         (cexp_test_data): Likewise.
57172         (clog_test_data): Likewise.
57173         (csqrt_test_data): Likewise.
57174         (ctan_test_data): Likewise.
57175         (ctan_tonearest_test_data): Likewise.
57176         (ctan_towardzero_test_data): Likewise.
57177         (ctan_downward_test_data): Likewise.
57178         (ctan_upward_test_data): Likewise.
57179         (ctanh_test_data): Likewise.
57180         (ctanh_tonearest_test_data): Likewise.
57181         (ctanh_towardzero_test_data): Likewise.
57182         (ctanh_downward_test_data): Likewise.
57183         (ctanh_upward_test_data): Likewise.
57184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57185         mpc_c_c.
57186         (func_calc_desc): Add mpc_c_c union field.
57187         (FUNC_mpc_c_c): New macro.
57188         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57189         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57190         ctanh.
57191         (special_fill_min_subnorm_p120): New function.
57192         (special_real_inputs): Add min_subnorm_p120.
57193         (calc_generic_results): Handle mpc_c_c.
57194         * sysdeps/i386/fpu/libm-test-ulps: Update.
57195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57197 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57199         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57200         (do_sin_slow): New functions.
57201         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57202         (cslow2, csloww1, csloww2): Use the new functions.
57204         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57205         Use M to change sign of result instead of X.  Assume X is
57206         positive.
57207         (csloww1): Likewise.
57208         (__sin): Adjust.
57209         (__cos): Adjust.
57211         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57212         arguments A and DA.
57213         (__sin): Adjust.
57214         (__cos): Likewise.
57216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57217         (__cos): Likewise.
57218         (sloww1): Don't adjust sign of DX.
57219         (csloww1): Likewise.
57220         (sloww2): Use X directly and don't adjust sign of DX.
57221         (csloww2): Likewise.
57223 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57225         * math/auto-libm-test-in: Add tests of cabs and carg.
57226         * math/auto-libm-test-out: Regenerated.
57227         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57228         (carg_test_data): Likewise.
57229         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57230         mpc_c_f.
57231         (func_calc_desc): Add mpc_c_f union field.
57232         (test_functions): Add cabs and carg.
57233         (calc_generic_results): Handle mpc_c_f.
57235         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57236         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57237         as a macro and a compat symbol.
57238         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57239         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57240         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57241         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57242         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57243         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57244         not use .hidden.
57245         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57246         Likewise.
57247         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57248         Likewise.
57249         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57250         Likewise.
57251         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57252         Likewise.
57253         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57254         Likewise.
57255         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57256         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57257         from GLIBC_2.3.2.
57259 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57263 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57265         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57266         trailing whitespace removed.
57267         * scripts/config.guess: Update to version 2013-11-29.
57268         * scripts/config.sub: Update to version 2013-10-01.
57270         * math/auto-libm-test-in: Add tests of sincos.
57271         * math/auto-libm-test-out: Regenerated.
57272         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57273         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57274         mpfr_f_11.
57275         (func_calc_desc): Add mpfr_f_11 union field.
57276         (test_functions): Add sincos.
57277         (calc_generic_results): Handle mpfr_f_11.
57278         * sysdeps/i386/fpu/libm-test-ulps: Update.
57279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57281 2013-12-19  Andreas Schwab  <schwab@suse.de>
57283         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57284         CALL_MCOUNT.
57285         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57286         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57287         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57289 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57291         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57292         * sysdeps/i386/fpu/libm-test-ulps: Update.
57293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57295         [BZ #16293]
57296         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57297         round-to-nearest mode when using frndint.
57298         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57299         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57300         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57301         Likewise.
57302         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57303         sinh test to fail.
57304         * math/auto-libm-test-out: Regenerated.
57305         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57306         (TEST_COND_x86): Likewise.
57307         (expm1_tonearest_test_data): New array.
57308         (expm1_test_tonearest): New function.
57309         (expm1_towardzero_test_data): New array.
57310         (expm1_test_towardzero): New function.
57311         (expm1_downward_test_data): New array.
57312         (expm1_test_downward): New function.
57313         (expm1_upward_test_data): New array.
57314         (expm1_test_upward): New function.
57315         (main): Run the new test functions.
57316         * sysdeps/i386/fpu/libm-test-ulps: Update.
57317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57319         * include/features.h: Update comment documenting feature test
57320         macros.  Mention _DEFAULT_SOURCE in comment.
57321         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57322         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57323         _BSD_SOURCE and _SVID_SOURCE.
57324         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57325         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57326         !_SVID_SOURCE]: Likewise.
57327         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57328         (__USE_POSIX_IMPLICITLY): Define.
57329         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57330         (_POSIX_SOURCE): Undefine and redefine.
57331         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57332         (_POSIX_C_SOURCE): Likewise.
57333         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57334         (Feature Test Macros): Update documentation of default features.
57336 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57338         * benchtests/Makefile: Add bench-strtok.
57339         * benchtests/bench-strtok.c: New file: strtok benchtest.
57341 2013-12-19  Allan McRae  <allan@archlinux.org>
57343         * manual/install.texi: Suppress menu for plain text output.
57344         * INSTALL: Regenerated.
57346 2013-12-18  Brooks Moses  <bmoses@google.com>
57348         [BZ #15846]
57349         * misc/getauxval.c: Include errno.h.
57350         (__getauxval): Set errno to ENOENT if the requested type is not
57351         found.
57352         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57353         don't declare with __attribute_const__.
57354         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57355         * manual/startup.texi: Document that getauxval sets errno.
57357 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57359         * math/auto-libm-test-in: Add tests of jn and yn.
57360         * math/auto-libm-test-out: Regenerated.
57361         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57362         (yn_test_data): Likewise.
57363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57364         mpfr_if_f.
57365         (func_calc_desc): Add mpfr_if_f union field.
57366         (FUNC_mpfr_if_f): New macro.
57367         (test_functions): Add jn and yn.
57368         (calc_generic_results): Assert type of second input for
57369         mpfr_ff_f.  Handle mpfr_if_f.
57370         (output_for_one_input_case): Disable all checking for arguments
57371         fitting floating-point types in case of an integer argument.
57372         * sysdeps/i386/fpu/libm-test-ulps: Update.
57373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57376         Don't expect fegetround reference in libm.so.
57378 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57380         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57381         $(config-cflags-nofma).
57383 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57385         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57386         * math/auto-libm-test-out: Regenerated.
57388         [BZ #16338]
57389         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57390         to determine exponent and adjust argument to have exponent of -1.
57391         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57392         log2.
57393         * math/auto-libm-test-out: Regenerated.
57394         * sysdeps/i386/fpu/libm-test-ulps: Update.
57395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57397 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57399         * manual/probes.texi: Remove cases when per-thread arenas are
57400         disabled.
57402 2013-12-18  Andreas Schwab  <schwab@suse.de>
57404         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57405         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57406         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57407         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57408         * sysdeps/i386/i686/multiarch/Makefile: Update.
57409         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57411 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57413         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57414         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57416 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57418         [BZ #15968]
57419         Support TZ transition times < 00:00:00.
57420         This is needed for version-3 tz-format files; it supports time
57421         stamps past 2037 for America/Godthab (the only entry in the tz
57422         database for which this change is relevant).
57423         * manual/time.texi (TZ Variable): Document transition times
57424         from -167:59:59 through -00:00:01.
57425         * time/tzset.c (tz_rule): Time of day is now signed.
57426         (__tzset_parse_tz): Parse negative time of day.
57428         Document TZ transition times >= 25:00:00.
57429         * manual/time.texi (TZ Variable): Document transition times from
57430         25:00:00 through 167:59:59.  These are already supported, and this
57431         support will help with version-3 tz-format files.
57433         * manual/time.texi (TZ Variable): Modernize North America example
57434         to reflect current (i.e., 2007-and-later) daylight saving rules.
57436         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57438 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57440         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57441         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57442         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57443         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57444         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57445         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57446         * sysdeps/unix/bsd/clock.c: Likewise.
57447         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57448         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57449         * sysdeps/unix/bsd/init-posix.c: Likewise.
57450         * sysdeps/unix/bsd/poll.c: Likewise.
57451         * sysdeps/unix/bsd/ptsname.c: Likewise.
57452         * sysdeps/unix/bsd/seekdir.c: Likewise.
57453         * sysdeps/unix/bsd/setegid.c: Likewise.
57454         * sysdeps/unix/bsd/seteuid.c: Likewise.
57455         * sysdeps/unix/bsd/setgid.c: Likewise.
57456         * sysdeps/unix/bsd/setrgid.c: Likewise.
57457         * sysdeps/unix/bsd/setruid.c: Likewise.
57458         * sysdeps/unix/bsd/setsid.c: Likewise.
57459         * sysdeps/unix/bsd/setuid.c: Likewise.
57460         * sysdeps/unix/bsd/sigaction.c: Likewise.
57461         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57462         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57463         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57464         * sysdeps/unix/bsd/telldir.c: Likewise.
57465         * sysdeps/unix/bsd/times.c: Likewise.
57466         * sysdeps/unix/bsd/usleep.c: Likewise.
57468         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57469         ($(objpfx)libbsd-compat.a): Remove rule.
57471         * include/features.h (__FAVOR_BSD): Do not define.
57472         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57473         features conflicting with POSIX.
57474         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57475         (_BSD_SOURCE): Remove description of not being a subset of other
57476         feature test macros.
57477         * manual/job.texi (getpgrp): Do not document BSD version.
57478         (getpgid): Do not document by reference to BSD getpgrp.
57479         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57480         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57481         * signal/signal.h [__FAVOR_BSD]: Likewise.
57482         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57483         instead of making contents conditional on [__FAVOR_BSD].
57484         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57486 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57490 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57492         [BZ #16314]
57493         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57494         values below 2**-450, not 2**-500.
57495         * math/auto-libm-test-in: Don't allow spurious underflow from
57496         hypot.
57497         * math/auto-libm-test-out: Regenerated.
57499         [BZ #16316]
57500         [BZ #16330]
57501         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57502         values of ha and hb and sort them after adjusting subnormal
57503         arguments.
57504         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57505         Likewise.
57506         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57507         values of ea and eb and sort them after adjusting subnormal
57508         arguments.
57509         * math/auto-libm-test-in: Do not expect some hypot tests of
57510         subnormals to fail.  Add more hypot tests.
57511         * math/auto-libm-test-out: Regenerated.
57513 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57515         [BZ #13304]
57516         * sysdeps/sh/s_fma.c: New file.
57517         * sysdeps/sh/s_fmaf.c: New file.
57518         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57519         version.
57520         * sysdeps/sh/Implies: Add sh/soft-fp.
57522 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57524         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57525         level of indirection to members `objname', `errstring', `malloced'.
57526         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57527         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57528         it as the __longjmp argument (just pass 1 instead).
57529         (_dl_catch_error): Initialize C with argument pointers and address of
57530         volatile local ERRCODE rather than copying values out of C at return.
57532 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57534         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57535         * math/auto-libm-test-out: Regenerated.
57536         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57537         (hypot_test_data): Likewise.
57538         (pow_test_data): Likewise.
57539         (pow_tonearest_test_data): Likewise.
57540         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57541         mpfr_ff_f.
57542         (func_calc_desc): Add mpfr_ff_f union field.
57543         (FUNC_mpfr_ff_f): New macro.
57544         (test_functions): Add atan2, hypot and pow.
57545         (special_fill_min): New function.
57546         (special_fill_minus_min): Likewise.
57547         (special_fill_min_subnorm): Likewise.
57548         (special_fill_minus_min_subnorm): Likewise.
57549         (special_real_inputs): Add min, -min, min_subnorm and
57550         -min_subnorm.
57551         (calc_generic_results): Handle mpfr_ff_f.
57552         * sysdeps/i386/fpu/libm-test-ulps: Update.
57553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57555 2013-12-16  Will Newton  <will.newton@linaro.org>
57557         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57558         (Aligned Memory Blocks): Add documentation for aligned_alloc
57559         and suggest it as an alternative to posix_memalign.
57560         (Hooks for Malloc): Document __memalign_hook is also called
57561         for aligned_alloc.  (Summary of Malloc): Add summary for
57562         aligned alloc.  Document __memalign_hook is also called
57563         for aligned_alloc.
57565 2013-12-16  Will Newton  <will.newton@linaro.org>
57567         * manual/memory.texi (Malloc Examples): Clarify default
57568         alignment documentation.  Suggest posix_memalign rather
57569         than memalign or valloc.
57570         (Aligned Memory Blocks): Remove suggestion to use memalign
57571         or valloc.  Remove obsolete comment about BSD.
57572         Document memalign errno values and mark the function obsolete.
57573         Document posix_memalign returned error codes.  Mark valloc
57574         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57575         called for posix_memalign and valloc.
57576         (Summary of Malloc): Add posix_memalign to function summary.
57577         __memalign_hook is also called for posix_memalign and valloc.
57579 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57581         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57582         TAYLOR_SIN.
57583         (__sin): Adjust.
57584         (__cos): Likewise.
57585         (sloww): Use mynumber union.  Expand ternary operator into
57586         if-else statements.
57587         (cslow): use mynumber union.
57589 2013-12-16  Allan McRae  <allan@archlinux.org>
57591         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57592         * configure: Regenerated.
57594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57596         [BZ #14120]
57597         * configure.ac: Added --enable-maintainer-mode. Check for
57598         autoconf when enabled.
57599         * configure: Regenerated.
57601         * nscd/nscd.service: New file.
57602         * nscd/nscd.tmpfiles: New file.
57604 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57606         [BZ #12100]
57607         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57608         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57609         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57610         (strstr): Add __strstr_sse2_unaligned ifunc.
57611         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57612         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57613         (strcasestr): Remove __strcasestr_sse42 ifunc.
57614         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57618 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57620         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57621         * sysdeps/sh/bits/fenv.h: ... here.
57622         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57624 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57626         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57629         hypotf multiarch implementations.
57630         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57631         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57632         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57633         multiarch hypot for PPC64.
57634         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57635         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57637         multiarch hypotf for PPC64.
57639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57640         modff multiarch implementations.
57641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57644         multiarch modf for PPC64.
57645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57648         multiarch modff for PPC64.
57650         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57651         and logl multiarch implementations.
57652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57655         multiarch logb for PPC64.
57656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57659         multiarch logb for PPC64.
57660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57663         multiarch logb for PPC64.
57665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57666         isinff multiarch implementation.
57667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57668         file.
57669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57671         multiarch isinf for PPC64.
57672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57673         file.
57674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57675         multiarch isinff for PPC64.
57677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57678         finitef multiarch implementation.
57679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57680         file.
57681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57683         multiarch finite for PPC64.
57684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57685         file.
57686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57687         multiarch finitef for PPC64.
57689         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57690         lrint multiarch implementation.
57691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57692         file.
57693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57695         multiarch llrint for PPC64.
57696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57697         multiarch lrint for PPC64.
57699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57700         copysignf multiarch implementation.
57701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57702         file.
57703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57704         file.
57705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57706         multiarch copysign for PPC64.
57707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57708         multiarch copysignf for PPC64.
57710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57711         multiarch implementation.
57712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57713         file.
57714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57715         file.
57716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57717         file.
57718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57719         file.
57720         multiarch llround for PPC64.
57721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57722         multiarch trunc for PPC64.
57723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57724         multiarch truncf for PPC64.
57726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57727         multiarch implementation.
57728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57729         file.
57730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57731         file.
57732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57733         file.
57734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57735         file.
57736         multiarch llround for PPC64.
57737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57738         multiarch round for PPC64.
57739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57740         multiarch roundf for PPC64.
57742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57743         multiarch implementation.
57744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57745         file.
57746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57747         file.
57748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57749         file.
57750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57751         file.
57752         multiarch llround for PPC64.
57753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57754         multiarch floor for PPC64.
57755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57756         multiarch floorf for PPC64.
57758         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57759         multiarch implementation.
57760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57761         file.
57762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57763         file.
57764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57765         file.
57766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57767         file.
57768         multiarch llround for PPC64.
57769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57770         multiarch ceil for PPC64.
57771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57772         multiarch ceilf for PPC64.
57774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57775         multiarch implementation.
57776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57777         file.
57778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57779         file.
57780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57781         file.
57782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57783         multiarch llround for PPC64.
57784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57785         multiarch lround for PPC64.
57787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57788         multiarch implementation.
57789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57792         file.
57793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57796         multiarch isnan for PPC64.
57797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57798         multiarch isnanf for PPC64.
57800         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57801         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57802         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57803         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57804         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57807         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57808         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57809         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57813         multiarch implementations.
57814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57815         (__libc_ifunc_impl_list): Likewise.
57816         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57817         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57818         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57819         multiarch stpcpy for PPC64.
57821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57822         multiarch implementations.
57823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57824         (__libc_ifunc_impl_list): Likewise.
57825         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57826         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57827         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57828         multiarch strcpy for PPC64.
57830         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57831         redefine function name.
57832         (_wordcopy_fwd_dest_aligned): Likewise.
57833         (_wordcopy_bwd_aligned): Likewise.
57834         (_wordcopy_bwd_dest_aligned): Likewise.
57835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57836         multiarch implementations.
57837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57838         (__libc_ifunc_impl_list): Likewise.
57839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57840         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57841         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57842         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57843         multiarch wcscpy for PPC64.
57845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57846         multiarch implementations.
57847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57848         (__libc_ifunc_impl_list): Likewise.
57849         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57850         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57851         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57852         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57853         multiarch wcscpy for PPC64.
57855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57856         multiarch implementations.
57857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57858         (__libc_ifunc_impl_list): Likewise.
57859         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57860         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57861         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57862         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57863         multiarch wcsrchr for PPC64.
57865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57866         multiarch implementations.
57867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57868         (__libc_ifunc_impl_list): Likewise.
57869         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57870         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57871         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57872         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57873         multiarch wcschr for PPC64.
57875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57876         multiarch implementations.
57877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57878         (__libc_ifunc_impl_list): Likewise.
57879         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57880         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57881         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57882         multiarch strchrnul for PPC64.
57884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57885         implementations.
57886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57887         (__libc_ifunc_impl_list): Likewise.
57888         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57889         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57890         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57891         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57892         strchr for PPC64.
57894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57895         implementations.
57896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57897         (__libc_ifunc_impl_list): Likewise.
57898         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57899         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57900         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57901         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57902         strncmp for PPC64.
57904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57905         multiarch implementations.
57906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57907         (__libc_ifunc_impl_list): Likewise.
57908         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57909         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57910         strncasecmp for PPC64.
57911         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57912         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57913         multiarch strncasecmp_l for PPC64.
57915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57916         multiarch implementations.
57917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57918         (__libc_ifunc_impl_list): Likewise.
57919         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57920         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57921         multiarch strcasecmp for PPC64.
57922         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57923         file.
57924         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57925         multiarch strcasecmp_l for PPC64.
57927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57928         implementations.
57929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57930         (__libc_ifunc_impl_list): Likewise.
57931         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57932         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57933         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57934         strnlen for PPC64.
57936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57937         implementations.
57938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57939         (__libc_ifunc_impl_list): Likewise.
57940         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57941         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57942         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57943         strlen for PPC64.
57945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57946         implementations.
57947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57948         (__libc_ifunc_impl_list): Likewise.
57949         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57950         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57951         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57952         rawmemrchr for PPC64.
57954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57955         implementation.
57956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57957         (__libc_ifunc_impl_list): Likewise.
57958         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57959         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57960         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57961         memrchr for PPC64.
57963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57964         implementation.
57965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57966         (__libc_ifunc_impl_list): Likewise.
57967         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57968         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57969         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57970         memchr for PPC64.
57972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57973         implementation.
57974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57975         (__libc_ifunc_impl_list): Likewise.
57976         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57977         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57978         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57979         mempcpy for PPC64.
57981         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57982         avoid cretion of __bzero symbol.
57983         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57984         Likewise.
57985         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57986         Likewise.
57987         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57988         Likewise.
57989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57990         multiarch implementations.
57991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57992         (__libc_ifunc_impl_list): Likewise.
57993         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57994         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57995         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57996         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57997         bzero for PPC32.
57998         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57999         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58000         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58001         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58002         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58003         memset for PPC64.
58004         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58006         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58008         implementations.
58009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58010         (__libc_ifunc_impl_list): Likewise.
58011         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58012         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58013         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58014         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58015         memcmp for PPC64.
58017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58018         multiarch for POWER/PPC64.
58019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58020         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58021         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58022         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58023         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58024         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58025         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58026         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58027         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58028         memcpy for PPC64.
58030         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58031         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58032         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58033         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58034         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58035         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58036         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58037         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58038         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58039         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58040         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58041         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58042         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58043         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58044         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58053 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58055         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58057 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58059         * benchtests/Makefile (bench): Add exp2 and log2.
58060         (LDLIBS-bench-exp2): Add -lm.
58061         (LDLIBS-bench-log2): Likewise.
58062         * benchtests/exp2-inputs: New inputs file.
58063         * benchtests/log2-inputs: New inputs file.
58064         * benchtests/log-inputs: Add new inputs.
58065         * benchtests/tan-inputs: Likewise.
58067 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58069         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58070         definition...
58071         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58072         (csloww2): ... from here.
58074         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58075         instead of structures.
58076         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58077         (POLYNOMIAL): Likewise.
58078         (TAYLOR_SLOW): Likewise.
58079         (__sin): Likewise.
58080         (__cos): Likewise.
58081         (slow1): Likewise.
58082         (slow2): Likewise.
58083         (sloww): Likewise.
58084         (sloww1); Likewise.
58085         (sloww2): Likewise.
58086         (bsloww1): Likewise.
58087         (bsloww2): Likewise.
58088         (cslow2): Likewise.
58089         (csloww): Likewise.
58090         (csloww1): Likewise.
58091         (csloww2): Likewise.
58093 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58095         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58096         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58097         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58098         * malloc/hooks.c (realloc_check): Likewise.
58100         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58101         * malloc/arena.c: Remove PER_THREAD conditional.
58102         [!PER_THREAD]: Remove code.
58103         (ptmalloc_unlock_all2): Likewise.
58104         (ptmalloc_init): Likewise.
58105         (_int_new_arena): Likewise.
58106         (arena_get2): Likewise.
58107         * malloc/hooks.c (__malloc_get_state): Likewise.
58108         (__malloc_set_state): Likewise.
58109         * malloc/malloc.c: Likewise.
58110         (struct malloc_state): Likewise.
58111         (struct malloc_par): Likewise.
58112         (__libc_realloc): Likewise.
58113         (__libc_mallopt): Likewise.
58115 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58117         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58119 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58121         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58122         macro to a function.  Check for zero perturb_byte.
58123         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58125         * malloc/malloc.c: (force_reg): Remove.
58126         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58127         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58128         force_reg by atomic_forced_read.
58129         * malloc/arena.c (ptmalloc_init): Likewise.
58130         * malloc/hooks.c (top_check): Likewise.
58132 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58136 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58140 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58142         * math/auto-libm-test-in: Add tests of lgamma.
58143         * math/auto-libm-test-out: Regenerated.
58144         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58145         (M_LOG_2_SQRT_PIl): Likewise.
58146         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58147         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58148         mpfr_f_f1.
58149         (func_calc_desc): Add mpfr_f_f1 union field.
58150         (ARGS1): New macro.
58151         (ARGS2): Likewise.
58152         (ARGS3): Likewise.
58153         (ARGS4): Likewise.
58154         (RET1): Likewise.
58155         (RET2): Likewise.
58156         (CALC): Likewise.
58157         (FUNC): Likewise.
58158         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58159         (test_functions): Add lgamma.
58160         (calc_generic_results): Handle mpfr_f_f1.
58161         * sysdeps/i386/fpu/libm-test-ulps: Update.
58162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58164 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58166         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58167         __mpn_add_n for PowerPC64/POWER7.
58168         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58169         __mpn_sub_n for PowerPC64/POWER7.
58171         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58172         __mpn_addmul_1 for PowerPC64.
58173         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58174         __mpn_submul_1 for PowerPC64.
58175         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58176         for PowerPC64.
58177         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58178         for PowerPC64.
58180 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58182         [BZ #15089]
58183         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58185 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58187         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58189         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58190         add multiarch folders.
58191         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58192         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58193         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58194         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58195         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58196         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58197         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58198         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58199         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58200         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58201         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58210         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58212         New file.
58213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58214         New file.
58215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58216         multiarch __ieee754_hypot for PowerPC32.
58217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58218         New file.
58219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58220         New file.
58221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58222         multiarch __ieee754_hypotf for PowerPC32.
58224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58225         long_double_symbol only if __logbl is defined.
58226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58227         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58228         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58229         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58230         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58231         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58232         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58233         path for implementation.
58234         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58235         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58237         logb, and logbl multiarch implementations for PowerPC32.
58238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58239         file.
58240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58241         file.
58242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58243         multiarch logb for PowerPC32.
58244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58245         file.
58246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58247         file.
58248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58249         multiarch logbf for PowerPC32.
58250         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58252         file.
58253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58254         multiarch logbl implementation for PowerPC32.
58256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58257         and modff multiarch implementations.
58258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58259         New file.
58260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58261         New file.
58262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58263         multiarch modf for PowerPC32.
58264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58265         New file.
58266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58267         New file.
58268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58269         multiarch modff for PowerPC32.
58271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58272         and lrintf multiarch implementations.
58273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58274         New file.
58275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58276         New file.
58277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58278         multiarch lrint for PowerPC32.
58279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58280         file: multiarch lrintf for PowerPC32.
58282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58283         and lroundf multiarch implementations.
58284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58285         New file.
58286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58287         New file.
58288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58289         New file.
58290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58291         multiarch lround for PowerPC32.
58292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58293         file: multiarch lroundf for PowerPC32.
58295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58296         copysign and copysignf multiarch implementations.
58297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58298         New file.
58299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58300         New file.
58301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58302         file: multiarch copysign for PowerPC32.
58303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58304         file: multiarch copysignf for PowerPC32.
58306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58307         and truncf multiarch implementations.
58308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58309         New file.
58310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58311         file.
58312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58313         multiarch trunc for PowerPC32.
58314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58315         New file.
58316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58317         New file.
58318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58319         multiarch truncf for PowerPC32.
58321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58322         and roundf multiarch implementations.
58323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58324         New file.
58325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58326         file.
58327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58328         multiarch round for PowerPC32.
58329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58330         New file.
58331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58332         New file.
58333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58334         multiarch roundf for PowerPC32.
58336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58337         and floorf multiarch implementations.
58338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58339         New file.
58340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58341         file.
58342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58343         multiarch floor for PowerPC32.
58344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58345         New file.
58346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58347         New file.
58348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58349         multiarch floorf for PowerPC32.
58351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58352         and ceilf multiarch implementations.
58353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58354         New file.
58355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58356         file.
58357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58358         multiarch ceil for PowerPC32.
58359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58360         New file.
58361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58362         file.
58363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58364         multiarch ceilf for PowerPC32.
58366         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58367         is defined.
58368         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58369         FINITEF is defined.
58370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58371         and finitef multiarch implementations.
58372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58373         New file.
58374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58375         file.
58376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58377         multiarch finite for PowerPC32.
58378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58379         New file.
58380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58381         file: multiarch finitef for PowerPC32.
58383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58384         and isinff multiarch implementations.
58385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58386         file.
58387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58388         file.
58389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58390         multiarch isinf for PowerPC32.
58391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58392         New file.
58393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58394         multiarch isinff for PowerPC32.
58396         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58397         alias when __isnan is defined.
58398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58399         and isnanf multiarch implementations.
58400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58401         file.
58402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58403         file.
58404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58405         file.
58406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58407         file.
58408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58409         multiarch isnan for PowerPC32.
58410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58411         New file.
58412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58413         New file.
58414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58415         multiarch isnanf for PowerPC32.
58417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58418         and sqrtf multiarch implementations.
58419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58420         file.
58421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58422         file.
58423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58424         multiarch sqrt for PowerPC32.
58425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58426         file.
58427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58428         file.
58429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58430         multiarch sqrtf for PowerPC32.
58432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58433         and llroundf multiarch implementations.
58434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58435         New file.
58436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58437         New file.
58438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58439         New file.
58440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58441         file: multiarch llround for PowerPC32.
58442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58443         file: multiarch llroundf for PowerPC32.
58445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58446         multiarch PowerPC32 fpu implementations.
58447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58448         New file.
58449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58450         New file.
58451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58452         multiarch llrint for PowerPC32.
58453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58454         New file.
58455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58456         New file.
58457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58458         file.
58460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58462         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58463         file.
58464         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58465         file.
58466         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58467         file.
58468         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58469         multiarch wordcopy for PPC32.
58470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58471         wordcopy objects.
58472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58473         (__libc_ifunc_impl_list): Likewise.
58474         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58475         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58476         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58477         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58478         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58479         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58481         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58483         file.
58484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58485         file.
58486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58487         file.
58488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58489         multiarch wcscpy for PPC32.
58490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58491         multiarch objects.
58492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58493         (__libc_ifunc_impl_list): Likewise.
58494         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58495         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58496         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58497         sysdeps/powerpc/power6/wcscpy.c.
58499         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58500         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58501         file.
58502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58503         file.
58504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58505         file.
58506         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58507         multiarch wcsrchr for PPC32.
58508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58509         multiarch objects.
58510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58511         (__libc_ifunc_impl_list): Likewise.
58512         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58513         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58514         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58515         sysdeps/powerpc/power6/wcsrchr.c.
58517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58518         file.
58519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58520         file.
58521         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58522         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58523         multiarch wcschr for PPc32.
58524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58525         multiarch objects.
58526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58527         (__libc_ifunc_impl_list): Likewise.
58528         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58529         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58530         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58531         sysdeps/powerpc/power6/wcschr.c.
58533         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58534         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58535         file.
58536         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58537         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58538         file: multiarch strchr for PPC32.
58539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58540         multiarch objects.
58541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58542         (__libc_ifunc_impl_list): Likewise.
58544         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58545         name.
58546         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58547         file.
58548         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58549         file.
58550         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58551         multiarch strchrnul for PPC32.
58552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58553         multiarch objects.
58554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58555         (__libc_ifunc_impl_list): Likewise.
58557         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58558         file.
58559         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58560         multiarch strncasecmp for PPC32.
58561         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58562         file.
58563         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58564         multiarch strncasecmp_l for PPC32.
58565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58566         strncasecmp multiarch objects.
58567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58568         (__libc_ifunc_impl_list): Likewise.
58570         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58571         file.
58572         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58573         multiarch strncasecmp for PPC32.
58574         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58575         New file.
58576         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58577         multiarch strcasecmp_l for PPC32.
58578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58579         multiarch objects.
58580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58581         (__libc_ifunc_impl_list): Likewise.
58583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58584         file.
58585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58586         file.
58587         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58588         multiarch strncmp for PPC32.
58589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58590         multiarch objects.
58591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58592         (__libc_ifunc_impl_list): Likewise.
58594         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58595         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58596         file.
58597         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58598         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58600         multiarch objects.
58601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58602         (__libc_ifunc_impl_list): Likewise.
58604         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58605         file.
58606         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58607         file.
58608         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58610         multiarch objects.
58611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58612         (__libc_ifunc_impl_list): Likewise.
58614         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58615         file.
58616         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58617         file.
58618         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58619         multiarch rawmemchr for PPC32.
58620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58621         multiarch objects.
58622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58623         (__libc_ifunc_impl_list): Likewise.
58625         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58626         file.
58627         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58628         file.
58629         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58630         file: memrchr multiarch for PPC32.
58631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58632         multiarch objects.
58633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58634         (__libc_ifunc_impl_list): Likewise.
58636         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58637         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58638         file.
58639         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58640         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58641         multiarch memchr for PPC32.
58642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58643         multiarch objects.
58644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58645         (__libc_ifunc_impl_list): Likewise.
58647         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58648         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58649         file.
58650         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58651         file.
58652         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58653         file: multiarch mempcpy for PPC32.
58654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58655         multiarch objects.
58656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58657         (__libc_ifunc_impl_list): Likewise.
58659         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58660         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58661         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58662         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58663         multiarch bzero for PPC32.
58664         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58665         file.
58666         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58667         file.
58668         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58669         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58670         file: multiarch memset for PPC32.
58671         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58673         memset multiarch objects.
58674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58675         (__libc_ifunc_impl_list): Likewise.
58677         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58678         file.
58679         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58681         memcmp for PPC32.
58682         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58684         multiarch objects.
58685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58686         (__libc_ifunc_impl_list): Likewise.
58688         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58689         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58690         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58691         file.
58692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58693         file.
58694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58695         file.
58696         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58697         multiarch memcpy for PPC32.
58698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58699         multiarch objects.
58700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58701         (__libc_ifunc_impl_list): Likewise.
58703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58704         support multiarch for POWER/PPC32.
58705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58706         Likewise.
58707         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58709         Implies file to make multiarch folder appers before the fpu and
58710         default folder for power4 configuration.
58712 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58714         * scripts/bench.pl: Append volatile keyword to type.
58716 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58718         * sysdeps/sh/sotruss-lib.c: New file.
58719         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58721 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58725 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58727         [BZ #6810]
58728         * math/w_tgamma.c: Include <errno.h>.
58729         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58730         * math/w_tgammaf.c: Include <errno.h>.
58731         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58732         * math/w_tgammal.c: Include <errno.h>.
58733         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58734         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58735         underflow.  Add more tgamma tests.
58736         * math/auto-libm-test-out: Regenerated.
58737         * sysdeps/i386/fpu/libm-test-ulps: Update.
58738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58740         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58741         sin, sinh, tan, tanh, tgamma, y0 and y1.
58742         * math/auto-libm-test-out: Regenerated.
58743         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58744         (TEST_COND_x86): Likewise.
58745         (M_E2l): Remove macro.
58746         (M_E3l): Likewise.
58747         (M_2_SQRT_PIl): Likewise.
58748         (M_SQRT_PIl): Likewise.
58749         (M_1_DIV_El): Likewise.
58750         (log_test_data): Use AUTO_TESTS_f_f.
58751         (log10_test_data): Likewise.
58752         (log1p_test_data): Likewise.
58753         (log2_test_data): Likewise.
58754         (sin_test_data): Likewise.
58755         (sin_tonearest_test_data): Likewise.
58756         (sin_towardzero_test_data): Likewise.
58757         (sin_downward_test_data): Likewise.
58758         (sin_upward_test_data): Likewise.
58759         (sinh_test_data): Likewise.
58760         (sinh_tonearest_test_data): Likewise.
58761         (sinh_towardzero_test_data): Likewise.
58762         (sinh_downward_test_data): Likewise.
58763         (sinh_upward_test_data): Likewise.
58764         (tan_test_data): Likewise.
58765         (tan_tonearest_test_data): Likewise.
58766         (tan_towardzero_test_data): Likewise.
58767         (tan_downward_test_data): Likewise.
58768         (tan_upward_test_data): Likewise.
58769         (tanh_test_data): Likewise.
58770         (tgamma_test_data): Likewise.
58771         (y0_test_data): Likewise.
58772         (y1_test_data): Likewise.
58773         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58774         (special_real_inputs): Add pi/4.
58775         * sysdeps/i386/fpu/libm-test-ulps: Update.
58776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58778 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58780         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58781         "longjmp_target" static probes.
58782         (__longjmp): Rename to __longjmp_symbol.
58783         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58784         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58785         on which longjmp to generate.
58786         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58787         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58788         probe.
58789         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58790         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58791         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58792         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58793         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58794         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58796         __longjmp_symbol based on which __longjmp to generate.
58797         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58798         probe.
58799         (setjmp): Rename to setjmp_symbol.
58800         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58801         (_setjmp): Rename to _setjmp_symbol.
58802         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58803         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58804         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58805         which setjmp to generate.
58806         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58807         "longjmp_target" static probes.
58809 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58811         * benchtests/README: Add note about output arguments.
58812         * benchtests/bench-sincos.c: Remove file.
58813         * benchtests/sincos-inputs: New file.
58814         * scripts/bench.pl: Identify output arguments and define
58815         static variables for them.
58817         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58819         [BZ #15941]
58820         * Makefile (INSTALL): Add install-plain.texi as the primary
58821         dependency.
58822         * manual/install-plain.texi: New file.
58823         * manual/install.texi: Include node directive only for
58824         non-plaintext output.
58826 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58828         * stdlib/longlong.h: Update from GCC.
58830         [BZ #6807]
58831         [BZ #15901]
58832         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58833         * math/w_j0f.c (y0f): Likewise.
58834         * math/w_j0l.c (__y0l): Likewise.
58835         * math/w_j1.c (y1): Likewise.
58836         * math/w_j1f.c (y1f): Likewise.
58837         * math/w_j1l.c (__y1l): Likewise.
58838         * math/w_jn.c (yn): Likewise.
58839         * math/w_jnf.c (ynf): Likewise.
58840         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58841         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58842         value for Bessel function domain errors outside _SVID_ mode.
58843         Adjust sign of return value for yn (negative integer, 0).
58844         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58845         by zero in return for negative x and set sign appropriately for
58846         negative n.
58847         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58848         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58849         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58850         expectations in error cases.
58851         (y1_test_data): Likewise.
58852         (yn_test_data): Likewise.
58853         * sysdeps/i386/fpu/libm-test-ulps: Update.
58854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58856 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58858         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58859         "64" to "64-v1".  Add "64-v2".
58860         (abi-64-options): Rename to ...
58861         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58862         (abi-64-condition): Rename to ...
58863         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58864         (abi-64-ld-soname): Rename to ...
58865         (abi-64-v1-ld-soname): ... this.
58866         (abi-64-v2-options): Define.
58867         (abi-64-v2-condition): Likewise.
58868         (abi-64-v2-ld-soname): Likewise.
58869         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58870         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58875 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58876             Alan Modra  <amodra@gmail.com>
58878         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58879         New versions for use with the ELFv2 ABI.
58880         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58881         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58882         declaration.
58883         (struct La_ppc64v2_retval): Likewise.
58884         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58885         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58886         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58887         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58888         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58889         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58890         Do not save or restore CR.
58891         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58892         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58893         return values for ELFv2 ABI.  Fix location of FPR return registers.
58894         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58895         updated values for _CALL_ELF == 2.
58896         (La_regs, La_retval, int_retval): Likewise.
58898 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58900         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58901         (FRAME_MIN_SIZE_PARM): Likewise.
58902         (FRAME_BACKCHAIN): Likewise.
58903         (FRAME_CR_SAVE): Likewise.
58904         (FRAME_LR_SAVE): Likewise.
58905         (FRAME_TOC_SAVE): Likewise.
58906         (FRAME_PARM_SAVE): Likewise.
58907         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58908         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58909         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58910         (call_mcount_parm_offset): New macro.
58911         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58912         (PROF): Use symbolic stack frame offsets.
58913         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58914         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58915         Redefine in terms of FRAME_MIN_SIZE.
58916         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58917         (_dl_profile_resolve): Likewise.  Update comment.
58918         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58919         symbols stack frame offsets.
58920         (__sigsetjmp): Likewise.
58921         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58922         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58923         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58924         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58927         (FRAME_BACKCHAIN): Remove.
58928         (FRAME_CR_SAVE): Likewise.
58929         (FRAME_LR_SAVE): Likewise.
58930         (FRAME_COMPILER_DW): Likewise.
58931         (FRAME_LINKER_DW): Likewise.
58932         (FRAME_TOC_SAVE): Likewise.
58933         (FRAME_PARM_SAVE): Likewise.
58934         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58935         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58936         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58938         (CHECK_SP): Use symbolic stack frame offsets.
58939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58940         zone" instead of caller's parameter save area for temp storage.
58941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58942         Likewise.  Also, use symbolic stack frame offsets.
58943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58944         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58945         our own stack frame instead of the caller's.
58946         (__socket): Use symbolic stack frame offsets.
58948 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58949             Alan Modra  <amodra@gmail.com>
58951         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58952         Define.
58953         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58954         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58955         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58956         New function.
58957         (elf_machine_fixup_plt): Call it.
58958         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58959         reloc arguments.
58960         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58961         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58962         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58963         r2 before calling target.
58965 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58966             Alan Modra  <amodra@gmail.com>
58968         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58969         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58970         versions of macros to support ELFv2 ABI.
58971         (LOCALENTRY): New macro.
58972         (ENTRY, EALIGN): Use it.
58973         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58974         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58975         fall through into ENTRY entry point.
58976         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58977         Only define if _CALL_ELF != 2.
58979         (elf_machine_matches_host): Verify ABI version matches.
58980         (RTLD_START): Use LOCALENTRY.
58981         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58982         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58983         (PLT_ENTRY_WORDS): New macro.
58984         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58985         (elf_machine_runtime_setup): Support ELFv2 ABI.
58986         (elf_machine_fixup_plt): Likewise.
58987         (elf_machine_plt_conflict): Likewise.
58988         (resolve_ifunc): Likewise.
58989         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58990         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58991         Likewise.
58992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58993         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58995         (makecontext): Support ELFv2 ABI.
58996         * elf/elf.h (EF_PPC64_ABI): Define.
58998 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59000         * sysdeps/powerpc/powerpc64/sysdep.h
59001         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59002         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59003         (ENTRY) [ASSEMBLER]: ... but instead here ...
59004         (EALIGN) [ASSEMBLER]: ... and here.
59005         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59006         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59007         (ENTRY_2) [!ASSEMBLER]: Use it.
59008         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59009         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59010         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59011         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59012         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59014         Use PPC64_LOAD_FUNCPTR.
59016         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59018 2013-12-04  Alan Modra  <amodra@gmail.com>
59020         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59021         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59022         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59023         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59026         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59027         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59028         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59029         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59030         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59032 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59035         (__makecontext): Fix incorrect CFI when backtracing out of
59036         context created via makecontext.
59037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59038         (__setcontext): Fix incorrect CFI during switch to new context.
59039         (__novec_setcontext): Likewise.
59041 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59043         [BZ #4772]
59044         * time/strptime_l.c (__strptime_internal): Allow modifiers
59045         in strptime.
59046         * time/tst-strptime.c (day_tests): Add testcase.
59048 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59050         * scripts/bench.pl: Skip over blank lines.
59052 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59054         [BZ #926]
59055         * manual/time.texi (Calendar Time): Clarify what timezone functions
59056         use.
59058 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59062 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59064         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59065         implementation.
59066         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59067         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59068         * debug/memset_chk.c (__memset_chk): Likewise.
59069         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59070         * debug/strncpy_chk.c: Likewise.
59072 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59074         [BZ #15268]
59075         [BZ #15425]
59076         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59077         (__ieee754_exp): For possibly underflowing results, check size of
59078         result and force underflow exception if required.
59079         * math/auto-libm-test-in: Add more tests of exp.
59080         * math/auto-libm-test-out: Regenerated.
59081         * sysdeps/i386/fpu/libm-test-ulps: Update.
59082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59084         [BZ #16283]
59085         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59086         * math/w_exp2f.c (__exp2f): Likewise.
59087         * math/w_exp2l.c (__exp2l): Likewise.
59088         * math/auto-libm-test-in: Do not allow missing errno on exp2
59089         underflow.
59090         * math/auto-libm-test-out: Regenerated.
59092 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59094         [BZ #16274]
59095         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59096         handle filename validation.
59097         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59098         (do_open): Delete.
59100 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59102         [BZ #6786]
59103         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59104         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59105         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59106         <float.h>.
59107         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59108         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59109         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59111         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59112         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59113         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59114         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59115         Add more erfc tests.
59116         * math/auto-libm-test-out: Regenerated.
59117         * sysdeps/i386/fpu/libm-test-ulps: Update.
59118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59120         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59121         exp2, expm1, j0 and j1.
59122         * math/auto-libm-test-out: Regenerated.
59123         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59124         (erfc_test_data): Likewise.
59125         (exp_test_data): Likewise.
59126         (exp_tonearest_test_data): Likewise.
59127         (exp_towardzero_test_data): Likewise.
59128         (exp_downward_test_data): Likewise.
59129         (exp_upward_test_data): Likewise.
59130         (exp10_test_data): Likewise.
59131         (exp2_test_data): Likewise.
59132         (expm1_test_data): Likewise.
59133         (j0_test_data): Likewise.
59134         (j1_test_data): Likewise.
59135         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59136         (input_flag_type): Add flag_xfail_rounding.
59137         (input_flags): Add xfail-rounding.
59138         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59139         (output_for_one_input_case): Handle flag_xfail_rounding.
59140         * sysdeps/i386/fpu/libm-test-ulps: Update.
59141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59143 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59145         [BZ #16289]
59146         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59147         division by 0.
59149 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59151         [BZ #16195]
59152         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59153         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59154         (STAP_PROBE0): New macro.
59155         (STAP_PROBE1): Likewise.
59156         (STAP_PROBE2): Likewise.
59157         (STAP_PROBE3): Likewise.
59158         (STAP_PROBE4): Likewise.
59160 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59162         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59164 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59166         * benchtests/Makefile (bench): Add sqrt.
59167         (LDLIBS-bench-sqrt): New.
59168         * benchtests/sqrt-input: New.
59170 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59172         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59173         (GAIH_EAI): Likewise.
59174         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59175         (gaih_inet): Likewise.
59176         (getaddrinfo): Don't use GAIH_EAI.
59178         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59179         (struct gaih): Remove definition.
59181 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59183         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59184         Use HERRNOP directly.
59186 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59190 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59192         * math/gen-auto-libm-tests.c (test_functions): Add more
59193         single-argument functions.
59194         (special_fill_pi_2): New function.
59195         (special_fill_minus_pi_2): Likewise.
59196         (special_fill_pi_6): Likewise.
59197         (special_fill_minus_pi_6): Likewise.
59198         (special_fill_pi_3): Likewise.
59199         (special_fill_2pi_3): Likewise.
59200         (special_fill_e): Likewise.
59201         (special_fill_1_e): Likewise.
59202         (special_fill_e_minus_1): Likewise.
59203         (special_real_inputs): Add more special inputs.
59204         (output_for_one_input_case): Do not require ERANGE on underflow to
59205         zero if round-to-nearest result does not underflow to zero, unless
59206         exact results required.
59207         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59208         atan, atanh, cbrt, cos and cosh.
59209         * math/auto-libm-test-out: Regenerated.
59210         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59211         (acos_tonearest_test_data): Likewise.
59212         (acos_towardzero_test_data): Likewise.
59213         (acos_downward_test_data): Likewise.
59214         (acos_upward_test_data): Likewise.
59215         (acosh_test_data): Likewise.
59216         (asin_test_data): Likewise.
59217         (asin_tonearest_test_data): Likewise.
59218         (asin_towardzero_test_data): Likewise.
59219         (asin_upward_test_data): Likewise.
59220         (asinh_test_data): Likewise.
59221         (atan_test_data): Likewise.
59222         (atanh_test_data): Likewise.
59223         (cbrt_test_data): Likewise.
59224         (cos_test_data): Likewise.
59225         (cos_tonearest_test_data): Likewise.
59226         (cos_towardzero_test_data): Likewise.
59227         (cos_downward_test_data): Likewise.
59228         (cos_upward_test_data): Likewise.
59229         (cosh_test_data): Likewise.
59230         (cosh_tonearest_test_data): Likewise.
59231         (cosh_towardzero_test_data): Likewise.
59232         (cosh_downward_test_data): Likewise.
59233         (cosh_upward_test_data): Likewise.
59234         * sysdeps/i386/fpu/libm-test-ulps: Update.
59235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59237 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59239         [BZ #6787]
59240         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59241         * math/w_exp10f.c (__exp10f): Likewise.
59242         * math/w_exp10l.c (__exp10l): Likewise.
59243         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59244         errno settings in existing tests.
59246         [BZ #14032]
59247         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59248         precision control set to double precision.
59249         * sysdeps/i386/fpu/w_sqrt.c: New file.
59250         * math/auto-libm-test-in: Add more tests.
59251         * math/auto-libm-test-out: Update.
59253         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59254         (sqrt_test_tonearest): New function.
59255         (sqrt_towardzero_test_data): New variable.
59256         (sqrt_test_towardzero): New function.
59257         (sqrt_downward_test_data): New variable.
59258         (sqrt_test_downward): New function.
59259         (sqrt_upward_test_data): New variable.
59260         (sqrt_test_upward): New function.
59261         (main): Call the new functions.
59263         * math/gen-auto-libm-tests.c: New file.
59264         * math/auto-libm-test-in: Likewise.
59265         * math/auto-libm-test-out: New generated file.
59266         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59267         variables.
59268         (%beautify): Add generated representations of zero.
59269         (top level): Set $auto_input and call parse_auto_input.
59270         (beautify): Remove trailing "f" from hex float constants.
59271         (parse_args): Handle XFAIL_TEST.
59272         (convert_condition): New function.
59273         (or_value): Likewise.
59274         (or_cond_value): Likewise.
59275         (generate_testfile): Handle AUTO_TESTS_* lines.
59276         (parse_auto_input): New function.
59277         * math/libm-test.inc (XFAIL_TEST): New macro.
59278         (ERRNO_UNCHANGED): Update value.
59279         (ERRNO_EDOM): Likewise.
59280         (ERRNO_ERANGE): Likewise.
59281         (IGNORE_RESULT): Likewise.
59282         (TEST_COND_flt_32): New macro.
59283         (TEST_COND_dbl_64): Likewise.
59284         (TEST_COND_ldbl_96_intel): Likewise.
59285         (TEST_COND_ldbl_96_m68k): Likewise.
59286         (TEST_COND_ldbl_128): Likewise.
59287         (TEST_COND_ldbl_128ibm): Likewise.
59288         (TEST_COND_long32): Likewise.
59289         (TEST_COND_long64): Likewise.
59290         (TEST_COND_before_rounding): Likewise.
59291         (TEST_COND_after_rounding): Likewise.
59292         (enable_test): Handle XFAIL_TEST flag.
59293         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59294         with finite results.
59295         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59296         auto-libm-test-out.
59298 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59299             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59301         [BZ #16214]
59302         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59303         __tls_get_addr_internal instead of __tls_get_offset in order to
59304         avoid GOT pointer dependency.  Make rtld export
59305         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59306         __tls_get_addr since we are a __tls_get_offset platform.
59307         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59308         GOT pointer being set up before.
59309         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59311 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59313         * manual/math.texi (Errors in Math Functions): Document accuracy
59314         goals.
59316         [BZ #15004]
59317         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59318         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59319         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59320         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59321         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59322         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59323         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59324         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59325         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59326         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59327         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59328         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59329         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59330         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59331         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59332         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59334         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59335         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59336         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59337         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59338         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59339         Likewise.
59340         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59341         Likewise.
59342         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59343         Likewise.
59344         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59345         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59346         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59347         atomic-feupdateenv and flt-rounds.
59348         * sysdeps/powerpc/nofpu/Versions (libc): Add
59349         __atomic_feholdexcept, __atomic_feclearexcept,
59350         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59351         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59352         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59354         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59355         here.
59356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59357         Update.
59359         * manual/arith.texi (FP Exceptions): Document that exceptions may
59360         not be raised when matherr is used.
59361         (Math Error Reporting): Document overflow in directed rounding
59362         modes.  Document that errno may not be set when finite values are
59363         returned on overflow.  Document intent to set errno on underflow
59364         only for underflow to zero.
59366         [BZ #16271]
59367         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59368         round-to-nearest then adjust result for other rounding modes.
59369         * include/fenv.h (fegetround): Use libm_hidden_proto.
59370         * math/fegetround.c (fegetround): Use libm_hidden_def.
59371         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59372         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59373         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59375         Likewise.
59376         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59377         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59378         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59379         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59381 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59383         [BZ #16077]
59384         * nss/Versions (libnss_files): Add
59385         _nss_files_gethostbyname3_r.
59386         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59387         New function.
59388         (HOST_DB_LOOKUP): Remove macro.
59389         (_nss_files_gethostbyname_r): Implement function without the
59390         HOST_DB_LOOKUP macro.
59391         (_nss_files_gethostbyname2_r): Likewise.
59393 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59395         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59397 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59399         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59400         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59401         warning.
59403 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59405         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59406         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59407         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59408         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59409         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59410         __fe_nomask_env_priv and attribute_hidden.
59411         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59412         (libc_feupdateenv_test_ppc): Likewise.
59413         (libc_feresetround_ppc): Likewise.
59414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59415         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59416         compat_symbol macro.
59417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59418         (__fe_nomask_env): Likewise.
59419         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59421 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59423         * string/Makefile: Remove ifunc tests.
59424         * string/test-string.h: Define TEST_IFUNC.
59425         * string/test-bcopy-ifunc.c: Remove.
59426         * string/test-bzero-ifunc.c: Likewise.
59427         * string/test-memccpy-ifunc.c: Likewise.
59428         * string/test-memchr-ifunc.c: Likewise.
59429         * string/test-memcmp-ifunc.c: Likewise.
59430         * string/test-memcpy-ifunc.c: Likewise.
59431         * string/test-memmem-ifunc.c: Likewise.
59432         * string/test-memmove-ifunc.c: Likewise.
59433         * string/test-mempcpy-ifunc.c: Likewise.
59434         * string/test-memrchr-ifunc.c: Likewise.
59435         * string/test-memset-ifunc.c: Likewise.
59436         * string/test-rawmemchr-ifunc.c: Likewise.
59437         * string/test-stpcpy-ifunc.c: Likewise.
59438         * string/test-stpncpy-ifunc.c: Likewise.
59439         * string/test-strcasecmp-ifunc.c: Likewise.
59440         * string/test-strcasestr-ifunc.c: Likewise.
59441         * string/test-strcat-ifunc.c: Likewise.
59442         * string/test-strchr-ifunc.c: Likewise.
59443         * string/test-strchrnul-ifunc.c: Likewise.
59444         * string/test-strcmp-ifunc.c: Likewise.
59445         * string/test-strcpy-ifunc.c: Likewise.
59446         * string/test-strcspn-ifunc.c: Likewise.
59447         * string/test-strlen-ifunc.c: Likewise.
59448         * string/test-strncasecmp-ifunc.c: Likewise.
59449         * string/test-strncat-ifunc.c: Likewise.
59450         * string/test-strncmp-ifunc.c: Likewise.
59451         * string/test-strncpy-ifunc.c: Likewise.
59452         * string/test-strnlen-ifunc.c: Likewise.
59453         * string/test-strpbrk-ifunc.c: Likewise.
59454         * string/test-strrchr-ifunc.c: Likewise.
59455         * string/test-strspn-ifunc.c: Likewise.
59456         * string/test-strstr-ifunc.c: Likewise.
59458 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59460         * benchtests/Makefile: Remove ifunc tests.
59461         * benchtests/bench-string.h: Define TEST_IFUNC.
59462         * benchtests/bench-bcopy-ifunc.c: Remove.
59463         * benchtests/bench-bzero-ifunc.c: Likewise.
59464         * benchtests/bench-memccpy-ifunc.c: Likewise.
59465         * benchtests/bench-memchr-ifunc.c: Likewise.
59466         * benchtests/bench-memcmp-ifunc.c: Likewise.
59467         * benchtests/bench-memcpy-ifunc.c: Likewise.
59468         * benchtests/bench-memmem-ifunc.c: Likewise.
59469         * benchtests/bench-memmove-ifunc.c: Likewise.
59470         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59471         * benchtests/bench-memrchr-ifunc.c: Likewise.
59472         * benchtests/bench-memset-ifunc.c: Likewise.
59473         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59474         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59475         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59476         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59477         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59478         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59479         * benchtests/bench-strcat-ifunc.c: Likewise.
59480         * benchtests/bench-strchr-ifunc.c: Likewise.
59481         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59482         * benchtests/bench-strcmp-ifunc.c: Likewise.
59483         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59484         * benchtests/bench-strcpy-ifunc.c: Likewise.
59485         * benchtests/bench-strcspn-ifunc.c: Likewise.
59486         * benchtests/bench-strlen-ifunc.c: Likewise.
59487         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59488         * benchtests/bench-strncat-ifunc.c: Likewise.
59489         * benchtests/bench-strncmp-ifunc.c: Likewise.
59490         * benchtests/bench-strncpy-ifunc.c: Likewise.
59491         * benchtests/bench-strnlen-ifunc.c: Likewise.
59492         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59493         * benchtests/bench-strrchr-ifunc.c: Likewise.
59494         * benchtests/bench-strsep-ifunc.c: Likewise.
59495         * benchtests/bench-strspn-ifunc.c: Likewise.
59496         * benchtests/bench-strstr-ifunc.c: Likewise.
59498 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59500         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59502 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59504         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59505         * rt/aio.h: Likewise.
59506         * sysdeps/gnu/bits/utmp.h: Likewise.
59507         * sysdeps/gnu/bits/utmpx.h: Likewise.
59508         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59509         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59510         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59511         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59512         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59513         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59514         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59515         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59516         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59517         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59518         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59519         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59520         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59522         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59523         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59524         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59525         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59526         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59527         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59528         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59529         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59530         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59531         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59532         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59534         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59535         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59536         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59537         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59538         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59539         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59540         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59541         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59542         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59543         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59544         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59545         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59546         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59547         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59548         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59549         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59551 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59553         [BZ #16245]
59554         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59555         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59557 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59559         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59560         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59561         Likewise.
59563 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59565         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59566         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59567         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59568         (__fesetround): Remove define.
59569         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59570         rounding and exceptions handling.
59571         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59572         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59573         (__fe_nomask_env): Likewise.
59574         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59575         __fegetround instead of fegetround.
59576         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59577         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59579 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59581         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59582         it's there.
59584         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59586 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59588         [BZ #11157]
59589         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59590         (encrypt_r): Likewise.
59591         * malloc/obstack.h (obstack_free): Likewise.
59592         * posix/unistd.h (encrypt): Likewise.
59594 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59596         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59597         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59598         DL_CALL_DT_FINI() that call the functions directly.
59599         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59600         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59601         * elf/dl-fini.c: Likewise.
59603 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59605         * malloc/hooks.c (memalign_check): Add alignment rounding.
59606         * malloc/malloc.c (_mid_memalign): New function.
59607         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59608         Implement by calling _mid_memalign.
59609         * manual/probes.texi (Memory Allocation Probes): Remove
59610         memory_valloc_retry and memory_pvalloc_retry.
59612 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59614         * locale/programs/locarchive.c (open_archive): Add const
59615         qualifier to ARCHIVEFNAME and copy default fname to
59616         DEFAULT_FNAME.
59618         [BZ #15601]
59619         * libio/tst-widetext.input: Rename Oriya to Odia.
59620         * locale/iso-639.def: Likewise.
59622         * manual/probes.texi (Mathematical Function Probes): Add
59623         documentation for sin, cos, asin and acos probes.
59624         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59625         (__sin32): Add slowasin probe.
59626         (__cos32): Add slowacos probe.
59627         (__mpsin): Add slowsin probe.
59628         (__mpcos): Add slowcos probe.
59630 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59632         [BZ #15483]
59633         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59634         thread-local __sim_exceptions_thread and global
59635         __sim_exceptions_global.
59636         (__sim_disabled_exceptions): Change to thread-local
59637         __sim_disabled_exceptions_thread and global
59638         __sim_disabled_exceptions_global.
59639         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59640         and global __sim_round_mode_global.
59641         (__simulate_exceptions): Use thread-local floating-point state and
59642         set global state from it as needed.
59643         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59644         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59645         __sim_round_mode_thread.
59646         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59647         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59648         and global __sim_exceptions_global.
59649         (__sim_disabled_exceptions): Change to thread-local
59650         __sim_disabled_exceptions_thread and global
59651         __sim_disabled_exceptions_global.
59652         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59653         and global __sim_round_mode_global.
59654         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59655         (SIM_SET_GLOBAL): Likewise.
59656         * sysdeps/powerpc/soft-fp/sfp-machine.h
59657         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59658         __sim_round_mode_thread.
59659         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59660         __sim_disabled_exceptions_thread.
59661         (__sim_exceptions): Change to __sim_exceptions_thread.
59662         (__sim_disabled_exceptions): Change to
59663         __sim_disabled_exceptions_thread.
59664         (__sim_round_mode): Change to __sim_round_mode_thread.
59665         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59666         thread-local floating-point state and set global state from it as
59667         needed.
59668         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59669         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59670         (__sim_disabled_exceptions): Remove extern declaration.
59671         (feenableexcept): Use thread-local floating-point state and set
59672         global state from it as needed.
59673         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59674         extern declaration.
59675         (__sim_disabled_exceptions): Likewise.
59676         (__sim_round_mode): Likewise.
59677         (__fegetenv): Use thread-local floating-point state.
59678         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59679         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59680         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59681         floating-point state and set global state from it as needed.
59682         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59683         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59684         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59685         Likewise.
59686         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59687         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59688         Likewise.
59689         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59690         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59691         Use __sim_round_mode_thread.
59692         * math/test-fenv-tls.c: New file.
59693         * math/Makefile (tests): Add test-fenv-tls.
59694         ($(objpfx)test-fenv-tls): Depend on
59695         $(common-objpfx)nptl/libpthread.so.
59697 2013-11-19  Andreas Schwab  <schwab@suse.de>
59699         * locale/programs/locale.c (show_info): Decode wordarray elements.
59700         * locale/categories.def (LC_MONETARY): Add element for
59701         _NL_MONETARY_CRNCYSTR.
59702         * locale/C-monetary.c (conversion_rate): New variable.
59703         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59704         element.
59706 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59708         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59709         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59711 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59713         * elf/Makefile (tst-auxv): New test.
59714         * elf/tst-auxv.c: New
59715         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59717 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59719         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59720         (hidden_proto): Caller changed.
59721         (hidden_tls_proto): New macro.
59722         (libc_hidden_tls_proto): Likewise.
59723         (rtld_hidden_tls_proto): Likewise.
59724         (libm_hidden_tls_proto): Likewise.
59725         (libresolv_hidden_tls_proto): Likewise.
59726         (librt_hidden_tls_proto): Likewise.
59727         (libdl_hidden_tls_proto): Likewise.
59728         (libnss_files_hidden_tls_proto): Likewise.
59729         (libnsl_hidden_tls_proto): Likewise.
59730         (libnss_nisplus_hidden_tls_proto): Likewise.
59731         (libutil_hidden_tls_proto): Likewise.
59733 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59735         [BZ #10253]
59736         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59737         (decompose_rpath): Defer expansion to fillin_rpath.
59738         (_dl_init_paths): Pass linkmap to fillin_rpath.
59740 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59742         * benchtests/Makefile: Add strsep.
59743         * benchtests/bench-strsep.c: New file: strsep benchtest.
59744         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59746 2013-11-18  Andreas Schwab  <schwab@suse.de>
59748         * locale/programs/locale.c (show_info) [case byte]: Check for
59749         '\377' instead of '\177'.
59750         * locale/C-monetary.c (not_available): Always use "\377".
59751         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59752         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59753         detect unavailable sign_posn locale elements.
59754         * locale/localeconv.c (__localeconv): For grouping and
59755         mon_grouping handle "\177" and "\377" like no grouping.
59756         (INT_ELEM): New macro.  Use it to set all numeric members.
59757         * locale/programs/ld-monetary.c (monetary_read)
59758         <tok_mon_grouping>: Normalize single -1 to the empty string.
59759         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59760         Likewise.
59762 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59764         [BZ #16055]
59765         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59766         when we match (nil).
59767         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59769 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59771         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59772         (NO_TEST_INLINE): Update value.
59773         (ERRNO_UNCHANGED): Likewise.
59774         (ERRNO_EDOM): Likewise.
59775         (ERRNO_ERANGE): Likewise.
59776         (IGNORE_RESULT): Likewise.
59777         (check_float_internal): Check signs of NaN results if
59778         TEST_NAN_SIGN used.
59779         (check_complex): Pass TEST_NAN_SIGN flag through to second
59780         check_float_internal call.
59781         (copysign_test_data): Add tests with quiet NaNs as second
59782         argument.  Use TEST_NAN_SIGN.
59783         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59784         TEST_NAN_SIGN.
59785         (signbit_test_data): Add tests of quiet NaN argument.
59786         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59788         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59789         $ignore_result.
59790         (parse_args): Handle function results specified as IGNORE.
59791         * math/libm-test.inc (IGNORE_RESULT): New macro.
59792         (check_float_internal): Do not check numerical result if flag
59793         IGNORE_RESULT set.
59794         (check_complex): Pass through IGNORE_RESULT to second
59795         check_float_internal call.
59796         (check_int): Do not check numerical result if flag IGNORE_RESULT
59797         set.
59798         (check_long): Likewise.
59799         (check_bool): Likewise.
59800         (check_longlong): Likewise.
59801         (lrint_test_data): Add tests of infinite and NaN arguments.
59802         (lrint_tonearest_test_data): Likewise.
59803         (lrint_towardzero_test_data): Likewise.
59804         (lrint_downward_test_data): Likewise.
59805         (lrint_upward_test_data): Likewise.
59806         (llrint_test_data): Likewise.
59807         (llrint_tonearest_test_data): Likewise.
59808         (llrint_towardzero_test_data): Likewise.
59809         (llrint_downward_test_data): Likewise.
59810         (llrint_upward_test_data): Likewise.
59811         (lround_test_data): Likewise.
59812         (llround_test_data): Likewise.
59814         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59815         (ERRNO_UNCHANGED): Update value.
59816         (ERRNO_EDOM): Likewise.
59817         (ERRNO_ERANGE): Likewise.
59818         (NO_TEST_INLINE_FLOAT): New macro.
59819         (NO_TEST_INLINE_DOUBLE): Likewise.
59820         (enable_test): New function.
59821         (RUN_TEST_f_f): Check enable_test before running test.
59822         (RUN_TEST_2_f): Likewise.
59823         (RUN_TEST_fff_f): Likewise.
59824         (RUN_TEST_c_f): Likewise.
59825         (RUN_TEST_f_f1): Likewise.
59826         (RUN_TEST_fF_f1): Likewise.
59827         (RUN_TEST_fI_f1): Likewise.
59828         (RUN_TEST_ffI_f1): Likewise.
59829         (RUN_TEST_c_c): Likewise.
59830         (RUN_TEST_cc_c): Likewise.
59831         (RUN_TEST_f_i): Likewise.
59832         (RUN_TEST_f_i_tg): Likewise.
59833         (RUN_TEST_ff_i_tg): Likewise.
59834         (RUN_TEST_f_b): Likewise.
59835         (RUN_TEST_f_b_tg): Likewise.
59836         (RUN_TEST_f_l): Likewise.
59837         (RUN_TEST_f_L): Likewise.
59838         (RUN_TEST_fFF_11): Likewise.
59839         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59840         conditionals.
59841         (cosh_test_data): Likewise.
59842         (exp_test_data): Likewise.
59843         (expm1_test_data): Likewise.
59844         (hypot_test_data): Likewise.
59845         (pow_test_data): Likewise.
59846         (sinh_test_data): Likewise.
59847         (tanh_test_data): Likewise.
59848         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59849         flags argument.
59851         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59852         tests with quiet NaN input and output.
59853         (acosh_test_data): Likewise.
59854         (asin_test_data): Likewise.
59855         (asinh_test_data): Likewise.
59856         (atan_test_data): Likewise.
59857         (atanh_test_data): Likewise.
59858         (atan2_test_data): Likewise.
59859         (cbrt_test_data): Likewise.
59860         (cos_test_data): Likewise.
59861         (cosh_test_data): Likewise.
59862         (erf_test_data): Likewise.
59863         (erfc_test_data): Likewise.
59864         (exp_test_data): Likewise.
59865         (exp10_test_data): Likewise.
59866         (exp2_test_data): Likewise.
59867         (expm1_test_data): Likewise.
59868         (hypot_test_data): Likewise.
59869         (j0_test_data): Likewise.
59870         (j1_test_data): Likewise.
59871         (jn_test_data): Likewise.
59872         (lgamma_test_data): Likewise.
59873         (log_test_data): Likewise.
59874         (log10_test_data): Likewise.
59875         (log1p_test_data): Likewise.
59876         (log2_test_data): Likewise.
59877         (pow_test_data): Likewise.
59878         (scalb_test_data): Likewise.
59879         (sin_test_data): Likewise.
59880         (sincos_test_data): Likewise.
59881         (sinh_test_data): Likewise.
59882         (tan_test_data): Likewise.
59883         (tanh_test_data): Likewise.
59884         (tgamma_test_data): Likewise.
59885         (y0_test_data): Likewise.
59886         (y1_test_data): Likewise.
59887         (yn_test_data): Likewise.
59889         [BZ #16167]
59890         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59891         argument being NaN and avoid computations with second argument in
59892         that case.
59893         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59894         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59895         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59897 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59899         * locale/iso-639.def: Add Chitwani Tharu (the).
59901 2013-11-14  Andreas Schwab  <schwab@suse.de>
59903         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59904         word instead of empty string.
59906 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59909         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59911         (__fe_nomask_env): Likewise.
59913 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59915         * benchtests/bench-timing.h: Include time.h.
59917 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59919         [BZ #15997]
59920         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59921         to 3.4.0 for x32.
59922         * sysdeps/unix/sysv/linux/configure: Regenerated.
59924 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59926         [BZ #16151]
59927         * stdlib/strtod_l.c (round_and_return): Do not consider
59928         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59929         exponent one less than half the least subnormal exponent.
59930         * stdlib/test-strtod-round-data: Add more tests.
59931         * stdlib/tst-strtod-round.c (tests): Regenerated.
59933 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59935         [BZ #14143]
59936         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59937         (__fe_mask_env): Likewise.
59938         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59939         libm_hidden_proto and add function prototype.
59940         (__fe_mask_env): Add function prototype.
59941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59942         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59944         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59946         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59948 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59950         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59951         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59953 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59955         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59956         of htab_find_slot().
59958 2013-11-11  David S. Miller  <davem@davemloft.net>
59960         [BZ #16150]
59961         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59962         symbol in the non-vis3 case in static builds.
59963         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59964         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59965         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59966         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59968 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59970         [BZ #387]
59971         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59972         it is empty.
59974 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59976         * benchtests/Makefile: Add bench-strtod.
59977         * benchtests/bench-strtod.c: New file: strtod benchtest
59979 2013-11-11  Andreas Schwab  <schwab@suse.de>
59981         [BZ #16153]
59982         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59983         terminating NUL in key length.
59985 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59987         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59988         Add artificial ODP entry for vDSO symbol for PPC64.
59989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59990         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59992 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59994         [BZ #15374]
59995         * nss/getent.c (services_keys): Recognize services starting with digit.
59997 2013-11-06  David S. Miller  <davem@davemloft.net>
59999         [BZ #15985]
60000         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60001         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60003 2013-11-06  Will Newton  <will.newton@linaro.org>
60005         * manual/memory.texi (Malloc Examples): Remove register
60006         keyword from examples.
60008 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60010         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60012 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60014         [BZ #6981]
60015         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60016         depending on [__GCC_IEC_559 > 0].
60017         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60018         depending on [__GCC_IEC_559_COMPLEX > 0].
60020 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60022         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60023         to iso-639.def.
60025 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60027         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60029 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60031         [BZ #16112]
60032         * malloc/malloc (malloc_info): Do not handle first bin as
60033         special case.
60035 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60037         * locale/iso-639.def: Add Central Nahuatl (nhn).
60039 2013-11-01  Bruno Haible  <bruno@clisp.org>
60041         [BZ #7003]
60042         * manual/math.texi (BSD Random): Specify range upper bound as
60043         in POSIX.
60045 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60047         * locale/iso-639.def: Add Meadow Mari (mhr).
60049 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60051         [BZ #14752], [BZ #15763]
60052         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60053         Validate name.
60054         * rt/tst_shm.c: Add test for escaping directory.
60056 2013-10-31  Andreas Schwab  <schwab@suse.de>
60058         [BZ #15917]
60059         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60060         followed by 'x' as part of digit sequence.
60061         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60063 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60065         [BZ #16037]
60066         * configure.ac: allow GNU Make 4.0 and greater.
60067         * configure: Regenerated.
60069 2013-10-30  Will Newton  <will.newton@linaro.org>
60071         [BZ #16038]
60072         * malloc/hooks.c (memalign_check): Limit alignment to the
60073         maximum representable power of two.
60074         * malloc/malloc.c (__libc_memalign): Likewise.
60075         * malloc/tst-memalign.c (do_test): Add test for very
60076         large alignment values.
60077         * malloc/tst-posix_memalign.c (do_test): Likewise.
60079 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60081         [BZ #11087]
60082         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60083         (munmap_chunk): Likewise.
60084         (mremap_chunk): Likewise.
60086 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60088         [BZ #15799]
60089         * stdlib/div.c (div): Remove obsolete code.
60090         * stdlib/ldiv.c (ldiv): Likewise.
60091         * stdlib/lldiv.c (lldiv): Likewise.
60093 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60095         [BZ #16071]
60096         * nss/nss_files/files-XXX.c (get_contents_ret): New
60097         enumerator.
60098         (get_contents): New function.
60099         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60101 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60103         * configure.in: Moved to ...
60104         * configure.ac: ... here. Change reference to configure.in
60105         to configure.ac.
60106         * sysdeps/arm/preconfigure.ac: ... here.
60107         configure.in to configure.ac.
60108         * sysdeps/gnu/configure.in: Moved to ...
60109         * sysdeps/gnu/configure.ac: ... here.
60110         * sysdeps/i386/configure.in: Moved to ...
60111         * sysdeps/i386/configure.ac: ... here.
60112         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60113         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60114         * sysdeps/mach/configure.in: Moved to ...
60115         * sysdeps/mach/configure.ac: ... here.
60116         * sysdeps/mach/hurd/configure.in: Moved to ...
60117         * sysdeps/mach/hurd/configure.ac: ... here.
60118         * sysdeps/powerpc/configure.in: Moved to ...
60119         * sysdeps/powerpc/configure.ac: ... here.
60120         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60121         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60122         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60123         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60124         * sysdeps/s390/s390-32/configure.in: Moved to ...
60125         * sysdeps/s390/s390-32/configure.ac: ... here.
60126         * sysdeps/s390/s390-64/configure.in: Moved to ...
60127         * sysdeps/s390/s390-64/configure.ac: ... here.
60128         * sysdeps/sh/configure.in: Moved to ...
60129         * sysdeps/sh/configure.ac: ... here.
60130         * sysdeps/sparc/configure.in: Moved to ...
60131         * sysdeps/sparc/configure.ac: ... here.
60132         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60133         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60134         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60135         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60136         * sysdeps/x86_64/configure.in: Moved to ...
60137         * sysdeps/x86_64/configure.ac: ... here.
60138         * sysdeps/x86_64/preconfigure.in: Moved to ...
60139         * sysdeps/x86_64/preconfigure.ac: ... here.
60140         * aclocal.m4: Change reference to configure.in to configure.ac.
60141         * config.h.in: Likewise.
60142         * manual/install.texi: Likewise.
60143         * manual/maint.texi: Likewise.
60144         * Makefile: Likewise.
60145         * malloc/Makefile: Likewise.
60146         * nscd/Makefile: Likewise.
60147         * Makeconfig: Change reference to configure.in and
60148         preconfigure.in to configure.ac and preconfigure.ac
60149         respectively.
60150         * INSTALL: Regenerated.
60151         * configure: Likewise.
60152         * sysdeps/gnu/configure: Likewise.
60153         * sysdeps/i386/configure: Likewise.
60154         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60155         * sysdeps/mach/configure: Likewise.
60156         * sysdeps/mach/hurd/configure: Likewise.
60157         * sysdeps/powerpc/configure: Likewise.
60158         * sysdeps/powerpc/powerpc32/configure: Likewise.
60159         * sysdeps/powerpc/powerpc64/configure: Likewise.
60160         * sysdeps/s390/s390-32/configure: Likewise.
60161         * sysdeps/s390/s390-64/configure: Likewise.
60162         * sysdeps/sh/configure: Likewise.
60163         * sysdeps/sparc/configure: Likewise.
60164         * sysdeps/unix/sysv/linux/configure: Likewise.
60165         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60166         * sysdeps/x86_64/configure: Likewise.
60167         * sysdeps/x86_64/preconfigure: Likewise.
60169 2013-10-29  Andreas Schwab  <schwab@suse.de>
60171         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60173 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60175         * benchtests/pow-inputs: Add new inputs.
60177         * benchtests/exp-inputs: Add new inputs.
60179         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60180         conditional check for return value.
60181         (__cos32): Likewise.
60183 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60185         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60186         to provide a boost for large inputs with word alignment.
60187         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60188         implementation based on optimized PPC64 strcpy.
60189         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60190         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60191         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60192         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60194 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60196         [BZ #2801]
60197         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60199 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60201         [BZ #14876]
60202         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60203         * time/tst-strptime.c (day_tests): Add testcase.
60205 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60207         [BZ #14029]
60208         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60210 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60212         [BZ #16074]
60213         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60214         MAP_FAILED on error.
60216 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60218         [BZ #16072]
60219         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60220         heap for large requests.
60222 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60224         [BZ #9954]
60225         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60226         result if the result has no associated interface.
60227         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60228         interface for all 127.X.Y.Z addresses.
60230 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60232         * locale/iso-639.def: Add Ligurian (lij)
60234 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60236         [BZ #15825]
60237         * sunrpc/rpc_main.c: Document rpcgen -5.
60239 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60241         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60243 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60245         [BZ #10278]
60246         * posix/glob.c: Match only directories when trailing slash is present.
60247         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60248         (main): Add testcase.
60250 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60252         [BZ #15670]
60253         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60255 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60257         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60258         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60259         AUTH_DES and cindex for FIPS 140-2.
60260         (DES Encryption): Add cindex FIPS 46-3.
60262         * locale/locarchive.h (struct locarhandle): Add fname.
60263         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60264         if an optional argument was specified to --list-archive,
60265         otherwise NULL.
60266         * locale/programs/locarchive.c (show_archive_content): Take new
60267         argument fname and pass it via ah.fname to open_archive.
60268         * locale/programs/localedef.h: Update decl.
60269         (open_archive): If AH->fname is non-null, open that file
60270         rather than the default file name, and don't ignore ENOENT.
60271         (create_archive): Set AH.fname to NULL.
60272         (delete_locales_from_archive): Likewise.
60273         (add_locales_to_archive): Likewise.
60274         * locale/programs/locfile.c (write_all_categories): Likewise.
60276 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60277             Aldy Hernandez  <aldyh@redhat.com>
60279         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60280         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60281         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60282         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60283         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60284         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60285         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60287         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60288         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60289         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60290         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60291         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60292         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60293         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60294         Likewise.
60295         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60296         Likewise.
60297         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60298         Likewise.
60299         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60300         Likewise.
60301         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60302         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60303         Likewise.
60304         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60305         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60306         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60307         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60308         Likewise.
60309         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60310         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60311         * sysdeps/powerpc/preconfigure: Likewise.
60312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60313         Likewise.
60314         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60315         Replace contents of file by #include of <fenv_libc.h>.
60316         * sysdeps/powerpc/soft-fp/sfp-machine.h
60317         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60318         and <sys/prctl.h>.
60319         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60320         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60321         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60322         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60323         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60324         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60326         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60327         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60328         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60329         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60330         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60332         Allow copysignl PLT reference to be missing.
60334 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60335             Joseph Myers  <joseph@codesourcery.com
60337         [BZ #15948]
60338         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60339         single character.
60340         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60342 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60344         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60345         * elf/tst-tls1.c: Likewise.
60346         * elf/tst-tls10.h: Likewise.
60347         * elf/tst-tls14.c: Likewise.
60348         * elf/tst-tls2.c: Likewise.
60349         * elf/tst-tls3.c: Likewise.
60350         * elf/tst-tls4.c: Likewise.
60351         * elf/tst-tls5.c: Likewise.
60352         * elf/tst-tls6.c: Likewise.
60353         * elf/tst-tls7.c: Likewise.
60354         * elf/tst-tls8.c: Likewise.
60355         * elf/tst-tls9.c: Likewise.
60356         * elf/tst-tlsmod1.c: Likewise.
60357         * elf/tst-tlsmod13.c: Likewise.
60358         * elf/tst-tlsmod13a.c: Likewise.
60359         * elf/tst-tlsmod14a.c: Likewise.
60360         * elf/tst-tlsmod16a.c: Likewise.
60361         * elf/tst-tlsmod16b.c: Likewise.
60362         * elf/tst-tlsmod2.c: Likewise.
60363         * elf/tst-tlsmod3.c: Likewise.
60364         * elf/tst-tlsmod4.c: Likewise.
60365         * elf/tst-tlsmod5.c: Likewise.
60366         * elf/tst-tlsmod6.c: Likewise.
60368 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60370         [BZ #12486]
60371         * malloc/malloc.c: remove checks for statistics.
60373 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60375         [BZ #15277]
60376         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60377         * inet/tst-network.c: Add testcase.
60379 2013-10-17  Andreas Schwab  <schwab@suse.de>
60381         [BZ #15218]
60382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60383         to determine canonical name.
60385 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60387         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60388         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60390         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60391         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60392         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60393         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60394         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60395         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60396         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60397         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60398         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60399         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60400         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60401         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60402         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60404         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60405         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60406         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60407         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60408         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60410         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60411         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60412         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60413         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60414         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60415         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60416         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60417         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60419         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60420         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60421         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60422         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60423         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60424         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60425         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60426         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60427         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60428         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60429         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60430         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60431         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60432         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60433         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60434         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60435         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60436         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60437         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60438         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60439         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60440         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60441         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60442         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60443         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60444         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60446 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60448         [BZ #16041]
60449         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60450         make result into a quiet NaN.
60452 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60454         * soft-fp/adddf3.c: Fix horizontal whitespace.
60455         * soft-fp/addsf3.c: Likewise.
60456         * soft-fp/addtf3.c: Likewise.
60457         * soft-fp/divdf3.c: Likewise.
60458         * soft-fp/divsf3.c: Likewise.
60459         * soft-fp/divtf3.c: Likewise.
60460         * soft-fp/double.h: Likewise.
60461         * soft-fp/eqdf2.c: Likewise.
60462         * soft-fp/eqsf2.c: Likewise.
60463         * soft-fp/eqtf2.c: Likewise.
60464         * soft-fp/extenddftf2.c: Likewise.
60465         * soft-fp/extended.h: Likewise.
60466         * soft-fp/extendsfdf2.c: Likewise.
60467         * soft-fp/extendsftf2.c: Likewise.
60468         * soft-fp/extendxftf2.c: Likewise.
60469         * soft-fp/fixdfdi.c: Likewise.
60470         * soft-fp/fixdfsi.c: Likewise.
60471         * soft-fp/fixdfti.c: Likewise.
60472         * soft-fp/fixsfdi.c: Likewise.
60473         * soft-fp/fixsfsi.c: Likewise.
60474         * soft-fp/fixsfti.c: Likewise.
60475         * soft-fp/fixtfdi.c: Likewise.
60476         * soft-fp/fixtfsi.c: Likewise.
60477         * soft-fp/fixtfti.c: Likewise.
60478         * soft-fp/fixunsdfdi.c: Likewise.
60479         * soft-fp/fixunsdfsi.c: Likewise.
60480         * soft-fp/fixunsdfti.c: Likewise.
60481         * soft-fp/fixunssfdi.c: Likewise.
60482         * soft-fp/fixunssfsi.c: Likewise.
60483         * soft-fp/fixunssfti.c: Likewise.
60484         * soft-fp/fixunstfdi.c: Likewise.
60485         * soft-fp/fixunstfsi.c: Likewise.
60486         * soft-fp/fixunstfti.c: Likewise.
60487         * soft-fp/floatdidf.c: Likewise.
60488         * soft-fp/floatdisf.c: Likewise.
60489         * soft-fp/floatditf.c: Likewise.
60490         * soft-fp/floatsidf.c: Likewise.
60491         * soft-fp/floatsisf.c: Likewise.
60492         * soft-fp/floatsitf.c: Likewise.
60493         * soft-fp/floattidf.c: Likewise.
60494         * soft-fp/floattisf.c: Likewise.
60495         * soft-fp/floattitf.c: Likewise.
60496         * soft-fp/floatundidf.c: Likewise.
60497         * soft-fp/floatundisf.c: Likewise.
60498         * soft-fp/floatunditf.c: Likewise.
60499         * soft-fp/floatunsidf.c: Likewise.
60500         * soft-fp/floatunsisf.c: Likewise.
60501         * soft-fp/floatunsitf.c: Likewise.
60502         * soft-fp/floatuntidf.c: Likewise.
60503         * soft-fp/floatuntisf.c: Likewise.
60504         * soft-fp/floatuntitf.c: Likewise.
60505         * soft-fp/fmadf4.c: Likewise.
60506         * soft-fp/fmasf4.c: Likewise.
60507         * soft-fp/fmatf4.c: Likewise.
60508         * soft-fp/gedf2.c: Likewise.
60509         * soft-fp/gesf2.c: Likewise.
60510         * soft-fp/getf2.c: Likewise.
60511         * soft-fp/ledf2.c: Likewise.
60512         * soft-fp/lesf2.c: Likewise.
60513         * soft-fp/letf2.c: Likewise.
60514         * soft-fp/muldf3.c: Likewise.
60515         * soft-fp/mulsf3.c: Likewise.
60516         * soft-fp/multf3.c: Likewise.
60517         * soft-fp/negdf2.c: Likewise.
60518         * soft-fp/negsf2.c: Likewise.
60519         * soft-fp/negtf2.c: Likewise.
60520         * soft-fp/op-1.h: Likewise.
60521         * soft-fp/op-2.h: Likewise.
60522         * soft-fp/op-4.h: Likewise.
60523         * soft-fp/op-8.h: Likewise.
60524         * soft-fp/op-common.h: Likewise.
60525         * soft-fp/quad.h: Likewise.
60526         * soft-fp/single.h: Likewise.
60527         * soft-fp/soft-fp.h: Likewise.
60528         * soft-fp/sqrtdf2.c: Likewise.
60529         * soft-fp/sqrtsf2.c: Likewise.
60530         * soft-fp/sqrttf2.c: Likewise.
60531         * soft-fp/subdf3.c: Likewise.
60532         * soft-fp/subsf3.c: Likewise.
60533         * soft-fp/subtf3.c: Likewise.
60534         * soft-fp/truncdfsf2.c: Likewise.
60535         * soft-fp/trunctfdf2.c: Likewise.
60536         * soft-fp/trunctfsf2.c: Likewise.
60537         * soft-fp/trunctfxf2.c: Likewise.
60538         * soft-fp/unorddf2.c: Likewise.
60539         * soft-fp/unordsf2.c: Likewise.
60540         * soft-fp/unordtf2.c: Likewise.
60542 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60544         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60545         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60547 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60549         * elf/dl-libc.c: Clear initfini list after freeing.
60551 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60553         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60554         * soft-fp/addsf3.c: Likewise.
60555         * soft-fp/addtf3.c: Likewise.
60556         * soft-fp/divdf3.c: Likewise.
60557         * soft-fp/divsf3.c: Likewise.
60558         * soft-fp/divtf3.c: Likewise.
60559         * soft-fp/double.h: Likewise.
60560         * soft-fp/eqdf2.c: Likewise.
60561         * soft-fp/eqsf2.c: Likewise.
60562         * soft-fp/eqtf2.c: Likewise.
60563         * soft-fp/extenddftf2.c: Likewise.
60564         * soft-fp/extended.h: Likewise.
60565         * soft-fp/extendsfdf2.c: Likewise.
60566         * soft-fp/extendsftf2.c: Likewise.
60567         * soft-fp/extendxftf2.c: Likewise.
60568         * soft-fp/fixdfdi.c: Likewise.
60569         * soft-fp/fixdfsi.c: Likewise.
60570         * soft-fp/fixdfti.c: Likewise.
60571         * soft-fp/fixsfdi.c: Likewise.
60572         * soft-fp/fixsfsi.c: Likewise.
60573         * soft-fp/fixsfti.c: Likewise.
60574         * soft-fp/fixtfdi.c: Likewise.
60575         * soft-fp/fixtfsi.c: Likewise.
60576         * soft-fp/fixtfti.c: Likewise.
60577         * soft-fp/fixunsdfdi.c: Likewise.
60578         * soft-fp/fixunsdfsi.c: Likewise.
60579         * soft-fp/fixunsdfti.c: Likewise.
60580         * soft-fp/fixunssfdi.c: Likewise.
60581         * soft-fp/fixunssfsi.c: Likewise.
60582         * soft-fp/fixunssfti.c: Likewise.
60583         * soft-fp/fixunstfdi.c: Likewise.
60584         * soft-fp/fixunstfsi.c: Likewise.
60585         * soft-fp/fixunstfti.c: Likewise.
60586         * soft-fp/floatdidf.c: Likewise.
60587         * soft-fp/floatdisf.c: Likewise.
60588         * soft-fp/floatditf.c: Likewise.
60589         * soft-fp/floatsidf.c: Likewise.
60590         * soft-fp/floatsisf.c: Likewise.
60591         * soft-fp/floatsitf.c: Likewise.
60592         * soft-fp/floattidf.c: Likewise.
60593         * soft-fp/floattisf.c: Likewise.
60594         * soft-fp/floattitf.c: Likewise.
60595         * soft-fp/floatundidf.c: Likewise.
60596         * soft-fp/floatundisf.c: Likewise.
60597         * soft-fp/floatunsidf.c: Likewise.
60598         * soft-fp/floatunsisf.c: Likewise.
60599         * soft-fp/floatuntidf.c: Likewise.
60600         * soft-fp/floatuntisf.c: Likewise.
60601         * soft-fp/floatuntitf.c: Likewise.
60602         * soft-fp/fmadf4.c: Likewise.
60603         * soft-fp/fmasf4.c: Likewise.
60604         * soft-fp/fmatf4.c: Likewise.
60605         * soft-fp/gedf2.c: Likewise.
60606         * soft-fp/gesf2.c: Likewise.
60607         * soft-fp/getf2.c: Likewise.
60608         * soft-fp/ledf2.c: Likewise.
60609         * soft-fp/lesf2.c: Likewise.
60610         * soft-fp/letf2.c: Likewise.
60611         * soft-fp/muldf3.c: Likewise.
60612         * soft-fp/mulsf3.c: Likewise.
60613         * soft-fp/multf3.c: Likewise.
60614         * soft-fp/negdf2.c: Likewise.
60615         * soft-fp/negsf2.c: Likewise.
60616         * soft-fp/negtf2.c: Likewise.
60617         * soft-fp/op-1.h: Likewise.
60618         * soft-fp/op-2.h: Likewise.
60619         * soft-fp/op-4.h: Likewise.
60620         * soft-fp/op-8.h: Likewise.
60621         * soft-fp/op-common.h: Likewise.
60622         * soft-fp/quad.h: Likewise.
60623         * soft-fp/single.h: Likewise.
60624         * soft-fp/soft-fp.h: Likewise.
60625         * soft-fp/sqrtdf2.c: Likewise.
60626         * soft-fp/sqrtsf2.c: Likewise.
60627         * soft-fp/sqrttf2.c: Likewise.
60628         * soft-fp/subdf3.c: Likewise.
60629         * soft-fp/subsf3.c: Likewise.
60630         * soft-fp/subtf3.c: Likewise.
60631         * soft-fp/truncdfsf2.c: Likewise.
60632         * soft-fp/trunctfdf2.c: Likewise.
60633         * soft-fp/trunctfsf2.c: Likewise.
60634         * soft-fp/trunctfxf2.c: Likewise.
60635         * soft-fp/unorddf2.c: Likewise.
60636         * soft-fp/unordsf2.c: Likewise.
60637         * soft-fp/unordtf2.c: Likewise.
60639 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60641         [BZ #15672]
60642         * misc/error.c (error_tail): Fix possible buffer overflow.
60644 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60646         [BZ #13028]
60647         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60648         address.
60650 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60652         [BZ #832]
60653         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60654         testing pipefail option.
60656 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60658         * soft-fp/double.h: Indent preprocessor directives inside #if.
60659         * soft-fp/extended.h: Likewise.
60660         * soft-fp/op-2.h: Likewise.
60661         * soft-fp/op-4.h: Likewise.
60662         * soft-fp/op-common.h: Likewise.
60663         * soft-fp/quad.h: Likewise.
60664         * soft-fp/single.h: Likewise.
60665         * soft-fp/soft-fp.h: Likewise.
60667 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60669         * iconv/iconv_prog.c: Fix typos.
60670         * stdio-common/psiginfo-data.h: Likewise.
60672 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60674         [BZ #15764]
60675         * locale/setlocale.c: Fix typo.
60677 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60679         [BZ #16036]
60680         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60681         signaling NaN arguments.
60682         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60683         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60685         [BZ #14910]
60686         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60687         unordered operands.
60688         * soft-fp/gesf2.c (__gesf2): Likewise.
60689         * soft-fp/getf2.c (__getf2): Likewise.
60690         * soft-fp/ledf2.c (__ledf2): Likewise.
60691         * soft-fp/lesf2.c (__lesf2): Likewise.
60692         * soft-fp/letf2.c (__letf2): Likewise.
60694         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60695         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60696         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60697         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60698         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60699         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60700         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60701         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60702         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60703         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60704         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60705         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60706         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60707         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60708         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60709         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60710         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60711         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60712         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60713         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60714         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60715         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60716         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60717         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60718         * soft-fp/floattidf.c (__floattidf): Likewise.
60719         * soft-fp/floattisf.c (__floattisf): Likewise.
60720         * soft-fp/floattitf.c (__floattitf): Likewise.
60721         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60722         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60723         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60724         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60725         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60726         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60727         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60728         * soft-fp/gesf2.c (__gesf2): Likewise.
60729         * soft-fp/getf2.c (__getf2): Likewise.
60730         * soft-fp/ledf2.c (__ledf2): Likewise.
60731         * soft-fp/lesf2.c (__lesf2): Likewise.
60732         * soft-fp/letf2.c (__letf2): Likewise.
60734         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60735         Undefine and redefine.
60736         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60737         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60738         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60739         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60740         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60741         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60742         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60743         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60744         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60745         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60746         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60747         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60748         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60749         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60750         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60752         [BZ #16032]
60753         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60754         without decrementing exponent if mantissa >= that for the
60755         denominator, not >.
60756         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60757         denominator, not >.  Decrement exponent in < case instead of
60758         incrementing in >= case.
60759         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60760         without decrementing exponent if mantissa >= that for the
60761         denominator, not >.
60763         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60764         computing saturated result for unsigned overflow.
60766 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60767             Jeff Law  <law@redhat.com>
60769         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60770         (atan2Mp): Add systemtap probe marker.
60771         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60772         (__ieee754_log): Add systemtap probe marker.
60773         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60774         (atanMp): Add systemtap probe marker.
60775         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60776         (tanMp): Add systemtap probe marker.
60777         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60778         (__slowexp): Add systemtap probe marker.
60779         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60780         (__slowpow): Add systemtap probe marker.
60781         * manual/probes.texi: Document probes.
60783 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60785         [BZ #15362]
60786         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60787         written.
60788         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60789         written.
60790         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60791         written to buffer but not flushed.
60792         * libio/iofwrite_u.c:  Likewise.
60793         * libio/iopadn.c:  Return bytes returned even if EOF was
60794         encountered.
60795         * libio/iowpadn.c:  Likewise.
60796         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60797         if _IO_padn does not write the whole buffer.
60798         [!COMPILE_WPRINTF] (PAD): Likewise.
60800 2013-10-10  David S. Miller  <davem@davemloft.net>
60802         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60803         directory block.
60805 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60807         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60808         instead of FSF address.
60809         * soft-fp/fixdfti.c: Likewise.
60810         * soft-fp/fixsfti.c: Likewise.
60811         * soft-fp/fixtfti.c: Likewise.
60812         * soft-fp/fixunsdfti.c: Likewise.
60813         * soft-fp/fixunssfti.c: Likewise.
60814         * soft-fp/fixunstfti.c: Likewise.
60815         * soft-fp/floattidf.c: Likewise.
60816         * soft-fp/floattisf.c: Likewise.
60817         * soft-fp/floattitf.c: Likewise.
60818         * soft-fp/floatuntidf.c: Likewise.
60819         * soft-fp/floatuntisf.c: Likewise.
60820         * soft-fp/floatuntitf.c: Likewise.
60821         * soft-fp/trunctfxf2.c: Likewise.
60823         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60824         * soft-fp/fixdfti.c: Likewise.
60825         * soft-fp/fixsfti.c: Likewise.
60826         * soft-fp/fixtfti.c: Likewise.
60827         * soft-fp/fixunsdfti.c: Likewise.
60828         * soft-fp/fixunssfti.c: Likewise.
60829         * soft-fp/fixunstfti.c: Likewise.
60830         * soft-fp/floattidf.c: Likewise.
60831         * soft-fp/floattisf.c: Likewise.
60832         * soft-fp/floattitf.c: Likewise.
60833         * soft-fp/floatuntidf.c: Likewise.
60834         * soft-fp/floatuntisf.c: Likewise.
60835         * soft-fp/floatuntitf.c: Likewise.
60836         * soft-fp/trunctfxf2.c: Likewise.
60838 2013-10-10  David S. Miller  <davem@davemloft.net>
60840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60842 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60844         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60845         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60846         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60847         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60848         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60849         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60850         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60852         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60853         for NaNs before doing comparisons on argument.
60854         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60855         Likewise.
60857 2013-10-10  Will Newton  <will.newton@linaro.org>
60859         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60860         passed to _int_memalign does not overflow.
60862 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60864         * scripts/bench.pl: Add include-sources directive.
60865         * benchtests/README: Update documentation.
60867 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60869         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60870         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60871         instead of FP_INIT_ROUNDMODE.
60872         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60873         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60875         [BZ #16034]
60876         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60877         copy class of input value.
60878         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60879         not handle exceptions.
60880         * soft-fp/negsf2.c (__negsf2): Likewise.
60881         * soft-fp/negtf2.c (__negtf2): Likewise.
60882         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60884 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60886         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60887         semicolon.  From Linux kernel.
60889 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60891         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60893 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60895         [BZ #156]
60896         * manual/socket.texi: Added statement about buffer
60897         for gethostbyname2_r.
60899 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60901         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60902         Use .p2align directive instead, throughout.
60903         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60904         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60905         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60906         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60907         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60908         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60909         * sysdeps/x86_64/strchr.S: Likewise.
60910         * sysdeps/x86_64/strrchr.S: Likewise.
60912 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60914         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60916         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60918         * sysdeps/generic/math_private.h (__mpsin1): Remove
60919         declaration.
60920         (__mpcos1): Likewise.
60921         (__mpsin): New argument __range_reduce.
60922         (__mpcos): Likewise.
60923         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60924         (slow): Use __mpsin and __mpcos.
60925         (slow1): Likewise.
60926         (slow2): Likewise.
60927         (sloww): Likewise.
60928         (sloww1): Likewise.
60929         (sloww2): Likewise.
60930         (bsloww): Likewise.
60931         (bsloww1): Likewise.
60932         (bsloww2): Likewise.
60933         (cslow2): Likewise.
60934         (csloww): Likewise.
60935         (csloww1): Likewise.
60936         (csloww2): Likewise.
60937         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60938         range_reduce.  Merge in __mpsin1.
60939         (__mpcos): Likewise.
60940         (__mpsin1): Remove.
60941         (__mpcos1): Likewise.
60943 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60945         * locale/loadlocale.c (_nl_intern_locale_data): Use
60946         LOCFILE_ALIGNED_P.
60947         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60948         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60949         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60950         obstack data is appropriately aligned.
60951         (obstack_int32_grow_fast): Likewise.
60952         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60953         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60954         (add_locale_uint32_array): Likewise.
60956 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60958         * benchtests/Makefile: Remove ARGLIST and RET variables.
60959         ($(objpfx)bench-%.c): Pass only function name to the script.
60960         * benchtests/README: Update documentation.
60961         * benchtests/acos-inputs: Add new directives.
60962         * benchtests/acosh-inputs: Likewise.
60963         * benchtests/asin-inputs: Likewise.
60964         * benchtests/asinh-inputs: Likewise.
60965         * benchtests/atan-inputs: Likewise.
60966         * benchtests/atanh-inputs: Likewise.
60967         * benchtests/cos-inputs: Likewise.
60968         * benchtests/cosh-inputs: Likewise.
60969         * benchtests/exp-inputs: Likewise.
60970         * benchtests/log-inputs: Likewise.
60971         * benchtests/pow-inputs: Likewise.
60972         * benchtests/rint-inputs: Likewise.
60973         * benchtests/sin-inputs: Likewise.
60974         * benchtests/sinh-inputs: Likewise.
60975         * benchtests/tan-inputs: Likewise.
60976         * benchtests/tanh-inputs: Likewise.
60977         * scripts/bench.pl: Add support for new directives.
60979 2013-10-07  Alan Modra  <amodra@gmail.com>
60981         * README: Fix careless merge.
60983 2013-10-05  Alan Modra  <amodra@gmail.com>
60985         * NEWS: Mention powerpc64le support and bugs fixed.
60986         * README: Both big-endian and little-endian powerpc64 supported.
60988 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60990         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60991         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60992         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60993         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60995 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
60997         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60998         match prototype.
61000 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61002         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61003         Move -mhard-float appending from
61004         ports/sysdeps/powerpc/powerpc32/Makefile.
61005         [$(with-fp) = yes] (ASFLAGS): Likewise.
61006         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61007         * sysdeps/powerpc/nofpu: Move directory from
61008         ports/sysdeps/powerpc/nofpu.
61009         * sysdeps/powerpc/soft-fp: Move directory from
61010         ports/sysdeps/powerpc/soft-fp.
61011         * sysdeps/powerpc/powerpc32/405: Move directory from
61012         ports/sysdeps/powerpc/powerpc32/405.
61013         * sysdeps/powerpc/powerpc32/440: Move directory from
61014         ports/sysdeps/powerpc/powerpc32/440.
61015         * sysdeps/powerpc/powerpc32/464: Move directory from
61016         ports/sysdeps/powerpc/powerpc32/464.
61017         * sysdeps/powerpc/powerpc32/476: Move directory from
61018         ports/sysdeps/powerpc/powerpc32/476.
61019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61020         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61022         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61024         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61026         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61028         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61029         * README: Update for powerpc-*-linux-gnu software floating point
61030         support in libc.
61032         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61033         case to powerpc/powerpc32*.
61034         * sysdeps/unix/sysv/linux/configure: Regenerated.
61036         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61037         (_FPU_MASK_OM): Define as 0x04.
61038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61040         0x00c10080.
61041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61042         0x0000003c.
61043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61046         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61047         getcontext_e500.
61048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61049         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61050         setcontext_e500.
61051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61052         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61053         and setcontext_e500.
61055 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61057         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61059 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61061         * manual/threads.texi (Default Thread Attributes): Fix typo.
61063 2013-10-04  Will Newton  <will.newton@linaro.org>
61065         * malloc/Makefile: Add tst-memalign.
61066         * malloc/tst-memalign.c: New file.
61068         * malloc/tst-posix_memalign.c: Add comments.
61069         (do_test): Add comments and call free on all potentially
61070         allocated pointers. Add space after cast.
61072         * malloc/tst-pvalloc.c: Add comments.
61073         (do_test): Add comments and call free on all potentially
61074         allocated pointers. Remove duplicate check for NULL pointer.
61075         Add space after cast.
61077         * malloc/tst-valloc.c: Add comments.
61078         (do_test): Add comments and call free on all potentially
61079         allocated pointers. Remove duplicate check for NULL pointer.
61080         Add space after cast.
61082 2013-10-04  Alan Modra  <amodra@gmail.com>
61084         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61085         Use stdint types in rather than __attribute__((mode())).
61086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61088 2013-10-04  Alan Modra  <amodra@gmail.com>
61090         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61091         Correct handling of unaligned relocs for little-endian.
61092         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61094 2013-10-04  Alan Modra  <amodra@gmail.com>
61096         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61097         * configure: Regenerate.
61098         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61099         * shlib-versions: Likewise.
61101 2013-10-04  Alan Modra  <amodra@gmail.com>
61103         * string/tester.c (test_memrchr): Increment reported test cycle.
61105 2013-10-04  Alan Modra  <amodra@gmail.com>
61107         * string/test-memcpy.c (do_one_test): When reporting errors, print
61108         string address and don't overrun end of string.
61110 2013-10-04  Alan Modra  <amodra@gmail.com>
61112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61113         insrdi.  Make better use of reg selection to speed exit slightly.
61114         Schedule entry path a little better.  Remove useless "are we done"
61115         checks on entry to main loop.  Handle wrapping around zero address.
61116         Correct main loop count.  Handle single left-over word from main
61117         loop inline rather than by using loop_small.  Remove extra word
61118         case in loop_small caused by wrong loop count.  Add little-endian
61119         support.
61120         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61122         cache hint.
61123         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61124         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61125         support.  Avoid rlwimi.
61126         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61128 2013-10-04  Alan Modra  <amodra@gmail.com>
61130         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61131         insrdi.  Formatting.
61132         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61133         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61134         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61135         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61136         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61137         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61139 2013-10-04  Alan Modra  <amodra@gmail.com>
61141         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61142         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61143         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61144         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61145         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61146         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61147         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61148         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61149         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61150         use of regs.  Use power7 mtocrf.  Tidy function tails.
61152 2013-10-04  Alan Modra  <amodra@gmail.com>
61154         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61155         Formatting.  Consistently use rXXX register defines or rN defines.
61156         Use early exit labels that avoid restoring unused non-volatile regs.
61157         Make cr field use more consistent with rWORDn compares.  Rename
61158         regs used as shift registers for unaligned loop, using rN defines
61159         for short lifetime/multiple use regs.
61160         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61161         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61162         addi 1,1,64 to pop stack frame.  Simplify return value code.
61163         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61165 2013-10-04  Alan Modra  <amodra@gmail.com>
61167         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61168         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61169         rather than rlwimi.
61170         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61171         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61172         little-endian support.  Correct typos.
61173         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61174         rather than rlwimi.
61175         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61176         in loop and entry code to keep "and." results.
61177         (strchr): Add little-endian support.  Comment.  Move cntlzd
61178         earlier in tail.
61179         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61181 2013-10-04  Alan Modra  <amodra@gmail.com>
61183         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61184         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61185         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61186         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61188 2013-10-04  Alan Modra  <amodra@gmail.com>
61190         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61191         (rTMP): Define as r11.
61192         (strcmp): Add little-endian support.  Optimise tail.
61193         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61194         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61195         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61196         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61197         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61198         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61199         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61201 2013-10-04  Alan Modra  <amodra@gmail.com>
61203         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61204         little-endian support.  Remove unnecessary "are we done" tests.
61205         Handle "s" wrapping around zero and extremely large "size".
61206         Correct main loop count.  Handle single left-over word from main
61207         loop inline rather than by using small_loop.  Correct comments.
61208         Delete "zero" tail, use "end_max" instead.
61209         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61211 2013-10-04  Alan Modra  <amodra@gmail.com>
61213         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61214         support.  Don't branch over align.
61215         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61216         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61217         support.  Rearrange tmp reg use to suit.  Comment.
61218         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61220 2013-10-04  Alan Modra  <amodra@gmail.com>
61222         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61224 2013-10-04  Alan Modra  <amodra@gmail.com>
61226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61227         conditional form of branch and link when obtaining pc.
61228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61230 2013-10-04  Alan Modra  <amodra@gmail.com>
61232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61233         HIWORD/LOWORD.
61234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61237 2013-10-04  Alan Modra  <amodra@gmail.com>
61239         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61240         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61241         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61242         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61243         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61244         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61245         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61246         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61247         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61248         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61250 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61251             Alistair Popple <alistair@ozlabs.au.ibm.com>
61252             Alan Modra <amodra@gmail.com>
61254         [BZ #15723]
61255         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61256         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61257         _dl_hwcap access for little-endian.
61258         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61259         destroy vmx regs when saving unaligned.
61260         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61261         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61262         destroy vmx regs when saving unaligned.
61264 2013-10-04  Alan Modra  <amodra@gmail.com>
61266         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61267         Don't use a union to pack hi/low value.
61269 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61271         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61272         for little-endian.
61273         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61274         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61275         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61276         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61277         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61279 2013-10-04  Alan Modra  <amodra@gmail.com>
61281         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61282         constants to usual value for .cst8 section, and remove redundant
61283         high address load.
61284         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61285         constant for 0x1p52.  Load little-endian words of double from
61286         correct stack offsets.
61288 2013-10-04  Alan Modra  <amodra@gmail.com>
61290         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61291         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61292         words of double from correct stack offsets.
61293         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61294         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61295         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61296         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61297         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61298         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61299         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61300         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61301         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61302         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61303         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61304         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61305         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61306         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61307         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61308         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61309         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61311 2013-10-04  Alan Modra  <amodra@gmail.com>
61313         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61314         64-bit int/double union.
61315         (_FPU_SETCW): Likewise.
61316         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61317         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61319 2013-10-04  Alan Modra  <amodra@gmail.com>
61321         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61322         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61324 2013-10-04  Alan Modra  <amodra@gmail.com>
61326         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61327         use vector int constants.
61328         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61330 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61332         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61333         array with long long.
61334         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61335         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61336         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61337         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61338         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61339         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61340         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61341         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61342         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61343         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61344         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61345         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61346         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61348 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61350         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61351         (__signbit): Likewise.  Correct for little-endian.
61352         (__signbitl): Call __signbit.
61353         (lrint): Correct for little-endian.
61354         (lrintf): Call lrint.
61356 2013-10-04  Alan Modra  <amodra@gmail.com>
61358         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61359         union 32-bit int array member with 64-bit int array.
61360         (t515, tm256): Double rather than long double.
61361         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61363 2013-10-04  Alan Modra  <amodra@gmail.com>
61365         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61366         Delete.
61367         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61369         version of math_ldbl.h.
61371 2013-10-04  Alan Modra  <amodra@gmail.com>
61373         [BZ #15734], [BZ #15735]
61374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61375         all uses of ieee875 long double macros and unions.  Simplify test
61376         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61377         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61378         normalize after ldbl_extract_mantissa, and don't add hidden bit
61379         already handled.  Don't treat low word of ieee854 mantissa like
61380         low word of IBM long double and mask off bit when testing for
61381         zero.
61382         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61383         all uses of ieee875 long double macros and unions.  Simplify tests
61384         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61385         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61386         two1022, instead use their values.  Recognise that tests for large
61387         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61388         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61389         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61390         test for 0.0L and nan.  Correct negation.
61391         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61392         ieee875 long double macros and unions.  Correct output for large
61393         magnitude x.  Correct absolute value calculation.
61394         (__erfcl): Likewise.
61395         * math/libm-test.inc: Add tests for errors discovered in IBM long
61396         double versions of fmodl, remainderl, erfl and erfcl.
61398 2013-10-04  Alan Modra  <amodra@gmail.com>
61400         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61401         all uses of ieee854 long double macros and unions.  Simplify tests
61402         for long doubles that are fully specified by the high double.
61403         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61404         Likewise.
61405         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61406         Remove dead code too.
61407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61408         (__ieee754_ynl): Likewise.
61409         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61410         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61411         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61412         Remove dead code too.
61413         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61414         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61416         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61417         Simplify.
61418         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61419         Simplify.
61420         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61421         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61422         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61423         Comment on variable precision.
61424         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61425         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61426         Likewise.
61427         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61428         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61429         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61430         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61431         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61433 2013-10-04  Alan Modra  <amodra@gmail.com>
61435         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61436         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61437         all uses of ieee854 long double macros and unions.
61438         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61439         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61440         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61441         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61442         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61443         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61444         Likewise.
61445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61446         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61447         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61448         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61449         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61450         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61451         Simplify sign and nan test too.
61452         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61453         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61454         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61455         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61456         Likewise.
61457         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61458         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61459         Likewise.
61460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61461         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61462         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61463         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61464         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61467 2013-10-04  Alan Modra  <amodra@gmail.com>
61469         * stdio-common/printf_size.c (__printf_size): Don't use
61470         union ieee854_long_double in fpnum union.
61471         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61472         signbit macro to retrieve sign from long double.
61473         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61474         retrieve sign from long double.
61475         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61476         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61477         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61478         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61479         * math/test-misc.c (main): Don't use union ieee854_long_double.
61481 2013-10-04  Alan Modra  <amodra@gmail.com>
61483         [BZ #15680]
61484         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61485         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61486         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61487         calculation.  Remove unnecessary test for denormal exponent.
61488         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61489         Correct handling of denormals.  Avoid undefined shift behaviour.
61490         Correct normalisation of low mantissa when low double is denormal.
61491         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61492         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61493         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61494         Correct normalisation of low mantissa.  Test for overflow of high
61495         mantissa and normalise.
61496         (ldbl_nearbyint): Use more readable constant for two52.
61497         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61498         (__mpn_construct_long_double): Fix test for overflow of high
61499         mantissa and correct normalisation.  Avoid undefined shift.
61501 2013-10-04  Alan Modra  <amodra@gmail.com>
61503         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61504         (union ibm_extended_long_double): Define as an array of ieee754_double.
61505         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61507         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61508         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61509         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61510         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61512         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61513         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61514         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61515         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61517 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61519         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61520         page size instead of calling getpagesize.
61522         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61523         (LOCFILE_ALIGN_MASK): Likewise.
61524         (LOCFILE_ALIGN_UP): Likewise.
61525         (LOCFILE_ALIGNED_P): Likewise.
61526         * locale/programs/ld-collate.c (collate_output): Use the new
61527         macros instead of __alignof__ (int32_t).
61528         * locale/weight.h (findidx): Likewise.
61530 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61532         [BZ #431]
61533         * manual/string.texi: Fix strncat and wcsncat.
61535 2013-10-03  Brooks Moses  <bmoses@google.com>
61537         [BZ #15915]
61538         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61539         * Makerules: ...here, and adjust associated comments.
61541 2013-10-02  Will Newton  <will.newton@linaro.org>
61543         * malloc/Makefile: Add tst-pvalloc.
61544         * malloc/tst-pvalloc.c: New file.
61546 2013-10-02  Will Newton  <will.newton@linaro.org>
61548         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61549         improve test coverage.
61551 2013-10-02  Will Newton  <will.newton@linaro.org>
61553         * malloc/Makefile: Add tst-posix_memalign.
61554         * malloc/tst-posix_memalign.c: New file.
61556 2013-10-01  Eric Blake  <eblake@redhat.com>
61558         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61559         Use __THROWNL rather than __THROW on static functions.
61561 2013-09-30  Petr Machata  <pmachata@redhat.com>
61563         * elf/elf.h (R_AARCH64_ABS16): New macro.
61564         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61565         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61566         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61567         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61568         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61569         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61570         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61571         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61572         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61573         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61574         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61575         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61576         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61577         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61578         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61579         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61580         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61581         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61582         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61583         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61584         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61585         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61586         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61587         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61588         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61589         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61590         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61591         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61592         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61593         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61594         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61595         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61596         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61597         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61598         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61599         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61600         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61601         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61602         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61603         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61604         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61605         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61606         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61607         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61608         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61609         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61610         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61611         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61612         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61613         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61614         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61615         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61616         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61617         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61618         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61619         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61620         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61621         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61622         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61623         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61624         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61625         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61626         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61627         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61628         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61629         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61630         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61631         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61632         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61633         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61634         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61635         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61636         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61637         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61638         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61639         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61640         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61641         (R_AARCH64_TLSDESC_LDR): Likewise.
61642         (R_AARCH64_TLSDESC_ADD): Likewise.
61643         (R_AARCH64_TLSDESC_CALL): Likewise.
61645 2013-09-30  Andreas Schwab  <schwab@suse.de>
61647         [BZ #15048]
61648         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61649         the nss database lookup.
61650         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61653 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61655         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61657 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61659         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61660         ${Bash-specific parameter/pattern/string} parameter expansion.
61661         * sysdeps/unix/make-syscalls.sh: Likewise.
61663 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61665         * sysdeps/sh/stackguard-macros.h: New file.
61667 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61671         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61672         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61673         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61674         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61676 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61678         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61679         Fix thread ID register.
61681 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61683         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61684         [POSIX || UNIX98]: Require rather than permitting all symbols from
61685         <time.h>.
61686         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61687         element of struct sched_param.
61688         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61689         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61690         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61691         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61692         constant.
61694 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61696         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61697         argument calculation.
61699 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61701         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61702         Expect macro.
61703         [POSIX] (pthread_attr_t): Do not require type.
61704         [POSIX] (pthread_cond_t): Likewise.
61705         [POSIX] (pthread_condattr_t): Likewise.
61706         [POSIX] (pthread_key_t): Likewise.
61707         [POSIX] (pthread_mutex_t): Likewise.
61708         [POSIX] (pthread_mutexattr_t): Likewise.
61709         [POSIX] (pthread_once_t): Likewise.
61710         [POSIX] (pthread_t): Likewise.
61711         [POSIX-based standards] (pthread_atfork): Expect function.
61713 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61714             Richard Sandiford  <richard@codesourcery.com>
61716         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61717         (swap_endianness_p): New extern variable.
61718         (set_big_endian): New inline function.
61719         (maybe_swap_uint32): Likewise.
61720         (maybe_swap_uint32_array): Likewise.
61721         (maybe_swap_uint32_obstack): Likewise.
61722         * locale/programs/locfile.c: Include <stdbool.h>.
61723         (swap_endianness_p): New variable.
61724         (add_locale_uint32): Call maybe_swap_uint32.
61725         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61726         (write_locale_data): Call maybe_swap_uint32_array.
61727         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61728         maybe_swap_uint32.
61729         (obstack_int32_grow_fast): Likewise.
61730         (output_weightwc): Call maybe_swap_uint32_obstack.
61731         (collate_output): Likewise.
61732         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61733         (OPT_LITTLE_ENDIAN): Likewise.
61734         (options): Add --little-endian and --big-endian options.
61735         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61736         * locale/programs/locarchive.c: Include "locfile.h".
61737         (GET): New macro.
61738         (SET): Likewise.
61739         (INC): Likewise.
61740         (create_archive): Use the new macros to access fields of
61741         structures directly mapped from or written to locale archives.
61742         (oldlocrecentcmp): Likewise.
61743         (enlarge_archive): Likewise.
61744         (insert_name): Likewise.
61745         (add_alias): Likewise.
61746         (add_locale): Likewise.
61747         (delete_locales_from_archive): Likewise.
61748         (show_archive_content): Likewise.
61749         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61750         locale data.
61752 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61754         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61755         http://www.gnu.org/doc/freemanuals.texi.
61756         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61758 2013-09-24  Will Newton  <will.newton@linaro.org>
61760         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61761         macro.
61763 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61765         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61766         unsigned char.
61768 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61770         * manual/threads.texi (POSIX Threads): Fix a typo.
61772 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61774         [BZ #14547]
61775         * string/tst-strcoll-overflow.c: New test case.
61776         * string/Makefile (xtests): Add tst-strcoll-overflow.
61777         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61778         cache if string sizes may cause integer overflow.
61780         [BZ #14547]
61781         * string/strcoll_l.c (coll_seq): New members rule, idx,
61782         save_idx and back_us.
61783         (get_next_seq_nocache): New function.
61784         (do_compare_nocache): New function.
61785         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61786         when malloc fails.
61788 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61790         [BZ #15754]
61791         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61792         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61793         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61795         [BZ #15754]
61796         * elf/Makefile (tests): Add tst-ptrguard1.
61797         (tests-static): Add tst-ptrguard1-static.
61798         (tst-ptrguard1-ARGS): Define.
61799         (tst-ptrguard1-static-ARGS): Define.
61800         * elf/tst-ptrguard1.c: New file.
61801         * elf/tst-ptrguard1-static.c: New file.
61802         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61803         * sysdeps/i386/stackguard-macros.h: Likewise.
61804         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61805         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61806         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61807         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61808         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61809         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61811 2013-09-23  Hector Marco  <hecmargi@upv.es>
61812             Ismael Ripoll  <iripoll@disca.upv.es>
61813             Carlos O'Donell  <carlos@redhat.com>
61815         [BZ #15754]
61816         * sysdeps/generic/stackguard-macros.h: Define
61817         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61818         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61819         Define __pointer_chk_guard_local.
61820         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61821         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61823 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61825         [BZ #15859]
61826         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61828 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61830         * include/string.h (__ffs): Declare as hidden.
61831         * string/ffs.c (__ffs): Define as hidden.
61832         * sysdeps/i386/ffs.c (__ffs): Likewise.
61833         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61834         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61835         * sysdeps/s390/ffs.c (__ffs): Likewise.
61836         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61838 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61840         * NEWS: Mention malloc probes.
61842         * malloc/arena.c (new_heap): New memory_heap_new probe.
61843         (grow_heap): New memory_heap_more probe.
61844         (shrink_heap): New memory_heap_less probe.
61845         (heap_trim): New memory_heap_free probe.
61846         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61847         (systrim): New memory_sbrk_less probe.
61848         * manual/probes.texi: Document them.
61850         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61851         * manual/probes.texi: Document it.
61853         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61854         (__libc_realloc): Add memory_realloc_retry probe.
61855         (__libc_memalign): Add memory_memalign_retry probe.
61856         (__libc_valloc): Add memory_valloc_retry probe.
61857         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61858         (__libc_calloc): Add memory_calloc_retry probe.
61859         * manual/probes.texi: Document them.
61861         * malloc/arena.c (get_free_list): Add probe
61862         memory_arena_reuse_free_list.
61863         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61864         and memory_arena_reuse.
61865         (arena_get2) [!PER_THREAD]: Likewise.
61866         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61867         memory_arena_reuse_realloc.
61868         * manual/probes.texi: Document them.
61870         * malloc/malloc.c (__libc_free): Add
61871         memory_mallopt_free_dyn_thresholds probe.
61872         (__libc_mallopt): Add multiple memory_mallopt probes.
61873         * manual/probes.texi: Document them.
61875         * malloc/malloc.c: Include stap-probe.h.
61876         (__libc_mallopt): Add memory_mallopt probe.
61877         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61878         * manual/probes.texi: New.
61879         * manual/Makefile (chapters): Add probes.
61880         * manual/threads.texi: Set next node.
61882 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61884         [BZ #15963, #13985]
61885         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61886         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61887         Add `Chinese' to `nan' entry name.
61889 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61891         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61892         (POLYNOMIAL): Likewise.
61893         (TAYLOR_SINCOS): Likewise.
61894         (TAYLOR_SLOW): Likewise.
61895         (__sin): Use TAYLOR_SINCOS.
61896         (__cos): Likewise.
61897         (slow): Use TAYLOR_SLOW.
61898         (sloww): Likewise.
61899         (bsloww): Likewise.
61900         (csloww): Likewise.
61902 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61904         * stdlib/strtod_l.c: Fix buffer overrun.
61906 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61908         * benchtests/Makefile (bench): Add sincos.
61909         * benchtests/bench-sincos.c: New file.
61911         * math/libm-test.inc (cos_test_data): New test inputs.
61912         (sin_test_data): Likewise.
61914         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61915         macro.
61916         (__sin): Use it.
61917         (__cos): Likewise.
61918         (slow1): Likewise.
61919         (slow2): Likewise.
61920         (sloww1): Likewise.
61921         (sloww2): Likewise.
61922         (bsloww1): Likewise.
61923         (bsloww2): Likewise.
61924         (cslow2): Likewise.
61925         (csloww1): Likewise.
61926         (csloww2): Likewise.
61928         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61929         function.
61930         (__sin): Use it.
61931         (__cos): Likewise.
61933         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61934         gotos.
61935         (__cos): Likewise.
61937 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61939         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61940         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61941         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61942         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61943         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61944         * elf/cache.c (print_entry): Handle the new cache flags.
61946 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61947             Aldy Hernandez  <aldyh@redhat.com>
61949         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61950         Change condition to [_SOFT_FLOAT].
61951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61954         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61963         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61966         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61967         declaration.
61969 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61971         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61972         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61973         (__longjmp): Use LOAD_GP to load saved GPRs.
61974         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61975         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61976         (__sigsetjmp): Use SAVE_GP to save GPRs.
61978         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61979         Do not append -msoft-float.
61980         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61982 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61984         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61986 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
61988         [BZ #15966]
61989         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61990         (_FPU_GETCW): Use initial "__" on variable and field names but not
61991         on macro parameter name.
61992         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
61993         parentheses around reference to macro parameter.
61995 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
61997         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61998         prototype.
61999         (ctype_startup): Use uint32_t in cast and sizeof for
62000         ctype->charnames.
62002 2013-09-11  Jia Liu  <proljc@gmail.com>
62004         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62005         __daddr_t_defined.
62006         [__FreeBSD__]: Likewise.
62008 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62011         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62012         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62013         (strchr): Remove __strchr_sse42 ifunc selection.
62014         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62015         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62017 2013-09-11  Will Newton  <will.newton@linaro.org>
62019         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62020         parameter to RES. Remove hardcoded 1000 value.
62021         * benchtests/bench-skeleton.c (main): Pass RES parameter
62022         to TIMING_INIT and multiply result by 1000.
62024 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62028 2013-09-11  Andreas Schwab  <schwab@suse.de>
62030         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62031         if not defined.
62032         (O_TMPFILE) [__USE_GNU]: Define.
62033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62034         Define.
62036 2013-09-11  Will Newton  <will.newton@linaro.org>
62038         [BZ #15857]
62039         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62040         does not overflow.
62042 2013-09-11  Will Newton  <will.newton@linaro.org>
62044         [BZ #15856]
62045         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62046         does not overflow.
62048 2013-09-11  Will Newton  <will.newton@linaro.org>
62050         [BZ #15855]
62051         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62052         does not overflow.
62054 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62056         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62057         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62058         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62059         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62060         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62062 2013-09-10  Allan McRae  <allan@archlinux.org>
62064         [BZ #15748]
62065         * manual/arith.texi (Parsing of Floats): Clarify
62066         cross-reference.
62068         [BZ #15849]
62069         * manual/install.texi (Running make install): Mention
62070         --enable-pt-chown.
62071         * INSTALL: Regenerated.
62073 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62075         * csu/init-first.c (_init): Remove the !SHARED condition around
62076         FPU control word initialization.
62077         * elf/dl-support.c (_dl_fpu_control): New variable.
62078         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62079         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62080         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62081         * math/test-fpucw-static.c: New file.
62082         * math/test-fpucw-ieee.c: New file.
62083         * math/test-fpucw-ieee-static.c: New file.
62084         * math/Makefile (tests): Add `test-fpucw-ieee' and
62085         `$(tests-static)'.
62086         (tests-static): New variable.
62087         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62088         dependency to...
62089         [($(build-shared),yes)]
62090         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62091         ... this.
62092         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62093         New dependency.
62095 2013-09-09  Allan McRae  <allan@archlinux.org>
62097         [BZ #15939]
62098         * manual/string.texi (Collation Functions): Fix typo in
62099         strcoll example.
62100         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62102         [BZ #15893]
62103         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62105         [BZ #15892]
62106         * libio/memstream.c (open_memstream): Fix memory leak.
62107         * libio/wmemstream.c (open_wmemstream): Likewise.
62109         [BZ #15895]
62110         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62112 2013-09-09  Will Newton  <will.newton@linaro.org>
62114         * malloc/Makefile: Add tst-realloc to tests.
62115         * malloc/tst-realloc.c: New file.
62117 2013-09-09  Allan McRae  <allan@archlinux.org>
62119         [BZ #15844]
62120         * COPYING: Update from GNU website to fix FSF address.
62121         * COPYING.LIB: Likewise.
62123 2013-09-06  David S. Miller  <davem@davemloft.net>
62125         * po/zh_TW.po: Update Chinese (traditional) translation from
62126         translation project.
62128 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62129             Joseph Myers  <joseph@codesourcery.com>
62131         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62132         "localeinfo.h".
62133         (obstack_chunk_alloc): New macro.
62134         (obstack_chunk_free): Likewise.
62135         (record_offset): New function.
62136         (init_locale_data): Likewise.
62137         (align_locale_data): Likewise.
62138         (add_locale_empty): Likewise.
62139         (add_locale_raw_data): Likewise.
62140         (add_locale_raw_obstack): Likewise.
62141         (add_locale_string): Likewise.
62142         (add_locale_wstring): Likewise.
62143         (add_locale_uint32): Likewise.
62144         (add_locale_uint32_array): Likewise.
62145         (add_locale_char): Likewise.
62146         (start_locale_structure): Likewise.
62147         (end_locale_structure): Likewise.
62148         (start_locale_prelude): Likewise.
62149         (end_locale_prelude): Likewise.
62150         (write_locale_data): Take locale_file structure rather than an
62151         iovec.
62152         * locale/programs/locfile.h: Include "obstack.h".
62153         (struct locale_file): Change to store locale file contents instead
62154         of header.
62155         (init_locale_data): New prototype.
62156         (align_locale_data): Likewise.
62157         (add_locale_empty): Likewise.
62158         (add_locale_raw_data): Likewise.
62159         (add_locale_raw_obstack): Likewise.
62160         (add_locale_string): Likewise.
62161         (add_locale_wstring): Likewise.
62162         (add_locale_uint32): Likewise.
62163         (add_locale_uint32_array): Likewise.
62164         (add_locale_char): Likewise.
62165         (start_locale_structure): Likewise.
62166         (end_locale_structure): Likewise.
62167         (start_locale_prelude): Likewise.
62168         (end_locale_prelude): Likewise.
62169         (write_locale_data): Update prototype.
62170         * locale/programs/3level.h (struct TABLE): Remove result field.
62171         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62172         Use new locale_file interface.
62173         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62174         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62175         * locale/programs/ld-address.c (address_output): Use new
62176         locale_file interface.
62177         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62178         NO_ADD_LOCALE.
62179         (collate_finish): Don't call collseq_table_finalize.
62180         (collate_output): Use new locale_file interface.
62181         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62182         in file.
62183         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62184         (TABLE): Move defines earlier in file.
62185         (ELEMENT): Likewise.
62186         (DEFAULT): Likewise.
62187         (wctrans_table_add): Move macro and inline function earlier in
62188         file.
62189         (struct wctype_table): Move type earlier in file.
62190         (add_locale_wctype_table): New static prototype.
62191         (struct locale_ctype_t): Use logical types instead of struct iovec
62192         pointers for members.
62193         (ctype_output): Use new locale_file interface.
62194         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62195         new locale_file interface.
62196         (allocate_arrays): Update for use of new locale_file interface.
62197         * locale/programs/ld-identification.c (identification_output): Use
62198         new locale_file interface.
62199         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62200         * locale/programs/ld-messages.c (messages_output): Likewise.
62201         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62202         * locale/programs/ld-name.c (name_output): Likewise.
62203         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62204         * locale/programs/ld-paper.c (paper_output): Likewise.
62205         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62206         * locale/programs/ld-time.c (time_output): Likewise.
62208 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62210         * benchtests/Makefile: Add memrchr benchmark.
62211         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62212         benchmark as memrchr.
62213         * benchtests/bench-memrchr-ifunc.c: New file.
62214         * benchtests/bench-memrchr.c: New file.
62216 2013-09-06   Will Newton  <will.newton@linaro.org>
62218         * benchtests/Makefile (string-bench): Add memcpy.
62220 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62221             Cong Wang  <amwang@redhat.com>
62223         [BZ #15850]
62224         * sysdeps/unix/sysv/linux/bits/in.h
62225         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62226         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62227         before __USE_KERNEL_IPV6_DEFS uses.
62228         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62229         IPPROTO_BEETPH.
62230         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62231         sockaddr_in6, or ipv6_mreq.
62233 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62235         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62236         memory access for final bytes in some large inputs.
62237         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62239 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62241         * string/test-memrchr.c: New file.
62242         * string/test-memrchr-ifunc.c: New file.
62243         * string/Makefile: Add new memrchr testcase.
62245 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62247         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62248         fanotify_init returns EPERM.
62250 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62252         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62253         errors.
62254         (top level): Treat second token from macro or constant entries for
62255         allowed headers as allowed.
62256         * include/complex.h: Condition internal declarations on
62257         [!_ISOMAC].
62258         * include/fenv.h: Condition include of <stdbool.h> and internal
62259         declarations on [!_ISOMAC].
62261 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62263         [BZ #15923]
62264         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62266 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62268         * configure.in (--enable-versioning): Remove configure option.
62269         (libc_cv_asm_symver_directive): Remove configure test.
62270         (libc_cv_ld_version_script_option): Likewise.
62271         (VERSIONING): Remove variable and AC_SUBST.
62272         (DO_VERSIONING): Remove AC_DEFINE.
62273         * configure: Regenerated.
62274         * config.h.in (DO_VERSIONING): Remove macro.
62275         * Makerules [$(versioning) = yes]: Change conditionals to
62276         [$(build-shared) = yes].
62277         * config.make.in (versioning): Remove variable.
62278         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62279         [$(build-shared) = yes].
62280         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62281         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62282         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62283         [$(build-shared) = yes].
62284         * extra-lib.mk [$(versioning) = yes]: Likewise.
62285         * hurd/Makefile [$(versioning) = yes]: Likewise.
62286         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62287         [SHARED].
62288         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62289         [SHARED].
62290         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62291         [SHARED && !NO_HIDDEN].
62292         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62293         [SHARED].
62294         [SHARED && DO_VERSIONING]: Likewise..
62295         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62296         [$(build-shared) = yes].
62297         * manual/install.texi (--disable-versioning): Remove
62298         documentation.
62299         * INSTALL: Regenerated.
62300         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62301         to [SHARED].
62302         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62303         [$(build-shared) = yes].
62304         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62305         * sysdeps/i386/i686/multiarch/strstr-c.c
62306         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62307         [SHARED && !NO_HIDDEN].
62308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62309         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62310         * sysdeps/powerpc/powerpc32/dl-machine.c
62311         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62312         * sysdeps/powerpc/powerpc32/sysdep.h
62313         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62314         to [SHARED && PIC && !NO_HIDDEN].
62315         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62316         conditional to [SHARED].
62318 2013-09-04   Will Newton  <will.newton@linaro.org>
62320         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62321         * benchtests/bench-string.h: Include bench-timing.h instead
62322         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62323         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62324         call to HP_TIMING_DIFF_INIT.
62325         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62326         instead of hp-timing.h macros.
62327         * benchtests/bench-memchr.c: Likewise.
62328         * benchtests/bench-memcmp.c: Likewise.
62329         * benchtests/bench-memcpy.c: Likewise.
62330         * benchtests/bench-memmem.c: Likewise.
62331         * benchtests/bench-memmove.c: Likewise.
62332         * benchtests/bench-memset.c: Likewise.
62333         * benchtests/bench-rawmemchr.c: Likewise.
62334         * benchtests/bench-strcasecmp.c: Likewise.
62335         * benchtests/bench-strcasestr.c: Likewise.
62336         * benchtests/bench-strcat.c: Likewise.
62337         * benchtests/bench-strchr.c: Likewise.
62338         * benchtests/bench-strcmp.c: Likewise.
62339         * benchtests/bench-strcpy.c: Likewise.
62340         * benchtests/bench-strcpy_chk.c: Likewise.
62341         * benchtests/bench-strlen.c: Likewise.
62342         * benchtests/bench-strncasecmp.c: Likewise.
62343         * benchtests/bench-strncat.c: Likewise.
62344         * benchtests/bench-strncmp.c: Likewise.
62345         * benchtests/bench-strncpy.c: Likewise.
62346         * benchtests/bench-strnlen.c: Likewise.
62347         * benchtests/bench-strpbrk.c: Likewise.
62348         * benchtests/bench-strrchr.c: Likewise.
62349         * benchtests/bench-strspn.c: Likewise.
62350         * benchtests/bench-strstr.c: Likewise.
62352 2013-09-04  Will Newton  <will.newton@linaro.org>
62354         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62356 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62358         [BZ #15427]
62359         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62360         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62361         * math/libm-test.inc (lgamma_test_data): Add more tests.
62362         * sysdeps/i386/fpu/libm-test-ulps: Update.
62363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62365 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62367         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62369         Add ifunc.
62370         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62371         Add strcmp-sse2-unaligned
62372         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62374 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62376         * Versions.def (libc): Add GLIBC_2.19.
62378 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62380         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62381         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62383 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62385         [BZ #14155]
62386         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62387         intermediate calculations in recurrence.
62388         (__ieee754_ynf): Likewise.
62389         * math/libm-test.inc (jn_test_data): Do not allow spurious
62390         underflow exception.  Add more tests.
62391         (yn_test_data): Add more tests.
62392         * sysdeps/i386/fpu/libm-test-ulps: Update.
62393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62395 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62397         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62399 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62401         * csu/init-first.c: Fix then/than typos.
62402         * locale/programs/ld-collate.c: Likewise.
62403         * locale/programs/linereader.h: Likewise.
62404         * manual/charset.texi: Likewise.
62405         * manual/filesys.texi: Likewise.
62406         * manual/stdio.texi: Likewise.
62407         * manual/string.texi: Likewise.
62408         * stdlib/fmtmsg.c: Likewise.
62409         * sysdeps/i386/stpncpy.S: Likewise.
62410         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62411         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62413         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62415 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62417         * elf/dl-open.c: Fix typos.
62418         * iconvdata/gbbig5.c: Likewise.
62419         * iconvdata/iso-2022-jp.c: Likewise.
62420         * iconv/gconv_int.h: Likewise.
62421         * iconv/loop.c: Likewise.
62422         * nis/rpcsvc/nis.h: Likewise.
62423         * resolv/ns_name.c: Likewise.
62424         * stdio-common/vfscanf.c: Likewise.
62425         * streams/stropts.h: Likewise.
62426         * sunrpc/rpc_thread.c: Likewise.
62427         * sysdeps/i386/strpbrk.S: Likewise.
62428         * sysdeps/ieee754/k_standard.c: Likewise.
62429         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62431         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62432         * sysdeps/mach/hurd/profil.c: Likewise.
62433         * sysdeps/s390/dl-procinfo.h: Likewise.
62434         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62435         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62436         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62437         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62438         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62440 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62442         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62445 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62447         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62448         aix specific files.
62449         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62450         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62451         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62452         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62453         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62454         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62455         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62456         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62458 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62459             Roland McGrath  <roland@hack.frob.com>
62461         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62462         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62464 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62466         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62467         __executable_start symbol instead of _start.
62469 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62471         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62472         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62473         Move macros to...
62474         * sysdeps/gnu/ldsodefs.h: ... this new file.
62476         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62477         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62478         instead of ELFOSABI_LINUX.
62480         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62481         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62482         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62483         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62484         Likewise.
62485         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62486         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62487         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62488         Likewise.
62489         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62490         (ibm_extended_long_double): Add ieee_nan member.
62491         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62492         (do_test): New function.
62494         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62495         TEST_TRUNC.
62496         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62497         functions, renamed from truncdfsf_test, trunctfsf_test,
62498         trunctfdf_test.
62499         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62500         functions.
62501         (do_test): Run all these.
62503 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62505         * argp/argp-help.c: Fix typos.
62506         * argp/argp-parse.c: Likewise.
62507         * debug/backtracesyms.c: Likewise.
62508         * elf/elf.h: Likewise.
62509         * malloc/malloc.c: Likewise.
62510         * nis/nis_print.c: Likewise.
62511         * resolv/res_comp.c: Likewise.
62512         * stdlib/stdlib.h: Likewise.
62513         * sunrpc/clnt_tcp.c: Likewise.
62514         * sunrpc/clnt_udp.c: Likewise.
62515         * sunrpc/clnt_unix.c: Likewise.
62516         * sysdeps/unix/bsd/ptsname.c: Likewise.
62517         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62518         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62520         Likewise.
62521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62522         Likewise.
62523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62524         Likewise.
62525         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62527 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62529         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62532 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62534         [BZ #15897]
62535         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62536         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62537         ($(objpfx)bug-dl-leaf): New rule.
62538         ($(objpfx)bug-dl-leaf.so): Likewise.
62539         ($(objpfx)bug-dl-leaf.out): Likewise.
62540         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62541         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62542         * dlfcn/bug-dl-leaf.c: New test.
62543         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62544         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62545         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62546         (dlclose): Likewise.
62547         (dlmopen): Likewise.
62549 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62551         * include/netdb.h [!_ISOMAC]:
62552         Don't include <tls.h>.
62553         (h_errno, __libc_h_errno): Move declaration and macros out of
62554         [_LIBC_REENTRANT].
62556         * include/resolv.h [_RESOLV_H_]:
62557         Don't include <tls.h>.
62558         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62559         * resolv/res_libc.c: Don't include <tls.h>.
62560         (_res): Use __attribute__ ((nocommon)) in place of
62561         __attribute__ ((section (".bss"))).
62563         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62564         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62566         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62568         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62569         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62571         * resolv/res_mkquery.c: Include <sys/time.h>.
62573         * inet/ifreq.c: Moved to ...
62574         * sysdeps/unix/ifreq.c: ... here.
62575         * inet/ifreq.c: New file, true stub version.
62577         * socket/sa_len.c: New file.
62578         * socket/Makefile (aux): Add it.
62579         * sysdeps/unix/sysv/linux/Makefile
62580         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62581         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62582         and #include <socket/sa_len.c>.
62583         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62584         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62586         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62587         * bits/socket.h: ... here.
62589         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62590         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62591         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62593 2013-08-27  Andreas Schwab  <schwab@suse.de>
62595         [BZ #15736]
62596         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62597         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62598         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62599         * string/test-strcasecmp.c (test_main): Run tests in several
62600         locales.
62601         * string/test-strncasecmp.c (test_main): Likewise.
62603         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62604         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62605         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62607         (__strncasecmp_ssse3) [PIC]: Likewise.
62609 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62611         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62613         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62614         instead of explicitly declaring xdecrypt.
62615         * nis/nss_nis/nis-publickey.c: Likewise.
62617 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62619         [BZ #15890]
62620         * nscd/aicache.c: Include res_hconf.h.
62621         (addhstaiX): Initialize res_hconf.
62623 2013-08-26  Andreas Schwab  <schwab@suse.de>
62625         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62626         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62628 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62630         * nscd/aicache.c (addhstaiX): Fix indentation.
62632 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62634         * configure.ac: Quote $build_pt_chown test.
62635         * configure: Regenerated.
62637 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62639         [BZ #15532]
62640         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62641         * math/s_cexpf.c (__cexpf): Likewise.
62642         * math/s_cexpl.c (__cexpl): Likewise.
62643         * math/libm-test.inc (cexp_test_data): Correct expected return
62644         value for NaN + i0.  Add another test.
62646 2013-08-22  David S. Miller  <davem@davemloft.net>
62648         * po/ca.po: Update Catalan translation from translation project.
62649         * po/uk.po: Add Ukrainian translations from translation project.
62651 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62653         [BZ #15797]
62654         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62655         is infinite, not alongside NaN test.
62656         * math/s_fdimf.c (__fdimf): Likewise.
62657         * math/s_fdiml.c (__fdiml): Likewise.
62658         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62659         errno is unchanged.
62661 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62663         * argp/argp-help.c: Fix typos.
62664         * crypt/speeds.c: Likewise.
62665         * csu/check_fds.c: Likewise.
62666         * elf/dl-load.c: Likewise.
62667         * elf/dl-open.c: Likewise.
62668         * elf/reldep3.c: Likewise.
62669         * elf/reldep.c: Likewise.
62670         * elf/sprof.c: Likewise.
62671         * iconv/iconv_charmap.c: Likewise.
62672         * iconv/skeleton.c: Likewise.
62673         * iconv/strtab.c: Likewise.
62674         * io/lockf64.c: Likewise.
62675         * libio/libioP.h: Likewise.
62676         * resolv/gai_notify.c: Likewise.
62677         * resolv/ns_name.c: Likewise.
62678         * resolv/ns_samedomain.c: Likewise.
62679         * resolv/res_send.c: Likewise.
62680         * stdlib/random.c: Likewise.
62681         * sunrpc/rpc/xdr.h: Likewise.
62682         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62683         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62684         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62685         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62686         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62687         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62688         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62689         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62690         * sysdeps/mach/hurd/check_fds.c: Likewise.
62691         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62692         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62693         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62694         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62695         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62696         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62697         * sysdeps/pthread/aio_notify.c: Likewise.
62698         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62699         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62700         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62701         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62702         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62704 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62706         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62707         version if bit_Slow_SSE4_2 is set.
62708         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62709         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62711 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62713         [BZ #15867]
62714         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62715         trampoline stack frame information.
62716         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62717         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62718         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62719         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62720         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62721         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62722         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62723         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62724         sa_flags value.
62725         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62726         interrupting a syscall and set with option SA_SIGINFO.
62728 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62730         [BZ #15531]
62731         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62732         argument is infinite.
62733         * math/s_cprojf.c (__cprojf): Likewise.
62734         * math/s_cprojl.c (__cprojl): Likewise.
62735         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62736         * math/libm-test.inc (cproj_test_data): Add more tests.
62738         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62740         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62741         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62742         size.  Use __ffs to determine corresponding shift.
62744 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62745             Roland McGrath  <roland@hack.frob.com>
62747         * Makefile (INSTALL): Remove trailing blank lines from output of
62748         makeinfo.
62750 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62752         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62753         Align 32 bit compat elf_greg to 8 bytes.
62755 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62757         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62759 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62761         * string/strcoll_l.c (coll_seq): New structure.
62762         (get_next_seq_cached): New function.
62763         (get_next_seq): New function.
62764         (do_compare): New function.
62765         (STRCOLL): Use GNU style definition.  Simplify implementation
62766         by using get_next_seq, get_next_seq_cached and do_compare.
62768 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62770         [BZ #14699]
62771         CVE-2013-4237
62772         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62773         member.
62774         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62775         member.
62776         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62777         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62778         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62779         conditional.
62780         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62781         GETDENTS_64BIT_ALIGNED.
62782         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62783         * manual/filesys.texi (Reading/Closing Directory): Document
62784         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62785         strongly.
62786         * manual/conf.texi (Limits for Files): Add portability note to
62787         NAME_MAX, PATH_MAX.
62788         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62790 2013-08-13  Andreas Schwab  <schwab@suse.de>
62792         [BZ #15749]
62793         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62794         of fabs.
62795         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62796         LDBL_MAX_EXP >= 16384]: Add tests for it.
62798 2013-08-12  David S. Miller  <davem@davemloft.net>
62800         * version.h (RELEASE): Set to "development".
62801         (VERSION): Set to "2.18.90".
62802         * NEWS: Add 2.19 section.
62804 2013-08-03  David S. Miller  <davem@davemloft.net>
62806         * po/ko.po: Update Korean translation from translation project.
62808 2013-08-01  David S. Miller  <davem@davemloft.net>
62810         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62811         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62812         Bilka.
62814 2013-07-30  David S. Miller  <davem@davemloft.net>
62816         * po/fr.po: Update French translation from translation project.
62818 2013-07-28  David S. Miller  <davem@davemloft.net>
62820         * po/cs.po: Update Czech translation from translation project.
62822         * po/sv.po: Update Swedish translation from translation project.
62824 2013-07-27  David S. Miller  <davem@davemloft.net>
62826         * po/eo.po: Update Esperanto translation from translation project.
62828         * po/vi.po: Update Vietnamese translation from translation project.
62830         * po/de.po: Update German translation from translation project.
62832 2013-07-26  David S. Miller  <davem@davemloft.net>
62834         * po/bg.po: Update Bulgarian translation from translation project.
62836         * po/nl.po: Update Dutch translation from translation project.
62837         * po/pl.po: Update Polish translation from translation project.
62838         * po/ru.po: Update Russian translation from translation project.
62840 2013-07-24  David S. Miller  <davem@davemloft.net>
62842         * po/libc.pot: Update.
62844 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62846         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62847         variable page size.
62848         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62849         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62850         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62852 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62854         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62856 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62857             Andreas Schwab  <schwab@suse.de>
62858             Roland McGrath  <roland@hack.frob.com>
62859             Joseph Myers  <joseph@codesourcery.com>
62860             Carlos O'Donell  <carlos@redhat.com>
62862         [BZ #15755]
62863         * config.h.in: Define HAVE_PT_CHOWN.
62864         * config.make.in (build-pt-chown): New variable.
62865         * configure.in (--enable-pt_chown): New configure option.
62866         * configure: Regenerate.
62867         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62868         build-pt-chown is enabled.
62869         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62870         pt_chown to fix pty ownership.
62871         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62872         CLOSE_ALL_FDS.
62873         * manual/install.texi (Configuring and compiling): Mention
62874         --enable-pt_chown. Add @findex for grantpt.
62875         * INSTALL: Regenerate.
62877 2013-07-20  David S. Miller  <davem@davemloft.net>
62879         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62880         difference between 32-bit and 64-bit.
62882 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62884         [BZ #15711]
62885         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62886         Avoid system header dependency with -ffreestanding.
62887         ($(objpfx)bits/syscall%d): Likewise.
62889 2013-07-13  David S. Miller  <davem@davemloft.net>
62891         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62892         underflows from atanl/atan2l due to bug 15319.
62893         (casinh_test_data): Likewise.
62895 2013-07-07  David S. Miller  <davem@davemloft.net>
62897         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62899 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62901         * sysdeps/i386/fpu/libm-test-ulps: Update.
62902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62904 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62906         * configure.in (--enable-lock-elision): Fix message text.
62907         * INSTALL: Regenerate.
62908         * configure: Regenerate.
62910 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62914 2013-07-03  Andreas Jaeger  <aj@suse.de>
62916         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62917         define.
62918         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62919         (ptrace_peeksiginfo_args): Add.
62920         (__ptrace_peeksiginfo_flags): Add.
62921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62922         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62923         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62925 2013-07-03  Allan McRae  <allan@archlinux.org>
62927         * sysdeps/i386/fpu/libm-test-ulps: Update.
62929 2013-07-02  David S. Miller  <davem@davemloft.net>
62931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62933 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62937 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62939         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62942 2013-07-02  Andi Kleen <ak@linux.intel.com>
62944         * config.h.in (ENABLE_LOCK_ELISION): Add.
62945         * configure.in (--enable-lock-elision): Add option.
62946         * manual/install.texi: Document --enable lock elision.
62947         * configure: Regenerate
62948         * INSTALL: Regenerate.
62950 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62952         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62953         SSE4.2 strcasecmp for libc.a.
62954         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62956 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62958         [BZ #13304]
62959         * soft-fp/op-common.h (_FP_FMA): New macro.
62960         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62961         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62962         (_FP_MUL_MEAT_1_imm): ... here.
62963         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62964         (_FP_MUL_MEAT_1_wide): ... here.
62965         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62966         (_FP_MUL_MEAT_1_hard): ... here.
62967         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62968         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62969         (_FP_MUL_MEAT_2_wide): ... here.
62970         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62971         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62972         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62973         (_FP_MUL_MEAT_2_gmp): ... here.
62974         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62975         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62976         (_FP_MUL_MEAT_4_wide): ... here.
62977         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62978         (_FP_MUL_MEAT_4_gmp): ... here.
62979         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62980         (_FP_WFRACBITS_DW_S): Likewise.
62981         (_FP_WFRACXBITS_DW_S): Likewise.
62982         (_FP_HIGHBIT_DW_S): Likewise.
62983         (FP_FMA_S): Likewise.
62984         (_FP_FRAC_HIGH_DW_S): Likewise.
62985         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62986         (_FP_WFRACBITS_DW_D): Likewise.
62987         (_FP_WFRACXBITS_DW_D): Likewise.
62988         (_FP_HIGHBIT_DW_D): Likewise.
62989         (FP_FMA_D): Likewise.
62990         (_FP_FRAC_HIGH_DW_D): Likewise.
62991         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62992         (_FP_WFRACBITS_DW_E): Likewise.
62993         (_FP_WFRACXBITS_DW_E): Likewise.
62994         (_FP_HIGHBIT_DW_E): Likewise.
62995         (FP_FMA_E): Likewise.
62996         (_FP_FRAC_HIGH_DW_E): Likewise.
62997         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62998         (_FP_WFRACBITS_DW_Q): Likewise.
62999         (_FP_WFRACXBITS_DW_Q): Likewise.
63000         (_FP_HIGHBIT_DW_Q): Likewise.
63001         (FP_FMA_Q): Likewise.
63002         (_FP_FRAC_HIGH_DW_Q): Likewise.
63003         * soft-fp/fmasf4.c: New file.
63004         * soft-fp/fmadf4.c: Likewise.
63005         * soft-fp/fmatf4.c: Likewise.
63007 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63010         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63011         Silvermont.
63012         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63013         macro.
63014         (index_Slow_SSE4_2): Likewise.
63015         (index_Prefer_PMINUB_for_stringop): Likewise.
63016         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63017         bit_Slow_SSE4_2 is set.
63018         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63019         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63021 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63023         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63024         rtld_global._dl_hwcap2.
63025         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63026         POWER8.
63027         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63028         POWER8 feature descriptions defined in _dl_hwcap2.
63029         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63030         string handling for POWER8 feature bits.
63031         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63032         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63033         _dl_powerpc_cap_flags.
63034         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63035         * sysdeps/powerpc/rtld-global-offsets.sym
63036         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63037         _dl_hwcap2 in the rtld_global_ro structure.
63039 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63041         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63042         hardware capabilities in support of AT_HWCAP2.
63043         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63044         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63045         GLRO(dl_hwcap2).
63046         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63047         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63048         explicitly the unknown a_type display mechanism is used.
63049         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63050         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63051         struct member.
63052         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63053         to macro prototype for AT_HWCAP2 support.
63054         * sysdeps/i386/dl-procinfo.h: Likewise.
63055         * sysdeps/s390/dl-procinfo.h: Likewise.
63056         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63057         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63058         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63059         return -1 for unknown a_type display fallback.
63060         * sysdeps/sparc/dl-procinfo.h: Likewise.
63061         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63062         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63064 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63066         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63067         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63069 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63071         [BZ #12492]
63072         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63073         mprotect making __stack_prot writable.
63075 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63076             Joseph Myers  <joseph@codesourcery.com>
63078         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63079         as being properly aligned.
63081 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63083         * dlfcn/modstatic5.c: New file.
63084         * dlfcn/tststatic5.c: New file.
63085         * dlfcn/Makefile (tests): Add tststatic5.
63086         (tests-static): Likewise.
63087         (modules-names): Add modstatic5.
63088         (tststatic5-ENV): New variable.
63089         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63091         [BZ #15022]
63092         * elf/dl-support.c (_dl_main_map): New variable.
63093         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63094         (_dl_nns, _dl_load_adds): Set to 1.
63095         (_dl_initial_searchlist): Refer to _dl_main_map.
63096         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63097         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63098         call to _dl_get_origin.
63099         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63100         around call_map.
63101         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63102         * dlfcn/modstatic3.c: New file.
63103         * dlfcn/tststatic3.c: New file.
63104         * dlfcn/tststatic4.c: New file.
63105         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63106         (tests-static): Likewise.
63107         (modules-names): Add modstatic3.
63108         (tststatic3-ENV, tststatic4-ENV): New variables.
63109         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63110         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63112 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63114         * configure.in (CC): Require GCC version 4.4 or later.
63115         * configure: Regenerated.
63116         * manual/install.texi (Tools for Compilation): Update GCC version
63117         requirement.
63118         * INSTALL: Regenerated.
63120 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63122         [BZ #15674]
63123         * string/test-memcmp.c (check2): New.
63124         (main): Call check2.
63126         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63128 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63130         [BZ #15022]
63131         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63132         over to...
63133         (dl_open_worker) [!SHARED]: ... here.
63135 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63137         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63139 2013-06-25  Richard Henderson  <rth@redhat.com>
63141         * locale/programs/locarchive.c: Include <libc-internal.h>
63143 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63145         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63146         trailing whitespace removed.
63148 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63150         [BZ #10283]
63151         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63152         * locale/programs/locarchive.c: Include libc-mmap.h.
63153         (prepare_address_space): Take two new outputs (the mmap base and len).
63154         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63155         values.
63156         (create_archive): Declare new mmap base and len values for
63157         prepare_address_space, and store the result in ah.
63158         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63159         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63160         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63161         Declare new mmap base and len values for
63162         prepare_address_space, and store the result in new_ah.
63163         (open_archive): Declare new mmap base and len values for
63164         prepare_address_space, and store the result in ah.
63165         (close_archive): If ah->mmap_base is not NULL, use that and
63166         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63167         * sysdeps/generic/libc-mmap.h: New file.
63169 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63171         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63172         (ALIGN_UP): Likewise.
63173         (PTR_ALIGN_DOWN): Likewise.
63174         (PTR_ALIGN_UP): Likewise.
63176 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63178         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63179         entry mapped to PPC_PLATFORM_POWER8.
63180         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63181         POWER8.
63182         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63183         (_dl_string_platform): Add case for exporting platform position for
63184         POWER8.
63185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63186         search path to sysdeps/powerpc/powerpc32/power8 directory.
63187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63188         search path to sysdeps/powerpc/powerpc64/power8 directory.
63189         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63190         power7 directories.
63191         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63192         power7 directories.
63194 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63196         * INSTALL: Regenerate.
63198         * nscd/connections.c (nscd_init): Fix comment.
63200 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63202         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63204         [BZ #15667]
63205         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63206         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63208 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63210         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63211         DL_DST_REQ_STATIC.
63212         (DL_DST_REQ_STATIC): Remove macro.
63214 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63216         [BZ #7006]
63217         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63218         with a shift of 0 bits.
63220 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63222         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63223         $(tststatic-ENV).
63225 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63227         [BZ #15655]
63228         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63230 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63232         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63233         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63234         accepts -fno-tree-loop-distribute-patterns.
63235         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63236         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63237         recursive call.
63238         * string/memset.c (memset): Likewise.
63239         * string/test-memmove.c (simple_memmove): Disable loop transformation
63240         to library calls.
63241         * string/test-memset.c (simple_memset): Likewise.
63242         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63243         * benchtests/bench-memset.c (simple_memset): Likewise.
63244         * configure: Regenerated.
63246 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63248         * math/test-misc.c (main): Ignore fesetround failure when failures
63249         of subsequent rounding tests would be ignored.
63251         [BZ #15654]
63252         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63253         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63254         * math/fegetenv.c (__fegetenv): Return 0.
63255         * math/fegetexcept.c (fegetexcept): Return 0.
63256         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63257         FE_TONEAREST.
63258         * math/feholdexcpt.c (feholdexcept): Return 0.
63259         * math/fesetenv.c (__fesetenv): Return 0.
63260         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63261         argument FE_TONEAREST.
63262         * math/feupdateenv.c (__feupdateenv): Return 0.
63263         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63265 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63267         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63268         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63269         ($(objpfx)rtld-%.os rules): Use them.
63271 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63273         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63274         fields.
63276 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63278         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63279         length of target pattern, then descending length of dependency pattern.
63280         * configure.in (AWK): Require gawk 3.1.2 or newer.
63281         * manual/install.texi (Tools for Compilation): Say that we do.
63282         * configure: Regenerated.
63284         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63285         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63286         * scripts/sysd-rules.awk: ... this new script.
63287         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63288         than a glob-style pattern.
63290 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63292         * math/test-misc.c (main): Do not treat incorrectly rounded
63293         conversions as failure unless ROUNDING_TESTS passes.
63295 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63297         [BZ #15631]
63298         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63299         restore exception state around main square root computation, then
63300         check for inexactness explicitly.
63302         * math/libm-test.inc (fma_test_data): Add another test.
63304 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63306         * manual/threads.texi (Non-POSIX Extensions): New document
63307         node.  Document pthread_getattr_default_np and
63308         pthread_setattr_default_np.
63310         * Versions.def (libpthread): Add GLIBC_2.18.
63311         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63313         Likewise.
63314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63315         Likewise.
63316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63317         Likewise.
63318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63319         Likewise.
63320         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63321         Likewise.
63322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63323         Likewise.
63324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63325         Likewise.
63326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63327         Likewise.
63328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63329         Likewise.
63331 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63334         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63336 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63337             H.J. Lu  <hjl.tools@gmail.com>
63339         [BZ #15627]
63340         * sysdeps/x86_64/rtld-memset.c: Remove file.
63341         * sysdeps/x86_64/rtld-memset.S: New file.
63343 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63345         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63346         (test_in_one_mode): Take arguments for whether the rounding mode
63347         is supported for each floating-point type.
63348         (do_test): Pass new arguments to test_in_one_mode using
63349         ROUNDING_TESTS.
63351 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63353         * posix/tst-waitid.c (do_test): Distinguish different instances of
63354         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63355         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63356         before entering the kernel for waitpid.
63358 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63360         * NEWS: Fix note on clock function precision.  Text by Roland
63361         McGrath.
63363 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63365         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63366         it into place only when and if the sanity check passes.
63368 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63370         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63371         output for whether conversion result is exact.  Take argument
63372         indicating whether type is IBM long double.
63373         (round_for_all): Change need_exact field to ibm_ld.
63374         * stdlib/tst-strtod-round.c (struct exactness): New type.
63375         (struct test): Change bool ld_ok field to struct exactness exact.
63376         (TEST): Update all definitions for change to field.
63377         (tests): Regenerate array contents.
63378         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63379         field value.  Check for IBM long double here.
63380         (do_test): Update calls to test_in_one_mode.
63382 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63384         [BZ #12515]
63385         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63386         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63388 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63390         [BZ #15605]
63391         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63392         generated by the compiler on loop optimizations.
63393         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63394         general definitions.
63396 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63398         * math/bug-nextafter.c: Include <math-tests.h>.
63399         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63400         the relevant type.
63401         * math/bug-nexttoward.c: Include <math-tests.h>.
63402         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63403         the relevant type.
63404         * math/test-misc.c: Include <math-tests.h>.
63405         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63406         the relevant type.
63408 2013-06-12  Andreas Jaeger  <aj@suse.de>
63410         * po/ia.po: Update Interlingua translation from translation
63411         project.
63413 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63415         * include/fenv.h: Include stdbool.h.
63416         (struct rm_ctx): New structure.
63417         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63418         Define macro.
63419         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63420         (SET_RESTORE_ROUNDF): Likewise.
63421         (SET_RESTORE_ROUNDL): Likewise.
63422         (SET_RESTORE_ROUND_NOEX): Likewise.
63423         (SET_RESTORE_ROUND_NOEXF): Likewise.
63424         (SET_RESTORE_ROUND_NOEXL): Likewise.
63425         (SET_RESTORE_ROUND_53BIT): Likewise.
63426         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63427         (libc_feresetround_noexf_ctx): Likewise.
63428         (libc_feresetround_noexl_ctx): Likewise.
63429         (libc_feholdsetround_53bit_ctx): Likewise.
63430         (libc_feresetround_53bit_ctx): Likewise.
63431         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63432         (libc_feholdexcept_setround_sse_ctx): New function.
63433         (libc_fesetenv_sse_ctx): Likewise.
63434         (libc_feupdateenv_sse_ctx): Likewise.
63435         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63436         (libc_feholdexcept_setround_387_ctx): Likewise.
63437         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63438         (libc_feholdsetround_387_prec_ctx): Likewise.
63439         (libc_feholdsetround_387_ctx): Likewise.
63440         (libc_feholdsetround_387_53bit_ctx): Likewise.
63441         (libc_feholdsetround_sse_ctx): Likewise.
63442         (libc_feresetround_sse_ctx): Likewise.
63443         (libc_feresetround_387_ctx): Likewise.
63444         (libc_feupdateenv_387_ctx): Likewise.
63445         (libc_feholdexcept_setroundf_ctx): Define macro.
63446         (libc_fesetenvf_ctx): Likewise.
63447         (libc_feupdateenvf_ctx): Likewise.
63448         (libc_feholdsetroundf_ctx): Likewise.
63449         (libc_feresetroundf_ctx): Likewise.
63450         (libc_feholdexcept_setround_ctx): Likewise.
63451         (libc_fesetenv_ctx): Likewise.
63452         (libc_feupdateenv_ctx): Likewise.
63453         (libc_feholdsetround_ctx): Likewise.
63454         (libc_feresetround_ctx): Likewise.
63455         (libc_feholdexcept_setroundl_ctx): Likewise.
63456         (libc_feupdateenvl_ctx): Likewise.
63457         (libc_feholdsetroundl_ctx): Likewise.
63458         (libc_feresetroundl_ctx): Likewise.
63459         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63460         (libc_feresetround_53bit_ctx): Likewise.
63462 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63464         * locale/iso-639.def: Convert to UTF-8.
63466 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63468         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63469         (EXCEPTION_TESTS_double): Likewise.
63470         (EXCEPTION_TESTS_long_double): Likewise.
63471         (EXCEPTION_TESTS): Likewise.
63472         * math/libm-test.inc (test_exceptions): Only test exceptions if
63473         EXCEPTION_TESTS (FLOAT).
63475 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63477         * benchtests/Makefile (string-bench): Add strcpy_chk and
63478         stpcpy_chk.
63479         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63480         * benchtests/bench-stpcpy_chk.c: New file.
63481         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63482         * benchtests/bench-strcpy_chk.c: New file.
63483         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63484         code.
63485         (do_test): Likewise.
63487 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63489         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63490         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63491         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63492         with tabs where appropriate.
63493         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63494         dl-procinfo.h.
63495         [PPC_PLATFORM_PPC440]: Likewise.
63496         [PPC_PLATFORM_PPC464]: Likewise.
63497         [PPC_PLATFORM_PPC476]: Likewise.
63498         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63499         ppc464, and ppc476 platform strings merging from ports/
63500         dl-procinfo.h.
63502 2013-06-11  Andreas Schwab  <schwab@suse.de>
63504         [BZ #14991]
63505         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63506         (from_ucs4_idx): Regenerate.
63507         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63508         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63509         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63510         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63511         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63512         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63513         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63514         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63515         from FROM_LOOP and TO_LOOP specific macros.
63516         (BODY): Handle combining characters.
63517         * iconvdata/BIG5HKSCS.irreversible: Update.
63518         * iconvdata/BIG5HKSCS.precomposed: New file.
63519         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63520         characters.
63521         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63523 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63525         * include/sys/time.h: Fix indentation and add copyright header.
63527         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63528         (do_test): Likewise.
63529         * string/test-memchr.c (do_one_test): Likewise.
63530         (do_test): Likewise.
63531         * string/test-memcmp.c (do_one_test): Likewise.
63532         (do_test): Likewise.
63533         * string/test-memcpy.c (do_one_test): Likewise.
63534         (do_test): Likewise.
63535         * string/test-memmem.c (do_one_test): Likewise.
63536         (do_test): Likewise.
63537         (do_random_tests): Likewise.
63538         * string/test-memmove.c (do_one_test): Likewise.
63539         (do_test): Likewise.
63540         * string/test-memset.c (do_one_test): Likewise.
63541         (do_test): Likewise.
63542         * string/test-rawmemchr.c (do_one_test): Likewise.
63543         (do_test): Likewise.
63544         * string/test-strcasecmp.c (do_one_test): Likewise.
63545         (do_test): Likewise.
63546         * string/test-strcasestr.c (do_one_test): Likewise.
63547         (do_test): Likewise.
63548         * string/test-strcat.c (do_one_test): Likewise.
63549         (do_test): Likewise.
63550         * string/test-strchr.c (do_one_test): Likewise.
63551         (do_test): Likewise.
63552         * string/test-strcmp.c (do_one_test): Likewise.
63553         (do_test): Likewise.
63554         * string/test-strcpy.c (do_one_test): Likewise.
63555         (do_test): Likewise.
63556         * string/test-string.h: Likewise.
63557         (test_init): Likewise.
63558         * string/test-strlen.c (do_one_test): Likewise.
63559         (do_test): Likewise.
63560         * string/test-strncasecmp.c (do_one_test): Likewise.
63561         (do_test): Likewise.
63562         * string/test-strncat.c (do_one_test): Likewise.
63563         (do_test): Likewise.
63564         * string/test-strncmp.c (do_one_test): Likewise.
63565         (do_test_limit): Likewise.
63566         (do_test): Likewise.
63567         * string/test-strncpy.c (do_one_test): Likewise.
63568         (do_test): Likewise.
63569         * string/test-strnlen.c (do_one_test): Likewise.
63570         (do_test): Likewise.
63571         * string/test-strpbrk.c (do_one_test): Likewise.
63572         (do_test): Likewise.
63573         * string/test-strrchr.c (do_one_test): Likewise.
63574         (do_test): Likewise.
63575         * string/test-strspn.c (do_one_test): Likewise.
63576         (do_test): Likewise.
63577         * string/test-strstr.c (do_one_test): Likewise.
63578         (do_test): Likewise.
63580         * benchtests/Makefile (string-bench): Add string benchmarks.
63581         * benchtests/bench-bcopy-ifunc.c: New file.
63582         * benchtests/bench-bcopy.c: New file.
63583         * benchtests/bench-bzero-ifunc.c: New file.
63584         * benchtests/bench-bzero.c: New file.
63585         * benchtests/bench-memccpy-ifunc.c: New file.
63586         * benchtests/bench-memccpy.c: New file.
63587         * benchtests/bench-memchr-ifunc.c: New file.
63588         * benchtests/bench-memchr.c: New file.
63589         * benchtests/bench-memcmp-ifunc.c: New file.
63590         * benchtests/bench-memcmp.c: New file.
63591         * benchtests/bench-memmem-ifunc.c: New file.
63592         * benchtests/bench-memmem.c: New file.
63593         * benchtests/bench-memmove-ifunc.c: New file.
63594         * benchtests/bench-memmove.c: New file.
63595         * benchtests/bench-mempcpy-ifunc.c: New file.
63596         * benchtests/bench-mempcpy.c: New file.
63597         * benchtests/bench-memset-ifunc.c: New file.
63598         * benchtests/bench-memset.c: New file.
63599         * benchtests/bench-rawmemchr-ifunc.c: New file.
63600         * benchtests/bench-rawmemchr.c: New file.
63601         * benchtests/bench-stpcpy-ifunc.c: New file.
63602         * benchtests/bench-stpcpy.c: New file.
63603         * benchtests/bench-stpncpy-ifunc.c: New file.
63604         * benchtests/bench-stpncpy.c: New file.
63605         * benchtests/bench-strcasecmp-ifunc.c: New file.
63606         * benchtests/bench-strcasecmp.c: New file.
63607         * benchtests/bench-strcasestr-ifunc.c: New file.
63608         * benchtests/bench-strcasestr.c: New file.
63609         * benchtests/bench-strcat-ifunc.c: New file.
63610         * benchtests/bench-strcat.c: New file.
63611         * benchtests/bench-strchr-ifunc.c: New file.
63612         * benchtests/bench-strchr.c: New file.
63613         * benchtests/bench-strchrnul-ifunc.c: New file.
63614         * benchtests/bench-strchrnul.c: New file.
63615         * benchtests/bench-strcmp-ifunc.c: New file.
63616         * benchtests/bench-strcmp.c: New file.
63617         * benchtests/bench-strcpy-ifunc.c: New file.
63618         * benchtests/bench-strcpy.c: New file.
63619         * benchtests/bench-strcspn-ifunc.c: New file.
63620         * benchtests/bench-strcspn.c: New file.
63621         * benchtests/bench-strlen-ifunc.c: New file.
63622         * benchtests/bench-strlen.c: New file.
63623         * benchtests/bench-strncasecmp-ifunc.c: New file.
63624         * benchtests/bench-strncasecmp.c: New file.
63625         * benchtests/bench-strncat-ifunc.c: New file.
63626         * benchtests/bench-strncat.c: New file.
63627         * benchtests/bench-strncmp-ifunc.c: New file.
63628         * benchtests/bench-strncmp.c: New file.
63629         * benchtests/bench-strncpy-ifunc.c: New file.
63630         * benchtests/bench-strncpy.c: New file.
63631         * benchtests/bench-strnlen-ifunc.c: New file.
63632         * benchtests/bench-strnlen.c: New file.
63633         * benchtests/bench-strpbrk-ifunc.c: New file.
63634         * benchtests/bench-strpbrk.c: New file.
63635         * benchtests/bench-strrchr-ifunc.c: New file.
63636         * benchtests/bench-strrchr.c: New file.
63637         * benchtests/bench-strspn-ifunc.c: New file.
63638         * benchtests/bench-strspn.c: New file.
63639         * benchtests/bench-strstr-ifunc.c: New file.
63640         * benchtests/bench-strstr.c: New file.
63642         * benchtests/Makefile: Disable parallel execution of targets.
63643         (string-bench): Add memcpy.
63644         (benchset): New variable to store a list of benchmark sets.
63645         (bench-func): Renamed from bench.
63646         (bench-set): New target.
63647         (bench): Depend on bench-func and bench-set.
63648         * benchtests/README: Add section on benchmark sets.
63649         * benchtests/bench-memcpy-ifunc.c: New file.
63650         * benchtests/bench-memcpy.c: New file.
63651         * benchtests/bench-string.h: New file.
63653 2013-06-11  Andreas Schwab  <schwab@suse.de>
63655         [BZ #15577]
63656         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63657         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63658         values in the triple.
63659         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63660         terminator in the group key.
63662 2013-06-11  Andreas Jaeger  <aj@suse.de>
63664         * po/zh_TW.po: Update Chinese (traditional) translation from
63665         translation project.
63667 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63669         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63670         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63671         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63673         (clock_getcpuclockid): Likewise.
63674         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63675         Add weak_alias and libc_hidden_def.
63676         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63677         * rt/clock_gettime.c (clock_gettime): Rename to
63678         __clock_gettime.  Add weak_alias and libc_hidden_def.
63679         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63680         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63681         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63682         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63683         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63684         Likewise.
63685         * rt/clock_settime.c (clock_settime): Rename to
63686         __clock_settime.  Add weak_alias and libc_hidden_def.
63687         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63689 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63691         * mach/err_boot.sub: Remove trailing whitespace.
63692         * mach/err_ipc.sub: Likewise.
63693         * mach/err_mach.sub: Likewise.
63695         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63696         (ROUNDING_TESTS_double): Likewise.
63697         (ROUNDING_TESTS_long_double): Likewise.
63698         (ROUNDING_TESTS): Likewise.
63699         * math/libm-test.inc: Include <math-tests.h>.
63700         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63701         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63702         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63703         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63705 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63707         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63708         of assigning.
63710 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63712         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63713         otherwise empty TRANS lines.
63714         * sysdeps/gnu/errlist.c: Regenerated.
63716         * catgets/gencat.c (error_print): Use (void) in function
63717         definition.
63718         * crypt/crypt_util.c (__init_des): Likewise.
63719         * crypt/speeds.c (Stop): Likewise.
63720         (main): Likewise.
63721         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63722         * inet/ruserpass.c (token): Likewise.
63723         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63724         * intl/localealias.c (extend_alias_table): Likewise.
63725         * intl/plural-exp.c (init_germanic_plural): Likewise.
63726         * libio/fcloseall.c (__fcloseall): Likewise.
63727         * libio/genops.c (_IO_flush_all): Likewise.
63728         (_IO_flush_all_linebuffered): Likewise.
63729         (_IO_cleanup): Likewise.
63730         (_IO_iter_begin): Likewise.
63731         (_IO_iter_end): Likewise.
63732         (_IO_list_lock): Likewise.
63733         (_IO_list_unlock): Likewise.
63734         (_IO_list_resetlock): Likewise.
63735         * libio/getchar.c (getchar): Likewise.
63736         * libio/getchar_u.c (getchar_unlocked): Likewise.
63737         * libio/getwchar.c (getwchar): Likewise.
63738         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63739         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63740         * login/getpt.c (__getpt): Likewise.
63741         * login/tst-utmp.c (main): Likewise.
63742         * malloc/hooks.c (__malloc_check_init): Likewise.
63743         * malloc/malloc.c (__malloc_stats): Likewise.
63744         * malloc/mtrace.c (tr_break): Likewise.
63745         (mtrace): Likewise.
63746         (muntrace): Likewise.
63747         * misc/fstab.c (endfsent): Likewise.
63748         * misc/getclktck.c (__getclktck): Likewise.
63749         * misc/getdtsz.c (__getdtablesize): Likewise.
63750         * misc/gethostid.c (gethostid): Likewise.
63751         * misc/getpagesize.c (__getpagesize): Likewise.
63752         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63753         (__get_nprocs): Likewise.
63754         (__get_phys_pages): Likewise.
63755         (__get_avphys_pages): Likewise.
63756         * misc/getttyent.c (getttyent): Likewise.
63757         (setttyent): Likewise.
63758         (endttyent): Likewise.
63759         * misc/getusershell.c (getusershell): Likewise.
63760         (endusershell): Likewise.
63761         (setusershell): Likewise.
63762         (initshells): Likewise.
63763         * misc/hsearch.c (__hdestroy): Likewise.
63764         * misc/sync.c (sync): Likewise.
63765         * misc/syslog.c (closelog_internal): Likewise.
63766         (closelog): Likewise.
63767         * misc/ttyslot.c (ttyslot): Likewise.
63768         * misc/vhangup.c (vhangup): Likewise.
63769         * posix/fork.c (__fork): Likewise.
63770         * posix/getegid.c (__getegid): Likewise.
63771         * posix/geteuid.c (__geteuid): Likewise.
63772         * posix/getgid.c (__getgid): Likewise.
63773         * posix/getpid.c (__getpid): Likewise.
63774         * posix/getppid.c (__getppid): Likewise.
63775         * posix/getuid.c (__getuid): Likewise.
63776         * posix/pause.c (pause): Likewise.
63777         * posix/setpgrp.c (setpgrp): Likewise.
63778         * posix/setsid.c (__setsid): Likewise.
63779         * posix/test-vfork.c (noop): Likewise.
63780         * resolv/gethnamaddr.c (_endhtent): Likewise.
63781         (_gethtent): Likewise.
63782         (ht_endhostent): Likewise.
63783         (gethostent): Likewise.
63784         (dns_service): Likewise.
63785         * stdlib/drand48.c (drand48): Likewise.
63786         * stdlib/lrand48.c (lrand48): Likewise.
63787         * stdlib/mrand48.c (mrand48): Likewise.
63788         * stdlib/rand.c (rand): Likewise.
63789         * stdlib/random.c (__random): Likewise.
63790         * stdlib/setenv.c (clearenv): Likewise.
63791         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63792         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63793         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63794         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63795         (__get_nprocs): Likewise.
63796         (__get_phys_pages): Likewise.
63797         (__get_avphys_pages): Likewise.
63798         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63799         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63800         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63801         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63802         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63803         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63804         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63805         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63806         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63807         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63808         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63809         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63810         * sysdeps/posix/clock.c (clock): Likewise.
63811         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63812         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63813         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63814         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63815         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63817         (__get_nprocs_conf): Likewise.
63818         (__get_phys_pages): Likewise.
63819         (__get_avphys_pages): Likewise.
63820         * time/clock.c (clock): Likewise.
63821         * time/tzset.c (__tzname_max): Likewise.
63823 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63825         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63826         (__bswap_32): Do not use "register".
63827         * crypt/crypt.c (_ufc_doit_r): Likewise.
63828         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63829         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63830         * gmon/gmon.c (__monstartup): Likewise.
63831         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63832         * hurd/hurdmalloc.c (more_memory): Likewise.
63833         (malloc): Likewise.
63834         (free): Likewise.
63835         (realloc): Likewise.
63836         (malloc_fork_prepare): Likewise.
63837         (malloc_fork_parent): Likewise.
63838         (malloc_fork_child): Likewise.
63839         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63840         (_svcauth_des): Likewise.
63841         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63842         * inet/inet_net.c (inet_network): Likewise.
63843         * inet/inet_netof.c (inet_netof): Likewise.
63844         * inet/rcmd.c (__validuser2_sa): Likewise.
63845         * io/fts.c (fts_open): Likewise.
63846         (fts_load): Likewise.
63847         (fts_close): Likewise.
63848         (fts_read): Likewise.
63849         (fts_children): Likewise.
63850         (fts_build): Likewise.
63851         (fts_stat): Likewise.
63852         (fts_sort): Likewise.
63853         (fts_alloc): Likewise.
63854         (fts_lfree): Likewise.
63855         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63856         (_IO_file_xsgetn): Likewise.
63857         (_IO_file_xsgetn_mmap): Likewise.
63858         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63859         (_IO_cookie_write): Likewise.
63860         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63861         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63862         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63863         * malloc/obstack.c (_obstack_begin): Likewise.
63864         (_obstack_begin_1): Likewise.
63865         (_obstack_newchunk): Likewise.
63866         (_obstack_allocated_p): Likewise.
63867         (obstack_free): Likewise.
63868         (_obstack_memory_used): Likewise.
63869         * misc/getttyent.c (getttynam): Likewise.
63870         (getttyent): Likewise.
63871         (skip): Likewise.
63872         (value): Likewise.
63873         * misc/getusershell.c (initshells): Likewise.
63874         * misc/syslog.c (__vsyslog_chk): Likewise.
63875         * misc/ttyslot.c (ttyslot): Likewise.
63876         * nis/nis_hash.c (__nis_hash): Likewise.
63877         * posix/fnmatch_loop.c (FCT): Likewise.
63878         * posix/getconf.c (print_all): Likewise.
63879         (main): Likewise.
63880         * posix/getopt.c (exchange): Likewise.
63881         * posix/glob.c (globfree): Likewise.
63882         (prefix_array): Likewise.
63883         (__glob_pattern_type): Likewise.
63884         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63885         (NS_GET32): Likewise.
63886         (NS_PUT16): Likewise.
63887         (NS_PUT32): Likewise.
63888         * resolv/gethnamaddr.c (getanswer): Likewise.
63889         (gethostbyname2): Likewise.
63890         (gethostbyaddr): Likewise.
63891         (_gethtent): Likewise.
63892         (_gethtbyname2): Likewise.
63893         (_gethtbyaddr): Likewise.
63894         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63895         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63896         * resolv/res_init.c (__res_vinit): Likewise.
63897         (net_mask): Likewise.
63898         * resolv/res_mkquery.c (outchar): Likewise.
63899         (PRINT): Likewise.
63900         * stdio-common/printf_fp.c (outchar): Likewise.
63901         (PRINT): Likewise.
63902         * stdio-common/printf_fphex.c (outchar): Likewise.
63903         (PRINT): Likewise.
63904         * stdio-common/printf_size.c (outchar): Likewise.
63905         (PRINT): Likewise.
63906         * stdio-common/test_rdwr.c (main): Likewise.
63907         * stdio-common/tfformat.c (matches): Likewise.
63908         * stdio-common/vfprintf.c (outchar): Likewise.
63909         (printf_unknown): Likewise.
63910         (buffered_vfprintf): Likewise.
63911         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63912         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63913         (ReadFile): Likewise.
63914         * stdlib/qsort.c (SWAP): Likewise.
63915         (_quicksort): Likewise.
63916         * stdlib/setenv.c (__add_to_environ): Likewise.
63917         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63918         * stdlib/strtol_l.c (__strtol_l): Likewise.
63919         * stdlib/tst-strtod.c (main): Likewise.
63920         * stdlib/tst-strtol.c (main): Likewise.
63921         * stdlib/tst-strtoll.c (main): Likewise.
63922         * string/bits/string2.h (__strcmp_cc): Likewise.
63923         (__strcmp_cg): Likewise.
63924         (__strcspn_c1): Likewise.
63925         (__strcspn_c2): Likewise.
63926         (__strcspn_c3): Likewise.
63927         (__strspn_c1): Likewise.
63928         (__strspn_c2): Likewise.
63929         (__strspn_c3): Likewise.
63930         (__strsep_1c): Likewise.
63931         (__strsep_2c): Likewise.
63932         (__strsep_3c): Likewise.
63933         * string/memccpy.c (__memccpy): Likewise.
63934         * string/stpcpy.c (__stpcpy): Likewise.
63935         * string/strcmp.c (strcmp): Likewise.
63936         * string/strrchr.c (strrchr): Likewise.
63937         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63938         Likewise.
63939         * sysdeps/mach/hurd/getcwd.c
63940         (_hurd_canonicalize_directory_name_internal): Likewise.
63941         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63942         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63943         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63944         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63945         Likewise, in both definitions.
63946         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63947         definitions.
63948         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63949         64] (__bswap_64): Likewise.
63950         * time/test_time.c (main): Likewise.
63951         * time/tzfile.c (__tzfile_read): Likewise.
63952         (__tzfile_compute): Likewise.
63953         * time/tzset.c (__tzset_parse_tz): Likewise.
63954         (tzset_internal): Likewise.
63955         (compute_change): Likewise.
63956         * wcsmbs/wcscat.c (__wcscat): Likewise.
63957         * wcsmbs/wcschr.c (wcschr): Likewise.
63958         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63959         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63960         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63961         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63962         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63963         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63964         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63965         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63966         * wcsmbs/wmemset.c (wmemset): Likewise.
63968 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63970         * scripts/config.guess: Update to version 2013-05-16.
63971         * scripts/config.sub: Update to version 2013-04-24.
63972         * scripts/install-sh: Update to version 2011-11-20.07.
63973         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63974         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63976 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63978         * debug/fgetws_u_chk.c: Fix leading whitespaces.
63979         * elf/sln.c: Likewise.
63980         * hurd/hurd/ioctl.h: Likewise.
63981         * hurd/hurdmalloc.c: Likewise.
63982         * hurd/xattr.c: Likewise.
63983         * include/shlib-compat.h: Likewise.
63984         * inet/ruserpass.c: Likewise.
63985         * libio/iofgets_u.c: Likewise.
63986         * libio/iofgetws_u.c: Likewise.
63987         * locale/programs/ld-identification.c: Likewise.
63988         * locale/programs/ld-time.c: Likewise.
63989         * mach/msg-destroy.c: Likewise.
63990         * nss/nss_files/files-netgrp.c: Likewise.
63991         * resolv/res_data.c: Likewise.
63992         * soft-fp/op-1.h: Likewise.
63993         * soft-fp/op-2.h: Likewise.
63994         * soft-fp/op-4.h: Likewise.
63995         * soft-fp/op-common.h: Likewise.
63996         * stdio-common/printf_fphex.c: Likewise.
63997         * stdlib/strtod_l.c: Likewise.
63998         * sunrpc/rpc/clnt.h: Likewise.
63999         * sysdeps/generic/framestate.c: Likewise.
64000         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64001         * sysdeps/i386/bsd-setjmp.S: Likewise.
64002         * sysdeps/i386/__longjmp.S: Likewise.
64003         * sysdeps/i386/setjmp.S: Likewise.
64004         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64005         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64006         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64007         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64008         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64009         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64010         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64011         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64012         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64013         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64014         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64015         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64016         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64017         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64018         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64019         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64020         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64021         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64022         * sysdeps/ieee754/support.c: Likewise.
64023         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64024         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64025         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64026         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64027         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64028         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64029         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64030         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64031         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64032         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64033         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64034         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64035         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64036         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64037         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64038         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64039         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64042 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64044         * posix/transbug.c: Remove executable mode.
64046 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64048         * crypt/speeds.c: Remove trailing whitespace.
64049         * dlfcn/default.c: Likewise.
64050         * elf/ifuncdep2.c: Likewise.
64051         * elf/ifuncmain1.c: Likewise.
64052         * elf/ifuncmain1vis.c: Likewise.
64053         * elf/testobj.h: Likewise.
64054         * elf/tst-stackguard1.c: Likewise.
64055         * gmon/sys/gmon.h: Likewise.
64056         * hurd/hurdmsg.c: Likewise.
64057         * hurd/new-fd.c: Likewise.
64058         * hurd/ports-get.c: Likewise.
64059         * iconvdata/ibm1008_420.c: Likewise.
64060         * inet/tst-getni1.c: Likewise.
64061         * inet/tst-getni2.c: Likewise.
64062         * libio/ioungetc.c: Likewise.
64063         * libio/wfiledoalloc.c: Likewise.
64064         * manual/libm-err-tab.pl: Likewise.
64065         * math/w_dremf.c: Likewise.
64066         * misc/ftruncate.c: Likewise.
64067         * posix/bug-glob2.c: Likewise.
64068         * posix/tst-pcre.c: Likewise.
64069         * posix/wait4.c: Likewise.
64070         * resolv/README: Likewise.
64071         * resolv/res_debug.h: Likewise.
64072         * resolv/tst-inet_ntop.c: Likewise.
64073         * setjmp/bug269-setjmp.c: Likewise.
64074         * soft-fp/extended.h: Likewise.
64075         * soft-fp/op-1.h: Likewise.
64076         * soft-fp/op-2.h: Likewise.
64077         * soft-fp/op-4.h: Likewise.
64078         * soft-fp/op-8.h: Likewise.
64079         * soft-fp/testit.c: Likewise.
64080         * stdio-common/bug16.c: Likewise.
64081         * stdlib/random.c: Likewise.
64082         * sunrpc/rpcsvc/rquota.x: Likewise.
64083         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64084         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64086         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64087         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64088         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64089         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64090         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64091         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64092         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64093         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64094         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64095         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64096         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64097         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64098         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64099         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64100         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64101         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64102         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64103         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64104         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64110         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64112         * sysdeps/ieee754/s_lib_version.c: Likewise.
64113         * sysdeps/mach/hurd/check_fds.c: Likewise.
64114         * sysdeps/mach/hurd/getsockname.c: Likewise.
64115         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64116         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64117         * sysdeps/powerpc/bits/link.h: Likewise.
64118         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64119         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64120         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64121         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64122         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64123         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64124         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64125         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64126         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64127         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64128         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64129         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64130         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64131         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64132         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64133         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64134         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64135         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64136         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64137         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64138         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64139         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64140         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64141         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64142         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64143         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64144         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64145         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64146         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64147         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64148         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64149         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64150         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64151         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64152         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64153         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64154         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64155         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64156         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64157         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64158         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64159         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64160         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64161         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64162         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64163         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64164         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64165         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64166         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64167         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64170         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64171         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64172         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64173         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64174         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64175         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64176         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64177         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64178         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64179         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64180         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64181         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64182         * sysdeps/powerpc/sysdep.h: Likewise.
64183         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64184         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64185         * sysdeps/sh/dl-trampoline.S: Likewise.
64186         * sysdeps/sh/memset.S: Likewise.
64187         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64188         * sysdeps/sh/strlen.S: Likewise.
64189         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64190         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64191         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64192         * sysdeps/sparc/sparc32/rem.S: Likewise.
64193         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64194         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64195         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64196         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64197         * sysdeps/sparc/sparc32/urem.S: Likewise.
64198         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64199         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64200         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64201         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64202         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64203         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64204         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64205         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64206         * sysdeps/unix/bsd/times.c: Likewise.
64207         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64208         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64212         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64213         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64214         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64215         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64216         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64217         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64218         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64219         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64220         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64221         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64222         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64223         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64224         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64225         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64226         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64227         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64228         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64229         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64230         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64231         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64232         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64233         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64234         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64235         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64236         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64237         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64238         * sysdeps/x86_64/strcspn.S: Likewise.
64240 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64242         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64243         generated file.  Regenerate properly from gen-translit.pl.
64244         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64245         locale/C-translit.h.
64247 2013-06-05  Andreas Schwab  <schwab@suse.de>
64249         [BZ #15100]
64250         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64251         week as 6 instead of -1.
64252         * time/tst-strptime.c (day_tests): Add test case.
64254 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64256         * sysdeps/generic/math_private.h
64257         (libc_feholdexcept_setround_53bit): Replace with
64258         libc_feholdsetround_53bit.
64259         (libc_feupdateenv_53bit): Replace with
64260         libc_feresetround_53bit.
64261         (SET_RESTORE_ROUND_53BIT): Adjust.
64263 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64265         * string/test-strchrnul.c: Add copyright header.
64267         * posix/tst-getaddrinfo4.c: Increase test timeout.
64269 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64271         [BZ #15536]
64272         * math/libm-test.inc (MAX_EXP): Remove
64273         (MIN_EXP): Define.
64274         (ulp): Use MIN_EXP - MANT_DIG.
64275         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64277 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64279         * po/be.po: Revert last change.
64280         * po/zh_CN.po: Likewise.
64281         * po/header.pot: Likewise.
64283 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64285         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64286         link-libc-deps to empty as target-specific variable.
64287         * Makerules (link-libc-args): New variable.
64288         (libc-for-link): Likewise.
64289         (link-libc-deps): Likewise.
64290         (lib%.so): Depend on $(link-libc-deps).  Link with
64291         $(link-libc-args).
64292         (build-module): Link with $(link-libc-args).
64293         (build-module-asneeded): Likewise.
64294         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64295         list of objects.
64296         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64297         target-specific variable.
64298         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64299         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64300         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64301         libc.
64302         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64303         libc and ld.so.
64304         ($(objpfx)libpcprofile.so): Likewise.
64305         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64306         libc_nonshared.a.
64307         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64308         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64309         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64310         $(link-libc-deps).
64311         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64312         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64313         * login/Makefile ($(objpfx)libutil.so): Likewise.
64314         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64315         * math/Makefile ($(objpfx)libm.so): Likewise.
64316         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64317         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64318         variable instead of depending directly on libc.
64319         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64320         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64321         $(link-libc-deps).
64322         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64323         libc.
64324         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64325         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64326         ($(objpfx)libanl.so): Likewise.
64327         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64328         ld.so.
64329         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64330         $(link-libc-deps).
64331         * sysdeps/i386/fpu/Makefile: Remove file.
64332         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64333         ($(objpfx)libm.so): Remove dependency on ld.so.
64335 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64337         [BZ # 15553]
64338         * nis/yp_xdr.c (XDRMAXNAME): Define.
64339         (XDRMAXRECORD): Define.
64340         (xdr_domainname): Use XDRMAXNAME.
64341         (xdr_mapname): Likewise.
64342         (xdr_peername): Likewise.
64343         (xdr_keydat): Use XDRMAXRECORD.
64344         (xdr_valdat): Likewise.
64346 2013-05-30  Jeff Law  <law@redhat.com>
64348         [BZ #14256]
64349         * manual/errno.texi (ESTALE): Update to account for more than
64350         just NFS file systems.
64351         * sysdeps/gnu/errlist.c: Regenerated.
64353 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64355         [BZ #15465]
64356         * elf/Makefile (tests): Add tst-null-argv.
64357         (modules-names):  Add tst-null-argv-lib.
64358         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64359         (tst-null-argv-ENV): Set environment for tst-null-argv.
64360         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64361         (RTLD_PROGNAME): New macro.
64362         * elf/tst-null-argv.c: New test case.
64363         * elf/tst-null-argv-lib.c: Library for test case.
64364         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64365         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64366         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64367         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64368         * elf/dl-init.c (call_init): Likewise.
64369         (_dl_init): Likewise.
64370         * elf/dl-load.c (print_search_path): Likewise.
64371         (_dl_map_object): Likewise.
64372         * elf/dl-lookup.c (do_lookup_x): Likewise.
64373         (add_dependency): Likewise.
64374         (_dl_lookup_symbol_x): Likewise.
64375         (_dl_debug_bindings): Likewise.
64376         * elf/dl-open.c (_dl_show_scope): Likewise.
64377         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64378         * elf/dl-version.c (match_symbol): Likewise.
64379         (_dl_check_map_versions): Likewise.
64380         * elf/rtld.c (dl_main): Likewise.
64381         (print_unresolved): Use RTLD_PROGNAME.
64382         (print_missing_version): Likewise.
64383         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64384         (elf_machine_rela): Likewise.
64385         * sysdeps/powerpc/powerpc32/dl-machine.c
64386         (__process_machine_rela): Likewise.
64387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64388         Likewise.
64389         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64390         Likewise.
64391         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64392         Likewise.
64393         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64394         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64395         Likewise.
64396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64397         Likewise.
64398         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64400 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64402         * po/be.po: Add descriptive title.
64403         * po/zh_CN.po: Likewise.
64404         * po/header.pot: Likewise.
64406 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64408         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64409         error message.
64410         (enlarge_archive): Likewise.
64412 2013-05-28  Ben North  <ben@redfrontdoor.org>
64414         * manual/arith.texi (frexp): It is the magnitude of the return
64415         value which lies in [0.5, 1), not the return value itself.
64417 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64421 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64423         * stdio-common/bug26.c (main): Correct fscanf template.
64425         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64426         declare _dl_skip_args.
64428         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64429         Don't declare.
64431         * manual/platform.texi: Add missing @end deftypefun.
64433 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64435         [BZ #15529]
64436         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64437         bit of mantissa of 2^16382.
64438         * math/libm-test.inc (hypot_test_data): Add more tests.
64440         * math/libm-test.inc: Add drem and pow10 to list of tested
64441         functions.
64442         (pow10_test): New function.
64443         (drem_test): Likewise.
64444         (drem_test_tonearest): Likewise.
64445         (drem_test_towardzero): Likewise.
64446         (drem_test_downward): Likewise.
64447         (drem_test_upward): Likewise.
64448         (main): Call the new functions.
64450         * math/libm-test.inc (finite_test_data): Remove.
64451         (finite_test): Run tests from isfinite_test_data.
64452         (gamma_test_data): Remove.
64453         (gamma_test): Run tests from lgamma_test_data.
64454         * sysdeps/i386/fpu/libm-test-ulps: Update.
64455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64457 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64459         * manual/platform.texi: Add PowerPC PPR function set documentation.
64460         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64461         implementation.
64463 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64465         * math/libm-test.inc (MAX_EXP): Define.
64466         (ULPDIFF): Define.
64467         (ulp): New function.
64468         (check_float_internal): Use ULPDIFF.
64469         (cpow_test): Disable failing test.
64470         (check_ulp): Test ulp() implementation.
64471         (main): Call check_ulp before starting tests.
64473 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64475         * math/gen-libm-test.pl (generate_testfile): Do not handle
64476         START_DATA and END_DATA.
64477         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64478         END_DATA.
64479         (acos_tonearest_test_data): Likewise.
64480         (acos_towardzero_test_data): Likewise.
64481         (acos_downward_test_data): Likewise.
64482         (acos_upward_test_data): Likewise.
64483         (acosh_test_data): Likewise.
64484         (asin_test_data): Likewise.
64485         (asin_tonearest_test_data): Likewise.
64486         (asin_towardzero_test_data): Likewise.
64487         (asin_downward_test_data): Likewise.
64488         (asin_upward_test_data): Likewise.
64489         (asinh_test_data): Likewise.
64490         (atan_test_data): Likewise.
64491         (atanh_test_data): Likewise.
64492         (atan2_test_data): Likewise.
64493         (cabs_test_data): Likewise.
64494         (cacos_test_data): Likewise.
64495         (cacosh_test_data): Likewise.
64496         (carg_test_data): Likewise.
64497         (casin_test_data): Likewise.
64498         (casinh_test_data): Likewise.
64499         (catan_test_data): Likewise.
64500         (catanh_test_data): Likewise.
64501         (cbrt_test_data): Likewise.
64502         (ccos_test_data): Likewise.
64503         (ccosh_test_data): Likewise.
64504         (ceil_test_data): Likewise.
64505         (cexp_test_data): Likewise.
64506         (cimag_test_data): Likewise.
64507         (clog_test_data): Likewise.
64508         (clog10_test_data): Likewise.
64509         (conj_test_data): Likewise.
64510         (copysign_test_data): Likewise.
64511         (cos_test_data): Likewise.
64512         (cos_tonearest_test_data): Likewise.
64513         (cos_towardzero_test_data): Likewise.
64514         (cos_downward_test_data): Likewise.
64515         (cos_upward_test_data): Likewise.
64516         (cosh_test_data): Likewise.
64517         (cosh_tonearest_test_data): Likewise.
64518         (cosh_towardzero_test_data): Likewise.
64519         (cosh_downward_test_data): Likewise.
64520         (cosh_upward_test_data): Likewise.
64521         (cpow_test_data): Likewise.
64522         (cproj_test_data): Likewise.
64523         (creal_test_data): Likewise.
64524         (csin_test_data): Likewise.
64525         (csinh_test_data): Likewise.
64526         (csqrt_test_data): Likewise.
64527         (ctan_test_data): Likewise.
64528         (ctan_tonearest_test_data): Likewise.
64529         (ctan_towardzero_test_data): Likewise.
64530         (ctan_downward_test_data): Likewise.
64531         (ctan_upward_test_data): Likewise.
64532         (ctanh_test_data): Likewise.
64533         (ctanh_tonearest_test_data): Likewise.
64534         (ctanh_towardzero_test_data): Likewise.
64535         (ctanh_downward_test_data): Likewise.
64536         (ctanh_upward_test_data): Likewise.
64537         (erf_test_data): Likewise.
64538         (erfc_test_data): Likewise.
64539         (exp_test_data): Likewise.
64540         (exp_tonearest_test_data): Likewise.
64541         (exp_towardzero_test_data): Likewise.
64542         (exp_downward_test_data): Likewise.
64543         (exp_upward_test_data): Likewise.
64544         (exp10_test_data): Likewise.
64545         (exp2_test_data): Likewise.
64546         (expm1_test_data): Likewise.
64547         (fabs_test_data): Likewise.
64548         (fdim_test_data): Likewise.
64549         (finite_test_data): Likewise.
64550         (floor_test_data): Likewise.
64551         (fma_test_data): Likewise.
64552         (fma_towardzero_test_data): Likewise.
64553         (fma_downward_test_data): Likewise.
64554         (fma_upward_test_data): Likewise.
64555         (fmax_test_data): Likewise.
64556         (fmin_test_data): Likewise.
64557         (fmod_test_data): Likewise.
64558         (fpclassify_test_data): Likewise.
64559         (frexp_test_data): Likewise.
64560         (gamma_test_data): Likewise.
64561         (hypot_test_data): Likewise.
64562         (ilogb_test_data): Likewise.
64563         (isfinite_test_data): Likewise.
64564         (isgreater_test_data): Likewise.
64565         (isgreaterequal_test_data): Likewise.
64566         (isinf_test_data): Likewise.
64567         (isless_test_data): Likewise.
64568         (islessequal_test_data): Likewise.
64569         (islessgreater_test_data): Likewise.
64570         (isnan_test_data): Likewise.
64571         (isnormal_test_data): Likewise.
64572         (issignaling_test_data): Likewise.
64573         (isunordered_test_data): Likewise.
64574         (j0_test_data): Likewise.
64575         (j1_test_data): Likewise.
64576         (jn_test_data): Likewise.
64577         (ldexp_test_data): Likewise.
64578         (lgamma_test_data): Likewise.
64579         (lrint_test_data): Likewise.
64580         (lrint_tonearest_test_data): Likewise.
64581         (lrint_towardzero_test_data): Likewise.
64582         (lrint_downward_test_data): Likewise.
64583         (lrint_upward_test_data): Likewise.
64584         (llrint_test_data): Likewise.
64585         (llrint_tonearest_test_data): Likewise.
64586         (llrint_towardzero_test_data): Likewise.
64587         (llrint_downward_test_data): Likewise.
64588         (llrint_upward_test_data): Likewise.
64589         (log_test_data): Likewise.
64590         (log10_test_data): Likewise.
64591         (log1p_test_data): Likewise.
64592         (log2_test_data): Likewise.
64593         (logb_test_data): Likewise.
64594         (logb_downward_test_data): Likewise.
64595         (lround_test_data): Likewise.
64596         (llround_test_data): Likewise.
64597         (modf_test_data): Likewise.
64598         (nearbyint_test_data): Likewise.
64599         (nextafter_test_data): Likewise.
64600         (nexttoward_test_data): Likewise.
64601         (pow_test_data): Likewise.
64602         (pow_tonearest_test_data): Likewise.
64603         (pow_towardzero_test_data): Likewise.
64604         (pow_downward_test_data): Likewise.
64605         (pow_upward_test_data): Likewise.
64606         (remainder_test_data): Likewise.
64607         (remainder_tonearest_test_data): Likewise.
64608         (remainder_towardzero_test_data): Likewise.
64609         (remainder_downward_test_data): Likewise.
64610         (remainder_upward_test_data): Likewise.
64611         (remquo_test_data): Likewise.
64612         (rint_test_data): Likewise.
64613         (rint_tonearest_test_data): Likewise.
64614         (rint_towardzero_test_data): Likewise.
64615         (rint_downward_test_data): Likewise.
64616         (rint_upward_test_data): Likewise.
64617         (round_test_data): Likewise.
64618         (scalb_test_data): Likewise.
64619         (scalbn_test_data): Likewise.
64620         (scalbln_test_data): Likewise.
64621         (signbit_test_data): Likewise.
64622         (sin_test_data): Likewise.
64623         (sin_tonearest_test_data): Likewise.
64624         (sin_towardzero_test_data): Likewise.
64625         (sin_downward_test_data): Likewise.
64626         (sin_upward_test_data): Likewise.
64627         (sincos_test_data): Likewise.
64628         (sinh_test_data): Likewise.
64629         (sinh_tonearest_test_data): Likewise.
64630         (sinh_towardzero_test_data): Likewise.
64631         (sinh_downward_test_data): Likewise.
64632         (sinh_upward_test_data): Likewise.
64633         (sqrt_test_data): Likewise.
64634         (tan_test_data): Likewise.
64635         (tan_tonearest_test_data): Likewise.
64636         (tan_towardzero_test_data): Likewise.
64637         (tan_downward_test_data): Likewise.
64638         (tan_upward_test_data): Likewise.
64639         (tanh_test_data): Likewise.
64640         (tgamma_test_data): Likewise.
64641         (trunc_test_data): Likewise.
64642         (y0_test_data): Likewise.
64643         (y1_test_data): Likewise.
64644         (yn_test_data): Likewise.
64645         (significand_test_data): Likewise.
64647         * math/gen-libm-test.pl (@functions): Remove variable.
64648         (generate_testfile): Don't handle START and END lines.
64649         * math/libm-test.inc (START): New macro.
64650         (END): Likewise.
64651         (END_COMPLEX): Likewise.
64652         (acos_test): Use END macro without arguments.
64653         (acos_test_tonearest): Likewise.
64654         (acos_test_towardzero): Likewise.
64655         (acos_test_downward): Likewise.
64656         (acos_test_upward): Likewise.
64657         (acosh_test): Likewise.
64658         (asin_test): Likewise.
64659         (asin_test_tonearest): Likewise.
64660         (asin_test_towardzero): Likewise.
64661         (asin_test_downward): Likewise.
64662         (asin_test_upward): Likewise.
64663         (asinh_test): Likewise.
64664         (atan_test): Likewise.
64665         (atanh_test): Likewise.
64666         (atan2_test): Likewise.
64667         (cabs_test): Likewise.
64668         (cacos_test): Use END_COMPLEX macro without arguments.
64669         (cacosh_test): Likewise.
64670         (carg_test): Use END macro without arguments.
64671         (casin_test): Use END_COMPLEX macro without arguments.
64672         (casinh_test): Likewise.
64673         (catan_test): Likewise.
64674         (catanh_test): Likewise.
64675         (cbrt_test): Use END macro without arguments.
64676         (ccos_test): Use END_COMPLEX macro without arguments.
64677         (ccosh_test): Likewise.
64678         (ceil_test): Use END macro without arguments.
64679         (cexp_test): Use END_COMPLEX macro without arguments.
64680         (cimag_test): Use END macro without arguments.
64681         (clog_test): Use END_COMPLEX macro without arguments.
64682         (clog10_test): Likewise.
64683         (conj_test): Likewise.
64684         (copysign_test): Use END macro without arguments.
64685         (cos_test): Likewise.
64686         (cos_test_tonearest): Likewise.
64687         (cos_test_towardzero): Likewise.
64688         (cos_test_downward): Likewise.
64689         (cos_test_upward): Likewise.
64690         (cosh_test): Likewise.
64691         (cosh_test_tonearest): Likewise.
64692         (cosh_test_towardzero): Likewise.
64693         (cosh_test_downward): Likewise.
64694         (cosh_test_upward): Likewise.
64695         (cpow_test): Use END_COMPLEX macro without arguments.
64696         (cproj_test): Likewise.
64697         (creal_test): Use END macro without arguments.
64698         (csin_test): Use END_COMPLEX macro without arguments.
64699         (csinh_test): Likewise.
64700         (csqrt_test): Likewise.
64701         (ctan_test): Likewise.
64702         (ctan_test_tonearest): Likewise.
64703         (ctan_test_towardzero): Likewise.
64704         (ctan_test_downward): Likewise.
64705         (ctan_test_upward): Likewise.
64706         (ctanh_test): Likewise.
64707         (ctanh_test_tonearest): Likewise.
64708         (ctanh_test_towardzero): Likewise.
64709         (ctanh_test_downward): Likewise.
64710         (ctanh_test_upward): Likewise.
64711         (erf_test): Use END macro without arguments.
64712         (erfc_test): Likewise.
64713         (exp_test): Likewise.
64714         (exp_test_tonearest): Likewise.
64715         (exp_test_towardzero): Likewise.
64716         (exp_test_downward): Likewise.
64717         (exp_test_upward): Likewise.
64718         (exp10_test): Likewise.
64719         (exp2_test): Likewise.
64720         (expm1_test): Likewise.
64721         (fabs_test): Likewise.
64722         (fdim_test): Likewise.
64723         (finite_test): Likewise.
64724         (floor_test): Likewise.
64725         (fma_test): Likewise.
64726         (fma_test_towardzero): Likewise.
64727         (fma_test_downward): Likewise.
64728         (fma_test_upward): Likewise.
64729         (fmax_test): Likewise.
64730         (fmin_test): Likewise.
64731         (fmod_test): Likewise.
64732         (fpclassify_test): Likewise.
64733         (frexp_test): Likewise.
64734         (gamma_test): Likewise.
64735         (hypot_test): Likewise.
64736         (ilogb_test): Likewise.
64737         (isfinite_test): Likewise.
64738         (isgreater_test): Likewise.
64739         (isgreaterequal_test): Likewise.
64740         (isinf_test): Likewise.
64741         (isless_test): Likewise.
64742         (islessequal_test): Likewise.
64743         (islessgreater_test): Likewise.
64744         (isnan_test): Likewise.
64745         (isnormal_test): Likewise.
64746         (issignaling_test): Likewise.
64747         (isunordered_test): Likewise.
64748         (j0_test): Likewise.
64749         (j1_test): Likewise.
64750         (jn_test): Likewise.
64751         (ldexp_test): Likewise.
64752         (lgamma_test): Likewise.
64753         (lrint_test): Likewise.
64754         (lrint_test_tonearest): Likewise.
64755         (lrint_test_towardzero): Likewise.
64756         (lrint_test_downward): Likewise.
64757         (lrint_test_upward): Likewise.
64758         (llrint_test): Likewise.
64759         (llrint_test_tonearest): Likewise.
64760         (llrint_test_towardzero): Likewise.
64761         (llrint_test_downward): Likewise.
64762         (llrint_test_upward): Likewise.
64763         (log_test): Likewise.
64764         (log10_test): Likewise.
64765         (log1p_test): Likewise.
64766         (log2_test): Likewise.
64767         (logb_test): Likewise.
64768         (logb_test_downward): Likewise.
64769         (lround_test): Likewise.
64770         (llround_test): Likewise.
64771         (modf_test): Likewise.
64772         (nearbyint_test): Likewise.
64773         (nextafter_test): Likewise.
64774         (nexttoward_test): Likewise.
64775         (pow_test): Likewise.
64776         (pow_test_tonearest): Likewise.
64777         (pow_test_towardzero): Likewise.
64778         (pow_test_downward): Likewise.
64779         (pow_test_upward): Likewise.
64780         (remainder_test): Likewise.
64781         (remainder_test_tonearest): Likewise.
64782         (remainder_test_towardzero): Likewise.
64783         (remainder_test_downward): Likewise.
64784         (remainder_test_upward): Likewise.
64785         (remquo_test): Likewise.
64786         (rint_test): Likewise.
64787         (rint_test_tonearest): Likewise.
64788         (rint_test_towardzero): Likewise.
64789         (rint_test_downward): Likewise.
64790         (rint_test_upward): Likewise.
64791         (round_test): Likewise.
64792         (scalb_test): Likewise.
64793         (scalbn_test): Likewise.
64794         (scalbln_test): Likewise.
64795         (signbit_test): Likewise.
64796         (sin_test): Likewise.
64797         (sin_test_tonearest): Likewise.
64798         (sin_test_towardzero): Likewise.
64799         (sin_test_downward): Likewise.
64800         (sin_test_upward): Likewise.
64801         (sincos_test): Likewise.
64802         (sinh_test): Likewise.
64803         (sinh_test_tonearest): Likewise.
64804         (sinh_test_towardzero): Likewise.
64805         (sinh_test_downward): Likewise.
64806         (sinh_test_upward): Likewise.
64807         (sqrt_test): Likewise.
64808         (tan_test): Likewise.
64809         (tan_test_tonearest): Likewise.
64810         (tan_test_towardzero): Likewise.
64811         (tan_test_downward): Likewise.
64812         (tan_test_upward): Likewise.
64813         (tanh_test): Likewise.
64814         (tgamma_test): Likewise.
64815         (trunc_test): Likewise.
64816         (y0_test): Likewise.
64817         (y1_test): Likewise.
64818         (yn_test): Likewise.
64819         (significand_test): Likewise.
64821 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64823         [BZ #15381]
64824         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64826 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64828         [BZ #14894]
64829         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64830         __ppc_mdoio and __ppc_mdoom.
64831         * manual/platform.texi: Document new functions __ppc_yield,
64832         __ppc_mdoio and __ppc_mdoom.
64834 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64836         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64837         (main): Mention "tls" pseudo-hwcap is legacy.
64838         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64840 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64842         * math/gen-libm-test.pl (parse_args): Output only string of
64843         arguments as text for test name, not full call or descriptions of
64844         tests for extra outputs.
64845         (generate_testfile): Do not pass function name to parse_args.
64846         Generate this_func variable from START.
64847         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64848         field to arg_str.
64849         (struct test_ff_f_data): Likewise.
64850         (test_ff_f_data_nexttoward): Likewise.
64851         (struct test_fi_f_data): Likewise.
64852         (struct test_fl_f_data): Likewise.
64853         (struct test_if_f_data): Likewise.
64854         (struct test_fff_f_data): Likewise.
64855         (struct test_c_f_data): Likewise.
64856         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64857         (struct test_fF_f1_data): Likewise.
64858         (struct test_ffI_f1_data): Likewise.
64859         (struct test_c_c_data): Rename test_name field to arg_str.
64860         (struct test_cc_c_data): Likewise.
64861         (struct test_f_i_data): Likewise.
64862         (struct test_ff_i_data): Likewise.
64863         (struct test_f_l_data): Likewise.
64864         (struct test_f_L_data): Likewise.
64865         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64866         and extra2_name.
64867         (COMMON_TEST_SETUP): New macro.
64868         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64869         (COMMON_TEST_CLEANUP): Likewise.
64870         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64871         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64872         macros.
64873         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64874         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64875         macros.
64876         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64877         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64878         cleanup macros.
64879         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64880         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64881         macros.
64882         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64883         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64884         macros.
64885         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64886         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64887         cleanup macros.
64888         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64889         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64890         cleanup macros.
64891         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64892         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64893         cleanup macros.
64894         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64895         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64896         macros.
64897         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64898         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64899         macros.
64900         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64901         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64902         macros.
64903         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64904         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64905         cleanup macros.
64906         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64907         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64908         cleanup macros.
64909         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64910         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64911         macros.
64912         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64913         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64914         cleanup macros.
64915         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64916         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64917         macros.
64918         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64919         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64920         macros.
64921         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64922         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64923         cleanup macros.
64924         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64926 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64928         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64929         to _sifields.sigfault.
64930         (si_addr_lsb): Define new macro.
64931         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64933         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64935 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64937         [BZ #15441]
64938         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64939         returns -1.
64940         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64941         null return -1.
64942         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64943         loading the domain.
64945 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64947         * math/gen-libm-test.pl (parse_args): Do not include expected
64948         result in test name.
64949         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64950         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64951         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64952         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64953         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64956 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64958         * benchtests/Makefile: Sort function entries.
64960         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64961         tanh, asinh, acosh, atanh.
64962         * benchtests/acos-inputs: New file.
64963         * benchtests/acosh-inputs: New file.
64964         * benchtests/asin-inputs: New file.
64965         * benchtests/asinh-inputs: New file.
64966         * benchtests/atanh-inputs: New file.
64967         * benchtests/cosh-inputs: New file.
64968         * benchtests/log-inputs: New file.
64969         * benchtests/sinh-inputs: New file.
64970         * benchtests/tanh-inputs: New file.
64972 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64974         [BZ #15339]
64975         * posix/tst-getaddrinfo4.c: New test.
64976         * posix/Makefile (tests): Add it.
64978 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64980         [BZ #15339]
64981         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64982         when no services were used.
64983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64984         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64986 2013-05-21  Andreas Schwab  <schwab@suse.de>
64988         [BZ #15014]
64989         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64990         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64991         successful.
64992         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64993         redundant variable declarations and reallocation of buffer when
64994         parsing as IPv6 address.  Always set NSS status when called from
64995         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
64996         buffer too small.  Correct computation of needed size.
64997         * nss/Makefile (tests): Add test-digits-dots.
64998         * nss/test-digits-dots.c: New test.
65000 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65002         * benchtests/Makefile: Remove instructions for adding
65003         benchmark tests.
65004         * benchtests/README: New file to explain how to execute and
65005         enhance the benchmark tests.
65007 2013-05-21  Andreas Schwab  <schwab@suse.de>
65009         [BZ #15493]
65010         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65011         * setjmp/tst-sigsetjmp.c: New test.
65013 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65015         * sysdeps/x86_64/memset.S (memset): New implementation.
65016         (__bzero): Likewise.
65017         (__memset_tail): New function.
65019 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65021         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65022         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65023         __memcpy_sse2_unaligned ifunc selection.
65024         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65025         Add memcpy-sse2-unaligned.S.
65026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65027         Add: __memcpy_sse2_unaligned.
65029 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65031         [BZ #15490]
65032         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65033         math_force_eval before restoring floating-point envrionment.
65034         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65035         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65036         Likewise.
65037         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65038         <math_private.h>.
65039         (__nearbyintl): Use math_force_eval before restoring
65040         floating-point environment.
65041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65043         * math/gen-libm-test.pl (special_functions): Remove.
65044         (parse_args): Don't handle TEST_extra.  Handle functions with no
65045         return value.
65046         * math/libm-test.inc (struct test_sincos_data): Replace with
65047         struct test_fFF_11_data.
65048         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65049         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65050         (sincos_test_data): Change element type to struct
65051         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65052         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65053         RUN_TEST_LOOP_sincos.
65054         * math/README.libm-test: Don't mention special handling of
65055         individual functions.
65056         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65059         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65060         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65063         * math/gen-libm-test.pl (get_variable): Remove function.
65064         (parse_args): Don't show pointer parameters to call in test
65065         names.  Use "extra output N" in test names for extra outputs
65066         rather than naming variables.
65068 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65070         [BZ #15488]
65071         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65072         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65073         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65074         double tests.
65075         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65076         disable.
65077         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65078         check_long_double.
65080         * math/gen-libm-test.pl (@tests): Remove variable.
65081         ($count): Likewise.
65082         (new_test): Remove function.
65083         (show_exceptions): New function.
65084         (special_functions): Use show_exceptions instead of new_test.
65085         (parse_args): Likewise.
65086         (generate_testfile): Pass only function name in generated call to
65087         print_max_error or print_complex_max_error.
65088         (get_ulps): Do not handle complex tests specially.
65089         (output_test): Rename to ...
65090         (get_all_ulps_for_test): ... this.  Return a string rather than
65091         printing to a file.  Require ulps to be present.
65092         (output_ulps): Generate arrays rather than #defines.
65093         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65094         (struct ulp_data): New type.
65095         (BUILD_COMPLEX_ULP): Remove macro.
65096         (compare_ulp_data): New function.
65097         (find_ulps): Likewise.
65098         (find_test_ulps): Likewise.
65099         (find_function_ulps): Likewise.
65100         (find_complex_function_ulps): Likewise.
65101         (print_max_error): Determine allowed ulps using
65102         find_function_ulps.
65103         (print_complex_max_error): Determine allowed ulps using
65104         find_complex_function_ulps.
65105         (check_float_internal): Determine max ulps using find_test_ulps.
65106         (check_float): Do not take max_ulp parameter.  Update call to
65107         check_float_internal.
65108         (check_complex): Likewise.
65109         (check_int): Do not take max_ulp parameter.
65110         (check_long): Likewise.
65111         (check_bool): Likewise.
65112         (check_longlong): Likewise.
65113         (struct test_f_f_data): Remove max_ulp field.
65114         (struct test_ff_f_data): Likewise.
65115         (struct test_ff_f_data_nexttoward): Likewise.
65116         (struct test_fi_f_data): Likewise.
65117         (struct test_fl_f_data): Likewise.
65118         (struct test_if_f_data): Likewise.
65119         (struct test_fff_f_data): Likewise.
65120         (struct test_c_f_data): Likewise.
65121         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65122         (struct test_fF_f1_data): Likewise.
65123         (struct test_ffI_f1_data): Likewise.
65124         (struct test_c_c_data): Remove max_ulp field.
65125         (struct test_cc_c_data): Likewise.
65126         (struct test_f_i_data): Likewise.
65127         (struct test_ff_i_data): Likewise.
65128         (struct test_f_l_data): Likewise.
65129         (struct test_f_L_data): Likewise.
65130         (struct test_sincos_data): Likewise.
65131         (RUN_TEST_f_f): Do not handle ulps.
65132         (RUN_TEST_LOOP_f_f): Likewise.
65133         (RUN_TEST_2_f): Likewise.
65134         (RUN_TEST_LOOP_2_f): Likewise.
65135         (RUN_TEST_fff_f): Likewise.
65136         (RUN_TEST_LOOP_fff_f): Likewise.
65137         (RUN_TEST_c_f): Likewise.
65138         (RUN_TEST_LOOP_c_f): Likewise.
65139         (RUN_TEST_f_f1): Likewise.
65140         (RUN_TEST_LOOP_f_f1): Likewise.
65141         (RUN_TEST_fF_f1): Likewise.
65142         (RUN_TEST_LOOP_fF_f1): Likewise.
65143         (RUN_TEST_fI_f1): Likewise.
65144         (RUN_TEST_LOOP_fI_f1): Likewise.
65145         (RUN_TEST_ffI_f1): Likewise.
65146         (RUN_TEST_LOOP_ffI_f1): Likewise.
65147         (RUN_TEST_c_c): Likewise.
65148         (RUN_TEST_LOOP_c_c): Likewise.
65149         (RUN_TEST_cc_c): Likewise.
65150         (RUN_TEST_LOOP_cc_c): Likewise.
65151         (RUN_TEST_f_i): Likewise.
65152         (RUN_TEST_LOOP_f_i): Likewise.
65153         (RUN_TEST_f_i_tg): Likewise.
65154         (RUN_TEST_LOOP_f_i_tg): Likewise.
65155         (RUN_TEST_ff_i_tg): Likewise.
65156         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65157         (RUN_TEST_f_b): Likewise.
65158         (RUN_TEST_LOOP_f_b): Likewise.
65159         (RUN_TEST_f_b_tg): Likewise.
65160         (RUN_TEST_LOOP_f_b_tg): Likewise.
65161         (RUN_TEST_f_l): Likewise.
65162         (RUN_TEST_LOOP_f_l): Likewise.
65163         (RUN_TEST_f_L): Likewise.
65164         (RUN_TEST_LOOP_f_L): Likewise.
65165         (RUN_TEST_sincos): Likewise.
65166         (RUN_TEST_LOOP_sincos): Likewise.
65168 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65170         [BZ #15480]
65171         [BZ #15485]
65172         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65173         main case of finite arguments, set rounding mode to FE_TONEAREST
65174         and discard exceptions.
65175         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65176         exceptions.
65177         (remainder_tonearest_test_data): New variable.
65178         (remainder_test_tonearest): New function.
65179         (remainder_towardzero_test_data): New variable.
65180         (remainder_test_towardzero): New function.
65181         (remainder_downward_test_data): New variable.
65182         (remainder_test_downward): New function.
65183         (remainder_upward_test_data): New variable.
65184         (remainder_test_upward): New function.
65185         (main): Call the new test functions.
65187         * math/libm-test.inc (struct test_f_f1_data): Remove field
65188         extra_init.
65189         (struct test_fF_f1_data): Likewise.
65190         (struct test_ffI_f1_data): Likewise.
65191         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65192         based on value of EXTRA_EXPECTED.
65193         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65194         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65195         EXTRA_VAR based on value of EXTRA_EXPECTED.
65196         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65197         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65198         EXTRA_VAR based on value of EXTRA_EXPECTED.
65199         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65200         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65201         EXTRA_VAR based on value of EXTRA_EXPECTED.
65202         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65203         * math/gen-libm-test.pl (parse_args): Don't output initializers
65204         for extra output values.
65206         * math/libm-test.inc (check_int): Expect result to be exactly
65207         equal to expected value and do not handle ulps.
65208         (check_long): Likewise.
65209         (check_longlong): Likewise.
65211         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65212         exceptions.
65213         (cimag_test_data): Likewise.
65214         (conj_test_data): Likewise.
65215         (copysign_test_data): Likewise.
65216         (cproj_test_data): Likewise.
65217         (creal_test_data): Likewise.
65218         (fabs_test_data): Likewise.
65219         (fdim_test_data): Likewise.
65220         (finite_test_data): Likewise.
65221         (floor_test_data): Likewise.
65222         (fmax_test_data): Likewise.
65223         (fmin_test_data): Likewise.
65224         (fmod_test_data): Likewise.
65225         (fpclassify_test_data): Likewise.
65226         (frexp_test_data): Likewise.
65227         (ilogb_test_data): Likewise.
65228         (isfinite_test_data): Likewise.
65229         (isgreater_test_data): Likewise.
65230         (isgreaterequal_test_data): Likewise.
65231         (isinf_test_data): Likewise.
65232         (isless_test_data): Likewise.
65233         (islessequal_test_data): Likewise.
65234         (islessgreater_test_data): Likewise.
65235         (isnan_test_data): Likewise.
65236         (isnormal_test_data): Likewise.
65237         (issignaling_test_data): Likewise.
65238         (isunordered_test_data): Likewise.
65239         (ldexp_test_data): Likewise.
65240         (lrint_test_data): Likewise.
65241         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65242         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65243         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65244         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65245         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65246         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65247         test input.
65248         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65249         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65250         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65251         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65252         that test input.
65253         (lrint_downward_test_data): Test for "inexact" exceptions.
65254         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65255         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65256         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65257         test input.
65258         (lrint_upward_test_data): Test for "inexact" exceptions.
65259         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65260         test input.
65261         (llrint_test_data): Test for "inexact" exceptions.
65262         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65263         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65264         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65265         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65266         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65267         (llrint_downward_test_data): Test for "inexact" exceptions.
65268         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65269         (llrint_upward_test_data): Test for "inexact" exceptions.
65270         (logb_test_data): Likewise.
65271         (logb_downward_test_data): Likewise.
65272         (nextafter_test_data): Likewise.
65273         (nexttoward_test_data): Likewise.
65274         (remainder_test_data): Likewise.
65275         (remquo_test_data): Likewise.
65276         (scalbn_test_data): Likewise.
65277         (scalbln_test_data): Likewise.
65278         (signbit_test_data): Likewise.
65279         (sqrt_test_data): Likewise.
65280         (significand_test_data): Likewise.
65282 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65284         [BZ #15424]
65285         * benchtests/bench-modf.c (struct args): Mark arg0 as
65286         volatile.
65287         * scripts/bench.pl: Mark members of struct args as volatile.
65289 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65291         [BZ # 15497]
65292         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65293         negative infinity on POWER6 or lower.
65294         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65296 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65298         [BZ #15442]
65299         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65300         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65301         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65302         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65303         (_FP_SETQNAN): New macro.
65304         (_FP_SETQNAN_SEMIRAW): Likewise.
65305         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65306         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65307         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65308         (FP_EXTEND): Use _FP_FRAC_SNANP.
65309         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65310         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65311         into account.
65312         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65313         New macro.
65314         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65315         Likewise.
65317 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65319         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65320         with DIVIDE_BY_ZERO_EXCEPTION.
65321         (gamma_test_data): Likewise.
65322         (lgamma_test_data): Likewise.
65323         (log_test_data): Likewise.
65324         (log10_test_data): Likewise.
65325         (log2_test_data): Likewise.
65326         (tgamma_test_data): Likewise.
65328         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65329         (acos_test_tonearest): Likewise.
65330         (acos_test_towardzero): Likewise.
65331         (acos_test_downward): Likewise.
65332         (acos_test_upward): Likewise.
65333         (acosh_test): Likewise.
65334         (asin_test): Likewise.
65335         (asin_test_tonearest): Likewise.
65336         (asin_test_towardzero): Likewise.
65337         (asin_test_downward): Likewise.
65338         (asin_test_upward): Likewise.
65339         (asinh_test): Likewise.
65340         (atan_test): Likewise.
65341         (atanh_test): Likewise.
65342         (atan2_test): Likewise.
65343         (cabs_test): Likewise.
65344         (cacos_test): Likewise.
65345         (cacosh_test): Likewise.
65346         (casin_test): Likewise.
65347         (casinh_test): Likewise.
65348         (catan_test): Likewise.
65349         (catanh_test): Likewise.
65350         (cbrt_test): Likewise.
65351         (ccos_test): Likewise.
65352         (ccosh_test): Likewise.
65353         (cexp_test): Likewise.
65354         (clog_test): Likewise.
65355         (clog10_test): Likewise.
65356         (cos_test): Likewise.
65357         (cos_test_tonearest): Likewise.
65358         (cos_test_towardzero): Likewise.
65359         (cos_test_downward): Likewise.
65360         (cos_test_upward): Likewise.
65361         (cosh_test): Likewise.
65362         (cosh_test_tonearest): Likewise.
65363         (cosh_test_towardzero): Likewise.
65364         (cosh_test_downward): Likewise.
65365         (cosh_test_upward): Likewise.
65366         (cpow_test): Likewise.
65367         (csin_test): Likewise.
65368         (csinh_test): Likewise.
65369         (csqrt_test): Likewise.
65370         (ctan_test): Likewise.
65371         (ctan_test_tonearest): Likewise.
65372         (ctan_test_towardzero): Likewise.
65373         (ctan_test_downward): Likewise.
65374         (ctan_test_upward): Likewise.
65375         (ctanh_test): Likewise.
65376         (ctanh_test_tonearest): Likewise.
65377         (ctanh_test_towardzero): Likewise.
65378         (ctanh_test_downward): Likewise.
65379         (ctanh_test_upward): Likewise.
65380         (erf_test): Likewise.
65381         (erfc_test): Likewise.
65382         (exp_test): Likewise.
65383         (exp_test_tonearest): Likewise.
65384         (exp_test_towardzero): Likewise.
65385         (exp_test_downward): Likewise.
65386         (exp_test_upward): Likewise.
65387         (exp10_test): Likewise.
65388         (exp2_test): Likewise.
65389         (expm1_test): Likewise.
65390         (fmod_test): Likewise.
65391         (gamma_test): Likewise.
65392         (hypot_test): Likewise.
65393         (j0_test): Likewise.
65394         (j1_test): Likewise.
65395         (jn_test): Likewise.
65396         (lgamma_test): Likewise.
65397         (log_test): Likewise.
65398         (log10_test): Likewise.
65399         (log1p_test): Likewise.
65400         (log2_test): Likewise.
65401         (logb_test_downward): Likewise.
65402         (pow_test): Likewise.
65403         (pow_test_tonearest): Likewise.
65404         (pow_test_towardzero): Likewise.
65405         (pow_test_downward): Likewise.
65406         (pow_test_upward): Likewise.
65407         (remainder_test): Likewise.
65408         (remquo_test): Likewise.
65409         (sin_test): Likewise.
65410         (sin_test_tonearest): Likewise.
65411         (sin_test_towardzero): Likewise.
65412         (sin_test_downward): Likewise.
65413         (sin_test_upward): Likewise.
65414         (sincos_test): Likewise.
65415         (sinh_test): Likewise.
65416         (sinh_test_tonearest): Likewise.
65417         (sinh_test_towardzero): Likewise.
65418         (sinh_test_downward): Likewise.
65419         (sinh_test_upward): Likewise.
65420         (sqrt_test): Likewise.
65421         (tan_test): Likewise.
65422         (tan_test_tonearest): Likewise.
65423         (tan_test_towardzero): Likewise.
65424         (tan_test_downward): Likewise.
65425         (tan_test_upward): Likewise.
65426         (tanh_test): Likewise.
65427         (tgamma_test): Likewise.
65428         (y0_test): Likewise.
65429         (y1_test): Likewise.
65430         (yn_test): Likewise.
65432         * math/gen-libm-test.pl (adjust_arg): Remove function.
65433         (special_function): Remove argument $in_func.  Only handle
65434         generating output for tables of tests, not inside functions.
65435         (parse_args): Likewise.
65436         (generate_testfile): Remove variable $in_func.  Update call to
65437         parse_args.
65438         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65439         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65440         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65441         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65442         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65443         (MAX_VALUE_INIT): Rename macro to max_value.
65444         (MIN_VALUE_INIT): Rename macro to min_value.
65445         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65446         (plus_zero): Remove variable.
65447         (minus_zero): Likewise.
65448         (plus_infty): Likewise.
65449         (minus_infty): Likewise.
65450         (qnan_value): Likewise.
65451         (max_value): Likewise.
65452         (min_value): Likewise.
65453         (min_subnorm_value): Likewise.
65455 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65457         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65458         uint64_t or uint32_t usage.
65459         * crypt/sha256-block.c: Likewise.
65460         * crypt/sha256-crypt.c: Likewise.
65461         * crypt/sha256.c: Likewise.
65462         * crypt/sha512-block.c: Likewise.
65463         * crypt/sha512-crypt.c: Likewise.
65464         * crypt/sha512.c: Likewise.
65465         * debug/backtrace-tst.c: Likewise.
65466         * debug/pcprofiledump.c: Likewise.
65467         * elf/cache.c: Likewise.
65468         * elf/dl-cache.c: Likewise.
65469         * elf/dl-misc.c: Likewise.
65470         * elf/dl-profile.c: Likewise.
65471         * elf/dl-support.c: Likewise.
65472         * elf/ldconfig.c: Likewise.
65473         * elf/sprof.c: Likewise.
65474         * iconv/dummy-repertoire.c: Likewise.
65475         * iconv/iconv_charmap.c: Likewise.
65476         * iconv/skeleton.c: Likewise.
65477         * iconvdata/8bit-generic.c: Likewise.
65478         * iconvdata/cp737.h: Likewise.
65479         * iconvdata/cp775.h: Likewise.
65480         * iconvdata/ibm1008.h: Likewise.
65481         * iconvdata/ibm1025.h: Likewise.
65482         * iconvdata/ibm1046.h: Likewise.
65483         * iconvdata/ibm1097.h: Likewise.
65484         * iconvdata/ibm1112.h: Likewise.
65485         * iconvdata/ibm1122.h: Likewise.
65486         * iconvdata/ibm1123.h: Likewise.
65487         * iconvdata/ibm1124.h: Likewise.
65488         * iconvdata/ibm1129.h: Likewise.
65489         * iconvdata/ibm1130.h: Likewise.
65490         * iconvdata/ibm1132.h: Likewise.
65491         * iconvdata/ibm1133.h: Likewise.
65492         * iconvdata/ibm1137.h: Likewise.
65493         * iconvdata/ibm1140.h: Likewise.
65494         * iconvdata/ibm1141.h: Likewise.
65495         * iconvdata/ibm1142.h: Likewise.
65496         * iconvdata/ibm1143.h: Likewise.
65497         * iconvdata/ibm1144.h: Likewise.
65498         * iconvdata/ibm1145.h: Likewise.
65499         * iconvdata/ibm1146.h: Likewise.
65500         * iconvdata/ibm1147.h: Likewise.
65501         * iconvdata/ibm1148.h: Likewise.
65502         * iconvdata/ibm1149.h: Likewise.
65503         * iconvdata/ibm1153.h: Likewise.
65504         * iconvdata/ibm1154.h: Likewise.
65505         * iconvdata/ibm1155.h: Likewise.
65506         * iconvdata/ibm1156.h: Likewise.
65507         * iconvdata/ibm1157.h: Likewise.
65508         * iconvdata/ibm1158.h: Likewise.
65509         * iconvdata/ibm1160.h: Likewise.
65510         * iconvdata/ibm1161.h: Likewise.
65511         * iconvdata/ibm1162.h: Likewise.
65512         * iconvdata/ibm1163.h: Likewise.
65513         * iconvdata/ibm1164.h: Likewise.
65514         * iconvdata/ibm1166.h: Likewise.
65515         * iconvdata/ibm1167.h: Likewise.
65516         * iconvdata/ibm12712.h: Likewise.
65517         * iconvdata/ibm1390.h: Likewise.
65518         * iconvdata/ibm1399.h: Likewise.
65519         * iconvdata/ibm16804.h: Likewise.
65520         * iconvdata/ibm4517.h: Likewise.
65521         * iconvdata/ibm4899.h: Likewise.
65522         * iconvdata/ibm4909.h: Likewise.
65523         * iconvdata/ibm4971.h: Likewise.
65524         * iconvdata/ibm5347.h: Likewise.
65525         * iconvdata/ibm803.h: Likewise.
65526         * iconvdata/ibm856.h: Likewise.
65527         * iconvdata/ibm901.h: Likewise.
65528         * iconvdata/ibm902.h: Likewise.
65529         * iconvdata/ibm9030.h: Likewise.
65530         * iconvdata/ibm9066.h: Likewise.
65531         * iconvdata/ibm921.h: Likewise.
65532         * iconvdata/ibm922.h: Likewise.
65533         * iconvdata/ibm9448.h: Likewise.
65534         * iconvdata/isiri-3342.h: Likewise.
65535         * iconvdata/jis0201.h: Likewise.
65536         * include/link.h: Likewise.
65537         * include/netdb.h: Likewise.
65538         * inet/check_native.c: Likewise.
65539         * inet/check_pf.c: Likewise.
65540         * inet/getipv4sourcefilter.c: Likewise.
65541         * inet/getnameinfo.c: Likewise.
65542         * inet/getsourcefilter.c: Likewise.
65543         * inet/htonl.c: Likewise.
65544         * inet/setipv4sourcefilter.c: Likewise.
65545         * inet/setsourcefilter.c: Likewise.
65546         * inet/test-inet6_opt.c: Likewise.
65547         * inet/tst-network.c: Likewise.
65548         * locale/C-collate.c: Likewise.
65549         * locale/C-ctype.c: Likewise.
65550         * locale/C-time.c: Likewise.
65551         * locale/C-translit.h: Likewise.
65552         * locale/loadarchive.c: Likewise.
65553         * locale/programs/3level.h: Likewise.
65554         * locale/programs/charmap.c: Likewise.
65555         * locale/programs/charmap.h: Likewise.
65556         * locale/programs/ld-address.c: Likewise.
65557         * locale/programs/ld-collate.c: Likewise.
65558         * locale/programs/ld-ctype.c: Likewise.
65559         * locale/programs/ld-identification.c: Likewise.
65560         * locale/programs/ld-measurement.c: Likewise.
65561         * locale/programs/ld-messages.c: Likewise.
65562         * locale/programs/ld-monetary.c: Likewise.
65563         * locale/programs/ld-name.c: Likewise.
65564         * locale/programs/ld-numeric.c: Likewise.
65565         * locale/programs/ld-paper.c: Likewise.
65566         * locale/programs/ld-telephone.c: Likewise.
65567         * locale/programs/ld-time.c: Likewise.
65568         * locale/programs/linereader.c: Likewise.
65569         * locale/programs/locale.c: Likewise.
65570         * locale/programs/locarchive.c: Likewise.
65571         * locale/programs/locfile.h: Likewise.
65572         * locale/programs/repertoire.c: Likewise.
65573         * locale/programs/simple-hash.c: Likewise.
65574         * locale/programs/simple-hash.h: Likewise.
65575         * malloc/memusage.c: Likewise.
65576         * malloc/memusagestat.c: Likewise.
65577         * nis/nis_defaults.c: Likewise.
65578         * nis/nis_hash.c: Likewise.
65579         * nis/nis_print.c: Likewise.
65580         * nis/nis_xdr.c: Likewise.
65581         * nscd/connections.c: Likewise.
65582         * nscd/hstcache.c: Likewise.
65583         * nscd/nscd_gethst_r.c: Likewise.
65584         * nscd/nscd_getserv_r.c: Likewise.
65585         * nscd/nscd_helper.c: Likewise.
65586         * nscd/servicescache.c: Likewise.
65587         * nss/makedb.c: Likewise.
65588         * nss/nss_db/db-XXX.c: Likewise.
65589         * nss/nss_db/db-initgroups.c: Likewise.
65590         * nss/nss_db/db-netgrp.c: Likewise.
65591         * nss/nss_files/files-network.c: Likewise.
65592         * nss/nss_files/files-parse.c: Likewise.
65593         * posix/bug-regex5.c: Likewise.
65594         * posix/fnmatch_loop.c: Likewise.
65595         * posix/regcomp.c: Likewise.
65596         * posix/regexec.c: Likewise.
65597         * posix/tst-rfc3484-2.c: Likewise.
65598         * posix/tst-rfc3484-3.c: Likewise.
65599         * posix/tst-rfc3484.c: Likewise.
65600         * resolv/nss_dns/dns-canon.c: Likewise.
65601         * resolv/nss_dns/dns-network.c: Likewise.
65602         * resolv/res_init.c: Likewise.
65603         * resolv/res_mkquery.c: Likewise.
65604         * resolv/tst-aton.c: Likewise.
65605         * stdlib/cxa_atexit.c: Likewise.
65606         * stdlib/cxa_finalize.c: Likewise.
65607         * stdlib/gen-fpioconst.c: Likewise.
65608         * stdlib/strtol_l.c: Likewise.
65609         * string/tst-endian.c: Likewise.
65610         * sunrpc/auth_des.c: Likewise.
65611         * sunrpc/clnt_udp.c: Likewise.
65612         * sunrpc/rtime.c: Likewise.
65613         * sunrpc/svcauth_des.c: Likewise.
65614         * sunrpc/xdr.c: Likewise.
65615         * sunrpc/xdr_intXX_t.c: Likewise.
65616         * sunrpc/xdr_rec.c: Likewise.
65617         * sysdeps/generic/ldconfig.h: Likewise.
65618         * sysdeps/generic/ldsodefs.h: Likewise.
65619         * sysdeps/generic/memusage.h: Likewise.
65620         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65621         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65622         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65623         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65624         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65625         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65626         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65627         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65628         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65629         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65630         * sysdeps/posix/getaddrinfo.c: Likewise.
65631         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65632         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65633         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65634         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65635         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65636         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65637         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65638         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65639         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65640         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65641         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65642         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65643         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65644         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65645         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65646         * sysdeps/x86_64/dl-tls.h: Likewise.
65647         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65648         * time/alt_digit.c: Likewise.
65649         * time/era.c: Likewise.
65650         * wcsmbs/tst-c16c32-1.c: Likewise.
65652 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65654         * math/libm-test.inc (struct test_sincos_data): New type.
65655         (RUN_TEST_LOOP_sincos): New macro.
65656         (sincos_test_data): New variable.
65657         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65659 2013-05-16  Richard Henderson  <rth@redhat.com>
65661         * math/atest-exp2.c (LIMB64): New macro.
65662         (CONSTSZ): New macro.
65663         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65664         (hexdig): Move ...
65665         (print_mpn_fp): ... to function scope.
65666         (read_mpn_hex): Remove.
65667         (get_log2): Remove.
65668         (exp2_mpn): Use mp_log2.
65669         (main): Use mp_exp1.
65671 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65673         * math/libm-test.inc: Remove comment about not testing "inexact"
65674         exceptions.
65675         (INEXACT_EXCEPTION): New macro.
65676         (NO_INEXACT_EXCEPTION): Likewise.
65677         (INVALID_EXCEPTION_OK): Update value.
65678         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65679         (OVERFLOW_EXCEPTION_OK): Likewise.
65680         (UNDERFLOW_EXCEPTION_OK): Likewise.
65681         (IGNORE_ZERO_INF_SIGN): Likewise.
65682         (ERRNO_UNCHANGED): Likewise.
65683         (ERRNO_EDOM): Likewise.
65684         (ERRNO_ERANGE): Likewise.
65685         (test_exceptions): Handle testing "inexact" exceptions.
65686         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65687         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65688         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65689         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65690         INEXACT_EXCEPTION.
65691         (rint_towardzero_test_data): Likewise.
65692         (rint_downward_test_data): Likewise.
65693         (rint_upward_test_data): Likewise.
65695         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65696         with OVERFLOW_EXCEPTION.
65697         (exp10_test_data): Likewise.
65698         (exp2_test_data): Likewise.
65699         (expm1_test_data): Likewise.
65700         (lgamma_test_data): Likewise.
65701         (pow_test_data): Likewise.
65702         (tgamma_test_data): Likewise.
65703         (yn_test_data): Remove duplicate test of overflow.
65705         * math/libm-test.inc (struct test_cc_c_data): New type.
65706         (RUN_TEST_LOOP_cc_c): New macro.
65707         (cpow_test_data): New variable.
65708         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65710         * math/libm-test.inc (struct test_f_L_data): New type.
65711         (RUN_TEST_LOOP_f_L): New macro.
65712         (llrint_test_data): New variable.
65713         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65714         (llrint_tonearest_test_data): New variable.
65715         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65716         (llrint_towardzero_test_data): New variable.
65717         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65718         (llrint_downward_test_data): New variable.
65719         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65720         (llrint_upward_test_data): New variable.
65721         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65722         (llround_test_data): New variable.
65723         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65725 2013-05-13  Peter Collingbourne  <pcc@google.com>
65727         * math/atest-exp2.c (get_log2): Remove const attribute.
65729 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65731         * math/libm-test.inc (struct test_f_l_data): New type.
65732         (RUN_TEST_LOOP_f_l): New macro.
65733         (lrint_test_data): New variable.
65734         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65735         (lrint_tonearest_test_data): New variable.
65736         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65737         (lrint_towardzero_test_data): New variable.
65738         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65739         (lrint_downward_test_data): New variable.
65740         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65741         (lrint_upward_test_data): New variable.
65742         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65743         (lround_test_data): New variable.
65744         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65746 2013-05-15  Peter Collingbourne  <pcc@google.com>
65748         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65749         (EXTRACT_WORDS64) Use where appropriate.
65750         (INSERT_WORDS64) Likewise.
65752         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65753         constraints with x constraints.
65754         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65756         * malloc/obstack.c (_obstack_compat): Add initializer.
65758 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65760         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65761         si_trapno and add si_addr_lsb to _sifields.sigfault.
65762         (si_trapno): Remove macro.
65763         (si_addr_lsb): Define new macro.
65764         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65766 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65768         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65769         instead of TEST_f_l.
65770         (llrint_test_tonearest): Likewise.
65771         (llrint_test_towardzero): Likewise.
65772         (llrint_test_downward): Likewise.
65773         (llrint_test_upward): Likewise.
65774         (llround_test): Likewise.
65776         * math/libm-test.inc (struct test_f_i_data): Add comment.
65777         (RUN_TEST_LOOP_f_b): New macro.
65778         (RUN_TEST_LOOP_f_b_tg): Likewise.
65779         (finite_test_data): New variable.
65780         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65781         (isfinite_test_data): New variable.
65782         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65783         (isinf_test_data): New variable.
65784         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65785         (isnan_test_data): New variable.
65786         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65787         (isnormal_test_data): New variable.
65788         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65789         (issignaling_test_data): New variable.
65790         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65791         (signbit_test_data): New variable.
65792         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65794         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65795         with INVALID_EXCEPTION.
65796         (acosh_test_data): Likewise.
65797         (asin_test_data): Likewise.
65798         (atanh_test_data): Likewise.
65799         (fmod_test_data): Likewise.
65800         (log_test_data): Likewise.
65801         (log10_test_data): Likewise.
65802         (log2_test_data): Likewise.
65803         (pow_test_data): Likewise.
65804         (sqrt_test_data): Likewise.
65805         (y0_test_data): Likewise.
65806         (y1_test_data): Likewise.
65807         (yn_test_data): Likewise.
65809         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65810         function contents.
65812         * math/libm-test.inc (struct test_ff_i_data): New type.
65813         (RUN_TEST_LOOP_ff_i_tg): New macro.
65814         (isgreater_test_data): New variable.
65815         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65816         (isgreaterequal_test_data): New variable.
65817         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65818         (isless_test_data): New variable.
65819         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65820         (islessequal_test_data): New variable.
65821         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65822         (islessgreater_test_data): New variable.
65823         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65824         (isunordered_test_data): New variable.
65825         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65827 2013-05-14  David S. Miller  <davem@davemloft.net>
65829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65831 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65833         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65835         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65836         extra_test to int.
65837         (struct test_f_i_data): Change type of max_ulp to int.
65839         * math/libm-test.inc (test_ffI_f1_data): New type.
65840         (RUN_TEST_LOOP_ffI_f1): New macro.
65841         (remquo_test_data): New variable.
65842         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65844         * setjmp/tst-setjmp-fp.c: New file.
65845         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65846         (link-libm): New variable.
65847         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65849         * math/libm-test.inc (struct test_f_i_data): New type.
65850         (RUN_TEST_LOOP_f_i): New macro.
65851         (RUN_TEST_LOOP_f_i_tg): Likewise.
65852         (fpclassify_test_data): New variable.
65853         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65854         (ilogb_test_data): New variable.
65855         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65857         * math/libm-test.inc (scalbln_test): Correct function name in END
65858         call.
65860         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65861         (RUN_TEST_LOOP_fI_f1): New macro.
65862         (frexp_test_data): New variable.
65863         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65865         * math/libm-test.inc (struct test_fF_f1_data): New type.
65866         (RUN_TEST_LOOP_fF_f1): New macro.
65867         (modf_test_data): New variable.
65868         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65870         * math/libm-test.inc (struct test_f_f1_data): New type.
65871         (RUN_TEST_LOOP_f_f1): New macro.
65872         (gamma_test_data): New variable.
65873         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65874         (lgamma_test_data): New variable.
65875         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65877 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65879         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65880         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65881         (main): Comment "tls" pseudo-hwcap.
65883 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65885         * math/libm-test.inc (struct test_fl_f_data): New type.
65886         (RUN_TEST_LOOP_fl_f): New variable.
65887         (scalbln_test_data): New variable.
65888         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65890         * math/libm-test.inc (struct test_fi_f_data): New type.
65891         (RUN_TEST_LOOP_fi_f): New macro.
65892         (ldexp_test_data): New variable.
65893         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65894         (scalbn_test_data): New variable.
65895         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65897         * math/libm-test.inc (struct test_c_f_data): New type.
65898         (RUN_TEST_LOOP_c_f): New macro.
65899         (cabs_test_data): New variable.
65900         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65901         (carg_test_data): New variable.
65902         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65903         (cimag_test_data): New variable.
65904         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65905         (creal_test_data): New variable.
65906         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65908         * math/libm-test.inc (struct test_if_f_data): New type.
65909         (RUN_TEST_LOOP_if_f): New macro.
65910         (jn_test_data): New variable.
65911         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65912         (yn_test_data): New variable.
65913         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65915         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65917 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65919         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65920         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65922 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65924         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65925         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65926         (bench-deps): Add bench-timing.h.
65927         * benchtests-bench-skeleton.c: Include bench-timing.h.
65928         (main): Use TIMING_* macros instead of clock_gettime.
65929         * benchtests/bench-timing.h: New file.
65931         [BZ #14582]
65932         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65933         Renamed from _LIB_VERSION.
65934         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65936 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65938         * math/libm-test.inc (struct test_fff_f_data): New type.
65939         (RUN_TEST_LOOP_fff_f): New macro.
65940         (fma_test_data): New variable.
65941         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65942         (fma_towardzero_test_data): New variable.
65943         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65944         (fma_downward_test_data): New variable.
65945         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65946         (fma_upward_test_data): New variable.
65947         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65949         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65950         (struct test_c_c_data): New type.
65951         (RUN_TEST_LOOP_c_c): New macro.
65952         (cacos_test_data): New variable.
65953         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65954         (cacosh_test_data): New variable.
65955         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65956         (casin_test_data): New variable.
65957         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65958         (casinh_test_data): New variable.
65959         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65960         (catan_test_data): New variable.
65961         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65962         (catanh_test_data): New variable.
65963         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65964         (ccos_test_data): New variable.
65965         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65966         (ccosh_test_data): New variable.
65967         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65968         (cexp_test_data): New variable.
65969         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65970         (clog_test_data): New variable.
65971         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65972         (clog10_test_data): New variable.
65973         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65974         (conj_test_data): New variable.
65975         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65976         (cproj_test_data): New variable.
65977         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65978         (csin_test_data): New variable.
65979         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65980         (csinh_test_data): New variable.
65981         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65982         (csqrt_test_data): New variable.
65983         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65984         (ctan_test_data): New variable.
65985         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65986         (ctan_tonearest_test_data): New variable.
65987         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65988         (ctan_towardzero_test_data): New variable.
65989         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65990         (ctan_downward_test_data): New variable.
65991         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65992         (ctan_upward_test_data): New variable.
65993         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65994         (ctanh_test_data): New variable.
65995         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65996         (ctanh_tonearest_test_data): New variable.
65997         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65998         (ctanh_towardzero_test_data): New variable.
65999         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66000         (ctanh_downward_test_data): New variable.
66001         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66002         (ctanh_upward_test_data): New variable.
66003         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66004         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66005         of BUILD_COMPLEX.
66007         * math/libm-test.inc (struct test_ff_f_data): New type.
66008         (struct test_ff_f_data_nexttoward): Likewise.
66009         (RUN_TEST_LOOP_2_f): New macro.
66010         (RUN_TEST_LOOP_ff_f): Likewise.
66011         (atan2_test_data): New variable.
66012         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66013         (copysign_test_data): New variable.
66014         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66015         (fdim_test_data): New variable.
66016         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66017         (fmax_test_data): New variable.
66018         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66019         (fmin_test_data): New variable.
66020         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66021         (fmod_test_data): New variable.
66022         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66023         (hypot_test_data): New variable.
66024         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66025         (nextafter_test_data): New variable.
66026         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66027         (nexttoward_test_data): New variable.
66028         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66029         (pow_test_data): New variable.
66030         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66031         (pow_tonearest_test_data): New variable.
66032         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66033         (pow_towardzero_test_data): New variable.
66034         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66035         (pow_downward_test_data): New variable.
66036         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66037         (pow_upward_test_data): New variable.
66038         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66039         (remainder_test_data): New variable.
66040         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66041         (scalb_test_data): New variable.
66042         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66043         * sysdeps/i386/fpu/libm-test-ulps: Update.
66045 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66047         * math/libm-test.inc (fma_test): Use max_value instead of local
66048         variable fltmax.
66049         (nextafter_test): Likewise.
66051         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66052         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66053         (acos_downward_test_data): New variable.
66054         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66055         (acos_upward_test_data): New variable.
66056         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66057         (acosh_test_data): New variable.
66058         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66059         (asin_test_data): New variable.
66060         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66061         (asin_tonearest_test_data): New variable.
66062         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66063         (asin_towardzero_test_data): New variable.
66064         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66065         (asin_downward_test_data): New variable.
66066         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66067         (asin_upward_test_data): New variable.
66068         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66069         (asinh_test_data): New variable.
66070         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66071         (atan_test_data): New variable.
66072         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66073         (atanh_test_data): New variable.
66074         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66075         (cbrt_test_data): New variable.
66076         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66077         (ceil_test_data): New variable.
66078         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66079         (cos_test_data): New variable.
66080         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66081         (cos_tonearest_test_data): New variable.
66082         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66083         (cos_towardzero_test_data): New variable.
66084         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66085         (cos_downward_test_data): New variable.
66086         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66087         (cos_upward_test_data): New variable.
66088         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66089         (cosh_test_data): New variable.
66090         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66091         (cosh_tonearest_test_data): New variable.
66092         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66093         (cosh_towardzero_test_data): New variable.
66094         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66095         (cosh_downward_test_data): New variable.
66096         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66097         (cosh_upward_test_data): New variable.
66098         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66099         (erf_test_data): New variable.
66100         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66101         (erfc_test_data): New variable.
66102         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66103         (exp_test_data): New variable.
66104         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66105         (exp_tonearest_test_data): New variable.
66106         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66107         (exp_towardzero_test_data): New variable.
66108         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66109         (exp_downward_test_data): New variable.
66110         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66111         (exp_upward_test_data): New variable.
66112         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66113         (exp10_test_data): New variable.
66114         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66115         (exp2_test_data): New variable.
66116         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66117         (expm1_test_data): New variable.
66118         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66119         (fabs_test_data): New variable.
66120         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66121         (floor_test_data): New variable.
66122         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66123         (j0_test_data): New variable.
66124         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66125         (j1_test_data): New variable.
66126         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66127         (log_test_data): New variable.
66128         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66129         (log10_test_data): New variable.
66130         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66131         (log1p_test_data): New variable.
66132         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66133         (log2_test_data): New variable.
66134         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66135         (logb_test_data): New variable.
66136         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66137         (logb_downward_test_data): New variable.
66138         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66139         (nearbyint_test_data): New variable.
66140         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66141         (rint_test_data): New variable.
66142         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66143         (rint_tonearest_test_data): New variable.
66144         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66145         (rint_towardzero_test_data): New variable.
66146         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66147         (rint_downward_test_data): New variable.
66148         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66149         (rint_upward_test_data): New variable.
66150         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66151         (round_test_data): New variable.
66152         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66153         (sin_test_data): New variable.
66154         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66155         (sin_tonearest_test_data): New variable.
66156         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66157         (sin_towardzero_test_data): New variable.
66158         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66159         (sin_downward_test_data): New variable.
66160         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66161         (sin_upward_test_data): New variable.
66162         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66163         (sinh_test_data): New variable.
66164         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66165         (sinh_tonearest_test_data): New variable.
66166         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66167         (sinh_towardzero_test_data): New variable.
66168         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66169         (sinh_downward_test_data): New variable.
66170         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66171         (sinh_upward_test_data): New variable.
66172         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66173         (sqrt_test_data): New variable.
66174         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66175         (tan_test_data): New variable.
66176         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66177         (tan_tonearest_test_data): New variable.
66178         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66179         (tan_towardzero_test_data): New variable.
66180         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66181         (tan_downward_test_data): New variable.
66182         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66183         (tan_upward_test_data): New variable.
66184         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66185         (tanh_test_data): New variable.
66186         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66187         (tgamma_test_data): New variable.
66188         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66189         (trunc_test_data): New variable.
66190         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66191         (y0_test_data): New variable.
66192         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66193         (y1_test_data): New variable.
66194         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66195         (significand_test_data): New variable.
66196         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66198 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66200         [BZ #12387]
66201         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66203 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66205         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66207 2013-05-10  Andreas Jaeger  <aj@suse.de>
66209         [BZ #15448]
66210         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66211         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66213 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66215         * math/gen-libm-test.pl (adjust_arg): New function.
66216         (special_functions): Handle generating output in both functions
66217         and arrays.
66218         (parse_args): Likewise.
66219         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66220         $in_func argument to parse_args.
66221         * math/libm-test.inc (struct test_f_f_data): New type.
66222         (IF_ROUND_INIT_): New macro.
66223         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66224         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66225         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66226         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66227         (ROUND_RESTORE_): Likewise.
66228         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66229         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66230         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66231         (ROUND_RESTORE_FE_UPWARD): Likewise.
66232         (RUN_TEST_LOOP_f_f): New macro.
66233         (acos_test_data): New variable.
66234         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66235         (acos_tonearest_test_data): New variable.
66236         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66238 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66240         * benchtests/bench-skeleton.c (startup): Fix coding style.
66242 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66244         [BZ #6809]
66245         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66246         negative infinity argument.
66247         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66248         negative infinity argument.
66249         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66250         negative infinity argument.
66251         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66252         domain errors.
66254 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66256         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66257         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66258         * iconv/iconv_prog.c (main): Likewise.
66259         * locale/programs/charmap-dir.c (charmap_readdir)
66260         (fopen_uncompressed): Likewise.
66261         * locale/programs/locfile.c (siblings_uncached)
66262         (write_locale_data): Use lstat64 instead of lstat.
66263         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66264         stat.
66266 2013-05-10  Andreas Jaeger  <aj@suse.de>
66268         [BZ #15395]
66269         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66270         localization.
66271         Include <locale.h>.
66273 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66275         * elf/dl-close.c (_dl_close_worker): Add comments.
66277 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66279         [BZ #15359]
66280         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66281         high part of pi/2.
66282         (__ieee754_rem_pio2l): Update comments.
66284         [BZ #15429]
66285         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66286         high part of pi/2.
66287         (__ieee754_rem_pio2l): Update comments.
66289         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66290         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66292         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66293         M_PI_4l.
66295         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66296         (M_PI_34_LOG10El): Likewise.
66297         (M_PI2_LOG10El): Likewise.
66298         (M_PI4_LOG10El): Likewise.
66299         (M_PI_LOG10El): Likewise.
66301 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66305 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66307         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66308         (MINUS_ZERO_INIT): Likewise.
66309         (PLUS_INFTY_INIT): Likewise.
66310         (MINUS_INFTY_INIT): Likewise.
66311         (QNAN_VALUE_INIT): Likewise.
66312         (MAX_VALUE_INIT): Likewise.
66313         (MIN_VALUE_INIT): Likewise.
66314         (MIN_SUBNORM_VALUE_INIT): Likewise.
66315         (plus_zero): Initialize with PLUS_ZERO_INIT.
66316         (minus_zero): Initialize with MINUS_ZERO_INIT.
66317         (plus_infty): Initialize with PLUS_INFTY_INIT.
66318         (minus_infty): Initialize with MINUS_INFTY_INIT.
66319         (qnan_value): Initialize with QNAN_VALUE_INIT.
66320         (max_value): Initialize with MAX_VALUE_INIT.
66321         (min_value): Initialize with MIN_VALUE_INIT.
66322         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66324         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66325         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66326         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66327         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66329         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66330         (RUN_TEST_2_f): Likewise.
66331         (RUN_TEST_ff_f): Likewise.
66332         (RUN_TEST_fi_f): Likewise.
66333         (RUN_TEST_fl_f): Likewise.
66334         (RUN_TEST_fff_f): Likewise.
66335         (RUN_TEST_c_f): Likewise.
66336         (RUN_TEST_f_f1): Likewise.
66337         (RUN_TEST_fF_f1): Likewise.
66338         (RUN_TEST_fI_f1): Likewise.
66339         (RUN_TEST_ffI_f1): Likewise.
66340         (RUN_TEST_c_c): Likewise.
66341         (RUN_TEST_cc_c): Likewise.
66342         (RUN_TEST_f_i): Likewise.
66343         (RUN_TEST_f_i_tg): Likewise.
66344         (RUN_TEST_ff_i_tg): Likewise.
66345         (RUN_TEST_f_b): Likewise.
66346         (RUN_TEST_f_b_tg): Likewise.
66347         (RUN_TEST_f_l): Likewise.
66348         (RUN_TEST_f_L): Likewise.
66349         (RUN_TEST_sincos): Likewise.
66350         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66351         whether to show exceptions.  Do not include ");\n" in return
66352         value.
66353         (special_functions): Output call to RUN_TEST_sincos instead of
66354         check_float calls.  Update calls to new_test.
66355         (parse_args): Output call to single RUN_TEST_* macro instead of
66356         check_* calls and other assignments.  Update calls to new_test.
66358         [BZ #2546]
66359         [BZ #2560]
66360         [BZ #5159]
66361         [BZ #15426]
66362         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66363         input to result for tgamma overflow.
66364         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66365         (gamma_coeff): New variable.
66366         (NCOEFF): New macro.
66367         (gamma_positive): New function.
66368         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66369         underflow here.  Use gamma_positive instead of exp (lgamma) for
66370         other arguments.
66371         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66372         (gamma_coeff): New variable.
66373         (NCOEFF): New macro.
66374         (gammaf_positive): New function.
66375         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66376         underflow here.  Use gamma_positive instead of exp (lgamma) for
66377         other arguments.
66378         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66379         (gamma_coeff): New variable.
66380         (NCOEFF): New macro.
66381         (gammal_positive): New function.
66382         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66383         underflow here.  Use gamma_positive instead of exp (lgamma) for
66384         other arguments.
66385         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66386         (gamma_coeff): New variable.
66387         (NCOEFF): New macro.
66388         (gammal_positive): New function.
66389         (__ieee754_gammal_r): Handle positive infinity, overflow and
66390         underflow here.  Handle NaN the same as positive infinity.  Remove
66391         check x < 0xffffffff for negative integers.  Use gamma_positive
66392         instead of exp (lgamma) for other arguments.
66393         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66394         (gamma_coeff): New variable.
66395         (NCOEFF): New macro.
66396         (gammal_positive): New function.
66397         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66398         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66399         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66400         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66401         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66402         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66403         * sysdeps/generic/math_private.h (__gamma_productf): New
66404         prototype.
66405         (__gamma_product): Likewise.
66406         (__gamma_productl): Likewise.
66407         * math/Makefile (libm-calls): Add gamma_product.
66408         * math/libm-test.inc (tgamma_test): Add more tests.
66409         * sysdeps/i386/fpu/libm-test-ulps: Update.
66410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66412 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66414         * benchtests/bench-skeleton.c (main): Preheat CPU.
66416 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66418         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66420 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66422         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66423         and _dl_skip_args_internal.
66425 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66427         * manual/message.texi (Message Translation): Talk about users.
66428         Message to key mapping impacts design.
66430 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66432         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66434         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66436         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66437         * sysdeps/wordsize-64/glob64.c: ... here.
66439         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66440         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66441         New macros.
66443         * debug/getlogin_r_chk.c: Moved to ...
66444         * login/getlogin_r_chk.c: ... here.
66445         * debug/Makefile (routines): Move getlogin_r_chk to ...
66446         * login/Makefile (routines): ... here.
66447         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66448         * login/Versions (libc: GLIBC_2.4): ... here.
66450         * io/poll.c (__poll): Renamed from poll.
66451         Add libc_hidden_def.
66452         (poll): Define as weak alias.
66454         * debug/ptsname_r_chk.c: Moved to ...
66455         * login/ptsname_r_chk.c: ... here.
66456         * debug/Makefile (routines): Move ptsname_r_chk to ...
66457         * login/Makefile (routines): ... here.
66458         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66459         * login/Versions (libc: GLIBC_2.4): ... here.
66461         * posix/getlogin.c: Moved to ...
66462         * login/getlogin.c: ... here.
66463         * posix/getlogin_r.c: Moved to ...
66464         * login/getlogin_r.c: ... here.
66465         * posix/getlogin_r.c: Moved to ...
66466         * login/getlogin_r.c: ... here.
66467         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66468         * login/Makefile (routines): ... here.
66469         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66470         * login/Versions (libc: GLIBC_2.0): ... here.
66472         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66473         (setrlimit): Define as weak alias.
66475         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66476         Call __ names for open, ftruncate, and close.
66477         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66478         (truncate): Define as weak alias.
66480 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66482         * math/gen-libm-test.pl (parse_args): Initialize x before each
66483         test of frexp, modf and remquo.
66485         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66486         test signgam value.
66488 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66490         [BZ #15418]
66491         [BZ #15419]
66492         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66493         internal tests.
66494         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66496 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66498         * elf/dl-writev.h: New file.
66499         * elf/dl-misc.c: Include it.
66500         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66501         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66503 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66505         * math/libm-test.inc (noXFails): Remove variable.
66506         (noXPasses): Likewise.
66507         (BUILD_COMPLEX_INT): Remove macro.
66508         (print_screen): Remove xfail argument.
66509         (print_screen_max_error): Likewise.
66510         (update_stats): Likewise.
66511         (print_max_error): Likewise.  Update calls to other affected
66512         functions.
66513         (print_complex_max_error): Likewise.
66514         (test_single_exception): Update calls to print_screen.
66515         (test_single_errno): Likewise.
66516         (check_float_internal): Remove xfail argument.  Update calls to
66517         other affected functions.
66518         (check_float): Likewise.
66519         (check_complex): Likewise.
66520         (check_int): Likewise.
66521         (check_long): Likewise.
66522         (check_bool): Likewise.
66523         (check_longlong): Likewise.
66524         (main): Don't print noXFails and noXPasses.
66525         * math/gen-libm-test.pl (top level): Don't mention expected
66526         failure handling in comment.
66527         (new_test): Don't handle expected failures.
66528         (parse_args): Don't mention expected failure handling in comment.
66529         (generate_testfile): Don't handle expected failures.
66530         (parse_ulps): Likewise.
66531         (print_ulps_file): Likewise.
66532         (get_failure): Remove function.
66533         (output_test): Don't handle expected failures.
66534         * make/README.libm-test: Don't mention expected failure handling.
66536         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66537         (minus_zero): Likewise.
66538         (plus_infty): Likewise.
66539         (minus_infty): Likewise.
66540         (qnan_value): Likewise.
66541         (max_value): Likewise.
66542         (min_value): Likewise.
66543         (min_subnorm_value): Likewise.
66544         (initialize): Do not initialize those variables dynamically.
66546 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66548         * io/open.c (__open_2): Moved to ...
66549         * io/open_2.c: ... this new file.
66550         * io/open64.c (__open64_2): Moved to ...
66551         * io/open64_2.c: ... this new file.
66552         * io/openat.c (__openat_2): Moved to ...
66553         * io/openat_2.c: ... this new file.
66554         * io/openat64.c (__openat64_2): Moved to ...
66555         * io/openat64_2.c: ... this new file.
66556         * io/Makefile (routines): Add them.
66557         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66558         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66559         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66560         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66561         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66562         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66563         (__openat64): Add hidden_ver.
66564         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66565         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66567         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66568         Separately conditionalize setting of GLRO(dl_sysinfo) so
66569         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66570         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66572 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66574         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66575         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66576         definition.
66577         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66578         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66579         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66580         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66581         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66583 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66585         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66586         test signgam value.
66588         * math/libm-test.inc (hypot_test): Do not use
66589         IGNORE_ZERO_INF_SIGN.
66591 2013-05-03  Andreas Jaeger  <aj@suse.de>
66593         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66594         Linux 3.9.
66595         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66596         (PF_MAX): Adjust for VSOCK change.
66598 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66602 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66604         [BZ #15264]
66605         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66606         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66607         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66609 2013-05-02  David S. Miller  <davem@davemloft.net>
66611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66613 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66615         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66617 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66619         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66621 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66623         [BZ #14952]
66624         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66625         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66626         Use __attribute__ ((__gnu_inline__)).
66627         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66628         Don't use __attribute__ ((__gnu_inline__)).
66630 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66632         [BZ #15423]
66633         * math/s_catan.c (__catan): Handle small real or imaginary part of
66634         input specially to avoid spurious underflow.
66635         * math/s_catanf.c (__catanf): Likewise.
66636         * math/s_catanh.c (__catanh): Likewise.
66637         * math/s_catanhf.c (__catanhf): Likewise.
66638         * math/s_catanhl.c (__catanhl): Likewise.
66639         * math/s_catanl.c (__catanl): Likewise.
66640         * math/libm-test.inc (catan_test): Add more tests.
66641         (catanh_test): Likewise.
66642         * sysdeps/i386/fpu/libm-test-ulps: Update.
66643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66645 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66649 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66651         [BZ #15416]
66652         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66653         accurately for denominator in atan2.
66654         * math/s_catanf.c (__catanf): Likewise.
66655         * math/s_catanh.c (__catanh): Likewise.
66656         * math/s_catanhf.c (__catanhf): Likewise.
66657         * math/s_catanhl.c (__catanhl): Likewise.
66658         * math/s_catanl.c (__catanl): Likewise.
66659         * math/libm-test.inc (catan_test): Add more tests.
66660         (catanh_test): Likewise.
66661         * sysdeps/i386/fpu/libm-test-ulps: Update.
66662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66664 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66666         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66668         * benchtests/Makefile (bench): Remove slow benchmarks.
66669         * benchtests/atan-inputs: Add slow benchmark inputs.
66670         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66671         (BENCH_FUNC): Accept variant offset.
66672         (VARIANT): Define.
66673         * benchtests/bench-skeleton.c (main): Run benchmark for each
66674         variant.
66675         * benchtests/cos-inputs: Add slow benchmark inputs.
66676         * benchtests/exp-inputs: Likewise.
66677         * benchtests/pow-inputs: Likewise.
66678         * benchtests/sin-inputs: Likewise.
66679         * benchtests/slowatan-inputs: Remove.
66680         * benchtests/slowatan.c: Remove.
66681         * benchtests/slowcos-inputs: Remove.
66682         * benchtests/slowcos.c: Remove.
66683         * benchtests/slowexp-inputs: Remove.
66684         * benchtests/slowexp.c: Remove.
66685         * benchtests/slowpow-inputs: Remove.
66686         * benchtests/slowpow.c: Remove.
66687         * benchtests/slowsin-inputs: Remove.
66688         * benchtests/slowsin.c: Remove.
66689         * benchtests/slowtan-inputs: Remove.
66690         * benchtests/slowtan.c: Remove.
66691         * benchtests/tan-inputs: Add slow benchmark inputs.
66692         * scripts/bench.pl: Parse comments and directives.
66694         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66695         in CPPFLAGS.
66696         ($(objpfx)bench-%.c): Remove *-ITER.
66697         * benchtests/bench-modf.c: Remove definition of ITER.
66698         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66699         (main): Loop for DURATION seconds instead of fixed number of
66700         iterations.
66701         * scripts/bench.pl: Don't expect iterations in parameters.
66703 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66705         * io/fchdir.c (__fchdir): Renamed from fchdir.
66706         (fchdir): Define as weak alias.
66708 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66710         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66711         (ERRNO_EDOM): Likewise.
66712         (ERRNO_ERANGE): Likewise.
66713         (noErrnoTests): New variable.
66714         (init_max_error): Set errno to 0.
66715         (test_single_errno): New function.
66716         (test_errno): Likewise.
66717         (check_float_internal): Call test_errno.  Set errno to 0.
66718         (check_complex): Refer to errno tests in comment.
66719         (check_int): Call test_errno.  Set errno to 0.
66720         (check_long): Likewise.
66721         (check_bool): Likewise.
66722         (check_longlong): Likewise.
66723         (cos_test): Use ERRNO_* flags for errno tests instead of
66724         check_int.
66725         (expm1_test): Likewise.
66726         (fmod_test): Likewise.
66727         (ilogb_test): Likewise.
66728         (lgamma_test): Likewise.
66729         (pow_test): Likewise.
66730         (remainder_test): Likewise.
66731         (sin_test): Likewise.
66732         (tan_test): Likewise.
66733         (yn_test): Likewise.
66734         (initialize): Set errno to 0.
66735         (main): Print number of errno tests.
66736         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66738 2013-04-29  Andreas Jaeger  <aj@suse.de>
66740         [BZ #15084]
66741         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66742         and RES_USEVC.
66744         [BZ #15085]
66745         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66746         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66747         unimplemented.
66749         [BZ #15380]
66750         * stdlib/random.c (__initstate): Return NULL if
66751         __initstate fails.
66753         [BZ #15086]
66754         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66755         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66756         RES_SNGLKUPREOP.
66758 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66762 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66764         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66765         of individual tests.
66766         (casin_test): Likewise.
66767         (casinh_test): Likewise.
66769 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66771         [BZ #15409]
66772         * math/s_catan.c (__catan): Handle arguments with large real or
66773         imaginary part separately without squaring.
66774         * math/s_catanf.c (__catanf): Likewise.
66775         * math/s_catanh.c (__catanh): Likewise.
66776         * math/s_catanhf.c (__catanhf): Likewise.
66777         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66778         and redefine.
66779         (__catanhl): Handle arguments with large real or imaginary part
66780         separately without squaring.
66781         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66782         and redefine.
66783         (__catanl): Handle arguments with large real or imaginary part
66784         separately without squaring.
66785         * math/libm-test.inc (catan_test): Add more tests.
66786         (catanh_test): Likewise.
66787         * sysdeps/i386/fpu/libm-test-ulps: Update.
66788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66790 2013-04-27  Andreas Jaeger  <aj@suse.de>
66792         [BZ #15007]
66793         * stdlib/stdlib.h: Update guards for qecvt.
66794         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66795         <stdlib.h>.
66797 2013-04-27  Allan McRae  <allan@archlinux.org>
66799         * sysdeps/i386/fpu/libm-test-ulps: Update.
66801 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66803         [BZ #15406]
66804         * math/s_catan.c: Include <float.h>.
66805         (__catan): Ensure underflow exception occurs for underflowed
66806         result.
66807         * math/s_catanf.c: Include <float.h>.
66808         (__catanf): Ensure underflow exception occurs for underflowed
66809         result.
66810         * math/s_catanh.c: Include <float.h>.
66811         (__catanh): Ensure underflow exception occurs for underflowed
66812         result.
66813         * math/s_catanhf.c: Include <float.h>.
66814         (__catanhf): Ensure underflow exception occurs for underflowed
66815         result.
66816         * math/s_catanhl.c: Include <float.h>.
66817         (__catanhl): Ensure underflow exception occurs for underflowed
66818         result.
66819         * math/s_catanl.c: Include <float.h>.
66820         (__catanl): Ensure underflow exception occurs for underflowed
66821         result.
66822         * math/libm-test.inc (catan_test): Add more tests.
66823         (catanh_test): Likewise.
66825         [BZ #15405]
66826         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66827         underflowed result.
66828         * math/s_ccoshf.c (__ccoshf): Likewise.
66829         * math/s_ccoshl.c (__ccoshl): Likewise.
66830         * math/s_csin.c (__csin): Likewise.
66831         * math/s_csinf.c (__csinf): Likewise.
66832         * math/s_csinh.c (__csinh): Likewise.
66833         * math/s_csinhf.c (__csinhf): Likewise.
66834         * math/s_csinhl.c (__csinhl): Likewise.
66835         * math/s_csinl.c (__csinl): Likewise.
66836         * math/libm-test.inc (ccos_test): Add more tests.
66837         (ccosh_test): Likewise.
66838         (csin_test): Likewise.
66839         (csinh_test): Likewise.
66841 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66843         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66844         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66845         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66846         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66847         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66848         powerpc/power5+/fpu folders.
66849         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66852 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66856 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66858         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66859         additions to variable.
66860         [$(config-machine) = x86_64] (modules-names): Likewise.
66861         ($(objpfx)tst-audit3): Remove dependency.
66862         ($(objpfx)tst-audit3.out): Likewise.
66863         ($(objpfx)tst-audit4): Likewise.
66864         ($(objpfx)tst-audit4.out): Likewise.
66865         ($(objpfx)tst-audit5): Likewise.
66866         ($(objpfx)tst-audit5.out): Likewise.
66867         ($(objpfx)tst-audit6): Likewise.
66868         ($(objpfx)tst-audit6.out): Likewise.
66869         ($(objpfx)tst-audit7): Likewise.
66870         ($(objpfx)tst-audit7.out): Likewise.
66871         (tst-audit3-ENV): Remove variable.
66872         (tst-audit4-ENV): Likewise.
66873         (tst-audit5-ENV): Likewise.
66874         (tst-audit6-ENV): Likewise.
66875         (tst-audit7-ENV): Likewise.
66876         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66877         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66878         addition to variable.
66879         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66880         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66881         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66882         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66883         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66884         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66885         tst-audit3, tst-audit4 and tst-audit5.
66886         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66887         tst-audit6 and tst-audit7.
66888         [$(subdir) = elf] (modules-names): Add audit modules for those
66889         tests.
66890         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66891         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66892         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66893         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66894         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66895         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66896         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66897         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66898         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66899         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66900         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66901         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66902         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66903         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66904         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66905         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66906         Likewise.
66907         [$(subdir) = elf && $(config-cflags-avx) = yes]
66908         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66909         [$(subdir) = elf && $(config-cflags-avx) = yes]
66910         (CFLAGS-tst-auditmod4a.c): Likewise.
66911         [$(subdir) = elf && $(config-cflags-avx) = yes]
66912         (CFLAGS-tst-auditmod4b.c): Likewise.
66913         [$(subdir) = elf && $(config-cflags-avx) = yes]
66914         (CFLAGS-tst-auditmod6b.c): Likewise.
66915         [$(subdir) = elf && $(config-cflags-avx) = yes]
66916         (CFLAGS-tst-auditmod6c.c): Likewise.
66917         [$(subdir) = elf && $(config-cflags-avx) = yes]
66918         (CFLAGS-tst-auditmod7b.c): Likewise.
66919         * elf/tst-audit3.c: Move to ...
66920         * sysdeps/x86_64/tst-audit3.c: ... here.
66921         * elf/tst-audit4.c: Move to ...
66922         * sysdeps/x86_64/tst-audit4.c: ... here.
66923         * elf/tst-audit5.c: Move to ...
66924         * sysdeps/x86_64/tst-audit5.c: ... here.
66925         * elf/tst-audit6.c: Move to ...
66926         * sysdeps/x86_64/tst-audit6.c: ... here.
66927         * elf/tst-audit7.c: Move to ...
66928         * sysdeps/x86_64/tst-audit7.c: ... here.
66929         * elf/tst-auditmod3a.c: Move to ...
66930         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66931         * elf/tst-auditmod3b.c: Move to ...
66932         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66933         * elf/tst-auditmod4a.c: Move to ...
66934         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66935         * elf/tst-auditmod4b.c: Move to ...
66936         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66937         * elf/tst-auditmod5a.c: Move to ...
66938         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66939         * elf/tst-auditmod5b.c: Move to ...
66940         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66941         * elf/tst-auditmod6a.c: Move to ...
66942         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66943         * elf/tst-auditmod6b.c: Move to ...
66944         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66945         * elf/tst-auditmod6c.c: Move to ...
66946         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66947         * elf/tst-auditmod7a.c: Move to ...
66948         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66949         * elf/tst-auditmod7b.c: Move to ...
66950         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66952 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66954         [BZ #15366]
66955         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66956         define unconditionally.
66957         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66958         define unconditionally.
66959         (INT8_C, INT16_C, etc.): Likewise.
66961 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66963         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66964         __ehdr_start with hidden visibility.
66966         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66968 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66970         * math/libm-test.inc (cos_test): Use accurate hex constants.
66971         (sincost_test): Likewise.
66973 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66975         * math/libm-test.inc (catan_test): Add more tests.
66976         (catanh_test): Likewise.
66978         * math/s_catanf.c (__catanf): Use suffixed floating-point
66979         constants.
66980         * math/s_catanhf.c (__catanhf): Likewise.
66981         * math/s_catanhl.c (__catanhl): Likewise.
66982         * math/s_catanl.c (__catanl): Likewise.
66984         [BZ #15394]
66985         * math/s_catan.c (__catan): Calculate imaginary part of result
66986         with log1p not log unless computing log of number close to 0.
66987         * math/s_catanf.c (__catanf): Likewise.
66988         * math/s_catanl.c (__catanl): Likewise.
66989         * math/s_catanh.c (__catanh): Calculate real part of result with
66990         log1p not log unless computing log of number close to 0.
66991         * math/s_catanhf.c (__catanhf): Likewise.
66992         * math/s_catanhl.c (__catanhl): Likewise.
66993         * math/libm-test.inc (catan_test): Add more tests.
66994         (catanh_test): Likewise.
66995         * sysdeps/i386/fpu/libm-test-ulps: Update.
66996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66998 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67000         * benchtests/Makefile: Mention files in which fast and slow
67001         paths of math functions are implemented.
67003 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67005         * sysdeps/posix/timespec_get.c: New file.
67007 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67009         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67010         POWER.
67011         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67012         for POWER.
67013         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67014         powerpc/power5/fpu folders.
67015         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67016         * benchtests/Makefile: Add modf testcase.
67017         * benchtests/bench-modf.c: New file: Benchmark test for mo
67019 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67021         [BZ #14888]
67022         * time/Makefile (tests): Add tst-strptime-whitespace.
67023         * time/strptime_l.c (get_number): Use ISSPACE.
67024         (__strptime_internal): Likewise.
67025         * time/tst-strptime-whitespace.c: New test case.
67027 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67029         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67030         member.
67031         (_nss_files_init): Set it here.
67033 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67035         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67036         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67037         unsigned.
67039 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67041         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67043 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67045         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67046         size just once.
67048 2013-04-21  David S. Miller  <davem@davemloft.net>
67050         * po/ru.po: Update Russion translation from translation project.
67052 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67054         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67055         and setfsgid.
67057 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67059         * configure.in: Remove i386 configure warning. Remove i386 case.
67060         * configure: Regenerate.
67061         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67062         Add example to error message.
67063         * sysdeps/i386/configure: Regenerate.
67065 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67067         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67068         slowtan.
67069         * benchtests/cos-inputs: New file.
67070         * benchtests/slowcos-inputs: New file.
67071         * benchtests/slowcos.c: New file.
67072         * benchtests/slowtan-inputs: New file.
67073         * benchtests/slowtan.c: New file.
67074         * benchtests/tan-inputs: New file.
67076 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67078         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67079         considered kosher.
67081 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67083         * benchtests/Makefile: Include cppflags-iterator.mk to add
67084         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67086         * Makefile.in (bench-clean): New target.
67087         * benchtests/Makefile (bench-clean): Likewise.
67089 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67091         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67093 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67095         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67097 2013-04-15  Andreas Schwab  <schwab@suse.de>
67099         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67100         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67101         * nscd/pwdcache.c (cache_addpw): Likewise.
67102         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67103         more than recsize.
67105 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67107         * benchtests/Makefile (bench): Write all output to
67108         bench-out.tmp together.
67110 2013-04-15  Andreas Schwab  <schwab@suse.de>
67112         * nscd/nscd.c (main): Don't fork again after closing files.
67114 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67116         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67118         * benchtests/Rules (bench-deps): Collect dependencies into a
67119         single variable.  Add Makefile to dependencies.
67120         ($(objpfx)bench-%.c): Depend on bench-deps.
67122 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67123             Xavier Roche  <roche+kml2@exalead.com>
67125         [BZ #15361]
67126         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67127         just that it's a file descriptor.
67128         * manual/llio.texi (Synchronizing AIO Operations): Update description
67129         for EBADF error from aio_fsync.
67131 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67133         * Rules (bench): Move target definition...
67134         * benchtests/Makefile: ... here.
67136 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67138         * math/libm-test.inc (cos_test): Fix PI/2 test.
67139         (sincos_test): Likewise.
67140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67141         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67143 2013-04-11  Andreas Schwab  <schwab@suse.de>
67145         [BZ #13988]
67146         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67147         accept exponent character only when digits were seen.
67148         * stdio-common/Makefile (tests): Add bug26.
67149         * stdio-common/bug26.c: New file.
67151         [BZ #14293]
67152         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67153         non-freeable.
67155 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67157         * Makeconfig (rtld-prefix): Define built linker prefix.
67158         * Rules (run-bench): Use it.
67159         * math/Makefile (run-regen-ulps): Likewise.
67161         * Rules (bench): Remove eval.
67163 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67164             Roland McGrath  <roland@hack.frob.com>
67165             Ondrej Bilka  <neleai@seznam.cz>
67167         [BZ #15346]
67168         * time/getdate.c: Include ctype.h and alloca.h.
67169         (__getdate_r): Trim leading and trailing spaces of input.
67170         * time/tst-getdate.c (tests): Add tests with leading and
67171         trailing spaces.
67173 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67175         [BZ #14280]
67176         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67177         when computing value.
67179 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67181         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67182         Use testrun.sh to run libm tests.
67184         [BZ #15309]
67185         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67187 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67189         [BZ #15264]
67190         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67192 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67194         * Makefile.in (regen-ulps): New target.
67195         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67196         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67197         [ifneq (no,$(PERL)] (regen-ulps): New target.
67198         [ifeq (no,$(PERL)] (regen-ulps): New target.
67199         * math/libm-test.inc (ulps_file_name): Define.
67200         (output_dir): New variable.
67201         (options): Add "output-dir" option.
67202         (parse_opt): Handle 'o' case.
67203         (main): If output_dir is non-NULL use it as a prefix
67204         otherwise use "".
67205         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67207 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67209         [BZ #10060, #10062]
67210         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67211         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67212         fail configure if __sync_val_compare_and_swap is not inlined.
67213         * sysdeps/i386/configure: Regenerate.
67214         * configure.in: Build for i686 when configured for i386.
67215         * configure: Regenerate.
67216         * README: Remove i386 reference.
67218 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67220         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67221         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67223 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67225         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67226         (lmsnanval): New variables.
67227         (F): Add conversion tests.
67228         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67229         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67231         * stdio-common/tstdiomisc.c (F): Properly collect individual
67232         tests' results.
67234         [BZ #14686, #15336]
67235         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67236         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67237         Instead, use input NaN values or generate a qNaN by arithmetic
67238         operation.  Also fix bugs to comply with the standard.
67239         * math/libm-test.inc (remainder_test): Add more tests.
67241         [BZ #15335, #15342]
67242         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67243         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67244         input NaN values or generate a qNaN by arithmetic operation.
67246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67247         unreachable code.
67249         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67250         definitions.
67252 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67254         [BZ #14478]
67255         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67256         underflowed result.
67257         * math/s_cexpf.c (__cexpf): Likewise.
67258         * math/s_cexpl.c (__cexpl): Likewise.
67259         * math/libm-test.inc (cexp_test): Add more tests.
67261 2013-04-03  Andreas Schwab  <schwab@suse.de>
67263         [BZ #15330]
67264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67265         order arrays from heap if bigger than alloca cutoff.
67267 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67269         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67270         (SNAN_TESTS_double): Refer to GCC PR56831.
67271         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67272         GCC PR56828.
67274 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67276         * Rules (bench): Move bench.out after the run is complete.
67278         * Rules (bench): Echo currently running benchmark.
67280         * benchtests/Makefile (bench): Add atan and slowatan.
67281         * benchtests/atan-inputs: New file.
67282         * benchtests/slowatan-inputs: New file.
67283         * benchtests/slowatan.c: New file.
67285         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67286         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67287         its value.
67289         [BZ #15305]
67290         * sysdeps/unix/sysv/linux/kernel-features.h
67291         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67292         __ASSUME_XFS_RESTRICTED_CHOWN.
67293         * sysdeps/unix/sysv/linux/pathconf.c
67294         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67295         Save and restore errno.
67297 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67299         [BZ #15327]
67300         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67301         arguments using __kernel_casinh.
67302         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67303         arguments using __kernel_casinhf.
67304         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67305         arguments using __kernel_casinhl.
67306         * math/libm-test.inc (cacosh_test): Add more tests.
67307         * sysdeps/i386/fpu/libm-test-ulps: Update.
67308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67310 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67312         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67315         * bench/Makefile (bench): Add sin and slowsin.
67316         * benchtests/sin-inputs: New file.
67317         * benchtests/slowsin-inputs: New file.
67318         * benchtests/slowsin.c: New file.
67320         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67321         (bench): Add slowexp and slowpow.
67322         (exp-ITER): Increase iterations.
67323         (pow-ITER): Likewise.
67324         * benchtests/exp-inputs: Change input.
67325         * benchtests/pow-inputs: Likewise.
67326         * benchtests/slowexp-inputs: New file.
67327         * benchtests/slowexp.c: New file.
67328         * benchtests/slowpow-inputs: New file.
67329         * benchtests/slowpow.c: New file.
67331 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67333         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67334         instructions.
67335         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67336         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67337         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67338         * benchtests/Makefile: Add rint benchtest.
67339         * benchtests/rint-inputs: Input for rint benchtest.
67341 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67343         * Versions.def (libm): Add GLIBC_2.18.
67344         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67345         hidden libm prototypes.
67346         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67347         * math/Makefile (libm-calls): Add s_issignaling.
67348         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67349         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67350         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67351         declaration.
67352         * math/math.h [__USE_GNU] (issignaling): New macro.
67353         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67354         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67355         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67356         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67357         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67358         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67359         * manual/arith.texi (issignaling): New section.
67360         * manual/libm-err-tab.pl (@all_functions): Update comment.
67361         * math/gen-libm-test.pl (parse_args): Apply special handling for
67362         issignaling.
67363         * math/libm-test.inc (print_float, issignaling_test): New
67364         functions.
67365         (check_float_internal): Add issignaling checks.
67366         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67367         default definition.
67368         * sysdeps/powerpc/math-tests.h: New file.
67369         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67370         tests.
67371         * math/test-snan.c (TEST_FUNC): Likewise.
67373 2013-03-30  David S. Miller  <davem@davemloft.net>
67375         * po/de.po: Update from translation team.
67377 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67379         [BZ #10357]
67380         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67381         imaginary part less than 1.0 and real part less than 0.5
67382         specially.
67383         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67384         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67385         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67386         (cacos_test): Add more tests.
67387         (casin_test): Likewise.
67388         (casinh_test): Likewise.
67389         * sysdeps/i386/fpu/libm-test-ulps: Update.
67390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67392 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67394         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67395         ONE with its value.
67397         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67398         (__pow_mp): Replace ONE and MONE with their values.
67399         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67400         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67401         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67402         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67403         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67406         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67408         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67409         (__pow_mp): Replace ZERO and MZERO with their values.
67410         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67411         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67412         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67414         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67415         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67416         (__sqr): Likewise.
67418         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67420         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67422 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67424         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67425         Declare with __attribute__ ((weak)).
67426         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67427         Call __call_tls_dtors only if it's not NULL.
67429 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67431         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67432         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67433         magic __ehdr_start linker symbol if it's defined.
67434         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67435         them up here if it was already done.
67437         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67438         (_dl_aux_init): Use const in cast when setting it.
67439         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67440         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67441         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67443         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67444         Declare them here.
67445         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67446         * csu/libc-tls.c: Nor here.
67447         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67449         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67450         (__libc_message): Never call vsyslog.
67452 2013-03-28  Alan Modra  <amodra@gmail.com>
67454         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67455         Define as empty.
67456         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67457         Likewise.
67459 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67461         [BZ #15214]
67462         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67463         underflow.
67464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67466 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67468         [BZ #15304]
67469         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67470         Don't add gid passed as argument.
67472         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67474 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67476         [BZ #15307]
67477         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67478         imaginary part between 1.0 and 1.5 and real part less than 0.5
67479         specially.
67480         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67481         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67482         * math/libm-test.inc (cacos_test): Add more tests.
67483         (casin_test): Likewise.
67484         (casinh_test): Likewise.
67485         * sysdeps/i386/fpu/libm-test-ulps: Update.
67486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67488 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67490         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67491         constants.
67492         (norm): Likewise.
67493         (denorm): Likewise.
67494         (__dbl_mp): Likewise.
67495         (add_magnitudes): Likewise.
67496         (sub_magnitudes): Likewise.
67497         (__add): Likewise.
67498         (__sub): Likewise.
67499         (__mul): Likewise.
67500         (__sqr): Likewise.
67501         (__inv): Likewise.
67502         (__dvd): Likewise.
67504         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67505         commented code.
67506         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67507         (__dubcos): Likewise.
67508         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67509         (__ieee754_acos): Likewise.
67510         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67511         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67512         (__exp1): Likewise.
67513         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67514         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67515         (log1): Likewise.
67516         (my_log2): Likewise.
67517         (checkint): Likewise.
67518         * sysdeps/ieee754/dbl-64/e_remainder.c
67519         (__ieee754_remainder): Likewise.
67520         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67521         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67522         (bsloww): Likewise.
67523         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67525         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67526         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67527         MANTISSA_STORE_T to store computations on mantissa.  Use
67528         macros for rounding and division.
67529         (denorm): Likewise.
67530         (__dbl_mp): Likewise.
67531         (add_magnitudes): Likewise.
67532         (sub_magnitudes): Likewise.
67533         (__mul): Likewise.
67534         (__sqr): Likewise.
67535         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67536         powers of two in terms of TWOPOW macro.
67537         (mp_no): Make type of mantissa as MANTISSA_T.
67538         [!RADIXI]: Define RADIXI.
67539         [!TWO52]: Define TWO52.
67540         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67542 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67544         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67545         llroundl symbol when building for PPC32.
67547 2013-03-24  Mark H Weaver  <mhw@netris.org>
67549         * manual/arith.texi (Normalization Functions): Fix prototypes for
67550         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67552 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67554         [BZ #13889]
67555         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67556         high value to check if expl overflow.
67557         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67558         to check for underflow and overflow.
67559         * math/libm-test.inc: Add exp test.
67561 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67563         [BZ #11120]
67564         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67565         with NOT_IN_libc.
67567 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67569         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67570         symbol.
67572 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67574         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67575         wrap blocks consisting of several statements.
67577         * sysdeps/generic/math-tests.h: New file.
67578         * sysdeps/i386/fpu/math-tests.h: Likewise.
67579         * math/test-snan.c: Include it.
67580         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67582 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67584         [BZ #15285]
67585         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67586         (__ieee754_j0l): Do not improve calculations using cos of twice
67587         input for inputs above LDBL_MAX / 2.0L.
67588         (__ieee754_y0l): Likewise.
67589         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67590         (__ieee754_j1l): Do not improve calculations using cos of twice
67591         input for inputs above LDBL_MAX / 2.0L.
67592         (__ieee754_y1l): Likewise.
67593         * math/libm-test.inc (j0_test): Add another test.
67594         (j1_test): Likewise.
67595         (y0_test): Likewise.
67596         (y1_test): Likewise.
67597         * sysdeps/i386/fpu/libm-test-ulps: Update.
67599 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67601         * Rules ($(objpfx)bench-%.c): Include code from a C source
67602         file.
67604 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67606         [BZ #15287]
67607         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67608         imaginary part 1.0 and real part less than 0.5 specially.
67609         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67610         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67611         * math/libm-test.inc (cacos_test): Add more tests.
67612         (casin_test): Likewise.
67613         (casinh_test): Likewise.
67614         * sysdeps/i386/fpu/libm-test-ulps: Update.
67615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67617 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67619         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67620         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67622 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67624         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67625         * config.make.in (config-cflags-sse4): Remove variable.
67626         (config-cflags-avx): Likewise.
67627         (config-cflags-sse2avx): Likewise.
67628         (config-cflags-novzeroupper): Likewise.
67629         (config-asflags-i686): Likewise.
67630         (have-mfma4): Likewise.
67631         (have-as-vis3): Likewise.
67632         (MIG): Likewise.
67633         * configure.in (MIG): Do not AC_SUBST.
67634         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67635         (libc_cv_cc_sse4): Do not AC_SUBST.
67636         (libc_cv_cc_avx): Likewise.
67637         (libc_cv_cc_sse2avx): Likewise.
67638         (libc_cv_cc_novzeroupper): Likewise.
67639         (libc_cv_cc_fma4): Likewise.
67640         (libc_cv_as_i686): Likewise.
67641         (libc_cv_sparc_as_vis3): Likewise.
67642         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67643         LIBC_CONFIG_VAR.
67644         (config-asflags-i686): Likewise.
67645         (config-cflags-avx): Likewise.
67646         (config-cflags-sse2avx): Likewise.
67647         (have-mfma4): Likewise.
67648         (config-cflags-novzeroupper): Likewise.
67649         * sysdeps/mach/configure.in (MIG): Likewise.
67650         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67651         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67652         LIBC_CONFIG_VAR.
67653         (config-cflags-avx): Likewise.
67654         (config-cflags-sse2avx): Likewise.
67655         (have-mfma4): Likewise.
67656         (config-cflags-novzeroupper): Likewise.
67657         * configure: Regenerated.
67658         * sysdeps/i386/configure: Likewise.
67659         * sysdeps/mach/configure: Likewise.
67660         * sysdeps/sparc/configure: Likewise.
67661         * sysdeps/x86_64/configure: Likewise.
67663 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67665         [BZ #14812]
67666         * locale/programs/localedef.c (options): Put N_ translation marker
67667         on argument names, not just descriptions.
67669 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67671         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67673 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67675         [BZ #14176]
67676         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67678 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67680         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67681         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67682         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67683         [!BEFORE_ABORT] (before_abort): New function.
67684         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67685         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67686         (writev_for_fatal): New function.
67687         (WRITEV_FOR_FATAL): New macro; call that.
67688         (backtrace_and_maps): New function.
67689         (BEFORE_ABORT): New macro; call that.
67690         (struct str_list): Type removed.
67691         (__libc_message, __libc_fatal): Functions removed.
67692         Include <sysdeps/posix/libc_fatal.c> instead.
67694 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67696         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67697         constants.
67698         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67699         double constants.
67701 2013-03-19  Andreas Schwab  <schwab@suse.de>
67703         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67704         * sysdeps/gnu/configure: Regenerate.
67706         * configure.in: Substitute libc_cv_rtlddir.
67707         * configure: Regenerate.
67708         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67709         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67710         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67711         * elf/Makefile (install-others, CFLAGS-interp.c)
67712         (ldso_install, common-ldd-rewrite): Likewise.
67713         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67714         $(inst_slibdir)/$(rtld-installed-name).
67715         * scripts/rellns-sh: Add -p option.
67716         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67717         for source.
67719 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67721         * manual/nptl.texi: Renamed to ...
67722         * manual/threads.texi: ... this.
67723         * manual/Makefile (chapters): Update.
67725 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67727         [BZ #14812]
67728         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67729         on argument names, not just descriptions.
67730         * malloc/memusagestat.c (options): Likewise.
67731         * nss/getent.c (options): Likewise.
67733 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67735         [BZ #14812]
67736         * iconv/iconv_prog.c (options): Put N_ translation marker
67737         on argument names, not just descriptions.
67738         * iconv/iconvconfig.c (options): Likewise.
67740 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67742         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67743         implementation which is faster on all x86_64 architectures.
67744         Tested on AMD, Intel Nehalem, SNB, IVB.
67745         * sysdeps/x86_64/strnlen.S: Likewise.
67747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67748         Remove all multiarch strlen and strnlen versions.
67749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67750         Remove strlen and strnlen related parts.
67752         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67753         Inline strlen part.
67754         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67756         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67757         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67758         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67759         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67760         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67761         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67763 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67765         * manual/memory.texi (Malloc Tunable Parameters):
67766         Sort parameters alphabetically. Add comments for missing entries.
67768 2013-03-17  David S. Miller  <davem@davemloft.net>
67770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67772 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67774         [BZ #15283]
67775         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67776         for arguments at most half maximum finite value.
67777         * math/libm-test.inc (j0_test): Add more tests.
67778         (j1_test): Likewise.
67779         (y0_test): Likewise.
67780         (y1_test): Likewise.
67781         * sysdeps/i386/fpu/libm-test-ulps: Update.
67782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67784         [BZ #14155]
67785         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67786         1 / x and functions P and Q for arguments above 0x1p256L.
67787         (__ieee754_y0l): Likewise.
67788         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67789         (__ieee754_y1l): Likewise.
67790         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67791         (j1_test): Likewise.
67792         (y0_test): Likewise.
67793         (y1_test): Likewise.
67795 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67797         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67798         variable.
67800 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67802         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67803         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67804         zero since it's initialized to EXEC_PAGESIZE.
67806         * sysdeps/unix/sysv/linux/ldsodefs.h
67807         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67808         * sysdeps/generic/ldsodefs.h: ... here.
67810 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67812         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67814         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67815         math/test-snan.c.
67816         * math/test-snan.c: Renamed from
67817         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67818         * math/Makefile (tests): Add test-snan.
67819         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67820         test-powerpc-snan.
67822         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67823         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67824         functions.
67825         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67826         __builtin_nan family of functions.
67827         * math/libm-test.inc (initialize): Initialize qnan_value with
67828         __builtin_nan family of functions.
67829         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67830         Remove variables.
67831         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67832         Remove functions.
67833         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67834         storage class.  Initialize qNaN_var and sNaN_var with
67835         __builtin_nan and __builtin_nans families of functions,
67836         respectively.
67838         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67839         (sqrt_test): Remove duplicate test with qNaN input.
67840         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67841         (round_test, signbit_test, significand_test): Note missing +/-Inf
67842         as well as qNaN tests.
67844         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67845         qNaN_var.  Fix a few strings, too.
67846         * math/libm-test.inc (nan_value): Rename to qnan_value.
67847         * math/gen-libm-test.pl (%beautify): Adjust to that.
67848         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67849         * math/test-misc.c (main): Likewise.
67850         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67851         to __qnan_bytes, and __qnan_union, respectively.
67852         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67853         Likewise.
67854         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67855         and lqnanval, respectively.
67856         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67857         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67858         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67859         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67861         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67862         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67863         doubles.
67865         * math/test-misc.c (main): Fix copy'n'pastos.
67866         * misc/tst-efgcvt.c (special): Likewise.
67868         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67869         Remove declarations.
67871 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67873         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67874         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67875         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67876         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67878 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67880         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67881         macro to return vdso values correctly in IFUNC implementations.
67882         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67883         Optimization by using IFUNC.
67885 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67886             Richard Henderson  <rth@redhat.com>
67887             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67889         * Makefile.in (bench): New target.
67890         * NEWS: Mention the benchmark framework.
67891         * Rules (bench): Likewise.
67892         (binaries-bench): Generate binaries for functions to
67893         benchmark.
67894         * benchtests/Makefile: New makefile for benchmark tests.
67895         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67896         programs.
67897         * benchtests/exp-inputs: New input file for EXP function.
67898         * benchtests/pow-inputs: New input file for POW function.
67899         * scripts/bench.pl: New script to generate source files for
67900         benchmark programs.
67902 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67904         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67905         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67906         computations on mantissa.  Use macros for rounding and
67907         division.
67908         (denorm): Likewise.
67909         (__dbl_mp): Likewise.
67910         (add_magnitudes): Likewise.
67911         (sub_magnitudes): Likewise.
67912         (__mul): Likewise.
67913         (__sqr): Likewise.
67914         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67915         powers of two in terms of TWOPOW macro.
67916         (mp_no): Make type of mantissa as MANTISSA_T.
67917         [!RADIXI]: Define RADIXI.
67918         [!TWO52]: Define TWO52.
67919         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67921         * manual/nptl.texi (cindex): Modify threads to pthreads.
67923 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67925         * sysdeps/x86_64/preconfigure: Regenerated.
67927 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67929         [BZ #14155]
67930         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67931         0x1p28 and above.
67932         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67933         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67934         0x1p28 and above.
67935         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67936         * math/libm-test.inc (j0_test): Do not allow one spurious
67937         underflow exception.
67938         (y1_test): Likewise.
67940 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67942         * manual/Makefile (chapters): Add nptl.
67943         * manual/debug.texi (Debugging Support): Add link to Threads
67944         chapter.
67945         * manual/nptl.texi: New file.
67947         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67949 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67951         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67952         for non-NULL pointer before the memory validity test. Pointed
67953         out by Holger Brunck <holger.brunck@keymile.com>.
67955 2013-03-13  Andreas Schwab  <schwab@suse.de>
67957         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67958         instead of .os.
67960 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67962         * timezone/zic.c: Update from tzcode 2013b.
67964 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67966         * manual/install.texi (Configuring and compiling):
67967         Mention i686 and i586.
67968         * INSTALL: Regenerate.
67970 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67972         * sysdeps/init_array/elf-init.c: New file.
67973         * csu/elf-init.c
67974         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67975         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67977         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67978         __gmon_start__ as global, but as static with a .preinit_array pointer.
67979         * sysdeps/init_array/gmon-start.c: New file.  Use that.
67980         * sysdeps/init_array/crti.S: New file, empty except for comments.
67981         * sysdeps/init_array/crtn.S: Likewise.
67983 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
67985         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67986         definining bcopy.
67987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67988         Remove Prefer_SSE_for_memop.
67989         * sysdeps/x86_64/multiarch/init-arch.h: Remove
67990         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67991         HAS_PREFER_SSE_FOR_MEMOP.
67992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67993         memset-x86-64.
67994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67995         Remove bzero, memset ifunc support.
67996         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67997         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67998         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67999         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68001 2013-03-11  Andreas Schwab  <schwab@suse.de>
68003         [BZ #15234]
68004         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68005         by SHLIB_COMPAT.
68006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68007         (GLIBC_2.16): Remove pthread_atfork.
68009 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68011         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68012         (ptestcases.h): Likewise.
68014 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68016         * Makeconfig ($(common-objpfx)config.status): Depend on
68017         sysdeps/*/preconfigure{,.in} too.
68019 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68021         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68022         (__free_hook): Use void * instead of __malloc_ptr_t.
68023         (__malloc_hook): Likewise.
68024         (__realloc_hook): Likewise.
68025         (__memalign_hook): Likewise.
68026         (__after_morecore_hook): Likewise.
68027         * malloc/arena.c (save_malloc_hook): Likewise.
68028         (save_free_hook): Likewise.
68029         * malloc/hooks.c (malloc_hook_ini): Likewise.
68030         (realloc_hook_ini): Likewise.
68031         (memalign_hook_ini): Likewise.
68032         * malloc/malloc.c (malloc_hook_ini): Likewise.
68033         (realloc_hook_ini): Likewise.
68034         (memalign_hook_ini): Likewise.
68035         (__free_hook): Likewise.
68036         (__malloc_hook): Likewise.
68037         (__realloc_hook): Likewise.
68038         (__memalign_hook): Likewise.
68039         (__libc_malloc): Likewise.
68040         (__libc_free): Likewise.
68041         (__libc_realloc): Likewise.
68042         (__libc_memalign): Likewise.
68043         (__libc_valloc): Likewise.
68044         (__libc_pvalloc): Likewise.
68045         (__libc_calloc): Likewise.
68046         (__posix_memalign): Likewise.
68047         * malloc/morecore.c (__sbrk): Likewise.
68048         (__default_morecore): Likewise.
68050         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68052         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68053         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68054         __malloc_ptrdiff_t.
68056         * malloc/malloc.h (__malloc_size_t): Remove macro.
68057         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68058         __malloc_size_t.
68059         (old_memalign_hook): Likewise.
68060         (old_realloc_hook): Likewise.
68061         (struct hdr): Likewise.
68062         (flood): Likewise.
68063         (mallochook): Likewise.
68064         (memalignhook): Likewise.
68065         (reallochook): Likewise.
68066         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68067         (tr_old_realloc_hook): Likewise.
68068         (tr_old_memalign_hook): Likewise.
68069         (tr_mallochook): Likewise.
68070         (tr_reallochook): Likewise.
68071         (tr_memalignhook): Likewise.
68073 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68076         default_ldbl_pack and using as default implementation.
68077         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68078         implementation.
68079         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68080         redundant definition.
68081         (ldbl_insert_mantissa): Likewise.
68082         (ldbl_canonicalize): Likewise.
68083         (ldbl_nearbyint): Likewise.
68084         (ldbl_pack): Rename to ldbl_pack_ppc.
68085         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68086         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68087         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68089 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68092         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68093         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68094         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68096         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68097         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68098         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68100 2013-03-07  Andreas Jaeger  <aj@suse.de>
68102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68103         bits/mman-linux.h.
68105 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68107         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68108         Include mpa.h and declare __MPEXP.
68109         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68110         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68111         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68112         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68113         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68114         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68115         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68117         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68118         (__slowpow): Use long double EXPL and LOGL functions to
68119         compute POW.
68120         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68121         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68122         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68123         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68124         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68125         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68128         intermediate variable to calculate exponent.
68129         (__sqr): Likewise.
68130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68131         Likewise.
68132         (__sqr): Likewise.
68134         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68135         [!NO__SQR]: Define __sqr.
68136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68137         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68138         sysdeps/ieee754/dbl-64/mpa.c.
68139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68141         [BZ #12723]
68142         * posix/Makefile (tests): Add tst-pathconf.
68143         * posix/tst-pathconf.c: New test case.
68144         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68145         _PC_PIPE_BUF.
68146         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68148 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68150         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68152 2013-03-06  Andreas Jaeger  <aj@suse.de>
68154         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68155         definition via __MAP_ANONYMOUS.
68157         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68158         it's not part of Linux headers.
68160         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68161         (MAP_HUGE_MASK): Define.
68163         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68164         Define.
68165         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68166         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68167         Define.
68168         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68169         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68170         Define.
68171         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68172         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68173         Define.
68174         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68176         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68177         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68178         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68179         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68180         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68181         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68183         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68184         Handle f2fs.
68186         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68187         Handle f2fs and efivarfs.
68189         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68190         f2fs.
68192         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68193         (EFIVARFS_MAGIC): Add.
68194         (F2FS_LINK_MAX): Add.
68196 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68198         * stdio-common/vfprintf.c: Replace __builtin_expect with
68199         __glibc_unlikely.
68201 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68203         [BZ #13550]
68204         * sysdeps/generic/bp-sym.h: Remove file.
68205         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68206         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68207         <bp-sym.h> and <bp-asm.h>.
68208         (__longjmp): Don't use BP_SYM.
68209         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68210         and <bp-asm.h>.
68211         (memcpy): Don't use BP_SYM.
68212         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68213         <bp-sym.h> and <bp-asm.h>.
68214         (memcpy): Don't use BP_SYM.
68215         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68216         <bp-asm.h>.
68217         (memcpy): Don't use BP_SYM.
68218         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68219         <bp-asm.h>.
68220         (memset): Don't use BP_SYM.
68221         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68222         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68223         (__bzero): Don't use BP_SYM.
68224         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68225         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68226         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68227         <bp-sym.h> and <bp-asm.h>.
68228         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68229         pointers.
68230         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68231         <bp-sym.h> and <bp-asm.h>.
68232         (memcpy): Don't use BP_SYM.
68233         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68234         <bp-sym.h> and <bp-asm.h>.
68235         (memset): Don't use BP_SYM.
68236         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68237         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68238         (__bzero): Don't use BP_SYM.
68239         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68240         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68241         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68242         <bp-sym.h> and <bp-asm.h>.
68243         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68244         pointers.
68245         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68246         <bp-sym.h> and <bp-asm.h>.
68247         (memcpy): Don't use BP_SYM.
68248         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68249         <bp-sym.h> and <bp-asm.h>.
68250         (memset): Don't use BP_SYM.
68251         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68252         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68253         (__bzero): Don't use BP_SYM.
68254         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68255         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68256         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68257         <bp-sym.h> and <bp-asm.h>.
68258         (__memchr): Don't use BP_SYM.
68259         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68260         <bp-sym.h> and <bp-asm.h>.
68261         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68262         pointers.
68263         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68264         <bp-sym.h> and <bp-asm.h>.
68265         (memcpy): Don't use BP_SYM.
68266         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68267         <bp-sym.h> and <bp-asm.h>.
68268         (__mempcpy): Don't use BP_SYM.
68269         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68270         <bp-sym.h> and <bp-asm.h>.
68271         (__memrchr): Don't use BP_SYM.
68272         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68273         <bp-sym.h> and <bp-asm.h>.
68274         (memset): Don't use BP_SYM.
68275         (__bzero): Likewise.
68276         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68277         <bp-sym.h> and <bp-asm.h>.
68278         (__rawmemchr): Don't use BP_SYM.
68279         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68280         <bp-sym.h> and <bp-asm.h>.
68281         (__STRCMP): Don't use BP_SYM.
68282         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68283         <bp-sym.h> and <bp-asm.h>.
68284         (strchr): Don't use BP_SYM.
68285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68286         <bp-sym.h> and <bp-asm.h>.
68287         (__strchrnul): Don't use BP_SYM.
68288         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68289         <bp-sym.h> and <bp-asm.h>.
68290         (strlen): Don't use BP_SYM.
68291         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68292         <bp-sym.h> and <bp-asm.h>.
68293         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68294         pointers.
68295         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68296         <bp-sym.h> and <bp-asm.h>.
68297         (__strnlen): Don't use BP_SYM.
68298         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68299         <bp-sym.h> and <bp-asm.h>.
68300         (__GI__setjmp): Don't use BP_SYM.
68301         (_setjmp): Likewise.
68302         (__sigsetjmp): Likewise.
68303         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68304         (L(start_addresses)): Don't use BP_SYM.
68305         (_start): Likewise.
68306         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68307         <bp-asm.h>.
68308         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68309         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68310         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68311         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68312         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68313         <bp-asm.h>.
68314         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68315         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68316         about bounded pointers.
68317         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68318         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68319         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68320         <bp-asm.h>.
68321         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68322         about bounded pointers.  Remove GKM FIXME comments.
68323         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68324         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68325         <bp-asm.h>.
68326         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68327         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68328         Remove GKM FIXME comments.
68329         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68330         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68331         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68332         <bp-asm.h>.
68333         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68334         about bounded pointers.  Remove GKM FIXME comment.
68335         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68336         and <bp-asm.h>.
68337         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68338         pointers.
68339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68340         <bp-sym.h> and <bp-asm.h>.
68341         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68343         <bp-sym.h> and <bp-asm.h>.
68344         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68345         comment.
68347 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68349         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68350         call free(NULL).
68352 2013-03-05  David S. Miller  <davem@davemloft.net>
68354         * po/es.po: Update from translation team.
68356 2013-03-05  Andreas Jaeger  <aj@suse.de>
68358         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68359         <bits/mman-linux.h>.
68360         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68361         is fine.
68362         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68363         <bits/mman-linux.h> to end of file.
68364         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68365         is fine.
68366         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68367         <bits/mman-linux.h> to end of file.
68368         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68369         is fine.
68370         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68371         <bits/mman-linux.h> to end of file.
68373         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68374         (MCL_CURRENT, MCL_FUTURE): Define here.
68376 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68378         [BZ #15232]
68379         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68380         attribute_hidden.
68381         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68383 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68385         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68386         fourth parameter needed for rt_sigprocmask syscall.
68387         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68388         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68389         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68390         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68391         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68392         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68394 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68396         [BZ #13550]
68397         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68398         comment about bounded pointers.
68399         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68400         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68402 2013-03-04  Andreas Jaeger  <aj@suse.de>
68404         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68405         common definitions.
68407         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68408         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68409         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68410         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68411         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68412         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68414 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68416         [BZ #15055]
68417         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68418         __ieee754_sqrl instead of __sqrl.
68420 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68422         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68423         * sysdeps/powerpc/fpu_control.h: ... here.
68424         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68425         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68426         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68427         * sysdeps/powerpc/bits/mathinline.h: ... here.
68429 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68431         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68432         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68433         to just [NEED_DL_SYSINFO_DSO].
68434         * elf/dl-support.c: Likewise.
68435         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68436         * elf/rtld.c (dl_main): Likewise.
68437         * elf/setup-vdso.h (setup_vdso): Likewise.
68438         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68439         * sysdeps/unix/sysv/linux/dl-sysdep.c
68440         (_dl_discover_osversion): Likewise.
68442 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68444         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68445         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68447 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68449         * NEWS: Mention libm performance improvements and non-x86 PI
68450         futex support.
68452         * csu/libc-start.c (__pthread_initialize_minimal): Change
68453         function arguments.
68454         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68456 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68458         [BZ #13550]
68459         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68460         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68461         <bp-sym.h> and <bp-asm.h>.
68462         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68463         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68464         and <bp-asm.h>.
68465         (memcpy): Don't use BP_SYM.
68466         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68467         <bp-asm.h>.
68468         (__mpn_add_n): Don't use BP_SYM.
68469         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68470         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68471         and <bp-asm.h>.
68472         (__mpn_addmul_1): Don't use BP_SYM.
68473         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68474         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68475         <bp-sym.h>.
68476         (_setjmp): Don't use BP_SYM.
68477         (__novmx_setjmp): Likewise.
68478         (__GI__setjmp): Likewise.
68479         (__vmx_setjmp): Likewise.
68480         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68481         <bp-sym.h>.
68482         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68483         (__bzero): Don't use BP_SYM.
68484         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68485         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68486         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68487         <bp-sym.h> and <bp-asm.h>.
68488         (memcpy): Don't use BP_SYM.
68489         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68490         <bp-sym.h> and <bp-asm.h>.
68491         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68492         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68493         <bp-sym.h> and <bp-asm.h>.
68494         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68495         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68496         <bp-asm.h>.
68497         (__mpn_lshift): Don't use BP_SYM.
68498         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68499         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68500         <bp-asm.h>.
68501         (memset): Don't use BP_SYM.
68502         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68503         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68504         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68505         <bp-asm.h>.
68506         (__mpn_mul_1): Don't use BP_SYM.
68507         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68508         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68509         <bp-sym.h> and <bp-asm.h>.
68510         (memcmp): Don't use BP_SYM.
68511         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68512         <bp-sym.h> and <bp-asm.h>.
68513         (memcpy): Don't use BP_SYM.
68514         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68515         <bp-sym.h> and <bp-asm.h>.
68516         (memset): Don't use BP_SYM.
68517         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68518         <bp-sym.h> and <bp-asm.h>.
68519         (strncmp): Don't use BP_SYM.
68520         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68521         <bp-sym.h> and <bp-asm.h>.
68522         (memcpy): Don't use BP_SYM.
68523         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68524         <bp-sym.h> and <bp-asm.h>.
68525         (memset): Don't use BP_SYM.
68526         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68527         <bp-sym.h> and <bp-asm.h>.
68528         (__memchr): Don't use BP_SYM.
68529         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68530         <bp-sym.h> and <bp-asm.h>.
68531         (memcmp): Don't use BP_SYM.
68532         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68533         <bp-sym.h> and <bp-asm.h>.
68534         (memcpy): Don't use BP_SYM.
68535         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68536         <bp-sym.h> and <bp-asm.h>.
68537         (__mempcpy): Don't use BP_SYM.
68538         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68539         <bp-sym.h> and <bp-asm.h>.
68540         (__memrchr): Don't use BP_SYM.
68541         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68542         <bp-sym.h> and <bp-asm.h>.
68543         (memset): Don't use BP_SYM.
68544         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68545         <bp-sym.h> and <bp-asm.h>.
68546         (__rawmemchr): Don't use BP_SYM.
68547         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68548         <bp-sym.h> and <bp-asm.h>.
68549         (__STRCMP): Don't use BP_SYM.
68550         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68551         <bp-sym.h> and <bp-asm.h>.
68552         (strchr): Don't use BP_SYM.
68553         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68554         <bp-sym.h> and <bp-asm.h>.
68555         (__strchrnul): Don't use BP_SYM.
68556         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68557         <bp-sym.h> and <bp-asm.h>.
68558         (strlen): Don't use BP_SYM.
68559         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68560         <bp-sym.h> and <bp-asm.h>.
68561         (strncmp): Don't use BP_SYM.
68562         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68563         <bp-sym.h> and <bp-asm.h>.
68564         (__strnlen): Don't use BP_SYM.
68565         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68566         <bp-asm.h>.
68567         (__mpn_rshift): Don't use BP_SYM.
68568         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68569         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68570         <bp-sym.h> and <bp-asm.h>.
68571         (__sigsetjmp): Don't use BP_SYM.
68572         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68573         (L(start_addresses)): Don't use BP_SYM.
68574         (_start): Likewise.
68575         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68576         <bp-asm.h>.
68577         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68578         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68579         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68580         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68581         <bp-asm.h>.
68582         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68583         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68584         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68585         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68586         <bp-asm.h>.
68587         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68588         comments.
68589         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68590         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68591         <bp-asm.h>.
68592         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68593         FIXME comments.
68594         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68595         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68596         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68597         <bp-asm.h>.
68598         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68599         comment.
68600         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68601         and <bp-asm.h>.
68602         (strncmp): Don't use BP_SYM,
68603         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68604         <bp-asm.h>.
68605         (__mpn_sub_n): Don't use BP_SYM.
68606         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68607         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68608         and <bp-asm.h>.
68609         (__mpn_submul_1): Don't use BP_SYM.
68610         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68612         <bp-sym.h> and <bp-asm.h>.
68613         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68615         <bp-sym.h> and <bp-asm.h>.
68616         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68617         comment.
68619 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68622         Use ZK to minimize writes to Z.
68623         (sub_magnitudes): Simplify code a bit.
68624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68625         Use ZK to minimize writes to Z.
68626         (sub_magnitudes): Simplify code a bit.
68628 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68630         * csu/gmon-start.c: Add special exception to license text.
68632 2013-02-27  Richard Henderson  <rth@redhat.com>
68634         * scripts/config.guess: Update from config.git.
68635         * scripts/config.sub: Likewise.
68637 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68639         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68641         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68643         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68645         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68647         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68649 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68651         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68652         [$(build-shared = yes].
68654 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68656         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68657         (__mul): Reduce iterations for calculating mantissa.
68659         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68660         MPTWO.
68661         (__mpranred): Likewise.
68663         [BZ #15160]
68664         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68665         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68667 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68669         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68670         Define __attribute__.
68672 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68674         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68675         unused.
68676         * posix/regex_internal.h (__attribute): Remove.
68677         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68678         (re_string_context_at): Likewise.
68679         (bitset_not): Use __attribute__ and mark function as possibly
68680         unused.
68681         (bitset_merge): Likewise.
68682         (bitset_mask): Likewise.
68683         (re_string_char_size_at): Likewise.
68684         (re_string_wchar_at): Likewise.
68685         (re_string_elem_size_at): Likewise.
68687 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68689         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68690         code.
68691         (cc32): Likewise.
68693         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68694         (__acr): Likewise.
68695         (__cpy): Likewise.
68696         (norm): Likewise.
68697         (denorm): Likewise.
68698         (__dbl_mp): Likewise.
68699         (add_magnitudes): Likewise.
68700         (sub_magnitudes): Likewise.
68701         (__mul): Likewise.
68702         (__inv): Likewise.
68704         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68705         style.
68707         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68708         style.
68710         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68711         code.
68713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68714         up changes with default code.
68715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68716         Likewise.
68718 2013-02-24  Allan McRae  <allan@archlinux.org>
68720         * manual/socket.texi (The Internet Namespace): Order menu items
68721         to match that in the file.
68723         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68724         node listing of the info page menu.
68726 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68728         [BZ #13550]
68729         * sysdeps/i386/bp-asm.h: Remove file.
68730         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68731         (PARMS): Do not use macros from bp-asm.h.
68732         (S1): Likewise.
68733         (S2): Likewise.
68734         (SIZE): Likewise.
68735         (__mpn_add_n): Do not use BP_SYM
68736         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68737         "bp-asm.h".
68738         (PARMS): Do not use macros from bp-asm.h.
68739         (S1): Likewise.
68740         (SIZE): Likewise.
68741         (__mpn_addmul_1): Do not use BP_SYM
68742         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68743         "bp-asm.h".
68744         (PARMS): Do not use macros from bp-asm.h.
68745         (SIGMSK): Likewise.
68746         (_setjmp): Likewise.  Do not use BP_SYM.
68747         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68748         "bp-asm.h".
68749         (PARMS): Do not use macros from bp-asm.h.
68750         (SIGMSK): Likewise.
68751         (setjmp): Likewise.  Do not use BP_SYM.
68752         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68753         "bp-asm.h".
68754         (PARMS): Do not use macros from bp-asm.h.
68755         (__frexp): Do not use BP_SYM.
68756         (frexp): Likewise.
68757         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68758         "bp-asm.h".
68759         (PARMS): Do not use macros from bp-asm.h.
68760         (__frexpf): Do not use BP_SYM.
68761         (frexpf): Likewise.
68762         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68763         "bp-asm.h".
68764         (PARMS): Do not use macros from bp-asm.h.
68765         (__frexpl): Do not use BP_SYM.
68766         (frexpl): Likewise.
68767         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68768         "bp-asm.h".
68769         (PARMS): Do not use macros from bp-asm.h.
68770         (__remquo): Do not use BP_SYM.
68771         (remquo): Likewise.
68772         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68773         "bp-asm.h".
68774         (PARMS): Do not use macros from bp-asm.h.
68775         (__remquof): Do not use BP_SYM.
68776         (remquof): Likewise.
68777         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68778         "bp-asm.h".
68779         (PARMS): Do not use macros from bp-asm.h.
68780         (__remquol): Do not use BP_SYM.
68781         (remquol): Likewise.
68782         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68783         "bp-asm.h".
68784         (PARMS): Do not use macros from bp-asm.h.
68785         (DEST): Likewise.
68786         (SRC): Likewise.
68787         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68788         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68789         "bp-asm.h".
68790         (PARMS): Do not use macros from bp-asm.h.
68791         (strlen): Do not use BP_SYM.
68792         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68793         "bp-asm.h".
68794         (PARMS): Do not use macros from bp-asm.h.
68795         (S1): Likewise.
68796         (S2): Likewise.
68797         (SIZE): Likewise.
68798         (__mpn_add_n): Do not use BP_SYM.
68799         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68800         "bp-asm.h".
68801         (PARMS): Do not use macros from bp-asm.h.
68802         (S1): Likewise.
68803         (SIZE): Likewise.
68804         (__mpn_addmul_1): Do not use BP_SYM.
68805         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68806         weak_alias.
68807         (bzero): Likewise.
68808         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68809         "bp-asm.h".
68810         (PARMS): Do not use macros from bp-asm.h.
68811         (S): Likewise.
68812         (SIZE): Likewise.
68813         (__mpn_lshift): Do not use BP_SYM.
68814         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68815         "bp-asm.h".
68816         (PARMS): Do not use macros from bp-asm.h.
68817         (DEST): Likewise.
68818         (SRC): Likewise.
68819         (LEN): Likewise.
68820         (memcpy): Likewise.  Do not use BP_SYM.
68821         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68822         libc_hidden_def and weak_alias.
68823         (mempcpy): Do not use BP_SYM in weak_alias.
68824         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68825         "bp-asm.h".
68826         (PARMS): Do not use macros from bp-asm.h.
68827         (DEST): Likewise.
68828         (LEN): Likewise.
68829         [!BZERO_P] (CHR): Likewise.
68830         (memset): Likewise.  Do not use BP_SYM.
68831         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68832         "bp-asm.h".
68833         (PARMS): Do not use macros from bp-asm.h.
68834         (S1): Likewise.
68835         (SIZE): Likewise.
68836         (__mpn_mul_1): Do not use BP_SYM.
68837         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68838         "bp-asm.h".
68839         (PARMS): Do not use macros from bp-asm.h.
68840         (S): Likewise.
68841         (SIZE): Likewise.
68842         (__mpn_rshift): Do not use BP_SYM.
68843         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68844         "bp-asm.h".
68845         (PARMS): Do not use macros from bp-asm.h.
68846         (STR): Likewise.
68847         (CHR): Likewise.
68848         (strchr): Likewise.  Do not use BP_SYM.
68849         (index): Do not use BP_SYM in weak_alias.
68850         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68851         "bp-asm.h".
68852         (PARMS): Do not use macros from bp-asm.h.
68853         (DEST): Likewise.
68854         (SRC): Likewise.
68855         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68856         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68857         "bp-asm.h".
68858         (PARMS): Do not use macros from bp-asm.h.
68859         (strlen): Do not use BP_SYM.
68860         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68861         "bp-asm.h".
68862         (PARMS): Do not use macros from bp-asm.h.
68863         (S1): Likewise.
68864         (S2): Likewise.
68865         (SIZE): Likewise.
68866         (__mpn_sub_n): Do not use BP_SYM.
68867         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68868         "bp-asm.h".
68869         (PARMS): Do not use macros from bp-asm.h.
68870         (S1): Likewise.
68871         (SIZE): Likewise.
68872         (__mpn_submul_1): Do not use BP_SYM.
68873         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68874         "bp-asm.h".
68875         (PARMS): Do not use macros from bp-asm.h.
68876         (S1): Likewise.
68877         (S2): Likewise.
68878         (SIZE): Likewise.
68879         (__mpn_add_n): Do not use BP_SYM.
68880         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68881         weak_alias.
68882         (bzero): Likewise.
68883         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68884         "bp-asm.h".
68885         (PARMS): Do not use macros from bp-asm.h.
68886         (BLK2): Likewise.
68887         (LEN): Likewise.
68888         (memcmp): Do not use BP_SYM.
68889         (bcmp): Do not use BP_SYM in weak_alias.
68890         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68891         "bp-asm.h".
68892         (PARMS): Do not use macros from bp-asm.h.
68893         (DEST): Likewise.
68894         (SRC): Likewise.
68895         (LEN): Likewise.
68896         (memcpy): Likewise.  Do not use BP_SYM.
68897         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68898         "bp-asm.h".
68899         (PARMS): Do not use macros from bp-asm.h.
68900         (DEST): Likewise.
68901         (SRC): Likewise.
68902         (LEN): Likewise.
68903         (memmove): Likewise.  Do not use BP_SYM.
68904         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68905         "bp-asm.h".
68906         (PARMS): Do not use macros from bp-asm.h.
68907         (DEST): Likewise.
68908         (SRC): Likewise.
68909         (LEN): Likewise.
68910         (__mempcpy): Likewise.  Do not use BP_SYM.
68911         (mempcpy): Do not use BP_SYM in weak_alias.
68912         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68913         "bp-asm.h".
68914         (PARMS): Do not use macros from bp-asm.h.
68915         (DEST): Likewise.
68916         (LEN): Likewise.
68917         [!BZERO_P] (CHR): Likewise.
68918         (memset): Likewise.  Do not use BP_SYM.
68919         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68920         "bp-asm.h".
68921         (PARMS): Do not use macros from bp-asm.h.
68922         (STR2): Likewise.
68923         (strcmp): Do not use BP_SYM.
68924         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68925         "bp-asm.h".
68926         (PARMS): Do not use macros from bp-asm.h.
68927         (STR): Likewise.
68928         (DELIM): Likewise.
68929         [USE_AS_STRTOK_R] (SAVE): Likewise.
68930         (FUNCTION): Likewise.  Do not use BP_SYM.
68931         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68932         aliases.
68933         (strtok_r): Likewise.
68934         (__GI___strtok_r): Likewise.
68935         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68936         (PARMS): Do not use macros from bp-asm.h.
68937         (S): Likewise.
68938         (SIZE): Likewise.
68939         (__mpn_lshift): Do not use BP_SYM.
68940         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68941         (PARMS): Do not use macros from bp-asm.h.
68942         (STR): Likewise.
68943         (CHR): Likewise.
68944         (__memchr): Do not use BP_SYM.
68945         (memchr): Do not use BP_SYM in weak_alias.
68946         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68947         (PARMS): Do not use macros from bp-asm.h.
68948         (BLK2): Likewise.
68949         (LEN): Likewise.
68950         (memcmp): Do not use BP_SYM.
68951         (bcmp): Do not use BP_SYM in weak_alias.
68952         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68953         (PARMS): Do not use macros from bp-asm.h.
68954         (S1): Likewise.
68955         (SIZE): Likewise.
68956         (__mpn_mul_1): Do not use BP_SYM.
68957         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68958         "bp-asm.h".
68959         (PARMS): Do not use macros from bp-asm.h.
68960         (STR): Likewise.
68961         (CHR): Likewise.
68962         (__rawmemchr): Do not use BP_SYM.
68963         (rawmemchr): Do not use BP_SYM in weak_alias.
68964         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68965         (PARMS): Do not use macros from bp-asm.h.
68966         (S): Likewise.
68967         (SIZE): Likewise.
68968         (__mpn_rshift): Do not use BP_SYM.
68969         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68970         (PARMS): Do not use macros from bp-asm.h.
68971         (SIGMSK): Likewise.
68972         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68973         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68974         (_start): Do not use BP_SYM.
68975         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68976         (PARMS): Do not use macros from bp-asm.h.
68977         (DEST): Likewise.
68978         (SRC): Likewise.
68979         (__stpcpy): Likewise.  Do not use BP_SYM.
68980         (stpcpy): Do not use BP_SYM in weak_alias.
68981         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68982         "bp-asm.h".
68983         (PARMS): Do not use macros from bp-asm.h.
68984         (DEST): Likewise.
68985         (SRC): Likewise.
68986         (LEN): Likewise.
68987         (__stpncpy): Likewise.  Do not use BP_SYM.
68988         (stpncpy): Do not use BP_SYM in weak_alias.
68989         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68990         (PARMS): Do not use macros from bp-asm.h.
68991         (STR): Likewise.
68992         (CHR): Likewise.
68993         (strchr): Likewise.  Do not use BP_SYM.
68994         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68995         "bp-asm.h".
68996         (PARMS): Do not use macros from bp-asm.h.
68997         (STR): Likewise.
68998         (CHR): Likewise.
68999         (__strchrnul): Likewise.  Do not use BP_SYM.
69000         (strchrnul): Do not use BP_SYM in weak_alias.
69001         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69002         "bp-asm.h".
69003         (PARMS): Do not use macros from bp-asm.h.
69004         (STOP): Likewise.
69005         (strcspn): Do not use BP_SYM.
69006         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69007         "bp-asm.h".
69008         (PARMS): Do not use macros from bp-asm.h.
69009         (STR): Likewise.
69010         (STOP): Likewise.
69011         (strpbrk): Likewise.  Do not use BP_SYM.
69012         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69013         "bp-asm.h".
69014         (PARMS): Do not use macros from bp-asm.h.
69015         (STR): Likewise.
69016         (CHR): Likewise.
69017         (strrchr): Likewise.  Do not use BP_SYM.
69018         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69019         (PARMS): Do not use macros from bp-asm.h.
69020         (SKIP): Likewise.
69021         (strspn): Do not use BP_SYM.
69022         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69023         (PARMS): Do not use macros from bp-asm.h.
69024         (STR): Likewise.
69025         (DELIM): Likewise.
69026         (SAVE): Likewise.
69027         (FUNCTION): Likewise.  Do not use BP_SYM.
69028         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69029         aliases.
69030         (strtok_r): Likewise.
69031         (__GI___strtok_r): Likewise.
69032         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69033         (PARMS): Do not use macros from bp-asm.h.
69034         (S1): Likewise.
69035         (S2): Likewise.
69036         (SIZE): Likewise.
69037         (__mpn_sub_n): Do not use BP_SYM.
69038         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69039         "bp-asm.h".
69040         (PARMS): Do not use macros from bp-asm.h.
69041         (S1): Likewise.
69042         (SIZE): Likewise.
69043         (__mpn_submul_1): Do not use BP_SYM.
69044         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69045         <bp-sym.h>.
69046         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69047         and <bp-asm.h>.
69048         (PARMS): Do not use macros from bp-asm.h.
69049         (FLAGS): Likewise.
69050         (PTID): Likewise.
69051         (TLS): Likewise.
69052         (CTID): Likewise.
69053         (__clone): Do not use BP_SYM.
69054         (clone): Do not use BP_SYM in weak_alias.
69055         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69056         and <bp-asm.h>.
69057         (PARMS): Do not use macros from bp-asm.h.
69058         (LEN): Likewise.
69059         (__mmap64): Do not use BP_SYM.
69060         (mmap64): Do not use BP_SYM in weak_alias.
69061         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69062         <bp-sym.h> and <bp-asm.h>.
69063         (PARMS): Do not use macros from bp-asm.h.
69064         (__posix_fadvise64_l64): Do not use BP_SYM.
69065         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69066         (PARMS): Do not use macros from bp-asm.h.
69067         (NSOPS): Likewise.
69068         (semtimedop): Do not use BP_SYM.
69069         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69070         and <bp-asm.h>.
69072 2013-02-21  Allan McRae  <allan@archlinux.org>
69074         * manual/message.texi (Charset conversion in gettext):
69075         Move @end statement to beginning of line.
69077 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69080         static.
69081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69082         Likewise.
69084         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69085         (denorm): Likewise.
69086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69087         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69089 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69091         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69092         tail-call to the resolved function if pltexit isn't needed.
69094 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69097         or Y being zero as being unlikely.
69098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69099         Likewise.
69101 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69103         * manual/nss.texi (System Databases and Name Service Switch):
69104         Remove frobnicate @pxref.
69106 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69108         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69109         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69111 2013-02-20  Petr Machata  <pmachata@redhat.com>
69113         * elf/elf.h (R_ARM_TARGET1): New macro.
69114         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69115         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69116         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69117         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69118         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69119         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69120         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69121         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69122         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69123         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69124         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69125         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69126         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69127         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69128         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69129         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69130         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69131         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69132         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69133         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69134         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69135         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69136         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69137         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69138         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69139         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69140         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69141         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69142         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69143         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69144         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69145         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69146         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69147         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69148         (R_ARM_THM_GOT_BREL12): Likewise.
69149         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69150         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69151         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69152         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69153         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69154         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69155         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69156         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69157         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69159 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69161         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69162         __attribute_used__ to __attribute__ ((unused)).
69164 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69166         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69167         powerpc mpa.c.
69168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69169         comment formatting.
69170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69172 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69174         [BZ #13550]
69175         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69176         Remove macro.
69177         (ENTER): Remove both macro definitions.
69178         (LEAVE): Likewise.
69179         (CHECK_BOUNDS_LOW): Likewise.
69180         (CHECK_BOUNDS_HIGH): Likewise.
69181         (CHECK_BOUNDS_BOTH): Likewise.
69182         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69183         (RETURN_BOUNDED_POINTER): Likewise.
69184         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69185         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69186         (POP_ERRNO_LOCATION_RETURN): Likewise.
69187         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69188         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69189         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69190         macros.
69191         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69192         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69193         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69194         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69195         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69196         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69197         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69198         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69199         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69200         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69201         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69202         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69203         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69204         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69205         removed macros.
69206         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69207         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69208         macros.
69209         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69210         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69211         * sysdeps/i386/i586/memset.S (memset): Likewise.
69212         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69213         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69214         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69215         macros.
69216         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69217         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69218         Change uses of L(2) to L(out).
69219         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69220         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69221         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69222         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69223         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69224         removed macros.
69225         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69226         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69227         macros.
69228         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69229         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69230         (RETURN): Do not use macro LEAVE.
69231         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69232         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69233         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69234         * sysdeps/i386/i686/memset.S (memset): Likewise.
69235         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69236         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69237         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69238         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69239         Likewise.
69240         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69241         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69242         L(1_2) and L(1_3) into L(1).
69243         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69244         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69245         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69246         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69247         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69248         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69249         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69250         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69251         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69252         macros.
69253         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69254         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69255         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69256         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69257         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69258         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69259         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69260         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69261         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69262         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69263         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69264         * sysdeps/i386/strspn.S (strspn): Likewise.
69265         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69266         conditional code.
69267         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69268         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69269         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69270         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69271         L(1_3) into L(1_1).
69272         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69273         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69274         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69275         macros.
69276         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69278 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69280         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69281         macro.
69283 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69285         * math/atest-exp.c (exp_mpn): Remove ROUND.
69286         * math/atest-exp2.c (exp_mpn): Likewise.
69287         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69289         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69290         * stdlib/tst-tls-atexit-lib.c: Likewise.
69291         * stdlib/tst-tls-atexit.c: Likewise.
69293 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69295         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69296         and __attribute_alloc_size__.
69298 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69300         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69301         __attribute_alloc_size__.
69302         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69303         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69305 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69307         * include/programs/xmalloc.h: New file.
69308         * catgets/gencat.c: Include it.
69309         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69310         * elf/pldd.c: Likewise.
69311         * iconv/iconv_charmap.c: Likewise.
69312         * iconv/iconvconfig.c: Likewise.
69313         * iconv/strtab.c: Likewise.
69314         * locale/programs/locale.c: Likewise.
69315         * locale/programs/localedef.h: Likewise.
69316         * locale/programs/simple-hash.c: Likewise.
69317         * nscd/nscd.h: Likewise.
69318         * nss/makedb.c: Likewise.
69319         * sysdeps/generic/ldconfig.h: Likewise.
69321 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69323         * Versions.def: Add GLIBC_2.18.
69324         * include/link.h (struct link_map): New member l_tls_dtor_count.
69325         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69326         (__call_tls_dtors): Likewise.
69327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69328         __cxa_thread_atexit_impl.
69329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69330         Likewise.
69331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69332         Likewise.
69333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69334         Likewise.
69335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69336         Likewise.
69337         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69339         Likewise.
69340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69341         Likewise.
69342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69344         Likewise.
69345         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69346         (tests): Add test case tst-tls-atexit.
69347         (modules-names): Add shared library for tst-tls-atexit.
69348         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69349         (GLIBC_PRIVATE): Add __call_tls_dtors.
69350         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69351         for libstdc++.
69352         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69353         * stdlib/tst-tls-atexit.c: New test case.
69354         * stdlib/tst-tls-atexit-lib.c: New test case.
69356         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69358         * elf/Versions (ld): Add _dl_find_dso_for_object.
69359         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69360         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69361         (dl_open_worker): Use _dl_find_dso_for_object.
69362         * elf/dl-sym.c (do_sym): Likewise.
69363         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69365 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69367         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69368         Syntactic changes only.
69369         (_dl_runtime_profile): Do a tail-call to the resolved function.
69371 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69373         [BZ #13550]
69374         * sysdeps/x86_64/bp-asm.h: Remove file.
69375         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69376         <bp-sym.h> and <bp-asm.h>.
69377         (__clone): Do not use BP_SYM.
69378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69379         <bp-sym.h> and <bp-asm.h>.
69380         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69381         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69382         "bp-asm.h".
69383         (_setjmp): Do not use BP_SYM.
69384         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69385         "bp-asm.h".
69386         (setjmp): Do not use BP_SYM.
69387         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69388         libc_hidden_def.
69389         (mempcpy): Do not use BP_SYM in weak_alias.
69390         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69391         "bp-asm.h".
69392         (strchr): Do not use BP_SYM.
69393         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69394         "bp-asm.h".
69395         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69396         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69397         (_start): Do not use BP_SYM.
69398         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69399         "bp-asm.h".
69400         (strcat): Do not use BP_SYM.
69401         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69402         "bp-asm.h".
69403         (STRCMP): Do not use BP_SYM.
69404         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69405         "bp-asm.h".
69406         (STRCPY): Do not use BP_SYM.
69407         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69408         "bp-asm.h".
69409         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69410         "bp-asm.h".
69411         (FUNCTION): Do not use BP_SYM.
69412         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69413         weak_alias.
69414         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69416 2013-02-17  Andreas Jaeger  <aj@suse.de>
69418         * time/Versions: Sort entries.
69419         * string/Versions: Likewise.
69420         * resolv/Versions: Likewise.
69421         * posix/Versions: Likewise.
69422         * iconv/Versions: Likewise.
69423         * elf/Versions: Likewise.
69424         * wcsmbs/Versions: Likewise.
69426 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69428         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69429         loop termination condition.
69431         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69432         variable to calculate EZ.
69433         (__sqr): Likewise.
69435         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69436         the lower precision input.
69438 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69440         [BZ #13550]
69441         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69442         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69443         (run-via-rtld-prefix): Do not handle %-bp tests.
69444         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69445         (all-object-suffixes): Remove .ob.
69446         (bppfx): Remove variable.
69447         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69448         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69449         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69450         [$(build-bounded) = yes] (libtype.ob): Likewise.
69451         * Makerules (elide-routines.ob): Remove variable.
69452         (do-tests-clean): Do not handle *-bp.out.
69453         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69454         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69455         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69456         (tests): Do not include $(tests-bp.out).
69457         (xtests): Do not include $(xtests-bp.out).
69458         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69459         [$(build-bounded) = yes] ($(addprefix
69460         $(objpfx),$(binaries-bounded))): Remove rule.
69461         ($(objpfx)%-bp.out): Remove rule.
69462         * config.make.in (build-bounded): Remove variable.
69463         * crypt/Makefile [$(build-bounded) = yes]
69464         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69465         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69466         append to variable.
69467         [$(build-bounded) = yes] (install-lib): Likewise.
69468         [$(build-bounded) = yes] (generated): Likewise.
69469         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69470         Remove rule.
69471         * intl/Makefile [$(build-bounded) = yes]
69472         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69473         * math/Makefile [$(build-bounded) = yes]
69474         ($(tests:%=$(objpfx)%-bp): Likewise.
69475         * misc/Makefile [$(build-bounded) = yes]
69476         ($(objpfx)tst-tsearch-bp): Likewise.
69477         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69478         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69479         Remove dependency.
69480         * string/Makefile (o-objects.ob): Remove variable.
69481         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69482         (CFLAGS-.ob): Remove variable.
69483         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69484         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69485         both definitions of variable.
69486         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69487         (ASFLAGS-.ob): Remove variable.
69489 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69491         [BZ #13550]
69492         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69493         Remove __BOUNDED_POINTERS__ from condition.
69494         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69495         * string/bits/string2.h [!__NO_STRING_INLINES &&
69496         !__BOUNDED_POINTERS__]: Likewise.
69497         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69498         Likewise.
69499         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69500         Remove conditional code.
69501         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69502         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69503         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69504         condition.
69506         [BZ #13550]
69507         * csu/libc-start.c: Do not include <bp-sym.h>.
69508         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69509         * elf/dl-open.c: Do not include <bp-sym.h>.
69510         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69511         * math/fegetenv.c: Do not include <bp-sym.h>.
69512         (fegetenv): Do not use BP_SYM in versioned symbols.
69513         * nptl/sysdeps/pthread/bits/libc-lockP.h
69514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69515         <bp-sym.h>.
69516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69517         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69519         (__pthread_mutex_destroy): Likewise.
69520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69521         (__pthread_mutex_lock): Likewise.
69522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69523         (__pthread_mutex_trylock): Likewise.
69524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69525         (__pthread_mutex_unlock): Likewise.
69526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69527         (__pthread_mutexattr_init): Likewise.
69528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69529         (__pthread_mutexattr_destroy): Likewise.
69530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69531         (__pthread_mutexattr_settype): Likewise.
69532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69533         (__pthread_rwlock_init): Likewise.
69534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69535         (__pthread_rwlock_destroy): Likewise.
69536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69537         (__pthread_rwlock_rdlock): Likewise.
69538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69539         (__pthread_rwlock_tryrdlock): Likewise.
69540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69541         (__pthread_rwlock_wrlock): Likewise.
69542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69543         (__pthread_rwlock_trywrlock): Likewise.
69544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69545         (__pthread_rwlock_unlock): Likewise.
69546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69547         (__pthread_key_create): Likewise.
69548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69549         (__pthread_setspecific): Likewise.
69550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69551         (__pthread_getspecific): Likewise.
69552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69553         Likewise.
69554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69555         (_pthread_cleanup_push_defer): Likewise.
69556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69557         (_pthread_cleanup_pop_restore): Likewise.
69558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69559         (pthread_setcancelstate): Likewise.
69560         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69561         <bp-sym.h>.
69562         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69563         (memchr): Do not use BP_SYM in weak_alias.
69564         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69565         (fegetenv): Do not use BP_SYM in versioned symbols.
69566         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69567         (fesetenv): Do not use BP_SYM in versioned symbols.
69568         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69569         (feupdateenv): Do not use BP_SYM in versioned symbols.
69570         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69571         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69572         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69573         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69574         (open64): Do not use BP_SYM in weak_alias.
69575         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69576         (fegetenv): Do not use BP_SYM in versioned symbols.
69577         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69578         (fesetenv): Do not use BP_SYM in versioned symbols.
69579         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69580         (feupdateenv): Do not use BP_SYM in versioned symbols.
69581         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69582         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69583         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69584         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69585         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69586         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69587         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69588         <bp-sym.h>.
69589         (__libc_start_main): Do not use BP_SYM.
69591 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69594         redundant return line.
69595         (norm): Likewise.
69596         (denorm): Likewise.
69597         (dbl_mp): Likewise.
69598         (sub_magnitudes): Likewise.
69599         (__add): Likewise.
69600         (__sub): Likewise.
69601         (__mul): Likewise.
69602         (__inv): Likewise.
69603         (__dvd): Likewise.
69604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69605         (norm): Likewise.
69606         (denorm): Likewise.
69607         (dbl_mp): Likewise.
69608         (sub_magnitudes): Likewise.
69609         (__add): Likewise.
69610         (__sub): Likewise.
69611         (__mul): Likewise.
69612         (__inv): Likewise.
69613         (__dvd): Likewise.
69615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69616         instead of __mul.
69617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69618         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69619         (cc32): Likewise.
69621         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69622         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69624         of __mul for squares.
69625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69626         function
69627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69628         Likewise.
69629         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69630         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69632 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69634         [BZ #13550]
69635         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69636         code.
69637         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69638         prototype or function definition.  Rename ubp_* variables and
69639         parameters.  Remove argv definitions conditional on
69640         [__BOUNDED_POINTERS__].
69641         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69642         * elf/dl-runtime.c (_dl_fixup): Likewise.
69643         * include/set-hooks.h (RUN_HOOK): Likewise.
69644         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69645         definition.
69646         * string/strcpy.c (strcpy): Do not use __unbounded.
69647         * sysdeps/generic/frame.h (struct layout): Likewise.
69648         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69649         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69650         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69651         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69652         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69653         (__backtrace): Likewise.
69654         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69655         use __ptrvalue.
69656         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69657         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69658         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69659         Likewise.
69660         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69661         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69662         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69663         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69664         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69665         Do not use __unbounded.
69666         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69667         Rename __unboundedrlimits parameter to rlimits in prototype.
69668         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69669         Do not use __unbounded.
69670         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69671         not use __ptrvalue.
69672         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69673         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69674         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69675         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69676         __ptrvalue or __unbounded.
69677         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69678         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69679         use __unbounded.
69680         (__new_msgctl): Do not use __ptrvalue.
69681         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69682         __unbounded.
69683         (__libc_msgrcv): Do not use __ptrvalue.
69684         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69685         startup_info): Do not use __unbounded.
69686         (__libc_start_main): Likewise.  Rename ubp_* variables and
69687         parameters.  Remove argv definitions conditional on
69688         [__BOUNDED_POINTERS__].
69689         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69690         __ptrvalue.
69691         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69692         use __unbounded.
69693         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69694         or __ptrvalue.
69695         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69696         use __unbounded.
69697         (__new_shmctl): Do not use __ptrvalue.
69698         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69699         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69700         Likewise.
69701         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69702         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69703         (__libc_sigaction): Likewise.
69704         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69705         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69706         Likewise.
69707         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69709 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69711         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69713         * string/mempcpy.c: Implement by calling memcpy.
69715 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69720         evaluation.
69722         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69723         values in the mantissa.
69725         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69726         minimize writes to Z.
69727         (sub_magnitudes): Simplify code a bit.
69729 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69731         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69732         from the message.  The linker prefixes all warnings with that already.
69734 2013-02-12  Andreas Schwab  <schwab@suse.de>
69736         [BZ #15078]
69737         * posix/regexec.c (extend_buffers): Add parameter min_len.
69738         (check_matching): Pass minimum needed length.
69739         (clean_state_log_if_needed): Likewise.
69740         (get_subexp): Likewise.
69741         * posix/Makefile (tests): Add bug-regex34.
69742         (bug-regex34-ENV): Define.
69743         * posix/bug-regex34.c: New file.
69745         [BZ #11561]
69746         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69747         elements compare against the byte sequence of it, not its name.
69748         * posix/Makefile (tests): Add bug-regex35.
69749         (bug-regex35-ENV): Define.
69750         * posix/bug-regex35.c: New file.
69752 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69754         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69755         comment.
69756         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69757         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69758         (CHECK_EOL): Add undef.
69760 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69762         * bits/stdlib-bsearch.h: New file.
69763         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69764         * stdlib/stdlib.h: Likewise.
69766 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69768         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69769         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69770         declaration.
69771         * manual/search.texi (Array Search Function): Add missing const in
69772         lfind prototype.
69773         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69774         declaration to use rlim_t.
69775         (Basic Scheduling Functions): Remove erroneous const from
69776         sched_getparam prototype.  Remove erroneous * from
69777         sched_get_priority_max and sched_get_priority_min prototypes.
69778         (Resource Usage): Fix summary @comment on vtimes to refer to
69779         sys/vtimes.h rather than vtimes.h.
69780         Add missing *s in vtimes prototype.
69781         (Limits on Resources): Fix ulimit prototype to return long int.
69782         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69783         prototypes to use long int rather than double.
69784         (BSD Random): Fix initstate and setstate to use char *, not void *.
69785         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69786         prototype to make second argument 'struct aiocb64 *const[]'.
69787         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69788         (Status of AIO Operations): Remove erroneous const in aio_return and
69789         aio_return64 prototypes.
69790         (Synchronizing I/O): Fix sync prototype to return void.
69791         * manual/startup.texi (Suboptions): Remove an erroneous const in
69792         getsubopt prototype.
69793         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69794         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69795         use size_t rather than int.
69796         (Scanning All Users): Likewise for getpwent_r.
69797         (Setting Groups): Add missing const to setgroups prototype.
69798         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69799         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69800         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69801         'const void *' rather than 'const char *'.
69802         (Host Address Functions): Likewise for inet_ntop.
69803         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69804         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69805         ssize_t for return value.
69806         (Sending Data): Likewise for send, sendto, sendmsg.
69807         (Socket Option Functions): Add a missing const in setsockopt prototype.
69808         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69809         use wchar_t for the argument.
69810         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69811         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69812         take no arguments.
69813         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69814         double/float/long double for second argument.
69815         Fix return types of significand, significandf, significandl.
69816         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69817         argument in fchmod prototype.
69818         (File Owner): Use uid_t and gid_t in fchown prototype.
69819         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69820         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69821         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69822         use 'const struct dirent **' as argument types to CMP function pointer
69823         argument.
69824         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69825         (File Times): Fix summary magic @comment for struct utimbuf and utime
69826         to refer to utime.h, not time.h.
69827         * manual/string.texi (Argz Functions): Add missing const in
69828         argz_extract and argz_next prototypes.
69829         (Finding Tokens in a String): Likewise for basename.
69830         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69831         (Copying and Concatenation): Fix typo in wmemmove prototype.
69832         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69833         (Signal Stack): Remove erroneous const in sigstack prototype.
69834         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69835         prototype.
69836         (Simple Calendar Time): Likewise for stime.
69837         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69838         prototype.
69839         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69840         say sys/sysctl.h instead.
69841         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69842         and vsyslog prototypes.
69844 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69846         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69847         Remove.
69849 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69851         * misc/sys/mman.h: Fix typo in mremap comment.
69853 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69855         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69856         the '\0' terminator.
69858 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69860         [BZ #13550]
69861         * debug/segfault.c: Don't include <bp-checks.h>.
69862         * sysdeps/generic/bp-checks.h: Remove file.
69863         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69864         (__GETDENTS): Don't use CHECK_N.
69865         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69866         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69867         (__getgroups): Don't use CHECK_N.
69868         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69869         (setgroups): Don't use CHECK_N.
69870         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69871         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69872         (__libc_msgrcv): Don't use CHECK_N.
69873         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69874         (__libc_msgsnd): Don't use CHECK_N.
69875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69876         <bp-checks.h>.
69877         (__libc_pread): Don't use CHECK_N.
69878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69879         include <bp-checks.h>.
69880         (__libc_pread64): Don't use CHECK_N.
69881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69882         include <bp-checks.h>.
69883         (__libc_pwrite): Don't use CHECK_N.
69884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69885         include <bp-checks.h>.
69886         (__libc_pwrite64): Don't use CHECK_N.
69887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69888         <bp-checks.h>.
69889         (__libc_pread): Don't use CHECK_N.
69890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69891         include <bp-checks.h>.
69892         (__libc_pread64): Don't use CHECK_N.
69893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69894         include <bp-checks.h>.
69895         (__libc_pwrite): Don't use CHECK_N.
69896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69897         include <bp-checks.h>.
69898         (__libc_pwrite64): Don't use CHECK_N.
69899         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69900         (do_pread): Don't use CHECK_N.
69901         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69902         (do_pread64): Don't use CHECK_N.
69903         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69904         (do_pwrite): Don't use CHECK_N.
69905         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69906         (do_pwrite64): Don't use CHECK_N.
69907         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69908         (__libc_readv): Don't use CHECK_N.
69909         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69910         (semop): Don't use CHECK_N.
69911         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69912         <bp-checks.h>.
69913         (semtimedop): Don't use CHECK_N.
69914         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69915         (__libc_pread): Don't use CHECK_N.
69916         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69917         <bp-checks.h>.
69918         (__libc_pread64): Don't use CHECK_N.
69919         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69920         <bp-checks.h>.
69921         (__libc_pwrite): Don't use CHECK_N.
69922         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69923         <bp-checks.h>.
69924         (__libc_pwrite64): Don't use CHECK_N.
69925         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69926         <bp-checks.h>.
69927         (__libc_msgrcv): Don't use CHECK_N.
69928         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69929         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69930         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69931         (__libc_writev): Don't use CHECK_N.
69933 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69935         * string/strcpy.c: Removed unused variable.
69937         * Makeconfig (+sysdep-includes): Define with := rather than =.
69938         Use an existing include/ subdir of each sysdeps dir before it.
69940 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69942         * nscd/connection.c (register_traced_file): Comment function.
69943         [HAVE_INOTIFY] (union __inev): Define.
69944         [HAVE_INOTIFY] (inotify_check_files): New function.
69945         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69946         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69947         clear_db_cache.
69948         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69950 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69952         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69953         loaded if not already and that a failure is permanent.
69955 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69957         [BZ #15006]
69958         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69959         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69961 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69963         [BZ #13550]
69964         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69965         (CHECK_1_NULL_OK): Likewise.
69966         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69967         (__fxstat): Do not use CHECK_1.
69968         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69969         <bp-checks.h>.
69970         (___fxstat64): Do not use CHECK_1.
69971         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69972         <bp-checks.h>.
69973         (__fxstatat): Do not use CHECK_1.
69974         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69975         <bp-checks.h>.
69976         (__fxstatat64): Do not use CHECK_1.
69977         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69978         <bp-checks.h>.
69979         (__fxstat): Do not use CHECK_1.
69980         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69981         <bp-checks.h>.
69982         (__fxstatat): Do not use CHECK_1.
69983         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69984         <bp-checks.h>.
69985         (__getresgid): Do not use CHECK_1.
69986         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69987         <bp-checks.h>.
69988         (__getresuid): Do not use CHECK_1.
69989         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69990         <bp-checks.h>.
69991         (__lxstat): Do not use CHECK_1.
69992         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69993         <bp-checks.h>.
69994         (__old_msgctl): Do not use CHECK_1.
69995         (__new_msgctl): Likewise.
69996         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69997         <bp-checks.h>.
69998         (__new_setrlimit): Do not use CHECK_1.
69999         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70000         <bp-checks.h>.
70001         (__old_shmctl): Do not use CHECK_1.
70002         (__new_shmctl): Likewise.
70003         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70004         <bp-checks.h>.
70005         (__xstat): Do not use CHECK_1.
70006         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70007         (__lxstat): Do not use CHECK_1.
70008         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70009         <bp-checks.h>.
70010         (___lxstat64): Do not use CHECK_1.
70011         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70012         (__old_msgctl): Do not use CHECK_1.
70013         (__new_msgctl): Likewise.
70014         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70015         <bp-checks.h>.
70016         (__gettimeofday): Do not use CHECK_1.
70017         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70018         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70019         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70020         <bp-checks.h>.
70021         (__gettimeofday): Do not use CHECK_1.
70022         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70023         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70024         (__new_shmctl): Do not use CHECK_1.
70025         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70026         <bp-checks.h>.
70027         (do_sigtimedwait): Do not use CHECK_1.
70028         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70029         <bp-checks.h>.
70030         (do_sigwaitinfo): Do not use CHECK_1.
70031         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70032         <bp-checks.h>.
70033         (msgctl): Do not use CHECK_1.
70034         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70035         <bp-checks.h>.
70036         (shmctl): Do not use CHECK_1.
70037         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70038         (ustat): Do not use CHECK_1.
70039         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70040         <bp-checks.h>.
70041         (__fxstat): Do not use CHECK_1.
70042         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70043         <bp-checks.h>.
70044         (__fxstatat): Do not use CHECK_1.
70045         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70046         <bp-checks.h>.
70047         (__lxstat): Do not use CHECK_1.
70048         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70049         <bp-checks.h>.
70050         (__xstat): Do not use CHECK_1.
70051         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70052         (__xstat): Do not use CHECK_1.
70053         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70054         (___xstat64): Do not use CHECK_1.
70056         [BZ #13550]
70057         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70058         definitions.
70059         (CHECK_BOUNDS_HIGH): Likewise.
70060         * string/strcpy.c: Do not include <bp-checks.h>.
70061         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70063 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70065         * nscd/nscd-client.h (__nscd_drop_map_ref):
70066         Add __attribute__ ((unused)).
70067         * nis/nss-nisplus.h (niserr2nss): Likewise.
70069         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70070         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70072         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70073         Remove inline keyword.
70074         * include/rounding-mode.h (round_away): Likewise.
70075         * libio/wfileops.c (adjust_wide_data): Likewise.
70076         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70077         (__m128i_strloadu_tolower): Likewise.
70078         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70079         (__m128i_strloadu_tolower): Likewise.
70080         * time/mktime.c (ydhms_diff): Likewise.
70081         * locale/elem-hash.h (elem_hash): Likewise.
70082         * locale/setlocale.c (setdata): Likewise.
70083         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70084         (re_string_wchar_at): Likewise.
70085         (bitset_not, bitset_merge, bitset_mask): Likewise.
70086         [!(__GNUC__ > 3)] (inline): Remove macro.
70087         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70088         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70089         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70090         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70091         * string/memcmp.c (memcmp_bytes): Likewise.
70092         * locale/programs/locarchive.c (compute_hashval): Likewise.
70093         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70094         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70095         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70096         * nss/getent.c (print_rpc, print_protocols): Likewise.
70097         (print_passwd, print_group, print_aliases): Likewise.
70098         * nis/nss-nisplus.h (niserr2nss): Likewise.
70099         * nscd/connections.c (restart_p): Likewise.
70100         Change return type to bool.
70102 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70104         * Makeconfig (all-Depend-files): Add existing
70105         $(sorted-subdirs:=/Depend) files.
70106         (all-subdirs): Remove nss.
70107         * sysdeps/unix/inet/Subdirs: Add it here instead.
70108         * hesiod/Depend: New file.
70110         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70111         instead of calling alloca.
70113         * io/lseek.c (__lseek): Rename to __libc_lseek.
70114         Define __lseek as an alias.
70116         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70118 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70120         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70121         else clause and remove check for non-standard endianness.
70123 2013-02-04  David S. Miller  <davem@davemloft.net>
70125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70127 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70129         [BZ #13550]
70130         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70131         (__ubp_memchr): Remove prototype.
70132         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70133         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70134         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70135         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70136         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70137         Remove alias.
70138         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70139         (__ubp_memchr): Likewise.
70140         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70141         (__ubp_memchr): Likewise.
70142         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70143         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70144         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70145         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70146         CHECK_STRING.
70147         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70148         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70149         (__getcwd): Do not use CHECK_STRING.
70150         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70151         <bp-checks.h>.
70152         (__real_chown): Do not use CHECK_STRING.
70153         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70154         <bp-checks.h>.
70155         (fchownat): Do not use CHECK_STRING.
70156         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70157         CHECK_STRING.
70158         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70159         <bp-checks.h>.
70160         (__lchown): Do not use CHECK_STRING.
70161         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70162         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70163         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70164         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70166         include <bp-checks.h>.
70167         (truncate64): Do not use CHECK_STRING.
70168         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70169         <bp-checks.h>.
70170         (__real_chown): Do not use CHECK_STRING.
70171         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70172         <bp-checks.h>.
70173         (__lchown): Do not use CHECK_STRING.
70174         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70175         <bp-checks.h>.
70176         (__chown): Do not use CHECK_STRING.
70177         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70178         <bp-checks.h>.
70179         (truncate64): Do not use CHECK_STRING.
70180         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70181         Likewise.
70182         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70183         (__xmknod): Do not use CHECK_STRING.
70184         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70185         <bp-checks.h>.
70186         (__xmknodat): Do not use CHECK_STRING.
70187         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70188         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70190 2013-02-04  Andreas Schwab  <schwab@suse.de>
70192         [BZ #14142]
70193         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70194         * include/netdb.h: Likewise for h_errno.
70195         * elf/tst-stackguard1.c: Include <tls.h>.
70197 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70199         * elf/link.h (struct link_map): Extend the l_addr comment.
70200         * include/link.h (struct link_map): Likewise.
70202 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70204         [BZ #13550]
70205         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70206         (BOUNDED_1): Remove macro.
70207         * debug/backtrace.c: Don't include <bp-checks.h>.
70208         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70209         (__backtrace): Likewise.
70210         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70211         <bp-checks.h>.
70212         (__backtrace): Don't use BOUNDED_1.
70213         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70214         <bp-checks.h>.
70215         (__backtrace): Don't use BOUNDED_1.
70216         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70217         (__backtrace): Don't use BOUNDED_1.
70218         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70219         (shmat): Don't use BOUNDED_N.
70221 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70223         [BZ #13550]
70224         * sysdeps/generic/bp-start.h: Remove file.
70225         * csu/libc-start.c: Don't include <bp-start.h>.
70226         (LIBC_START_MAIN): Set up __environ directly instead of using
70227         INIT_ARGV_and_ENVIRON.
70228         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70229         <bp-start.h>.
70231         [BZ #13550]
70232         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70233         definitions.
70234         (CHECK_FCNTL): Likewise.
70235         (CHECK_N_PAGES): Likewise.
70237         [BZ #13550]
70238         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70239         definitions.
70240         (CHECK_SIGSET_NULL_OK): Likewise.
70241         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70242         <bp-checks.h>.
70243         (sigpending): Don't use CHECK_SIGSET.
70244         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70245         <bp-checks.h>.
70246         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70247         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70248         <bp-checks.h>.
70249         (do_sigsuspend): Don't use CHECK_SIGSET.
70250         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70251         use CHECK_SIGSET.
70252         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70253         (do_sigwait): Don't use CHECK_SIGSET.
70254         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70255         use CHECK_SIGSET.
70256         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70257         include <bp-checks.h>.
70258         (sigpending): Don't use CHECK_SIGSET.
70259         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70260         include <bp-checks.h>.
70261         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70262         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70263         <bp-checks.h>.
70264         (sigpending): Don't use CHECK_SIGSET.
70265         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70266         <bp-checks.h>.
70267         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70269         [BZ #13550]
70270         * sysdeps/generic/bp-semctl.h: Remove file.
70271         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70272         <bp-checks.h> and <bp-semctl.h>.
70273         (__old_semctl): Don't use CHECK_SEMCTL.
70274         (__new_semctl): Likewise.
70275         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70276         and <bp-semctl.h>.
70277         (__old_semctl): Don't use CHECK_SEMCTL.
70278         (__new_semctl): Likewise.
70279         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70280         <bp-checks.h> and <bp-semctl.h>.
70281         (__old_semctl): Don't use CHECK_SEMCTL.
70282         (__new_semctl): Likewise.
70283         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70284         <bp-checks.h> and <bp-semctl.h>.
70285         (semctl): Don't use CHECK_SEMCTL.
70287         [BZ #13550]
70288         * Makerules (elide-bp-thunks): Remove variable.
70289         (elide-routines.oS): Don't use $(elide-bp-thunks).
70290         (elide-routines.os): Likewise.
70291         (elide-routines.o): Likewise.
70292         (elide-routines.op): Likewise.
70293         (elide-routines.og): Likewise.
70294         (objects): Don't use $(bp-thunks).
70295         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70296         include.
70297         (common-generated): Do not add s-proto-bp.d.
70298         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70299         (int): Likewise.
70300         (typ): Likewise.
70301         Do not generate makefile rules for bounded-pointer thunks.
70302         * sysdeps/generic/bp-thunks.h: Remove file.
70303         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70304         * sysdeps/unix/s-proto-bp.S: Likewise.
70306         [BZ #15062]
70307         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70308         parts of result separately when argument is not close to line from
70309         -i to i and one part of argument is small.
70310         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70311         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70312         * math/libm-test.inc (cacos_test): Add more tests.
70313         (casin_test): Likewise.
70314         (casinh_test): Likewise.
70315         * sysdeps/i386/fpu/libm-test-ulps: Update.
70316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70318 2013-01-31  David S. Miller  <davem@davemloft.net>
70320         * po/de.po: Update from translation team.
70322 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70324         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70326 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70328         * configure.in (_AC_PROG_CC_C89): New definition.
70329         * configure: Regenerate.
70331         * configure.in (AC_PROG_CPP): New definition.
70332         * configure: Regenerate.
70334 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70336         * debug/tst-backtrace.h: New file.
70337         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70338         (ret): Remove variable.
70339         (x): Likewise.
70340         (FAIL): Remove macro.
70341         (NO_INLINE): Likewise.
70342         (fn1): Use match function instead of strstr.
70343         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70344         (ret): Remove variable.
70345         (x): Likewise.
70346         (FAIL): Remove macro.
70347         (NO_INLINE): Likewise.
70348         (fn): Use match function instead of strstr.
70349         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70350         (ret): Remove variable.
70351         (x): Likewise.
70352         (FAIL): Remove macro.
70353         (NO_INLINE): Likewise.
70354         (handle_signal): Use match function instead of strstr.
70355         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70356         (ret): Remove variable.
70357         (x): Likewise.
70358         (FAIL): Remove macro.
70359         (NO_INLINE): Likewise.
70360         (handle_signal): Use match function instead of strstr.
70362 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70364         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70366 2013-01-23  David S. Miller  <davem@davemloft.net>
70368         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70369         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70370         argument of CAS if possible.
70371         * sysdeps/sparc/sparc64/bits/atomic.h
70372         (__arch_compare_and_exchange_val_32_acq): Likewise.
70373         (__arch_compare_and_exchange_val_64_acq): Likewise.
70375 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70377         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70378         * sysdeps/posix/ulimit.c: ... this.
70379         Include <limits.h>.
70380         * sysdeps/unix/bsd/ulimit.c: Remove file.
70382 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70384         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70385         (LDFLAGS-tst-array5): Likewise.
70387 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70389         [BZ #15036]
70390         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70391         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70392         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70393         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70395 2013-01-21  David S. Miller  <davem@davemloft.net>
70397         * sysdeps/sparc/backtrace.c: New file.
70398         * sysdeps/sparc/sparc32/backtrace.h: New file.
70399         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70400         * sysdeps/sparc/sparc64/backtrace.h: New file.
70401         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70402         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70403         -funwind-tables.
70405 2013-01-21  Andreas Schwab  <schwab@suse.de>
70407         [BZ #15020]
70408         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70409         closed its stdout.
70411 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70414         "mpa2.h".
70415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70417 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70418             Mark Mitchell  <mark@codesourcery.com>
70419             Tom de Vries  <tom@codesourcery.com>
70420             Paul Pluzhnikov  <ppluzhnikov@google.com>
70422         * debug/tst-backtrace2.c: New file.
70423         * debug/tst-backtrace3.c: Likewise.
70424         * debug/tst-backtrace4.c: Likewise.
70425         * debug/tst-backtrace5.c: Likewise.
70426         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70427         (CFLAGS-tst-backtrace3.c): Likewise.
70428         (CFLAGS-tst-backtrace4.c): Likewise.
70429         (CFLAGS-tst-backtrace5.c): Likewise.
70430         (LDFLAGS-tst-backtrace2): Likewise.
70431         (LDFLAGS-tst-backtrace3): Likewise.
70432         (LDFLAGS-tst-backtrace4): Likewise.
70433         (LDFLAGS-tst-backtrace5): Likewise.
70434         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70435         tst-backtrace4 and tst-backtrace5.
70437 2013-01-18  Anton Blanchard  <anton@samba.org>
70438             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70440         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70441         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70442         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70443         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70445         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70446         "+r" and remove output regs list as redundant.  Add explicit inline
70447         asm to specify register of return val to work around compiler codegen
70448         bug.  Remove (int) cast on return value.  Add return type parameter to
70449         use in macro so that this macro does not truncate return value for
70450         64-bit values.
70451         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70452         pass to INTERNAL_VSYSCALL_NCS.
70453         (INLINE_VSYSCALL): Add 'long int' as return type to
70454         INTERNAL_VSYSCALL_NCS macro invocation.
70455         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70456         INTERNAL_VSYSCALL_NCS macro invocation.
70457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70459 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70461         [BZ #14496]
70462         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70463         Fix application of SIMD FP exception mask.
70465         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70466         mp_no from a power of two.
70467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70468         __mpexp_twomm1.  Use __pow_mp.
70470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70471         multiplication.
70473 2013-01-17  David S. Miller  <davem@davemloft.net>
70475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70477 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70479         [BZ #15023]
70480         * include/complex.h: Condition contents on [!_COMPLEX_H].
70481         (__kernel_casinhf): New prototype.
70482         (__kernel_casinh): Likewise.
70483         (__kernel_casinhl): Likewise.
70484         * math/Makefile (libm_calls): Add k_casinh.
70485         * math/k_casinh.c: New file.
70486         * math/k_casinhf.c: Likewise.
70487         * math/k_casinhl.c: Likewise.
70488         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70489         finite nonzero arguments.
70490         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70491         finite nonzero arguments.
70492         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70493         finite nonzero arguments.
70494         * math/s_casinh.c: Do not include <float.h>.
70495         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70496         * math/s_casinhf.c: Do not include <float.h>.
70497         (__casinhf): Move code for finite nonzero arguments to
70498         k_casinhf.c.
70499         * math/s_casinhl.c: Do not include <float.h>.
70500         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70501         redefine.
70502         (__casinhl): Move code for finite nonzero arguments to
70503         k_casinhl.c.
70504         * math/libm-test.inc (cacos_test): Add more tests.
70505         * sysdeps/i386/fpu/libm-test-ulps: Update.
70506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70508 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70510         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70511         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70512         [!HAVE_MREMAP]: Remove [defined linux] case.
70513         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70515 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70517         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70519 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70521         * elf/elf.h (R_386_SIZE32): New relocation.
70522         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70523         R_386_SIZE32.
70524         (elf_machine_rela): Likewise.
70525         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70526         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70528 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70530         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70531         (FP_FAST_FMA): Do not define.
70532         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70533         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70534         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70535         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70536         !_SOFT_FLOAT]: Likewise.
70537         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70538         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70539         value.
70540         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70541         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70542         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70543         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70544         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70545         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70546         file.
70548 2013-01-16  Andreas Schwab  <schwab@suse.de>
70550         [BZ #14327]
70551         * include/stdlib.h (__mktemp): Add declaration.
70552         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70553         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70555 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70557         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70558         definitions.
70559         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70560         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70561         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70562         definitions here.
70563         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70564         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70565         definitions.
70566         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70567         and ONE.
70568         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70569         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70570         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70571         definitions.
70572         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70573         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70574         definitions.
70575         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70577         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70579 2013-01-15  David S. Miller  <davem@davemloft.net>
70581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70582         trunc{,f} to libm-sysdep_routes.
70583         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70585         file.
70586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70588         file.
70589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70590         file.
70591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70593         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70594         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70595         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70596         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70597         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70598         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70601         nearbyint{,f} to libm-sysdep_routes.
70602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70604         New file.
70605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70606         file.
70607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70608         New file.
70609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70610         file.
70611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70613         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70614         file.
70615         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70616         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70617         file.
70618         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70619         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70620         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70622         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70623         libc_feholdexcept and libc_fesetenv.
70625 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70627         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70629 2013-01-14  David S. Miller  <davem@davemloft.net>
70631         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70632         (SPARC_ASM_VIS2_IFUNC): Likewise.
70633         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70635         use of 'siam' instruction.
70636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70637         Likewise.
70638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70639         Likewise.
70640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70641         Likewise.
70642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70643         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70647         file.
70648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70649         file.
70650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70651         file.
70652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70653         file.
70654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70659         new VIS2 routines.
70660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70663         Likewise.
70664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70669         routines to libm-sysdep_routines.
70670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70673         fdim/fdimf to libm-sysdep_routines.
70674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70675         file.
70676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70678         file.
70679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70682         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70683         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70684         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70685         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70687 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70689         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70690         to optimize copies.
70692         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70697         local variable MPTWO.
70698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70699         Likewise.
70701 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70703         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70704         GLOB_NOESCAPE.
70706 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70708         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70710 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70712         * manual/pattern.texi (glob_t): Document gl_flags.
70713         (glob64_t): Likewise.
70715 2013-01-11  David S. Miller  <davem@davemloft.net>
70717         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70718         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70719         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70720         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70721         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70722         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70723         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70724         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70725         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70726         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70727         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70728         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70729         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70731         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70732         sparc V9 rather than using V8 code.
70733         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70734         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70736         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70737         Move to...
70738         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70739         Here.
70741 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70743         [BZ #14941]
70744         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70745         not in the main loop.
70746         * configure: Regenerated.
70748 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70750         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70751         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70752         to just #else.
70753         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70754         [!__GLIBC_HAVE_LONG_LONG] case.
70755         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70756         condition to just #else.
70757         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70758         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70759         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70760         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70761         unconditional.
70762         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70763         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70764         #elif condition to just #else.
70765         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70766         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70767         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70768         #elif condition to just #else.
70770 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70772         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70773         (EF_MIPS_ARCH_64): Fix value.
70774         (EF_MIPS_ARCH_32R2): New.
70775         (EF_MIPS_ARCH_64R2): New.
70777 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70779         * Makeconfig (+link-pie-before-libc): New.
70780         (+link-pie-after-libc): Likewise.
70781         (+link-pie-tests): Likewise.
70782         (+link-pie): Rewritten.
70783         (link-before-libc): Remove $(config-LDFLAGS).
70784         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70785         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70786         (config-LDFLAGS): Renamed to ...
70787         (rtld-LDFLAGS): This.
70788         (rtld-tests-LDFLAGS): New macro.
70789         (link-libc-rpath-link): Likewise.
70790         (link-libc-tests-rpath-link): Likewise.
70791         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70792         (link-libc): Prepand $(link-libc-rpath-link).
70793         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70794         (test-program-prefix): New macro.
70795         (test-via-rtld-prefix): Likewise.
70796         (test-program-cmd): Likewise.
70797         (host-test-program-cmd): Likewise.
70798         * Makefile ($(common-objpfx)testrun.sh): Replace
70799         $(run-program-prefix) with $(test-program-prefix).
70800         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70801         $(rtld-LDFLAGS).
70802         ($(common-objpfx)shlib.lds): Likewise.
70803         (build-module-helper): Likewise.
70804         ($(common-objpfx)format.lds): Likewise.
70805         * Rules (binaries-pie-tests): New.
70806         (binaries-pie-notests): Likewise.
70807         (binaries-pie): Rewritten.
70808         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70809         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70810         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70811         (make-test-out): Replace $(host-built-program-cmd) with
70812         $(host-test-program-cmd).
70813         * config.make.in (build-hardcoded-path-in-tests): New variable.
70814         * configure.in (--enable-hardcoded-path-in-tests): New configure
70815         option.
70816         (hardcoded_path_in_tests): New AC_SUBST.
70817         * configure: Regenerated.
70818         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70819         $(built-program-cmd) with $(test-program-cmd).
70820         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70821         (test_program_cmd): This.
70822         * elf/Makefile ($(objpfx)order.out): Run test with
70823         $(test-program-prefix).
70824         ($(objpfx)order2.out): Likewise.
70825         ($(objpfx)tst-initorder.out): Likewise.
70826         ($(objpfx)tst-initorder2.out): Likewise.
70827         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70828         $(test-program-cmd).
70829         ($(objpfx)tst-array1-static.out): Likewise.
70830         ($(objpfx)tst-array2.out): Likewise.
70831         ($(objpfx)tst-array3.out): Likewise.
70832         ($(objpfx)tst-array4.out): Likewise.
70833         ($(objpfx)tst-array5.out): Likewise.
70834         ($(objpfx)tst-array5-static.out): Likewise.
70835         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70836         $(test-program-cmd).
70837         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70838         $(run-program-prefix) with $(test-program-prefix).
70839         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70840         (test_program_prefix): This.
70841         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70842         $(run-program-prefix) with $(test-program-prefix).
70843         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70844         (test_program_prefix): This.
70845         * iconvdata/tst-tables.sh: Likewise.
70846         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70847         $(run-program-prefix) with $(test-program-prefix).
70848         ($(objpfx)tst-translit.out): Likewise.
70849         ($(objpfx)tst-gettext2.out): Likewise.
70850         ($(objpfx)tst-gettext4.out): Likewise.
70851         ($(objpfx)tst-gettext6.out): Likewise.
70852         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70853         (test_program_prefix): This.
70854         * intl/tst-gettext2.sh: Likewise.
70855         * intl/tst-gettext4.sh  Likewise.
70856         * intl/tst-gettext6.sh: Likewise.
70857         * intl/tst-translit.sh: Likewise.
70858         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70859         with $(test-program-cmd).
70860         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70861         $(run-program-prefix) with $(test-program-prefix).
70862         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70863         (test_program_prefix): This.
70864         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70865         $(run-program-prefix) with $(test-program-prefix).
70866         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70867         (test_program_prefix): This.
70868         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70869         * posix/Makefile ($(objpfx)globtest.out): Replace
70870         $(run-via-rtld-prefix) and $(test-wrapper) with
70871         $(test-program-prefix) and $(test-via-rtld-prefix).
70872         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70873         $(test-program-prefix).
70874         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70875         $(host-test-program-cmd).
70876         (tst-spawn-ARGS): Likewise.
70877         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70878         $(test-program-prefix).
70879         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70880         (test_via_rtld_prefix): This.
70881         (test_wrapper): Renamed to ...
70882         (test_program_prefix): This.
70883         (run_program_prefix): Replaced by test_program_prefix.
70884         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70885         (test_program_prefix): This.
70886         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70887         with $(host-test-program-cmd).
70888         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70889         $(run-program-prefix) with $(test-program-prefix).
70890         ($(objpfx)tst-printf.out): Likewise.
70891         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70892         $(test-program-cmd).
70893         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70894         (test_program_prefix): This.
70895         * stdio-common/tst-unbputc.sh: Likewise.
70896         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70897         $(run-program-prefix) with $(test-program-prefix).
70898         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70899         (test_program_prefix): This.
70900         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70901         $(built-program-cmd) with $(test-program-cmd).
70903 2013-01-11  Andreas Jaeger  <aj@suse.de>
70905         [BZ #15003]
70906         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70907         value. Sync with Linux 3.7.
70909 2013-01-10  David S. Miller  <davem@davemloft.net>
70911         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70912         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70913         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70915 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70917         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70918         never set.
70919         * configure: Regenerated.
70921 2013-01-10  David S. Miller  <davem@davemloft.net>
70923         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70924         sparc V9 rather than using V8 code.
70925         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70926         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70928 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70930         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70931         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70932         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70933         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70934         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70935         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70936         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70937         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70938         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70939         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70940         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70941         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70942         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70943         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70944         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70945         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70946         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70947         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70948         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70949         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70950         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70951         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70952         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70953         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70954         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70955         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70956         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70958 2013-01-10  David S. Miller  <davem@davemloft.net>
70960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70962 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70964         * posix/Makefile (tests-static): New variable.
70965         (tests): Add $(tests-static).
70966         (tst-exec-static-ARGS): New variable.
70967         (tst-spawn-static-ARGS): Likewise.
70968         * posix/tst-exec-static.c: New file.
70969         * posix/tst-spawn-static.c: Likewise.
70970         * posix/tst-exec.c: Support run directly.
70971         * posix/tst-spawn.c: Likewise.
70973 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70975         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70976         long.
70977         * math/bits/mathcalls.h (llrint): Likewise.
70978         (llround): Likewise.
70979         * stdlib/stdlib.h (struct drand48_data): Likewise.
70980         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70981         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70982         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70983         Likewise.
70984         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70985         Likewise.
70986         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70987         (elf_greg_t): Likewise.
70988         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70989         (__jmp_buf): Likewise.
70990         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70991         definitions.
70992         (llrint): Likewise, for all definitions.
70993         (llrintl): Likewise.
70995         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70996         Remove [__GNUC__] condition.
70997         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70998         condition to just [__USE_ISOC99].
70999         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71001 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71003         [BZ #14200]
71004         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71005         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71006         defined.
71007         (_POSIX_V6_ILP32_OFF32): Likewise.
71008         (_XBS5_ILP32_OFF32): Likewise.
71009         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71010         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71012 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71014         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71017         doubles __mpexp_twomm1.  Adjust usage.
71018         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71019         Remove.
71021 2013-01-10  Andreas Schwab  <schwab@suse.de>
71023         [BZ #14964]
71024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71025         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71027 2013-01-09  David S. Miller  <davem@davemloft.net>
71029         [BZ #15003]
71030         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71031         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71032         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71033         (TCP_FASTOPEN): Define.
71034         (tcp_repair_opt): New structure.
71035         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71036         enum values.
71037         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71038         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71039         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71040         (tcp_cookie_transactions): New structure.
71042 2013-01-09  Anton Blanchard  <anton@samba.org>
71044         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71045         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71047         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71049 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71051         * include/features.h (__USE_ANSI): Remove.
71053 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71055         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71057         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71059 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71061         * sysdeps/s390/fpu/libm-test-ulps: Update.
71063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71065         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71066         (__acr): Likewise.
71067         (__cpy): Likewise.
71068         (norm): Likewise.
71069         (denorm): Likewise.
71070         (__mp_dbl): Likewise.
71071         (__dbl_mp): Likewise.
71072         (add_magnitudes): Likewise.
71073         (sub_magnitudes): Likewise.
71074         (__add): Likewise.
71075         (__sub): Likewise.
71076         (__mul): Likewise.
71077         (__inv): Likewise.
71078         (__dvd): Likewise.
71079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71080         (__acr): Likewise.
71081         (__cpy): Likewise.
71082         (norm): Likewise.
71083         (denorm): Likewise.
71084         (__mp_dbl): Likewise.
71085         (__dbl_mp): Likewise.
71086         (add_magnitudes): Likewise.
71087         (sub_magnitudes): Likewise.
71088         (__add): Likewise.
71089         (__sub): Likewise.
71090         (__mul): Likewise.
71091         (__inv): Likewise.
71092         (__dvd): Likewise.
71093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71094         (__acr): Likewise.
71095         (__cpy): Likewise.
71096         (norm): Likewise.
71097         (denorm): Likewise.
71098         (__mp_dbl): Likewise.
71099         (__dbl_mp): Likewise.
71100         (add_magnitudes): Likewise.
71101         (sub_magnitudes): Likewise.
71102         (__add): Likewise.
71103         (__sub): Likewise.
71104         (__mul): Likewise.
71105         (__inv): Likewise.
71106         (__dvd): Likewise.
71108 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71110         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71111         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71112         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71113         2 && __USE_EXTERN_INLINES]: Likewise.
71115 2013-01-08  Andreas Jaeger  <aj@suse.de>
71117         [BZ #14985]
71118         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71119         Remove.
71120         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71121         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71123 2013-01-07  Anton Blanchard  <anton@samba.org>
71125         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71126         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71127         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71128         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71129         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71130         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71131         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71132         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71134         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71135         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71136         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71137         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71138         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71139         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71140         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71141         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71142         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71143         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71144         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71145         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71146         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71147         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71148         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71149         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71150         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71151         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71152         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71153         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71154         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71155         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71157         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71158         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71159         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71160         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71161         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71162         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71163         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71164         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71165         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71166         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71167         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71169 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71171         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71172         (__MALLOC_PMT): Likewise.
71173         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71174         [__GNUC__], only on [_LIBC].
71175         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71176         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71177         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71178         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71179         forward declaration.
71180         (realloc_hook_ini): Likewise.
71181         (memalign_hook_ini): Likewise.
71182         (__libc_memalign): Do not use __MALLOC_PMT in variable
71183         declaration.
71184         (__libc_valloc): Likewise.
71185         (__libc_pvalloc): Likewise.
71186         (__libc_calloc): Likewise.
71187         (__posix_memalign): Likewise.
71189         [BZ #14996]
71190         * math/s_casinh.c: Include <float.h>.
71191         (__casinh): Do not do computation with squaring and square root
71192         for large arguments.
71193         * math/s_casinhf.c: Include <float.h>.
71194         (__casinhf): Do not do computation with squaring and square root
71195         for large arguments.
71196         * math/s_casinhl.c: Include <float.h>.
71197         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71198         (__casinhl): Do not do computation with squaring and square root
71199         for large arguments.
71200         * math/libm-test.inc (casin_test): Add more tests.
71201         (casinh_test): Likewise.
71202         * sysdeps/i386/fpu/libm-test-ulps: Update.
71203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71205 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71207         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71208         (__x86_64_raw_data_cache_size): Likewise.
71209         (__x86_64_data_cache_size_half): Likewise.
71210         (__x86_64_raw_data_cache_size_half): Likewise.
71211         (__x86_64_shared_cache_size): Likewise.
71212         (__x86_64_raw_shared_cache_size): Likewise.
71213         (__x86_64_shared_cache_size_half): Likewise.
71214         (__x86_64_raw_shared_cache_size_half): Likewise.
71215         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71216         to ...
71217         (__x86_data_cache_size): This.
71218         (__x86_64_raw_data_cache_size): Renamed to ...
71219         (__x86_raw_data_cache_size): This.
71220         (__x86_64_data_cache_size_half): Renamed to ...
71221         (__x86_data_cache_size_half): This.
71222         (__x86_64_raw_data_cache_size_half): Renamed to ...
71223         (__x86_raw_data_cache_size_half): This.
71224         (__x86_64_shared_cache_size): Renamed to ...
71225         (__x86_shared_cache_size): This.
71226         (__x86_64_raw_shared_cache_size): Renamed to ...
71227         (__x86_raw_shared_cache_size): This.
71228         (__x86_64_shared_cache_size_half): Renamed to ...
71229         (__x86_shared_cache_size_half): This.
71230         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71231         (__x86_raw_shared_cache_size_half): This.
71232         * sysdeps/x86_64/memcpy.S: Updated.
71233         * sysdeps/x86_64/memset.S: Likewise.
71234         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71235         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71236         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71238 2013-01-04  David S. Miller  <davem@davemloft.net>
71240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71242 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71244         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71245         1 to avoid redefinition warning.
71246         (__USE_GNU): Don't define.
71247         (init_signaling_nan): Protoize.
71249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71251 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71253         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71255         (__cpymn): Likewise.
71256         (norm): Remove commented code.
71257         (denorm): Likewise.
71258         (__mp_dbl): Likewise.
71259         (__inv): Likewise.
71260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71261         (__cpymn): Likewise.
71262         (norm): Remove commented code.
71263         (denorm): Likewise.
71264         (__mp_dbl): Likewise.
71265         (__inv): Likewise.
71267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71268         mp_no value for 1.0 and 2.0.
71269         (norm): Use RADIXI instead of radixi.d.
71270         (denorm): Likewise.
71271         (__mul): Use 0.0 instead of zero.d.
71272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71273         mp_no value for 1.0 and 2.0.
71274         (norm): Use RADIXI instead of radixi.d.
71275         (denorm): Likewise.
71276         (__mul): Use 0.0 instead of zero.d.
71278 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71280         [BZ #14994]
71281         * math/s_casinh.c (__casinh): Reduce finite argument to first
71282         quadrant then set signs of results at the end.
71283         * math/s_casinhf.c (__casinhf): Likewise.
71284         * math/s_casinhl.c (__casinhl): Likewise.
71285         * math/libm-test.inc (casin_test): Add more tests.
71286         (casinh_test): Likewise.
71287         * sysdeps/i386/fpu/libm-test-ulps: Update.
71288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71290 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71292         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71294         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71296         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71297         declarations.
71298         (denorm): Likewise.
71299         (__mp_dbl): Likewise.
71300         (__inv): Likewise.
71302         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71303         and adjust the header comment.
71305         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71306         variable name from declaration.
71308 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71311         Initialize COMMON_CPUID_INDEX_7 element.
71312         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71313         (CPUID_RTM): Likewise.
71314         (HAS_RTM): Likewise.
71315         (COMMON_CPUID_INDEX_7): New enum.
71317 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71319         [BZ #14981]
71320         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71321         size is zero, record memory as freed.
71323 2013-01-03  Andreas Jaeger  <aj@suse.de>
71325         * po/ia.po: Add new Interlingua translation.
71327 2012-01-03  Allan McRae  <allan@archlinux.org>
71329         * locale/programs/localedef.c: Fix description of '--posix' flag.
71331 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71333         * NEWS: Update dates in second copyright notice.
71334         * README: Update copyright dates in example.
71335         * manual/libc.texinfo: Update copyright dates.
71336         * scripts/test-installation.pl: Update copyright date in --version
71337         output.
71339         * hurd/ctty-input.c: Fix copyright notice formatting.
71340         * hurd/ctty-output.c: Likewise.
71341         * hurd/dtable.c: Likewise.
71342         * hurd/hurd-raise.c: Likewise.
71343         * hurd/hurdprio.c: Likewise.
71344         * hurd/msgportdemux.c: Likewise.
71345         * misc/sys/file.h: Likewise.
71346         * misc/sys/ioctl.h: Likewise.
71347         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71348         * sysdeps/mach/hurd/chdir.c: Likewise.
71349         * sysdeps/mach/hurd/fchdir.c: Likewise.
71350         * sysdeps/mach/hurd/rename.c: Likewise.
71351         * sysdeps/mach/hurd/rmdir.c: Likewise.
71352         * sysdeps/mach/hurd/seekdir.c: Likewise.
71353         * sysdeps/mach/hurd/setsid.c: Likewise.
71354         * sysdeps/posix/wait3.c: Likewise.
71356         * All files with FSF copyright notices: Update copyright dates
71357         using scripts/update-copyrights.
71358         * intl/plural.c: Regenerated.
71359         * locale/programs/charmap-kw.h: Likewise.
71360         * locale/programs/locfile-kw.h: Likewise.
71362 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71364         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71365         four values.
71367         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71368         calculation loop and add branch prediction.
71370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71371         check access beyond bounds of m1np.
71373         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71374         MPTWO.
71375         (__inv): Remove local variable MPTWO to use the global
71376         constant.
71377         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71378         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71379         variable MPTWO.
71380         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71381         MP3HALFS static const.
71383 2013-01-01  David S. Miller  <davem@davemloft.net>
71385         * po/ca.po: Update from translation team.
71387 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71389         * scripts/update-copyrights: New file.
71390         * Makeconfig: Reformat copyright notice.
71391         * ctype/ctype.h: Likewise.
71392         * debug/swprintf_chk.c: Likewise.
71393         * elf/dl-cache.c: Likewise.
71394         * elf/dl-debug.c: Likewise.
71395         * elf/dl-object.c: Likewise.
71396         * grp/initgroups.c: Likewise.
71397         * hurd/Makefile: Likewise.
71398         * hurd/hurd/signal.h: Likewise.
71399         * hurd/hurdfault.c: Likewise.
71400         * hurd/hurdioctl.c: Likewise.
71401         * hurd/hurdlookup.c: Likewise.
71402         * hurd/intr-msg.c: Likewise.
71403         * iconv/gconv_open.c: Likewise.
71404         * libio/swprintf.c: Likewise.
71405         * locale/lc-ctype.c: Likewise.
71406         * locale/nl_langinfo.c: Likewise.
71407         * mach/Machrules: Likewise.
71408         * mach/Makefile: Likewise.
71409         * malloc/obstack.h: Likewise.
71410         * manual/Makefile: Likewise.
71411         * manual/tsort.awk: Likewise.
71412         * misc/bits/stab.def: Likewise.
71413         * nis/nis_print_group_entry.c: Likewise.
71414         * nis/nis_table.c: Likewise.
71415         * nis/nss_compat/compat-pwd.c: Likewise.
71416         * nis/nss_compat/compat-spwd.c: Likewise.
71417         * po/Makefile: Likewise.
71418         * posix/fnmatch.c: Likewise.
71419         * posix/regex.h: Likewise.
71420         * resolv/Makefile: Likewise.
71421         * resolv/nss_dns/dns-network.c: Likewise.
71422         * resolv/res_hconf.c: Likewise.
71423         * scripts/gen-sorted.awk: Likewise.
71424         * soft-fp/soft-fp.h: Likewise.
71425         * stdio-common/printf.h: Likewise.
71426         * stdlib/monetary.h: Likewise.
71427         * stdlib/random.c: Likewise.
71428         * stdlib/random_r.c: Likewise.
71429         * sysdeps/generic/Makefile: Likewise.
71430         * sysdeps/gnu/Makefile: Likewise.
71431         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71432         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71433         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71435         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71438         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71439         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71441         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71442         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71443         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71444         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71445         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71446         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71447         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71448         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71449         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71450         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71451         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71452         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71453         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71454         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71455         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71456         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71458         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71459         * sysdeps/mach/hurd/errnos.awk: Likewise.
71460         * sysdeps/mach/hurd/fork.c: Likewise.
71461         * sysdeps/mach/hurd/getcwd.c: Likewise.
71462         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71463         * sysdeps/mach/hurd/mmap.c: Likewise.
71464         * sysdeps/mach/hurd/utimes.c: Likewise.
71465         * sysdeps/mach/hurd/xmknod.c: Likewise.
71466         * sysdeps/posix/profil.c: Likewise.
71467         * sysdeps/posix/readdir_r.c: Likewise.
71468         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71469         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71470         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71471         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71473         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71474         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71475         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71477         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71478         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71479         * sysdeps/pthread/lio_listio.c: Likewise.
71480         * sysdeps/sparc/dl-procinfo.h: Likewise.
71481         * sysdeps/unix/i386/sysdep.S: Likewise.
71482         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71483         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71484         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71485         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71487         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71488         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71489         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71490         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71491         * sysdeps/wordsize-32/divdi3.c: Likewise.
71492         * time/sys/time.h: Likewise.
71493         * wcsmbs/Makefile: Likewise.
71495 2013-01-01  David S. Miller  <davem@davemloft.net>
71497         * po/fr.po: Update from translation team.
71499         * catgets/gencat.c: Update copyright year.
71500         * csu/version.c: Likewise.
71501         * debug/catchsegv.sh: Likewise.
71502         * debug/pcprofiledump.c: Likewise.
71503         * debug/xtrace.sh: Likewise.
71504         * elf/ldconfig.c: Likewise.
71505         * elf/ldd.bash.in: Likewise.
71506         * elf/pldd.c: Likewise.
71507         * elf/sotruss.ksh: Likewise.
71508         * elf/sprof.c: Likewise.
71509         * iconv/iconv_prog.c: Likewise.
71510         * iconv/iconvconfig.c: Likewise.
71511         * locale/programs/locale.c: Likewise.
71512         * locale/programs/localedef.c: Likewise.
71513         * login/programs/pt_chown.c: Likewise.
71514         * malloc/memusage.sh: Likewise.
71515         * malloc/memusagestat.c: Likewise.
71516         * malloc/mtrace.pl: Likewise.
71517         * nscd/nscd.c: Likewise.
71518         * nss/getent.c: Likewise.
71519         * nss/makedb.c: Likewise.
71520         * posix/getconf.c: Likewise.
71522 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71524         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71525         numbers.
71527 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71529         * math/bits/mathcalls.h (modf): Use __nonnull.
71531 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71533         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71534         (split): Use macro CN instead of the bare value.
71535         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71536         could be used.
71537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71538         instead of the bare value.
71539         (power1): Likewise.
71541 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71543         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71544         __ATAN_TWOM.
71545         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71547         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71548         their values.
71549         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71550         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71551         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71552         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71554 2012-12-28  Andreas Jaeger  <aj@suse.de>
71556         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71557         values are from Linux 3.7.
71559         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71560         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71562 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71564         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71565         TRUE case.
71567         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71568         (norm): Likewise.
71569         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71570         variables with preprocessor constants.
71571         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71572         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71573         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71575 2012-12-27  Bruno Haible  <bruno@clisp.org>
71577         [BZ #14317]
71578         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71579         only if needed.
71581 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71584         and use variable directly.
71585         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71587         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71588         MPONE.
71589         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71590         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71591         variable MPONE.
71592         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71594         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71595         include directive.  Remove local variable MPONE.
71596         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71597         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71598         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71600 2012-12-25  David S. Miller  <davem@davemloft.net>
71602         * version.h (RELEASE): Set to "development".
71603         (VERSION): Set to "2.17.90".
71604         * NEWS: Add 2.18 section.
71606 2012-12-21  David S. Miller  <davem@davemloft.net>
71608         * po/hr.po: Update from translation team.
71610 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71612         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71614 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71616         * NEWS:  Mention new memcpy for MIPS.
71618 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71620         * manual/contrib.texi (Contributors): Spelling correction.
71622 2012-12-15  David S. Miller  <davem@davemloft.net>
71624         * po/ru.po: Update from translation team.
71626 2012-12-13  David S. Miller  <davem@davemloft.net>
71628         * NEWS: Mention IFUNC testsuite enhancements.
71630         * po/pl.po: Update from translation team.
71631         * po/bg.po: Likewise.
71633         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71634         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71636 2012-12-11  David S. Miller  <davem@davemloft.net>
71638         * po/sv.po: Update from translation team.
71640         * po/vi.po: Update from translation team.
71642         * po/cs.po: Update from translation team.
71644         * po/de.po: Update from translation team.
71645         * po/eo.po: Likewise.
71646         * po/nl.po: Likewise.
71648 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71650         [BZ #14246]
71651         * manual/argp.texi (Argp Helper Functions): Move node to follow
71652         Argp Parsing State.
71654         [BZ #14872]
71655         * manual/conf.texi (Limits on File System Capacity): Mention if
71656         terminating null is included in the max size.
71658 2012-12-10  Andreas Jaeger  <aj@suse.de>
71660         * po/cs.po: Update from translation team.
71662 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71664         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71665         void pointer and cast to uintptr_t.
71666         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71667         path.
71668         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71669         * sysdeps/s390/s390-64/memset.S: Likewise.
71671 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71673         [BZ #14833]
71674         * menual/message.texi (Message Translation): Fix typos.
71675         (Helper programs for gettext): Likewise.
71677 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71679         [BZ #14898]
71680         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71681         Change to -1.
71683 2012-12-07  David S. Miller  <davem@davemloft.net>
71685         * po/libc.pot: Update.
71687 2012-12-07  Richard Henderson  <rth@redhat.com>
71689         [BZ #10114]
71690         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71691         normal/normal case to before the switch.
71692         (_FP_DIV): Likewise.
71694 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71695             Mike Frysinger  <vapier@gentoo.org>
71697         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71698         check for __NR_fadvise64_64.
71700 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71702         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71703         0, not just to plain "0" as a statement.
71704         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71705         with cw.
71707 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71709         * NEWS: Use sourceware.org in Bugzilla URL.
71711 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71714         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71716         * stdio-common/tst-put-error.c (do_test): Add newline to the
71717         padded test to ensure flush.
71719 2012-12-05  Jeff Law  <law@redhat.com>
71721         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71723 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71725         * README: Don't refer to ports add-on as distributed separately.
71726         Mention AArch64 in list of systems supported in the ports add-on.
71728         * LICENSES: Add more non-FSF copyright and license notices.
71730         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71731         ((unused)).
71733         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71735         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71736         10000 as width of padded output.
71738 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71740         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71742         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71743         variable LX with __attribute__ ((unused)).
71744         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71745         Likewise.
71746         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71747         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71748         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71749         with __attribute__ ((unused)).
71751 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71753         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71755 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71757         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71758         (CFLAGS-nldbl-acos.c): New variable.
71759         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71760         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71761         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71762         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71763         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71764         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71765         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71766         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71767         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71768         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71769         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71770         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71771         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71772         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71773         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71774         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71775         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71776         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71777         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71778         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71779         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71780         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71781         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71782         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71783         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71784         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71785         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71786         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71787         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71788         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71789         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71790         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71791         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71792         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71793         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71794         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71795         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71796         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71797         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71798         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71799         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71800         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71801         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71802         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71803         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71804         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71805         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71806         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71807         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71808         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71809         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71810         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71811         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71812         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71813         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71814         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71815         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71816         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71817         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71818         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71819         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71820         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71821         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71822         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71823         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71824         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71825         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71826         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71827         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71828         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71829         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71830         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71831         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71832         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71833         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71834         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71835         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71836         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71837         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71838         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71839         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71840         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71841         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71842         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71843         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71844         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71845         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71846         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71847         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71848         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71849         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71850         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71851         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71852         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71853         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71854         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71855         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71858         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71860         [BZ #14914]
71861         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71862         whole low double instead of just low 47 bits when splitting values
71863         into two parts.
71865 2012-12-03  Allan McRae  <allan@archlinux.org>
71867         * manual/stdio.texi (Predefined Printf Handlers): Remove
71868         @hsep and @vsep usage.
71870 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71872         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71873         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71875 2012-12-03  Jeff Law  <law@redhat.com>
71877         * time/sys/time.h (settimeofday): Do not mark TV argument
71878         as __nonnull.
71880 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71882         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71883         when currently writing and seek to current position when not.
71884         * libio/Makefile (tests): Remove bug-fclose1.
71885         * libio/bug-fclose1.c: Delete.
71887 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71889         * manual/arith.texi (feenableexcept): Fix typo.
71890         (fedisableexcept): Likewise.
71892 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71894         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71895         second, differently-typed declaration, rather than a cast.
71897 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71899         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71900         * include/rpc/svc.h: ... here.
71902 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71904         [BZ #13013]
71905         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71906         depending n and resplen2 to catch cases where answer
71907         equals answerp2.
71909 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71911         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71912         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71914 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71916         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71918 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71920         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71922 2012-11-28  Jeff Law  <law@redhat.com>
71924         [BZ #13761]
71925         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71926         dataset_temporary.  Track alloca usage into alloca_used.
71927         If dataset is large allocate and release it via malloc/free.
71929 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71931         [BZ #14197]
71932         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71934 2012-11-28  David S. Miller  <davem@davemloft.net>
71936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71938 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71940         [BZ #14803]
71941         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71942         of pi/2 rounded to nearest to 64 bits.
71943         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71944         nearest to 64 bits.
71945         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71946         bits.
71948 2012-11-28  Jeff Law <law@redhat.com>
71949             Martin Osvald <mosvald@redhat.com>
71951         [BZ #14889]
71952         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71953         * sunrpc/svc.c: Include time.h.
71954         (__svc_accept_failed): New function.
71955         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71956         any reason other than EINTR, call __svc_accept_failed.
71957         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71958         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71960 2012-11-28  Andreas Schwab  <schwab@suse.de>
71962         * scripts/abilist.awk: Also handle indirect functions in .opd
71963         section.
71965 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71967         [BZ #13881]
71968         * sysdeps/x86/fpu/powl_helper.c: New file.
71969         * sysdeps/x86/fpu/Makefile: Likewise.
71970         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71971         (p3): New object.
71972         (__ieee754_powl): Use __powl_helper for finite arguments except
71973         integer exponents below 8.
71974         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71975         (p3): New object.
71976         (__ieee754_powl): Use __powl_helper for finite arguments except
71977         integer exponents below 8.
71978         * math/libm-test.inc (pow_test): Add more tests and enable some
71979         previously disabled tests.
71980         * sysdeps/i386/fpu/libm-test-ulps: Update.
71981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71983 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71984             Carlos O'Donell  <carlos_odonell@mentor.com>
71986         * nss/makedb.c (is_prime): Assert that input is odd and greater
71987         than 4.  Note that fact in a comment too.
71988         (next_prime): Add 4 to input.
71990 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71992         [BZ #11741]
71993         * libio/Makefile (tests): Add test case tst-fwrite-error.
71994         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71995         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71996         * libio/tst-fwrite-error.c: New test case.
71998 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72000         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72001         before casting to void *.
72002         * include/libc-internal.h (__pointer_type): New macro.
72003         (__integer_if_pointer_type_sub): Likewise.
72004         (__integer_if_pointer_type): Likewise.
72005         (cast_to_integer): Likewise.
72006         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72007         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72008         before casting to atomic64_t.
72009         (atomic_exchange_acq): Likewise.
72010         (__arch_exchange_and_add_body): Likewise.
72011         (__arch_add_body): Likewise.
72012         (atomic_add_negative): Likewise.
72013         (atomic_add_zero): Likewise.
72015 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72017         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72018         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72019         (add_fdes): Likewise.
72020         (linear_search_fdes): Likewise.
72021         (binary_search_unencoded_fdes): Likewise.
72023 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72025         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72027 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72029         * configure.in: Autodetect C++ header directories.
72030         * configure: Regenerated.
72032 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72034         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72036 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72040 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72042         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72043         LDBL_MANT_DIG == 106]: Disable some tests.
72044         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72045         Likewise.
72046         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72047         Likewise.
72049         [BZ #14871]
72050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72051         input for small inputs.  Return +/- pi/2 for large inputs.
72052         * math/libm-test.inc (atan_test): Add more tests.
72054         * sysdeps/generic/unwind-dw2-fde-glibc.c
72055         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72056         __attribute__ ((unused)).
72058         [BZ #14645]
72059         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72060         x * y if x and y are nonzero and z is zero.
72062         [BZ #14811]
72063         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72064         nonzero exponents with absolute value below 0x1p-117 to +/-
72065         0x1p-117.
72067         [BZ #14869]
72068         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72069         up arguments below 2**-450, not just those below 2**-500.
72070         * math/libm-test.inc (hypot_test): Add another test.
72072         [BZ #14868]
72073         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72074         Return a+b for ratio over 2**120, not 2**60.
72075         * math/libm-test.inc (hypot_test): Add another test.
72077         * math/libm-test.inc (clog_test): Use
72078         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72079         (clog10_test): Likewise.
72081         [BZ #6778]
72082         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72084 2012-11-22  Andreas Schwab  <schwab@suse.de>
72086         * sysdeps/i386/fpu/libm-test-ulps: Update.
72088 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72090         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72091         printf output with newline.
72093 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72095         [BZ #14865]
72096         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72097         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72098         -z nodlopen, -z initfirst and -z execstack support.
72099         * configure: Regenerated.
72101         * elf/elf.h (DF_1_NODIRECT): New macro.
72102         (DF_1_IGNMULDEF): Likewise.
72103         (DF_1_NOKSYMS): Likewise.
72104         (DF_1_NOHDR): Likewise.
72105         (DF_1_EDITED): Likewise.
72106         (DF_1_NORELOC): Likewise.
72107         (DF_1_SYMINTPOSE): Likewise.
72108         (DF_1_GLOBAUDIT): Likewise.
72109         (DF_1_SINGLETON): Likewise.
72110         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72111         DT_1_SUPPORTED_MASK bits.
72112         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72114 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72116         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72118 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72120         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72121         macro.
72123         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72124         (sendmmsg): Move declarations...
72125         * socket/sys/socket.h: ... here.
72126         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72127         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72128         include it from...
72129         * socket/recvmmsg.c: ... this new file.
72130         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72131         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72132         definition of __sendmmsg hidden.
72133         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72134         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72135         Move ENOSYS stub into and include it from...
72136         * socket/sendmmsg.c: ... this new file.
72137         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72138         (sysdep_routines): Move recvmmsg and sendmmsg...
72139         * socket/Makefile (routines): ... here.
72140         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72141         (GLIBC_PRIVATE): Add __sendmmsg.
72142         * include/sys/socket.h (__sendmmsg): Add declarations.
72143         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72144         sendmmsg.
72146 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72148         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72149         variable I1 with __attribute__ ((unused)).
72150         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72152 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72154         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72155         DUMMY variables with __attribute__ ((unused)).
72157         * bits/byteswap.h: Include <bits/types.h>.
72158         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72160 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72162         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72163         string_t.  Do not manually set errno.
72164         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72165         length with __strnlen.  Make sure to both set errno and return it on
72166         failure.
72168 2012-11-19  David S. Miller  <davem@davemloft.net>
72170         With help from Joseph Myers.
72171         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72172         very large arguments properly.
72173         * math/libm-test.inc (atan_test): New tests.
72174         (atan2_test): New tests.
72175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72178 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72180         [BZ #14856]
72181         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72182         Define to 3.
72184         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72185         [POSIX] (EADDRNOTAVAIL): Likewise.
72186         [POSIX] (EAFNOSUPPORT): Likewise.
72187         [POSIX] (EALREADY): Likewise.
72188         [POSIX] (ECONNABORTED): Likewise.
72189         [POSIX] (ECONNREFUSED): Likewise.
72190         [POSIX] (ECONNRESET): Likewise.
72191         [POSIX] (EDESTADDRREQ): Likewise.
72192         [POSIX] (EDQUOT): Likewise.
72193         [POSIX] (EHOSTUNREACH): Likewise.
72194         [POSIX] (EIDRM): Likewise.
72195         [POSIX] (EISCONN): Likewise.
72196         [POSIX] (ELOOP): Likewise.
72197         [POSIX] (EMULTIHOP): Likewise.
72198         [POSIX] (ENETDOWN): Likewise.
72199         [POSIX] (ENETUNREACH): Likewise.
72200         [POSIX] (ENOBUFS): Likewise.
72201         [POSIX] (ENODATA): Likewise.
72202         [POSIX] (ENOLINK): Likewise.
72203         [POSIX] (ENOMSG): Likewise.
72204         [POSIX] (ENOPROTOOPT): Likewise.
72205         [POSIX] (ENOSR): Likewise.
72206         [POSIX] (ENOSTR): Likewise.
72207         [POSIX] (ENOTCONN): Likewise.
72208         [POSIX] (ENOTSOCK): Likewise.
72209         [POSIX] (EOPNOTSUPP): Likewise.
72210         [POSIX] (EOVERFLOW): Likewise.
72211         [POSIX] (EPROTO): Likewise.
72212         [POSIX] (EPROTONOSUPPORT): Likewise.
72213         [POSIX] (EPROTOTYPE): Likewise.
72214         [POSIX] (ESTALE): Likewise.
72215         [POSIX] (ETIME): Likewise.
72216         [POSIX] (ETXTBSY): Likewise.
72217         [POSIX] (EWOULDBLOCK): Likewise.
72218         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72219         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72220         [POSIX] (SEEK_CUR): Likewise.
72221         [POSIX] (SEEK_END): Likewise.
72222         [POSIX || UNIX98] (mode_t): Do not require.
72223         [POSIX] (off_t): Likewise.
72224         [POSIX] (pid_t): Likewise.
72225         [POSIX] (sys/stat.h): Do not allow header.
72226         [POSIX] (unistd.h): Likewise.
72227         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72228         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72229         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72230         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72231         require.
72232         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72233         sigevent): Specify elements.
72234         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72235         entry.
72236         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72237         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72239         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72240         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72241         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72242         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72243         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72244         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72245         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72246         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72247         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72248         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72249         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72250         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72251         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72252         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72253         Likewise.
72254         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72255         Likewise.
72256         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72257         Likewise.
72258         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72259         Likewise.
72260         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72261         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72262         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72263         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72264         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72265         Specify lower bound on value.
72266         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72267         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72268         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72269         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72270         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72271         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72272         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72273         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72274         value.
72275         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72276         as optional.
72277         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72278         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72279         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72280         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72281         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72282         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72283         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72284         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72285         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72286         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72287         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72288         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72289         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72290         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72291         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72292         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72293         entry.
72294         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72295         optional.
72296         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72297         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72298         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72299         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72300         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72301         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72302         Likewise.
72303         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72304         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72305         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72306         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72307         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72308         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72309         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72310         as optional.
72311         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72312         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72313         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72314         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72315         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72316         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72317         specify as optional.
72318         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72319         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72320         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72321         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72322         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72323         [XPG3] (NL_LANGMAX): Likewise.
72324         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72325         [POSIX || XPG3] (NL_NMAX): Likewise.
72326         [POSIX || XPG3] (NL_SETMAX): Likewise.
72327         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72328         [XPG3] (NZERO): Likewise.
72329         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72330         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72331         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72332         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72333         (REG_ERANGE): Expect.
72334         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72335         optional-constant.
72336         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72337         Use (void) in prototype.
72338         [POSIX] (*_t): Allow.
72339         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72340         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72341         (WRDE_BADVAL): Expect.
72343         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72344         expect.
72345         [XPG3 || XPG4] (O_RSYNC): Likewise.
72346         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72347         Likewise.
72348         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72349         [XPG3 || XPG4] (sigqueue): Likewise.
72350         [XPG3 || XPG4] (sigtimedwait): Likewise.
72351         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72352         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72353         [XPG3 || XPG4] (vsnprintf): Likewise.
72354         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72355         Likewise.
72356         [XPG3 || XPG4] (blksize_t): Likewise.
72357         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72358         Likewise.
72359         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72360         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72361         [XPG3 || XPG4] (struct itimerspec): Likewise.
72362         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72363         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72364         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72365         [XPG3 || XPG4] (clockid_t): Likewise.
72366         [XPG3 || XPG4] (timer_t): Likewise.
72367         [XPG3 || XPG4] (clock_getres): Likewise.
72368         [XPG3 || XPG4] (clock_gettime): Likewise.
72369         [XPG3 || XPG4] (clock_settime): Likewise.
72370         [XPG3 || XPG4] (nanosleep): Likewise.
72371         [XPG3 || XPG4] (timer_create): Likewise.
72372         [XPG3 || XPG4] (timer_delete): Likewise.
72373         [XPG3 || XPG4] (timer_gettime): Likewise.
72374         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72375         [XPG3 || XPG4] (timer_settime): Likewise.
72376         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72377         [XPG3 || XPG4] (getlogin_r): Likewise.
72378         [XPG3 || XPG4] (pread): Likewise.
72379         [XPG3 || XPG4] (pthread_atfork): Likewise.
72380         [XPG3 || XPG4] (pwrite): Likewise.
72382         [BZ #14835]
72383         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72384         <bits/siginfo.h>.
72386 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72388         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72389         finalizing MALLSTREAM.
72391         * sysdeps/mach/hurd/syncfs.c: New file.
72393 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72395         [BZ #14719]
72396         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72397         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72398         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72399         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72400         (_nss_dns_gethostbyname4_r): Likewise.
72401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72402         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72404 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72406         [BZ #13763]
72407         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72409 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72411         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72412         * elf/cache.c (print_entry): Print ",AArch64" for
72413         FLAG_AARCH64_LIB64
72415         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72416         * elf/cache.c (print_entry): Print ",hard-float" for
72417         FLAG_ARM_LIBHF.
72419 2012-11-18  David S. Miller  <davem@davemloft.net>
72421         With help from Joseph Myers.
72422         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72423         cutoff to 2**-13.
72424         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72425         cutoff to 2**-25.
72426         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72427         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72428         small.
72429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72430         * math/libm-test.inc (y0_test): New tests.
72431         (y1_test): New tests.
72432         * sysdeps/i386/fpu/libm-test-ulps: Update.
72433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72436 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72438         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72439         64-bit targets.
72440         * configure: Regenerated.
72442 2012-11-17  David S. Miller  <davem@davemloft.net>
72444         [BZ #14811]
72445         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72446         nonzero exponents with absolute value below 0x1p-128 to +/-
72447         0x1p-128.
72449 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72451         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72453         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72455         * posix/getconf-speclist.c: New file.
72456         * posix/posix-envs.def: Likewise.
72457         * posix/confstr.c (START_ENV_GROUP): New macro.
72458         (END_ENV_GROUP): Likewise.
72459         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72460         (KNOWN_PRESENT_ENV_STRING): Likewise.
72461         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72462         (UNKNOWN_ENVIRONMENT): Likewise.
72463         (confstr): Include posix-envs.def instead of handling
72464         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72465         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72466         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72467         (END_ENV_GROUP): Likewise.
72468         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72469         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72470         (UNKNOWN_ENVIRONMENT): Likewise.
72471         (__sysconf): Include posix-envs.def instead of handling associated
72472         cases directly here.
72473         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72474         preprocessing getconf-speclist.c rather than running getconf or
72475         generating empty file.
72477 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72479         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72481 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72483         [BZ #14672]
72484         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72486 2012-11-16  David S. Miller  <davem@davemloft.net>
72488         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72489         smaller than LDBL_EPSILON/2.0L, just return xm1.
72491 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72493         * elf/tst-array1.c (init): Set constructor priority to 1000.
72494         (fini): Set destructor priority to 1000.
72495         * elf/tst-array2dep.c: Likewise.
72497 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72499         [BZ #11741]
72500         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72501         (_IO_new_file_xsputn): Also return EOF if none of the input
72502         data was written when overflow failed.
72503         * libio/iopadn.c (_IO_padn): Likewise.
72504         * libio/iowpadn.c (_IO_wpadn): Likewise.
72505         * stdio-common/tst-put-error.c: Add copyright notice.
72506         (do_test): Add case for printing padded string.
72507         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72508         _IO_padn returned error.
72509         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72510         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72511         return EOF.
72513 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72515         * libio/libioP.h: Add comment note that the references to C++
72516         bits are now obsolete.
72518 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72520         * math/libm-test.inc (check_complex): Use asprintf.
72522 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72524         * debug/pcprofiledump.c (print_version): Update copyright year.
72525         * malloc/memusagestat.c (print_version): Likewise.
72527 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72529         [BZ #14831]
72530         * elf/Makefile (tests): Add tst-audit8.
72531         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72532         ($(objpfx)tst-audit8.out): New target.
72533         (tst-audit8-ENV): New variable.
72534         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72535         audit if l_reloc_result is NULL.
72536         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72537         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72538         * elf/tst-audit8.c: New file.
72540 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72542         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72543         * misc/Makefile (CFLAGS-select.c): Define.
72544         * posix/Makefile (CFLAGS-pause.c): Define.
72546 2012-11-13  David S. Miller  <davem@davemloft.net>
72548         * crypt/Makefile: Move test targets after toplevel Rules
72549         inclusion.  Grab any necessary sysdep routines when linking.
72550         * crypt/md5.c (md5_process_block): Remove define, we will always
72551         name it __md5_process_block.
72552         (md5_finish_ctx): Update md5_process_block call.
72553         (md5_stream): Likewise.
72554         (md5_process_bytes): Likewise.
72555         (md5_process_block): Rename to __md5_process_block and move to ...
72556         * crypt/md5-block.c: ... here.
72557         * crypt/sha256.c (sha256_process_block): Move to ...
72558         * crypt/sha256-block.c: ... here.
72559         * crypt/sha512.c (sha512_process_block): Move to ...
72560         * crypt/sha512-block.c: ... here.
72561         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72562         path.
72563         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72564         * sysdeps/sparc/sparc64/multiarch/Makefile
72565         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72566         crypt subdir.
72567         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72568         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72569         multiarch changes.
72570         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72571         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72572         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72573         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72574         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72575         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72576         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72577         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72578         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72579         file.
72580         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72581         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72582         file.
72583         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72585 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72587         * timezone/tzselect.ksh: Update from tzcode git revision
72588         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72589         * timezone/zdump.c: Likewise.
72590         * timezone/zic.c: Likewise.
72591         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72592         in TZVERSION setting, not $(PKGVERSION).
72593         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72594         REPORT_BUGS_TO settings.
72596         [BZ #14838]
72597         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72598         macro.
72600 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72602         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72603         detection to immediately after _FP_ROUND().
72604         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72605         bits are 0.
72607 2012-11-11  David S. Miller  <davem@davemloft.net>
72609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72610         inttypes.h
72611         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72612         __close rather than their public counterparts.
72614 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72616         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72617         file.
72618         [UNIX98] (sem_timedwait): Do not expect.
72619         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72620         [XPG4 || UNIX98] (sockatmark): Do not expect.
72621         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72622         (clock_getcpuclockid): Do not expect.
72623         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72624         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72625         Do not expect.
72626         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72627         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72628         [UNIX98] (vwscanf): Likewise.
72629         [UNIX98] (vswscanf): Likewise.
72631 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72633         * timezone/version.h: Remove file.
72634         * timezone/README: Do not refer to version.h.
72635         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72636         $(objpfx)version.h.
72637         ($(objpfx)zdump.o): Likewise.
72638         ($(objpfx)version.h): New target.
72640         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72641         2012i.
72642         * timezone/README: Don't mention modification to tzselect.ksh.
72643         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72644         work on unmodified tzselect.ksh.  Substitute version numbers in
72645         tzselect.ksh.
72647         * Makefile (format-me): Remove.
72648         (INSTALL): Adjust indentation.  Use commands directly instead of
72649         using $(format-me).
72651         * aclocal.m4 (ACX_PKGVERSION): New macro.
72652         (ACX_BUGURL): Likewise.
72653         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72654         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72655         (REPORT_BUGS_TO): Likewise.
72656         * configure: Regenerated.
72657         * config.h.in (PKGVERSION): New macro.
72658         (REPORT_BUGS_TO): Likewise.
72659         * config.make.in (PKGVERSION): New variable.
72660         (PKGVERSION_TEXI): Likewise.
72661         (REPORT_BUGS_TO): Likewise.
72662         (REPORT_BUGS_TEXI): Likewise.
72663         * Makefile (format-me): Use -I$(common-objpfx)manual.
72664         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72665         ($(common-objpfx)manual/%): New target.
72666         (manual/%): Remove target.
72667         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72668         (print_version): Use PKGVERSION.
72669         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72670         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72671         and REPORT_BUGS_TO.
72672         ($(objpfx)xtrace): Likewise.
72673         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72674         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72675         (print_version): Use PKGVERSION.
72676         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72677         (do_version): Use PKGVERSION.
72678         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72679         REPORT_BUGS_TO.
72680         (common-ldd-rewrite): Likewise.
72681         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72682         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72683         (print_version): Use PKGVERSION.
72684         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72685         * elf/pldd.c (argp_program_bug_address): Remove variable.
72686         (more_help): New function.
72687         (argp): Use more_help.
72688         (print_version): Use PKGVERSION.
72689         * elf/sln.c (main): Use PKGVERSION.
72690         (usage): Use REPORT_BUGS_TO.
72691         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72692         (top level): Use PKGVERSION.
72693         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72694         (print_version): Use PKGVERSION.
72695         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72696         (print_version): Use PKGVERSION.
72697         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72698         (print_version): Use PKGVERSION.
72699         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72700         (print_version): Use PKGVERSION.
72701         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72702         (print_version): Use PKGVERSION.
72703         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72704         (print_version): Use PKGVERSION.
72705         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72706         and BUGURL.
72707         ($(objpfx)memusage): Likewise.
72708         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72709         (do_version): Use PKGVERSION.
72710         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72711         (print_version): Use PKGVERSION.
72712         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72713         ($PKGVERSION): New variable.
72714         ($REPORT_BUGS_TO): Likewise.
72715         (usage): Use $REPORT_BUGS_TO.
72716         (top level): Use $PKGVERSION.
72717         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72718         ($(objpfx)pkgvers.texi): New rule.
72719         ($(objpfx)stamp-pkgvers): Likewise.
72720         * manual/install.texi: Include pkgvers.texi.
72721         (--with-pkgversion): Document new configure option.
72722         (--with-bugurl): Likewise.
72723         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72724         than necessarily for this particular distribution.  Use
72725         REPORT_BUGS_TO for where to report bugs.
72726         * INSTALL: Regenerated.
72727         * manual/libc.texinfo: Include pkgvers.texi.
72728         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72729         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72730         (print_version): Use PKGVERSION.
72731         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72732         (print_version): Use PKGVERSION.
72733         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72734         (print_version): Use PKGVERSION.
72735         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72736         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72737         macro.
72738         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72739         (print_version): Use PKGVERSION.
72740         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72741         (print_version): Use PKGVERSION.
72742         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72743         and PKGVERSION.
72745         * timezone/checktab.awk: Update from tzcode 2012i.
72746         * timezone/ialloc.c: Likewise.
72747         * timezone/private.h: Likewise.
72748         * timezone/scheck.c: Likewise.
72749         * timezone/tzfile.h: Likewise.
72750         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72751         (TZVERSION): Hardcode tzcode version number.
72752         * timezone/zdump.c: Update from tzcode 2012i.
72753         * timezone/zic.c: Likewise.
72754         * timezone/version.h: New file.
72755         * timezone/README: Describe version.h.  Update upstream location.
72757         [BZ #14824]
72758         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72759         (mktemp): Enable declaration.
72760         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72761         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72762         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72763         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72764         Likewise.
72765         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72766         Likewise.
72767         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72768         Likewise.
72769         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72770         Likewise.
72771         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72772         Likewise.
72773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72774         Likewise.
72776         [BZ #14821]
72777         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72778         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72779         for copies of such integer values.
72780         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72781         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72783 2012-11-09  Andreas Jaeger  <aj@suse.de>
72785         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72786         definitions and declarations that are provided by
72787         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72789 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72791         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72792         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72793         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72794         definition.
72796 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72798         * elf/elf.h: Update comment before AArch64 relocations.
72800 2012-11-07  David S. Miller  <davem@davemloft.net>
72802         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72803         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72804         (__start_context): Declare.
72805         (__makecontext_ret): Delete.
72806         (__makecontext): Hook up __start_context instead of
72807         __makecontext_ret.
72808         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72809         (sysdep_routines): Add __start_context when in stdlib.
72811 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72813         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72814         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72815         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72816         hardcoded "nm".
72817         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72818         (READELF): New variable.  Use it instead of hardcoded "readelf".
72820 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72822         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72823         * sysdeps/x86/Makefile: Here.
72824         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72825         * sysdeps/x86/tst-xmmymm.sh: This.
72827 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72829         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72830         expectations.
72831         [UNIX98] (pthread_barrier_t): Do not expect.
72832         [UNIX98] (pthread_barrierattr_t): Likewise.
72833         [UNIX98] (pthread_spinlock_t): Likewise.
72834         [UNIX98] (pthread_barrier_destroy): Likewise.
72835         [UNIX98] (pthread_barrier_init): Likewise.
72836         [UNIX98] (pthread_barrier_wait): Likewise.
72837         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72838         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72839         [UNIX98] (pthread_barrierattr_init): Likewise.
72840         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72841         [UNIX98] (pthread_getcpuclockid): Likewise.
72842         [UNIX98] (pthread_mutex_timedlock): Likewise.
72843         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72844         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72845         [UNIX98] (pthread_sigmask): Likewise.
72846         [UNIX98] (pthread_spin_destroy): Likewise.
72847         [UNIX98] (pthread_spin_init): Likewise.
72848         [UNIX98] (pthread_spin_lock): Likewise.
72849         [UNIX98] (pthread_spin_trylock): Likewise.
72850         [UNIX98] (pthread_spin_unlock): Likewise.
72851         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72852         Do not expect.
72853         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72854         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72855         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72856         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72857         [XPG3 || XPG4] (pthread_key_t): Likewise.
72858         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72859         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72860         [XPG3 || XPG4] (pthread_once_t): Likewise.
72861         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72862         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72863         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72864         [XPG3 || XPG4] (pthread_t): Likewise.
72866         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72867         not expect.
72868         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72870         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72871         Change function return type to int.
72873         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72874         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72875         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72876         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72877         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72878         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72879         [!POSIX] (posix_madvise): Likewise.
72880         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72881         && !UNIX98].
72882         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72883         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72884         (mode_t): Likewise.
72885         (posix_mem_offset): Likewise.
72886         (posix_typed_mem_get_info): Likewise.
72887         (posix_typed_mem_open): Likewise.
72889         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72890         Change condition to [XOPEN2K8].
72892         * conform/conformtest.pl: Preprocess allow-header data with -x c
72893         instead of from stdin.
72894         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72895         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72896         [C99-based standards] (cerfc): Likewise.
72897         [C99-based standards] (cexp2): Likewise.
72898         [C99-based standards] (cexpm1): Likewise.
72899         [C99-based standards] (clog10): Likewise.
72900         [C99-based standards] (clog1p): Likewise.
72901         [C99-based standards] (clog2): Likewise.
72902         [C99-based standards] (clgamma): Likewise.
72903         [C99-based standards] (ctgamma): Likewise.
72904         [C99-based standards] (cerff): Likewise.
72905         [C99-based standards] (cerfcf): Likewise.
72906         [C99-based standards] (cexp2f): Likewise.
72907         [C99-based standards] (cexpm1f): Likewise.
72908         [C99-based standards] (clog10f): Likewise.
72909         [C99-based standards] (clog1pf): Likewise.
72910         [C99-based standards] (clog2f): Likewise.
72911         [C99-based standards] (clgammaf): Likewise.
72912         [C99-based standards] (ctgammaf): Likewise.
72913         [C99-based standards] (cerfl): Likewise.
72914         [C99-based standards] (cerfcl): Likewise.
72915         [C99-based standards] (cexp2l): Likewise.
72916         [C99-based standards] (cexpm1l): Likewise.
72917         [C99-based standards] (clog10l): Likewise.
72918         [C99-based standards] (clog1pl): Likewise.
72919         [C99-based standards] (clog2l): Likewise.
72920         [C99-based standards] (clgammal): Likewise.
72921         [C99-based standards] (ctgammal): Likewise.
72922         * conform/data/inttypes.h-data [C99-based standards]: Include
72923         stdint.h-data.  Remove all expectations for stdint.h contents.
72924         [C99-based standards] (PRI*): Do not allow.
72925         [C99-based standards] (SCN*): Likewise.
72926         [C99-based standards] (*_t): Likewise.
72927         [C99-based-standards] (PRId8): Expect macro.
72928         [C99-based-standards] (PRIi8): Likewise.
72929         [C99-based-standards] (PRIo8): Likewise.
72930         [C99-based-standards] (PRIu8): Likewise.
72931         [C99-based-standards] (PRIx8): Likewise.
72932         [C99-based-standards] (PRIX8): Likewise.
72933         [C99-based-standards] (SCNd8): Likewise.
72934         [C99-based-standards] (SCNi8): Likewise.
72935         [C99-based-standards] (SCNo8): Likewise.
72936         [C99-based-standards] (SCNu8): Likewise.
72937         [C99-based-standards] (SCNx8): Likewise.
72938         [C99-based-standards] (PRIdLEAST8): Likewise.
72939         [C99-based-standards] (PRIiLEAST8): Likewise.
72940         [C99-based-standards] (PRIoLEAST8): Likewise.
72941         [C99-based-standards] (PRIuLEAST8): Likewise.
72942         [C99-based-standards] (PRIxLEAST8): Likewise.
72943         [C99-based-standards] (PRIXLEAST8): Likewise.
72944         [C99-based-standards] (SCNdLEAST8): Likewise.
72945         [C99-based-standards] (SCNiLEAST8): Likewise.
72946         [C99-based-standards] (SCNoLEAST8): Likewise.
72947         [C99-based-standards] (SCNuLEAST8): Likewise.
72948         [C99-based-standards] (SCNxLEAST8): Likewise.
72949         [C99-based-standards] (PRIdFAST8): Likewise.
72950         [C99-based-standards] (PRIiFAST8): Likewise.
72951         [C99-based-standards] (PRIoFAST8): Likewise.
72952         [C99-based-standards] (PRIuFAST8): Likewise.
72953         [C99-based-standards] (PRIxFAST8): Likewise.
72954         [C99-based-standards] (PRIXFAST8): Likewise.
72955         [C99-based-standards] (SCNdFAST8): Likewise.
72956         [C99-based-standards] (SCNiFAST8): Likewise.
72957         [C99-based-standards] (SCNoFAST8): Likewise.
72958         [C99-based-standards] (SCNuFAST8): Likewise.
72959         [C99-based-standards] (SCNxFAST8): Likewise.
72960         [C99-based-standards] (PRId16): Likewise.
72961         [C99-based-standards] (PRIi16): Likewise.
72962         [C99-based-standards] (PRIo16): Likewise.
72963         [C99-based-standards] (PRIu16): Likewise.
72964         [C99-based-standards] (PRIx16): Likewise.
72965         [C99-based-standards] (PRIX16): Likewise.
72966         [C99-based-standards] (SCNd16): Likewise.
72967         [C99-based-standards] (SCNi16): Likewise.
72968         [C99-based-standards] (SCNo16): Likewise.
72969         [C99-based-standards] (SCNu16): Likewise.
72970         [C99-based-standards] (SCNx16): Likewise.
72971         [C99-based-standards] (PRIdLEAST16): Likewise.
72972         [C99-based-standards] (PRIiLEAST16): Likewise.
72973         [C99-based-standards] (PRIoLEAST16): Likewise.
72974         [C99-based-standards] (PRIuLEAST16): Likewise.
72975         [C99-based-standards] (PRIxLEAST16): Likewise.
72976         [C99-based-standards] (PRIXLEAST16): Likewise.
72977         [C99-based-standards] (SCNdLEAST16): Likewise.
72978         [C99-based-standards] (SCNiLEAST16): Likewise.
72979         [C99-based-standards] (SCNoLEAST16): Likewise.
72980         [C99-based-standards] (SCNuLEAST16): Likewise.
72981         [C99-based-standards] (SCNxLEAST16): Likewise.
72982         [C99-based-standards] (PRIdFAST16): Likewise.
72983         [C99-based-standards] (PRIiFAST16): Likewise.
72984         [C99-based-standards] (PRIoFAST16): Likewise.
72985         [C99-based-standards] (PRIuFAST16): Likewise.
72986         [C99-based-standards] (PRIxFAST16): Likewise.
72987         [C99-based-standards] (PRIXFAST16): Likewise.
72988         [C99-based-standards] (SCNdFAST16): Likewise.
72989         [C99-based-standards] (SCNiFAST16): Likewise.
72990         [C99-based-standards] (SCNoFAST16): Likewise.
72991         [C99-based-standards] (SCNuFAST16): Likewise.
72992         [C99-based-standards] (SCNxFAST16): Likewise.
72993         [C99-based-standards] (PRId32): Likewise.
72994         [C99-based-standards] (PRIi32): Likewise.
72995         [C99-based-standards] (PRIo32): Likewise.
72996         [C99-based-standards] (PRIu32): Likewise.
72997         [C99-based-standards] (PRIx32): Likewise.
72998         [C99-based-standards] (PRIX32): Likewise.
72999         [C99-based-standards] (SCNd32): Likewise.
73000         [C99-based-standards] (SCNi32): Likewise.
73001         [C99-based-standards] (SCNo32): Likewise.
73002         [C99-based-standards] (SCNu32): Likewise.
73003         [C99-based-standards] (SCNx32): Likewise.
73004         [C99-based-standards] (PRIdLEAST32): Likewise.
73005         [C99-based-standards] (PRIiLEAST32): Likewise.
73006         [C99-based-standards] (PRIoLEAST32): Likewise.
73007         [C99-based-standards] (PRIuLEAST32): Likewise.
73008         [C99-based-standards] (PRIxLEAST32): Likewise.
73009         [C99-based-standards] (PRIXLEAST32): Likewise.
73010         [C99-based-standards] (SCNdLEAST32): Likewise.
73011         [C99-based-standards] (SCNiLEAST32): Likewise.
73012         [C99-based-standards] (SCNoLEAST32): Likewise.
73013         [C99-based-standards] (SCNuLEAST32): Likewise.
73014         [C99-based-standards] (SCNxLEAST32): Likewise.
73015         [C99-based-standards] (PRIdFAST32): Likewise.
73016         [C99-based-standards] (PRIiFAST32): Likewise.
73017         [C99-based-standards] (PRIoFAST32): Likewise.
73018         [C99-based-standards] (PRIuFAST32): Likewise.
73019         [C99-based-standards] (PRIxFAST32): Likewise.
73020         [C99-based-standards] (PRIXFAST32): Likewise.
73021         [C99-based-standards] (SCNdFAST32): Likewise.
73022         [C99-based-standards] (SCNiFAST32): Likewise.
73023         [C99-based-standards] (SCNoFAST32): Likewise.
73024         [C99-based-standards] (SCNuFAST32): Likewise.
73025         [C99-based-standards] (SCNxFAST32): Likewise.
73026         [C99-based-standards] (PRId64): Likewise.
73027         [C99-based-standards] (PRIi64): Likewise.
73028         [C99-based-standards] (PRIo64): Likewise.
73029         [C99-based-standards] (PRIu64): Likewise.
73030         [C99-based-standards] (PRIx64): Likewise.
73031         [C99-based-standards] (PRIX64): Likewise.
73032         [C99-based-standards] (SCNd64): Likewise.
73033         [C99-based-standards] (SCNi64): Likewise.
73034         [C99-based-standards] (SCNo64): Likewise.
73035         [C99-based-standards] (SCNu64): Likewise.
73036         [C99-based-standards] (SCNx64): Likewise.
73037         [C99-based-standards] (PRIdLEAST64): Likewise.
73038         [C99-based-standards] (PRIiLEAST64): Likewise.
73039         [C99-based-standards] (PRIoLEAST64): Likewise.
73040         [C99-based-standards] (PRIuLEAST64): Likewise.
73041         [C99-based-standards] (PRIxLEAST64): Likewise.
73042         [C99-based-standards] (PRIXLEAST64): Likewise.
73043         [C99-based-standards] (SCNdLEAST64): Likewise.
73044         [C99-based-standards] (SCNiLEAST64): Likewise.
73045         [C99-based-standards] (SCNoLEAST64): Likewise.
73046         [C99-based-standards] (SCNuLEAST64): Likewise.
73047         [C99-based-standards] (SCNxLEAST64): Likewise.
73048         [C99-based-standards] (PRIdFAST64): Likewise.
73049         [C99-based-standards] (PRIiFAST64): Likewise.
73050         [C99-based-standards] (PRIoFAST64): Likewise.
73051         [C99-based-standards] (PRIuFAST64): Likewise.
73052         [C99-based-standards] (PRIxFAST64): Likewise.
73053         [C99-based-standards] (PRIXFAST64): Likewise.
73054         [C99-based-standards] (SCNdFAST64): Likewise.
73055         [C99-based-standards] (SCNiFAST64): Likewise.
73056         [C99-based-standards] (SCNoFAST64): Likewise.
73057         [C99-based-standards] (SCNuFAST64): Likewise.
73058         [C99-based-standards] (SCNxFAST64): Likewise.
73059         [C99-based-standards] (PRIdMAX): Likewise.
73060         [C99-based-standards] (PRIiMAX): Likewise.
73061         [C99-based-standards] (PRIoMAX): Likewise.
73062         [C99-based-standards] (PRIuMAX): Likewise.
73063         [C99-based-standards] (PRIxMAX): Likewise.
73064         [C99-based-standards] (PRIXMAX): Likewise.
73065         [C99-based-standards] (SCNdMAX): Likewise.
73066         [C99-based-standards] (SCNiMAX): Likewise.
73067         [C99-based-standards] (SCNoMAX): Likewise.
73068         [C99-based-standards] (SCNuMAX): Likewise.
73069         [C99-based-standards] (SCNxMAX): Likewise.
73070         [C99-based-standards] (PRIdPTR): Likewise.
73071         [C99-based-standards] (PRIiPTR): Likewise.
73072         [C99-based-standards] (PRIoPTR): Likewise.
73073         [C99-based-standards] (PRIuPTR): Likewise.
73074         [C99-based-standards] (PRIxPTR): Likewise.
73075         [C99-based-standards] (PRIXPTR): Likewise.
73076         [C99-based-standards] (SCNdPTR): Likewise.
73077         [C99-based-standards] (SCNiPTR): Likewise.
73078         [C99-based-standards] (SCNoPTR): Likewise.
73079         [C99-based-standards] (SCNuPTR): Likewise.
73080         [C99-based-standards] (SCNxPTR): Likewise.
73081         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73082         allow.
73083         * conform/data/stdint.h-data: Update comments to clarify
73084         requirements.
73085         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73086         type.
73087         [C99-based standards] (INT8_MAX): Likewise.
73088         [C99-based standards] (INT16_MIN): Likewise.
73089         [C99-based standards] (INT16_MAX): Likewise.
73090         [C99-based standards] (INT32_MIN): Likewise.
73091         [C99-based standards] (INT32_MAX): Likewise.
73092         [C99-based standards] (INT64_MIN): Likewise.
73093         [C99-based standards] (INT64_MAX): Likewise.
73094         [C99-based standards] (UINT8_MAX): Likewise.
73095         [C99-based standards] (UINT16_MAX): Likewise.
73096         [C99-based standards] (UINT32_MAX): Likewise.
73097         [C99-based standards] (UINT64_MAX): Likewise.
73098         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73099         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73100         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73101         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73102         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73103         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73104         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73105         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73106         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73107         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73108         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73109         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73110         [C99-based standards] (INT_FAST8_MIN): Likewise.
73111         [C99-based standards] (INT_FAST8_MAX): Likewise.
73112         [C99-based standards] (INT_FAST16_MIN): Likewise.
73113         [C99-based standards] (INT_FAST16_MAX): Likewise.
73114         [C99-based standards] (INT_FAST32_MIN): Likewise.
73115         [C99-based standards] (INT_FAST32_MAX): Likewise.
73116         [C99-based standards] (INT_FAST64_MIN): Likewise.
73117         [C99-based standards] (INT_FAST64_MAX): Likewise.
73118         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73119         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73120         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73121         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73122         [C99-based standards] (INTPTR_MIN): Likewise.
73123         [C99-based standards] (INTPTR_MAX): Likewise.
73124         [C99-based standards] (UINTPTR_MAX): Likewise.
73125         [C99-based standards] (INTMAX_MIN): Likewise.
73126         [C99-based standards] (INTMAX_MAX): Likewise.
73127         [C99-based standards] (UINTMAX_MAX): Likewise.
73128         [C99-based standards] (PTRDIFF_MIN): Likewise.
73129         [C99-based standards] (PTRDIFF_MAX): Likewise.
73130         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73131         [C99-based standards] (SIZE_MAX): Likewise.
73132         [C99-based standards] (WCHAR_MAX): Likewise.
73133         [C99-based standards] (WINT_MAX): Likewise.
73134         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73135         constraint on value.
73136         [C99-based standards] (WCHAR_MIN): Likewise.
73137         [C99-based standards] (WINT_MIN): Likewise.
73138         [C99-based standards] (*_t): Allow.
73139         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73140         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73141         Include math.h-data and complex.h-data.  Remove all expectations
73142         of math.h and complex.h contents.
73143         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73144         at end of line.
73145         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73146         (struct tm): Expect tag.
73147         [C99-based-standards] (wcstof): Expect function.
73148         [C99-based-standards] (wcstold): Likewise.
73149         [C99-based-standards] (wcstoll): Likewise.
73150         [C99-based-standards] (wcstoull): Likewise.
73151         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73152         macro-int-constant.  Specify type.
73153         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73154         constraint on value.
73155         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73156         Specify type.
73157         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73158         Specify value.
73159         [ISO C standards]: Do not allow headers.
73160         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73161         wcs[abcdefghijklmnopqrstuvwxyz]*.
73162         [ISO C standards] (*_t): Do not allow.
73163         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73164         Expect function.
73165         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73166         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73167         Specify type.
73168         [ISO C standards]: Do not allow headers.
73169         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73170         is[abcdefghijklmnopqrstuvwxyz]*.
73171         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73172         to[abcdefghijklmnopqrstuvwxyz]*.
73173         [ISO C standards] (*_t): Do not allow.
73174         * conform/data/stdalign.h-data: New file.
73175         * conform/data/stdbool.h-data: Likewise.
73176         * conform/data/stdnoreturn.h-data: Likewise.
73178 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73180         [BZ #14815]
73181         * manual/filesys.texi (Directory Entries): Typo fix.
73182         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73184 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73186         * elf/elf.h (EM_AARCH64): New macro.
73187         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73188         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73189         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73190         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73191         (R_AARCH64_TLSDESC): Likewise.
73192         (NT_ARM_TLS): Likewise.
73193         (NT_ARM_HW_BREAK): Likewise.
73194         (NT_ARM_HW_WATCH): Likewise.
73196 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73198         [BZ #14811]
73199         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73200         (__ieee754_powl): Saturate nonzero exponents with absolute value
73201         below 0x1p-79 to +/- 0x1p-79.
73202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73203         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73204         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73205         nonzero exponents with absolute value below 0x1p-32 to +/-
73206         0x1p-32.
73207         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73208         (__ieee754_powl): Saturate nonzero exponents with absolute value
73209         below 0x1p-79 to +/- 0x1p-79.
73210         * math/libm-test.inc (pow_test): Add more tests.
73212 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73214         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73215         _dl_s390_cap_flags with kernel. Increase string length.
73216         (_dl_s390_platforms): Add z196 and zEC12.
73218 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73220         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73221         Change XOPEN21K to XOPEN2K.
73223 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73225         * string/memmove.c: Use memcpy when possible.
73227 2012-11-06  Andreas Jaeger  <aj@suse.de>
73229         * po/eo.po: Update from translation team.
73231 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73233         [BZ #14793]
73234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73235         exponent and small x and y exponents, scale x or y up.  Increase
73236         by 2 the exponent used in scaling up.
73237         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73238         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73239         * math/libm-test.inc (fma_test): Add more tests.
73240         (fma_test_towardzero): Likewise.
73241         (fma_test_downward): Likewise.
73242         (fma_test_upward): Likewise.
73244 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73246         [BZ #14805]
73247         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73248         fenv_t *.
73250         [BZ #14801]
73251         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73252         namespace for names of struct fields.
73253         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73254         fenv_t fields.
73255         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73256         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73258 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73260         [BZ #3665]
73261         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73263 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73265         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73266         PTR_DEMANGLE.
73268         [BZ #5246]
73269         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73270         PTR_DEMANGLE.
73272 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73274         [BZ #14797]
73275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73276         definitely overflow as x * y not x * y + z.
73277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73279         * math/libm-test.inc (fma_test): Add more tests.
73280         (fma_test_towardzero): Likewise.
73281         (fma_test_downward): Likewise.
73282         (fma_test_upward): Likewise.
73284 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73286         [BZ #157]
73288         * include/stub-tag.h: Remove file.
73289         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73290         '#include' of it.
73291         * manual/maint.texi (Porting): Don't reference it.
73292         * Makerules ($(objpfx)stubs): Likewise.
73293         * dirent/closedir.c: Don't include <stub-tag.h>.
73294         * dirent/dirfd.c: Likewise.
73295         * dirent/fdopendir.c: Likewise.
73296         * dirent/getdents.c: Likewise.
73297         * dirent/getdents64.c: Likewise.
73298         * dirent/opendir.c: Likewise.
73299         * dirent/readdir.c: Likewise.
73300         * dirent/readdir64.c: Likewise.
73301         * dirent/readdir64_r.c: Likewise.
73302         * dirent/readdir_r.c: Likewise.
73303         * dirent/rewinddir.c: Likewise.
73304         * dirent/seekdir.c: Likewise.
73305         * dirent/telldir.c: Likewise.
73306         * gmon/profil.c: Likewise.
73307         * grp/setgroups.c: Likewise.
73308         * inet/if_index.c: Likewise.
73309         * io/access.c: Likewise.
73310         * io/chdir.c: Likewise.
73311         * io/chmod.c: Likewise.
73312         * io/chown.c: Likewise.
73313         * io/close.c: Likewise.
73314         * io/dup.c: Likewise.
73315         * io/dup2.c: Likewise.
73316         * io/dup3.c: Likewise.
73317         * io/euidaccess.c: Likewise.
73318         * io/faccessat.c: Likewise.
73319         * io/fchdir.c: Likewise.
73320         * io/fchmod.c: Likewise.
73321         * io/fchmodat.c: Likewise.
73322         * io/fchown.c: Likewise.
73323         * io/fchownat.c: Likewise.
73324         * io/fcntl.c: Likewise.
73325         * io/flock.c: Likewise.
73326         * io/fstatfs.c: Likewise.
73327         * io/fstatfs64.c: Likewise.
73328         * io/fstatvfs.c: Likewise.
73329         * io/fstatvfs64.c: Likewise.
73330         * io/futimens.c: Likewise.
73331         * io/fxstat.c: Likewise.
73332         * io/fxstat64.c: Likewise.
73333         * io/fxstatat.c: Likewise.
73334         * io/fxstatat64.c: Likewise.
73335         * io/getcwd.c: Likewise.
73336         * io/isatty.c: Likewise.
73337         * io/lchmod.c: Likewise.
73338         * io/lchown.c: Likewise.
73339         * io/link.c: Likewise.
73340         * io/linkat.c: Likewise.
73341         * io/lseek.c: Likewise.
73342         * io/lseek64.c: Likewise.
73343         * io/lxstat64.c: Likewise.
73344         * io/mkdir.c: Likewise.
73345         * io/mkdirat.c: Likewise.
73346         * io/mkfifo.c: Likewise.
73347         * io/mkfifoat.c: Likewise.
73348         * io/open.c: Likewise.
73349         * io/open64.c: Likewise.
73350         * io/openat.c: Likewise.
73351         * io/openat64.c: Likewise.
73352         * io/pipe.c: Likewise.
73353         * io/pipe2.c: Likewise.
73354         * io/poll.c: Likewise.
73355         * io/posix_fadvise.c: Likewise.
73356         * io/posix_fadvise64.c: Likewise.
73357         * io/posix_fallocate.c: Likewise.
73358         * io/posix_fallocate64.c: Likewise.
73359         * io/read.c: Likewise.
73360         * io/readlink.c: Likewise.
73361         * io/readlinkat.c: Likewise.
73362         * io/rmdir.c: Likewise.
73363         * io/sendfile.c: Likewise.
73364         * io/sendfile64.c: Likewise.
73365         * io/statfs.c: Likewise.
73366         * io/statfs64.c: Likewise.
73367         * io/statvfs.c: Likewise.
73368         * io/statvfs64.c: Likewise.
73369         * io/symlink.c: Likewise.
73370         * io/symlinkat.c: Likewise.
73371         * io/ttyname.c: Likewise.
73372         * io/ttyname_r.c: Likewise.
73373         * io/umask.c: Likewise.
73374         * io/unlink.c: Likewise.
73375         * io/unlinkat.c: Likewise.
73376         * io/utime.c: Likewise.
73377         * io/utimensat.c: Likewise.
73378         * io/write.c: Likewise.
73379         * io/xmknod.c: Likewise.
73380         * io/xmknodat.c: Likewise.
73381         * io/xstat.c: Likewise.
73382         * io/xstat64.c: Likewise.
73383         * login/getpt.c: Likewise.
73384         * login/grantpt.c: Likewise.
73385         * login/unlockpt.c: Likewise.
73386         * math/e_acoshl.c: Likewise.
73387         * math/e_acosl.c: Likewise.
73388         * math/e_asinl.c: Likewise.
73389         * math/e_atan2l.c: Likewise.
73390         * math/e_atanhl.c: Likewise.
73391         * math/e_coshl.c: Likewise.
73392         * math/e_expl.c: Likewise.
73393         * math/e_fmodl.c: Likewise.
73394         * math/e_gammal_r.c: Likewise.
73395         * math/e_hypotl.c: Likewise.
73396         * math/e_j0l.c: Likewise.
73397         * math/e_j1l.c: Likewise.
73398         * math/e_jnl.c: Likewise.
73399         * math/e_lgammal_r.c: Likewise.
73400         * math/e_log10l.c: Likewise.
73401         * math/e_log2l.c: Likewise.
73402         * math/e_logl.c: Likewise.
73403         * math/e_powl.c: Likewise.
73404         * math/e_rem_pio2l.c: Likewise.
73405         * math/e_sinhl.c: Likewise.
73406         * math/e_sqrtl.c: Likewise.
73407         * math/fclrexcpt.c: Likewise.
73408         * math/fedisblxcpt.c: Likewise.
73409         * math/feenablxcpt.c: Likewise.
73410         * math/fegetenv.c: Likewise.
73411         * math/fegetexcept.c: Likewise.
73412         * math/fegetround.c: Likewise.
73413         * math/feholdexcpt.c: Likewise.
73414         * math/fesetenv.c: Likewise.
73415         * math/fesetround.c: Likewise.
73416         * math/feupdateenv.c: Likewise.
73417         * math/fgetexcptflg.c: Likewise.
73418         * math/fraiseexcpt.c: Likewise.
73419         * math/fsetexcptflg.c: Likewise.
73420         * math/ftestexcept.c: Likewise.
73421         * math/k_cosl.c: Likewise.
73422         * math/k_rem_pio2l.c: Likewise.
73423         * math/k_sinl.c: Likewise.
73424         * math/k_tanl.c: Likewise.
73425         * math/s_asinhl.c: Likewise.
73426         * math/s_atanl.c: Likewise.
73427         * math/s_cbrtl.c: Likewise.
73428         * math/s_erfl.c: Likewise.
73429         * math/s_expm1l.c: Likewise.
73430         * math/s_log1pl.c: Likewise.
73431         * math/s_tanhl.c: Likewise.
73432         * misc/acct.c: Likewise.
73433         * misc/brk.c: Likewise.
73434         * misc/chflags.c: Likewise.
73435         * misc/chroot.c: Likewise.
73436         * misc/fchflags.c: Likewise.
73437         * misc/fgetxattr.c: Likewise.
73438         * misc/flistxattr.c: Likewise.
73439         * misc/fremovexattr.c: Likewise.
73440         * misc/fsetxattr.c: Likewise.
73441         * misc/fsync.c: Likewise.
73442         * misc/ftruncate.c: Likewise.
73443         * misc/futimes.c: Likewise.
73444         * misc/futimesat.c: Likewise.
73445         * misc/getdomain.c: Likewise.
73446         * misc/getdtsz.c: Likewise.
73447         * misc/gethostid.c: Likewise.
73448         * misc/gethostname.c: Likewise.
73449         * misc/getloadavg.c: Likewise.
73450         * misc/getpagesize.c: Likewise.
73451         * misc/getsysstats.c: Likewise.
73452         * misc/getxattr.c: Likewise.
73453         * misc/gtty.c: Likewise.
73454         * misc/ioctl.c: Likewise.
73455         * misc/lgetxattr.c: Likewise.
73456         * misc/listxattr.c: Likewise.
73457         * misc/llistxattr.c: Likewise.
73458         * misc/lremovexattr.c: Likewise.
73459         * misc/lsetxattr.c: Likewise.
73460         * misc/lutimes.c: Likewise.
73461         * misc/madvise.c: Likewise.
73462         * misc/mincore.c: Likewise.
73463         * misc/mlock.c: Likewise.
73464         * misc/mlockall.c: Likewise.
73465         * misc/mmap.c: Likewise.
73466         * misc/mprotect.c: Likewise.
73467         * misc/msync.c: Likewise.
73468         * misc/munlock.c: Likewise.
73469         * misc/munlockall.c: Likewise.
73470         * misc/munmap.c: Likewise.
73471         * misc/preadv.c: Likewise.
73472         * misc/preadv64.c: Likewise.
73473         * misc/ptrace.c: Likewise.
73474         * misc/pwritev.c: Likewise.
73475         * misc/pwritev64.c: Likewise.
73476         * misc/readv.c: Likewise.
73477         * misc/reboot.c: Likewise.
73478         * misc/remap_file_pages.c: Likewise.
73479         * misc/removexattr.c: Likewise.
73480         * misc/revoke.c: Likewise.
73481         * misc/select.c: Likewise.
73482         * misc/setdomain.c: Likewise.
73483         * misc/setegid.c: Likewise.
73484         * misc/seteuid.c: Likewise.
73485         * misc/sethostid.c: Likewise.
73486         * misc/sethostname.c: Likewise.
73487         * misc/setregid.c: Likewise.
73488         * misc/setreuid.c: Likewise.
73489         * misc/setxattr.c: Likewise.
73490         * misc/sstk.c: Likewise.
73491         * misc/stty.c: Likewise.
73492         * misc/swapoff.c: Likewise.
73493         * misc/swapon.c: Likewise.
73494         * misc/sync.c: Likewise.
73495         * misc/syncfs.c: Likewise.
73496         * misc/syscall.c: Likewise.
73497         * misc/truncate.c: Likewise.
73498         * misc/ualarm.c: Likewise.
73499         * misc/usleep.c: Likewise.
73500         * misc/ustat.c: Likewise.
73501         * misc/utimes.c: Likewise.
73502         * misc/vhangup.c: Likewise.
73503         * misc/writev.c: Likewise.
73504         * posix/_exit.c: Likewise.
73505         * posix/alarm.c: Likewise.
73506         * posix/execve.c: Likewise.
73507         * posix/fexecve.c: Likewise.
73508         * posix/fork.c: Likewise.
73509         * posix/fpathconf.c: Likewise.
73510         * posix/getaddrinfo.c: Likewise.
73511         * posix/getegid.c: Likewise.
73512         * posix/geteuid.c: Likewise.
73513         * posix/getgid.c: Likewise.
73514         * posix/getgroups.c: Likewise.
73515         * posix/getlogin.c: Likewise.
73516         * posix/getlogin_r.c: Likewise.
73517         * posix/getpgid.c: Likewise.
73518         * posix/getpid.c: Likewise.
73519         * posix/getppid.c: Likewise.
73520         * posix/getresgid.c: Likewise.
73521         * posix/getresuid.c: Likewise.
73522         * posix/getsid.c: Likewise.
73523         * posix/getuid.c: Likewise.
73524         * posix/glob64.c: Likewise.
73525         * posix/nanosleep.c: Likewise.
73526         * posix/pathconf.c: Likewise.
73527         * posix/pause.c: Likewise.
73528         * posix/posix_madvise.c: Likewise.
73529         * posix/pread.c: Likewise.
73530         * posix/pread64.c: Likewise.
73531         * posix/pwrite.c: Likewise.
73532         * posix/pwrite64.c: Likewise.
73533         * posix/sched_getaffinity.c: Likewise.
73534         * posix/sched_getp.c: Likewise.
73535         * posix/sched_gets.c: Likewise.
73536         * posix/sched_primax.c: Likewise.
73537         * posix/sched_primin.c: Likewise.
73538         * posix/sched_rr_gi.c: Likewise.
73539         * posix/sched_setaffinity.c: Likewise.
73540         * posix/sched_setp.c: Likewise.
73541         * posix/sched_sets.c: Likewise.
73542         * posix/sched_yield.c: Likewise.
73543         * posix/setgid.c: Likewise.
73544         * posix/setlogin.c: Likewise.
73545         * posix/setpgid.c: Likewise.
73546         * posix/setresgid.c: Likewise.
73547         * posix/setresuid.c: Likewise.
73548         * posix/setsid.c: Likewise.
73549         * posix/setuid.c: Likewise.
73550         * posix/sleep.c: Likewise.
73551         * posix/spawni.c: Likewise.
73552         * posix/sysconf.c: Likewise.
73553         * posix/times.c: Likewise.
73554         * posix/wait.c: Likewise.
73555         * posix/wait3.c: Likewise.
73556         * posix/wait4.c: Likewise.
73557         * posix/waitpid.c: Likewise.
73558         * resolv/gai_sigqueue.c: Likewise.
73559         * resource/getpriority.c: Likewise.
73560         * resource/getrlimit.c: Likewise.
73561         * resource/getrusage.c: Likewise.
73562         * resource/nice.c: Likewise.
73563         * resource/setpriority.c: Likewise.
73564         * resource/setrlimit.c: Likewise.
73565         * resource/ulimit.c: Likewise.
73566         * rt/aio_cancel.c: Likewise.
73567         * rt/aio_fsync.c: Likewise.
73568         * rt/aio_read.c: Likewise.
73569         * rt/aio_sigqueue.c: Likewise.
73570         * rt/aio_suspend.c: Likewise.
73571         * rt/aio_write.c: Likewise.
73572         * rt/clock_getres.c: Likewise.
73573         * rt/clock_gettime.c: Likewise.
73574         * rt/clock_nanosleep.c: Likewise.
73575         * rt/clock_settime.c: Likewise.
73576         * rt/lio_listio.c: Likewise.
73577         * rt/mq_close.c: Likewise.
73578         * rt/mq_getattr.c: Likewise.
73579         * rt/mq_notify.c: Likewise.
73580         * rt/mq_open.c: Likewise.
73581         * rt/mq_receive.c: Likewise.
73582         * rt/mq_send.c: Likewise.
73583         * rt/mq_setattr.c: Likewise.
73584         * rt/mq_timedreceive.c: Likewise.
73585         * rt/mq_timedsend.c: Likewise.
73586         * rt/mq_unlink.c: Likewise.
73587         * rt/shm_open.c: Likewise.
73588         * rt/shm_unlink.c: Likewise.
73589         * rt/timer_create.c: Likewise.
73590         * rt/timer_delete.c: Likewise.
73591         * rt/timer_getoverr.c: Likewise.
73592         * rt/timer_gettime.c: Likewise.
73593         * rt/timer_settime.c: Likewise.
73594         * setjmp/__longjmp.c: Likewise.
73595         * setjmp/setjmp.c: Likewise.
73596         * signal/kill.c: Likewise.
73597         * signal/killpg.c: Likewise.
73598         * signal/raise.c: Likewise.
73599         * signal/sigaction.c: Likewise.
73600         * signal/sigaltstack.c: Likewise.
73601         * signal/sigblock.c: Likewise.
73602         * signal/sigignore.c: Likewise.
73603         * signal/sigintr.c: Likewise.
73604         * signal/signal.c: Likewise.
73605         * signal/sigpause.c: Likewise.
73606         * signal/sigpending.c: Likewise.
73607         * signal/sigqueue.c: Likewise.
73608         * signal/sigreturn.c: Likewise.
73609         * signal/sigset.c: Likewise.
73610         * signal/sigsetmask.c: Likewise.
73611         * signal/sigstack.c: Likewise.
73612         * signal/sigsuspend.c: Likewise.
73613         * signal/sigtimedwait.c: Likewise.
73614         * signal/sigvec.c: Likewise.
73615         * signal/sigwait.c: Likewise.
73616         * signal/sigwaitinfo.c: Likewise.
73617         * signal/sysv_signal.c: Likewise.
73618         * socket/accept.c: Likewise.
73619         * socket/accept4.c: Likewise.
73620         * socket/bind.c: Likewise.
73621         * socket/connect.c: Likewise.
73622         * socket/getpeername.c: Likewise.
73623         * socket/getsockname.c: Likewise.
73624         * socket/getsockopt.c: Likewise.
73625         * socket/isfdtype.c: Likewise.
73626         * socket/listen.c: Likewise.
73627         * socket/recv.c: Likewise.
73628         * socket/recvfrom.c: Likewise.
73629         * socket/recvmsg.c: Likewise.
73630         * socket/send.c: Likewise.
73631         * socket/sendmsg.c: Likewise.
73632         * socket/sendto.c: Likewise.
73633         * socket/setsockopt.c: Likewise.
73634         * socket/shutdown.c: Likewise.
73635         * socket/sockatmark.c: Likewise.
73636         * socket/socket.c: Likewise.
73637         * socket/socketpair.c: Likewise.
73638         * stdio-common/ctermid.c: Likewise.
73639         * stdio-common/cuserid.c: Likewise.
73640         * stdio-common/remove.c: Likewise.
73641         * stdio-common/rename.c: Likewise.
73642         * stdio-common/renameat.c: Likewise.
73643         * stdio-common/tempname.c: Likewise.
73644         * stdlib/getcontext.c: Likewise.
73645         * stdlib/makecontext.c: Likewise.
73646         * stdlib/setcontext.c: Likewise.
73647         * stdlib/swapcontext.c: Likewise.
73648         * stdlib/system.c: Likewise.
73649         * streams/fattach.c: Likewise.
73650         * streams/fdetach.c: Likewise.
73651         * streams/getmsg.c: Likewise.
73652         * streams/getpmsg.c: Likewise.
73653         * streams/putmsg.c: Likewise.
73654         * streams/putpmsg.c: Likewise.
73655         * sysdeps/unix/bsd/getpt.c: Likewise.
73656         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73657         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73658         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73660         Likewise.
73661         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73662         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73663         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73664         * sysvipc/msgctl.c: Likewise.
73665         * sysvipc/msgget.c: Likewise.
73666         * sysvipc/msgrcv.c: Likewise.
73667         * sysvipc/msgsnd.c: Likewise.
73668         * sysvipc/semctl.c: Likewise.
73669         * sysvipc/semget.c: Likewise.
73670         * sysvipc/semop.c: Likewise.
73671         * sysvipc/semtimedop.c: Likewise.
73672         * sysvipc/shmat.c: Likewise.
73673         * sysvipc/shmctl.c: Likewise.
73674         * sysvipc/shmdt.c: Likewise.
73675         * sysvipc/shmget.c: Likewise.
73676         * termios/tcdrain.c: Likewise.
73677         * termios/tcflow.c: Likewise.
73678         * termios/tcflush.c: Likewise.
73679         * termios/tcgetattr.c: Likewise.
73680         * termios/tcgetpgrp.c: Likewise.
73681         * termios/tcsendbrk.c: Likewise.
73682         * termios/tcsetattr.c: Likewise.
73683         * termios/tcsetpgrp.c: Likewise.
73684         * time/adjtime.c: Likewise.
73685         * time/clock.c: Likewise.
73686         * time/getitimer.c: Likewise.
73687         * time/gettimeofday.c: Likewise.
73688         * time/setitimer.c: Likewise.
73689         * time/settimeofday.c: Likewise.
73690         * time/stime.c: Likewise.
73691         * time/time.c: Likewise.
73693 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73695         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73696         /usr/old/bin.
73698         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73699         instead of spaces.
73700         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73702 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73704         [BZ #14796]
73705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73706         FE_TONEAREST before applying Dekker multiplication and Knuth
73707         addition.  Clear inexact exceptions and check for exact zero
73708         results afterwards.
73709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73710         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73712         * math/libm-test.inc (fma_test): Add more tests.
73713         (fma_test_towardzero): Likewise.
73714         (fma_test_downward): Likewise.
73715         (fma_test_upward): Likewise.
73716         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73717         function.
73718         (libc_fesetround): New macro.
73719         (libc_fesetroundf): Likewise.
73720         (libc_fesetroundl): Likewise.
73721         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73722         function.
73723         (libc_fesetround_387): Likewise.
73724         (libc_fesetroundf): New macro.
73725         (libc_fesetround): Likewise.
73726         (libc_fesetroundl): Likewise.
73727         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73728         function.
73729         (libc_fesetroundf): New macro.
73730         (libc_fesetround): Likewise.
73731         (libc_fesetroundl): Likewise.
73732         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73733         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73734         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73735         libm_hidden_ver.
73736         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73737         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73738         libm_hidden_def.
73739         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73740         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73741         libm_hidden_ver.
73742         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73743         libm_hidden_def.
73745         [BZ #3439]
73746         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73747         integer constant usable in #if and use that to give value to enum
73748         constant.
73749         (FE_DIVBYZERO): Likewise.
73750         (FE_UNDERFLOW): Likewise.
73751         (FE_OVERFLOW): Likewise.
73752         (FE_INVALID): Likewise.
73753         (FE_INVALID_SNAN): Likewise.
73754         (FE_INVALID_ISI): Likewise.
73755         (FE_INVALID_IDI): Likewise.
73756         (FE_INVALID_ZDZ): Likewise.
73757         (FE_INVALID_IMZ): Likewise.
73758         (FE_INVALID_COMPARE): Likewise.
73759         (FE_INVALID_SOFTWARE): Likewise.
73760         (FE_INVALID_SQRT): Likewise.
73761         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73762         (FE_TONEAREST): Likewise.
73763         (FE_TOWARDZERO): Likewise.
73764         (FE_UPWARD): Likewise.
73765         (FE_DOWNWARD): Likewise.
73766         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73767         (FE_DIVBYZERO): Likewise.
73768         (FE_OVERFLOW): Likewise.
73769         (FE_UNDERFLOW): Likewise.
73770         (FE_INEXACT): Likewise.
73771         (FE_TONEAREST): Likewise.
73772         (FE_DOWNWARD): Likewise.
73773         (FE_UPWARD): Likewise.
73774         (FE_TOWARDZERO): Likewise.
73775         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73776         (FE_UNDERFLOW): Likewise.
73777         (FE_OVERFLOW): Likewise.
73778         (FE_DIVBYZERO): Likewise.
73779         (FE_INVALID): Likewise.
73780         (FE_TONEAREST): Likewise.
73781         (FE_TOWARDZERO): Likewise.
73782         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73783         (FE_OVERFLOW): Likewise.
73784         (FE_UNDERFLOW): Likewise.
73785         (FE_DIVBYZERO): Likewise.
73786         (FE_INEXACT): Likewise.
73787         (FE_TONEAREST): Likewise.
73788         (FE_TOWARDZERO): Likewise.
73789         (FE_UPWARD): Likewise.
73790         (FE_DOWNWARD): Likewise.
73791         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73792         (FE_DIVBYZERO): Likewise.
73793         (FE_OVERFLOW): Likewise.
73794         (FE_UNDERFLOW): Likewise.
73795         (FE_INEXACT): Likewise.
73796         (FE_TONEAREST): Likewise.
73797         (FE_DOWNWARD): Likewise.
73798         (FE_UPWARD): Likewise.
73799         (FE_TOWARDZERO): Likewise.
73801 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73803         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73805 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73807         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73808         commands.  Quote $PWD.
73809         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73810         -x" by "export".
73811         (remove_newlines): Remove.
73813 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73815         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73816         * stdlib/stdlib.h (atof): Moved to ...
73817         * include/bits/stdlib-float.h: Here.  New file.
73818         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73819         * stdlib/bits/stdlib-float.h: New file.
73820         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73821         -mno-sse -mno-mmx.
73822         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73823         <xmmintrin.h>.
73825 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73827         * conform/conformtest.pl (@headers): Add fenv.h.
73828         * conform/data/fenv.h-data: New file.
73829         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73830         include of <math/fenv.h>.
73832         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73833         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73834         && !UNIX98].  Enables tests for XOPEN2K8.
73835         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73836         POSIX2008]: Likewise.
73838         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73839         (struct rusage): Do not expect type or its members.
73841         [BZ #3439]
73842         * math/math.h (FP_NAN): Define macro to integer constant usable in
73843         #if and use that to give value to enum constant.
73844         (FP_INFINITE): Likewise.
73845         (FP_ZERO): Likewise.
73846         (FP_SUBNORMAL): Likewise.
73847         (FP_NORMAL): Likewise.
73849 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73851         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73852         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73853         arguments.
73855 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73857         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73858         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73859         autoconf-time if not.
73860         * configure.in: Remove AC_PREREQ.
73862 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73864         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73865         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73866         of the internal implementation.
73868 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73870         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73871         except include of <misc/sys/syslog.h>.
73873 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73876         function returns with a NULL context exit with zero.
73878 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73880         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73882 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73884         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73885         (run_program_cmd): This.
73886         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73887         (tst_langinfo): New variable.  Use it.
73889 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73891         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73892         floating point opcodes.
73894 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73896         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73897         variable.
73899         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73901         * sysdeps/mach/hurd/powerpc: Remove directory.
73902         * sysdeps/mach/powerpc: Likewise.
73904 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73906         * scripts/check-local-headers.sh: Ignore c++ headers.
73908 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73910         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73911         __libc_cleanup_region_start argument.
73913 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73915         [BZ #14784]
73916         [BZ #14785]
73917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73918         x * y using scaling, not as x * y + z.
73919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73921         * math/libm-test.inc (fma_test): Add more tests.
73922         (fma_test_towardzero): Likewise.
73923         (fma_test_downward): Likewise.
73924         (fma_test_upward): Likewise.
73926 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73928         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73930 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73932         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73933         New variable.
73935 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73937         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73939 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73942         Fix sort order.
73943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73944         Likewise.
73946 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73949         Fix the order of the list for glibc 2.17.
73950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73951         Likewise.
73953 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73957 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73959         [BZ #14610]
73960         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73961         for low part of x being zero before using __atanl (y).
73962         * math/libm-test.inc (atan2_test): Add another test.
73964         * manual/install.texi (Configuring and compiling): Document
73965         general use of test-wrapper and test-wrapper-env.
73966         * INSTALL: Regenerated.
73968         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73969         (__fma): Do not extract and scale down low bits on after-rounding
73970         systems when result rounded to normal precision would have normal
73971         exponent.
73972         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73973         (__fmal): Do not extract and scale down low bits on after-rounding
73974         systems when result rounded to normal precision would have normal
73975         exponent.
73976         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73977         (__fmal): Do not extract and scale down low bits on after-rounding
73978         systems when result rounded to normal precision would have normal
73979         exponent.
73980         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73981         macro.
73982         (fma_test): Add more tests.
73983         (fma_test_towardzero): Likewise.
73984         (fma_test_downward): Likewise.
73985         (fma_test_upward): Likewise.
73987 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
73989         * sysdeps/i386/tininess.h: Renamed to ...
73990         * sysdeps/x86/tininess.h: This.
73991         * sysdeps/x86_64/tininess.h: Removed.
73993 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73995         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73996         input.  Use $(build-program-cmd).
73997         ($(objpfx)tst-array1-static.out): Likewise.
73998         ($(objpfx)tst-array2.out): Likewise.
73999         ($(objpfx)tst-array3.out): Likewise.
74000         ($(objpfx)tst-array4.out): Likewise.
74001         ($(objpfx)tst-array5.out): Likewise.
74002         ($(objpfx)tst-array5-static.out): Likewise.
74004 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74006         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74007         if defined.
74009         * nss/nsswitch.h (nss_interface_function): Provide new
74010         macro for use with NSS functions.
74011         * grp/initgroups.c: Use new macro.
74012         * nss/getXXbyYY.c: Likewise.
74013         * nss/getXXbyYY_r.c: Likewise.
74014         * nss/getXXent.c: Likewise.
74015         * nss/getXXent_r.c: Likewise.
74016         * sysdeps/posix/getaddrinfo.c: Likewise.
74018 2012-10-30  Andreas Jaeger  <aj@suse.de>
74020         * po/ru.po: Update Russion translation from translation project.
74022 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74024         [BZ #14152]
74025         [BZ #14783]
74026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74027         result and shift together with sticky bit instead of replicating
74028         round-to-nearest rounding.
74029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74030         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74031         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74032         missing underflow exceptions.
74033         (fma_test_towardzero): Add more tests.
74034         (fma_test_downward): Likewise.
74035         (fma_test_upward): Likewise.
74037         [BZ #14047]
74038         * sysdeps/generic/tininess.h: New file.
74039         * sysdeps/i386/tininess.h: Likewise.
74040         * sysdeps/sh/tininess.h: Likewise.
74041         * sysdeps/x86_64/tininess.h: Likewise.
74042         * stdlib/tst-strtod-underflow.c: Likewise.
74043         * stdlib/tst-tininess.c: Likewise.
74044         * stdlib/strtod_l.c: Include <tininess.h>.
74045         (round_and_return): Do not set errno for exact underflow cases.
74046         Force an underflow exception when setting errno for underflow.
74047         Determine underflow based on rounding to normal precision if
74048         TININESS_AFTER_ROUNDING.
74049         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74050         ERANGE for exact underflow cases.
74051         * stdlib/Makefile (tests): Add tst-tininess and
74052         tst-strtod-underflow.
74053         ($(objpfx)tst-tininess): Use $(link-libm).
74054         ($(objpfx)tst-strtod-underflow): Likewise.
74056 2012-10-30  Andreas Jaeger  <aj@suse.de>
74058         [BZ #14767]
74059         * elf/Makefile (tests): Remove conditional for have-initfini-array
74060         since this is now always required and the variable does not exist
74061         anymore.
74062         (tests-static): Likewise.
74063         (modules-names): Likewise.
74065         * po/eo.po: Add Esperanto translation from translation project.
74067         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74068         merged with constructor/destructor.
74069         (init_array): Likewise.
74070         * elf/tst-array2dep.c (fini_array): Likewise.
74071         (init_array): Likewise.
74073 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74075         * manual/message.texi: Delete @cartouche tags.
74077 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74079         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74080         EOPNOTSUPP.
74081         * sysdeps/mach/hurd/fsync.c: Likewise.
74083         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74084         [_POSIX_REALTIME_SIGNALS]: Change condition to
74085         [_POSIX_REALTIME_SIGNALS > 0].
74087 2012-10-27  Andreas Jaeger  <aj@suse.de>
74089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74090         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74091         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74092         [__WORDSIZE != 64]: Likewise.
74094 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74096         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74097         *  iconvdata/tst-tables.sh: Likewise.
74099 2012-10-25  David S. Miller  <davem@davemloft.net>
74101         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74102         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74103         of strtoull.
74105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74106         ifunc-impl-list.c
74107         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74108         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74109         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74110         file.
74112 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74115         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74116         __getdirentries.
74118 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74119             Jim Blandy  <jimb@codesourcery.com>
74121         * scripts/cross-test-ssh.sh: New file.
74122         * manual/install.texi (Configuring and compiling): Document use of
74123         cross-test-ssh.sh.
74124         * INSTALL: Regenerated.
74126 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74128         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74129         EOPNOTSUPP.
74131 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74133         * Makeconfig (run-program-prefix): Fix comment.
74135 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74136             Jim Blandy  <jimb@codesourcery.com>
74138         * Makeconfig (test-wrapper): New variable,
74139         (test-wrapper-env): Likewise.
74140         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74141         (run-built-tests): Define to yes.
74142         (run-program-prefix): Use $(test-wrapper).
74143         (built-program-cmd): Likewise.
74144         * Rules (make-test-out): Use $(test-wrapper-env) and
74145         $(host-built-program-cmd).
74146         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74147         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74148         tst-pathopt.sh.
74149         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74150         $(test-wrapper-env) to tst-rtld-load-self.sh.
74151         ($(objpfx)order2.out): Use $(test-wrapper).
74152         ($(objpfx)tst-initorder.out): Likewise.
74153         ($(objpfx)tst-initorder2.out): Likewise.
74154         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74155         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74156         (test_wrapper_env): New variable.  Use it to run ld.so.
74157         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74158         Use it to run ld.so.
74159         (test_wrapper_env): Likewise.
74160         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74161         $(test-wrapper) to run-iconv-test.sh.
74162         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74163         (ICONV): Use $test_wrapper.
74164         * posix/Makefile ($(objpfx)globtest.out): Pass
74165         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74166         globtest.sh, not $(run-program-prefix).
74167         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74168         (test_wrapper): Likewise.
74169         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74170         set together with run_via_rtld_prefix.
74171         (run_program_prefix): Define in terms of test_wrapper and
74172         run_via_rtld_prefix.
74174 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74176         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74177         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74178         Targets removed.
74180         [BZ #14743]
74181         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74182         Declare __clock_getres, __clock_gettime, __clock_settime,
74183         __clock_nanosleep, and __clock_getcpuclockid.
74184         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74185         Remove librt_hidden_def (clock_gettime).
74186         * sysdeps/unix/clock_gettime.c: Likewise.
74187         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74189         * rt/clock_getres.c: Define __clock_getres as an alias.
74190         * sysdeps/posix/clock_getres.c: Likewise.
74191         * rt/clock_settime.c: Define __clock_settime as an alias.
74192         * sysdeps/unix/clock_settime.c: Likewise.
74193         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74194         * sysdeps/unix/clock_nanosleep.c: Likewise.
74195         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74196         * rt/clock-compat.c: New file.
74197         * rt/Makefile (librt-routines): Add clock-compat and move
74198         $(clock-routines) to ...
74199         (routines): ... here, new variable.
74200         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74201         Don't add get_clockfreq here.
74202         * rt/Versions (libc: GLIBC_2.17): New version set.
74203         Add clock_* symbols here.
74204         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74205         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74206         (GLIBC_2.17): Add clock_* symbols.
74207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74211         Likewise.
74212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74213         Likewise.
74214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74218         * NEWS: Mention the move.
74220         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74221         Use __open, __read, __close rather than their public counterparts.
74222         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74223         (__get_clockfreq_via_cpuinfo): Likewise.
74224         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74225         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74227         * config.h.in (HAVE_IFUNC): New #undef.
74228         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74229         was successful.
74230         * configure: Regenerated.
74232 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74234         * configure.in: Move READELF check to start of file.
74235         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74236         libc_cv_asm_gnu_indirect_function in the process.
74237         * configure: Regenerated.
74239 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74241         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74242         send the output to /dev/null.
74243         (libc_cv_cc_with_libunwind): Likewise.
74244         (libc_cv_as_noexecstack): Likewise.
74245         * configure: Regenerate.
74247 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74249         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74251         * posix/globtest.sh (TMPDIR): Do not set.
74252         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74253         (testout): Likewise.
74255 2012-10-24  Andreas Jaeger  <aj@suse.de>
74257         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74258         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74259         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74260         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74261         posix_fadvise64, posix_fallocate64.
74263         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74264         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74265         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74266         Likewise.
74267         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74268         Likewise.
74269         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74272         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74273         <bits/fcntl-linux.h>.
74274         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74276         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74277         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74278         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74279         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74280         [__WORDSIZE != 64]: Likewise.
74282 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74284         * Makeconfig (run-built-tests): New variable.
74285         * Rules [$(cross-compiling) = yes]: Change condition to
74286         [$(run-built-tests) = no].
74287         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74288         to [$(run-built-tests) = yes].
74289         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74290         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74291         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74292         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74293         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74294         * io/Makefile [$(cross-compiling) = no]: Likewise.
74295         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74296         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74297         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74298         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74299         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74300         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74301         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74302         * string/Makefile [$(cross-compiling) = no]: Likewise.
74304         * posix/Makefile ($(objpfx)globtest.out): Pass
74305         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74306         $(rtld-installed-name).
74307         * posix/globtest.sh (elf_objpfx): Remove variable.
74308         (rtld_installed_name): Likewise.
74309         (library_path): Likewise.
74310         (run_program_prefix): New variable.  Use for running globtest
74311         binary.
74313 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74314             Joseph Myers  <joseph@codesourcery.com>
74316         * Makeconfig (host-built-program-cmd): New variable.
74317         * elf/Makefile (tst-stackguard1-ARGS): Use
74318         $(host-built-program-cmd).
74319         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74320         (tst-spawn-ARGS): Likewise.
74321         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74323 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74324             Jim Blandy  <jimb@codesourcery.com>
74326         * Makeconfig (run-via-rtld-prefix): New variable.
74327         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74328         (built-program-cmd): Likewise.
74330 2012-10-22  Andreas Jaeger  <aj@suse.de>
74332         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74333         __O_RSYNC if it exists, otherwise to O_SYNC.
74335 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74336             Joseph Myers  <joseph@codesourcery.com>
74338         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74339         /dev/null.
74340         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74341         from /dev/null
74342         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74343         /dev/null.
74345 2012-10-22  Andreas Jaeger  <aj@suse.de>
74347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74348         Define always.
74349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74352         bits/fcntl-linux.h.
74354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74355         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74357         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74358         to __O_LARGEFILE.
74359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74360         to __O_LARGEFILE.
74362 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74363             Joseph Myers  <joseph@codesourcery.com>
74365         * config.make.in (NM): New variable.
74367 2012-10-21  Andreas Jaeger  <aj@suse.de>
74369         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74370         definitions and declarations that are provided by
74371         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74373 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74375         [BZ #14683]
74376         * elf/Makefile (tests-static): Add tst-leaks1-static.
74377         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74378         ($(objpfx)tst-leaks1-static): New rule.
74379         ($(objpfx)tst-leaks1-static-mem): Likewise.
74380         (tst-leaks1-static-ENV): New macro.
74381         * elf/dl-open.c (dl_open_worker): Check the main application
74382         only if SHARED is defined.
74383         * elf/tst-leaks1-static.c: New file.
74385 2012-10-20  Andreas Jaeger  <aj@suse.de>
74387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74388         generic values for Linux.
74389         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74390         and declarations that are provided by <bits/fcntl-linux.h> and
74391         include <bits/fcntl-linux.h>.
74392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74395 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74397         * io/fcntl.h: Move include of <bits/types.h> to the top and
74398         include it unconditionally.
74400 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74402         * wcsmbs/Makefile (tests-ifunc): New variable.
74403         (tests): Add $(tests-ifunc).
74404         * wcsmbs/test-wcschr-ifunc.c: New file.
74405         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74406         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74407         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74408         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74409         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74411         * string/Makefile (tests-ifunc): New variable.
74412         (tests): Add $(tests-ifunc).
74413         * string/test-memccpy.c (TEST_NAME): New macro.
74414         * string/test-memchr.c (TEST_NAME): Likewise.
74415         * string/test-memcmp.c (TEST_NAME): Likewise.
74416         * string/test-memcpy.c (TEST_NAME): Likewise.
74417         * string/test-memmem.c (TEST_NAME): Likewise.
74418         * string/test-memmove.c (TEST_NAME): Likewise.
74419         * string/test-memset.c (TEST_NAME): Likewise.
74420         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74421         * string/test-stpcpy.c (TEST_NAME): Likewise.
74422         * string/test-stpncpy.c (TEST_NAME): Likewise.
74423         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74424         * string/test-strcasestr.c (TEST_NAME): Likewise.
74425         * string/test-strcat.c (TEST_NAME): Likewise.
74426         * string/test-strchr.c (TEST_NAME): Likewise.
74427         * string/test-strcmp.c(TEST_NAME): Likewise.
74428         * string/test-strcpy.c (TEST_NAME): Likewise.
74429         * string/test-strcspn.c (TEST_NAME): Likewise.
74430         * string/test-strlen.c (TEST_NAME): Likewise.
74431         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74432         * string/test-strncmp.c (TEST_NAME): Likewise.
74433         * string/test-strncpy.c (TEST_NAME): Likewise.
74434         * string/test-strnlen.c (TEST_NAME): Likewise.
74435         * string/test-strpbrk.c (TEST_NAME): Likewise.
74436         * string/test-strrchr.c (TEST_NAME): Likewise.
74437         * string/test-strspn.c (TEST_NAME): Likewise.
74438         * string/test-strstr.c (TEST_NAME): Likewise.
74439         * string/test-bcopy-ifunc.c: New file.
74440         * string/test-bzero-ifunc.c: Likewise.
74441         * string/test-memccpy-ifunc.c: Likewise.
74442         * string/test-memchr-ifunc.c: Likewise.
74443         * string/test-memcmp-ifunc.c: Likewise.
74444         * string/test-memcpy-ifunc.c: Likewise.
74445         * string/test-memmem-ifunc.c: Likewise.
74446         * string/test-memmove-ifunc.c: Likewise.
74447         * string/test-mempcpy-ifunc.c: Likewise.
74448         * string/test-memset-ifunc.c: Likewise.
74449         * string/test-rawmemchr-ifunc.c: Likewise.
74450         * string/test-stpcpy-ifunc.c: Likewise.
74451         * string/test-stpncpy-ifunc.c: Likewise.
74452         * string/test-strcasecmp-ifunc.c: Likewise.
74453         * string/test-strcasestr-ifunc.c: Likewise.
74454         * string/test-strcat-ifunc.c: Likewise.
74455         * string/test-strchr-ifunc.c: Likewise.
74456         * string/test-strchrnul-ifunc.c: Likewise.
74457         * string/test-strcmp-ifunc.c: Likewise.
74458         * string/test-strcpy-ifunc.c: Likewise.
74459         * string/test-strcspn-ifunc.c: Likewise.
74460         * string/test-strlen-ifunc.c: Likewise.
74461         * string/test-strncasecmp-ifunc.c: Likewise.
74462         * string/test-strncat-ifunc.c: Likewise.
74463         * string/test-strncmp-ifunc.c: Likewise.
74464         * string/test-strncpy-ifunc.c: Likewise.
74465         * string/test-strnlen-ifunc.c: Likewise.
74466         * string/test-strpbrk-ifunc.c: Likewise.
74467         * string/test-strrchr-ifunc.c: Likewise.
74468         * string/test-strspn-ifunc.c: Likewise.
74469         * string/test-strstr-ifunc.c: Likewise.
74471         * debug/Makefile (tests-ifunc): New variable.
74472         (tests): Add $(tests-ifunc).
74473         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74474         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74475         * debug/test-stpcpy_chk-ifunc.c: New file.
74476         * debug/test-strcpy_chk-ifunc.c: Likewise.
74478 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74480         [BZ #13601]
74481         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74482         header is not read in.
74484 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74486         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74487         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74488         directly.  Pass built executable to script as
74489         $(built-program-cmd).
74490         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74491         $testprogram without using LD_LIBRARY_PATH and $ldso.
74493         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74494         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74495         $(rtld-installed-name).
74496         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74497         (rtld_installed_name): Likewise.
74498         (library_path): Likewise.
74499         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74500         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74501         $(run-program-prefix) to tst-tables.sh.
74502         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74503         it to run tst-table-from and tst-table-to.
74504         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74505         Pass it to tst-table.sh.
74506         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74507         $(run-program-prefix) to tst-gettext.sh.
74508         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74509         tst-translit.sh.
74510         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74511         tst-gettext2.sh.
74512         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74513         to run tst-gettext.
74514         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74515         to run tst-gettext2.
74516         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74517         to run tst-translit.
74518         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74519         $(run-program-prefix) to tst-mtrace.sh.
74520         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74521         to run tst-mtrace.
74522         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74523         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74524         $(rtld-installed-name).
74525         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74526         (rtld_installed_name): Likewise.
74527         (run_program_prefix): New variable.  Use it to run wordexp-test.
74529         * Makeconfig (ARCH): Remove all definitions.
74530         (machine): Likewise.
74531         [ARCH]: Remove conditional code.
74532         [!objdir]: Give error.
74533         [!objdir] (objpfx): Remove.
74534         [!objdir] (common-objpfx): Likewise.
74535         [!objdir] (common-objdir): Likewise.
74536         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74537         AC_CONFIG_FILES call.
74538         * configure: Regenerated.
74540         [BZ #13888]
74541         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74542         or TMPDIR.
74543         (testout): Likewise.
74545         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74546         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74547         $(rtld-installed-name).
74548         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74549         (rtld_installed_name): Likewise.
74550         (runit): Remove function.
74551         (run_getconf): New variable,  Use it for running getconf binary.
74553 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74555         [BZ #14716]
74556         * string/test-memmem.c (check_result): New function.
74557         (do_one_test): Use it.
74558         (check1): New function.
74559         (test_main): Use it.
74561 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74563         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74565 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74567         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74568         (_G_LSEEK64): Likewise.
74569         (_G_MMAP64): Likewise.
74570         (_G_FSTAT64): Likewise.
74571         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74572         (_G_LSEEK64): Likewise.
74573         (_G_MMAP64): Likewise.
74574         (_G_FSTAT64): Likewise.
74575         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74576         unconditional.  Call __mmap64 directly.
74577         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74578         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74579         __lseek64 directly.
74580         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74581         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74582         __mmap64 directly.
74583         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74584         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74585         __lseek64 directly.
74586         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74587         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74588         __lseek64 directly.
74589         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74590         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74591         __lseek64 directly.
74592         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74593         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74594         __fxstat64 directly.
74595         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74596         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74597         unconditional.
74598         (freopen64) [!_G_OPEN64]: Remove conditional code.
74599         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74600         unconditional.
74601         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74602         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74603         unconditional.
74604         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74605         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74606         unconditional.
74607         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74608         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74609         unconditional.
74610         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74611         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74612         unconditional.
74613         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74614         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74615         unconditional.
74616         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74617         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74618         unconditional.
74619         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74621 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74623         [BZ #12140]
74624         * manual/memory.texi (Malloc Tunable Parameters): Add note
74625         about free list pointers overwriting some perturb bytes.
74626         Wording suggested by Roland McGrath.
74628 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74630         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74631         (lgamma_test): Likewise.
74632         (tgamma_test): Likewise.
74634 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74636         [BZ #14700]
74637         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74638         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74640 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74642         * NEWS: Mention BZ #14716.
74643         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74644         when removing AVAILABLE1_USES_J macro.
74646 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74648         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74649         (__bswap_64): __uint64_t for unsigned 64-bit int.
74651 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74653         * include/string.h (memmem): Declare libc hidden alias.
74654         * string/memmem.c (memmem): Define libc hidden alias.
74655         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74656         __read, __close instead of open, read, close.
74658 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74661         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74662         global and hidden.
74663         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74664         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74665         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74666         Likewise.
74667         (__rawmemchr_sse2): Likewise.
74668         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74669         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74670         (__strchr_sse2): Likewise.
74671         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74672         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74673         (__strcasecmp_sse2): Likewise.
74674         (__strncasecmp_sse2): Likewise.
74675         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74676         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74677         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74678         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74679         (__strrchr_sse2): Likewise.
74680         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74681         ifunc-impl-list.c.
74682         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74683         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74684         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74685         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74686         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74687         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74688         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74689         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74690         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74691         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74692         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74693         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74694         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74695         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74696         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74697         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74698         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74699         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74700         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74701         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74702         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74703         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74704         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74705         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74706         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74707         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74708         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74709         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74710         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74711         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74713         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74714         global and hidden.
74715         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74716         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74717         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74718         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74719         Likewise.
74720         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74721         Likewise.
74722         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74723         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74724         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74725         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74726         ifunc-impl-list.c.
74727         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74728         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74729         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74730         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74731         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74732         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74733         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74734         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74735         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74736         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74737         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74738         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74739         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74740         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74741         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74742         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74743         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74744         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74745         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74746         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74747         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74748         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74749         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74750         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74752         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74753         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74754         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74755         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74756         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74757         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74758         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74759         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74760         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74761         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74762         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74763         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74764         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74765         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74766         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74767         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74769         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74770         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74771         * include/ifunc-impl-list.h: New file.
74772         * misc/ifunc-impl-list.c: Likewise.
74773         * misc/Makefile (routines): Add ifunc-impl-list.
74774         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74775         * string/test-string.h: Include <ifunc-impl-list.h>.
74776         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74777         TEST_NAME]: New variables.
74778         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74779         are defined.
74780         (test_init): Call __libc_ifunc_impl_list to initialize
74781         func_list if TEST_IFUNC and TEST_NAME are defined.
74783         * string/Makefile (strop-tests): Add bcopy and bzero.
74784         * string/test-bcopy.c: New file.
74785         * string/test-bzero.c: Likewise.
74786         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74787         defined.
74788         * string/test-memset.c: Support bzero test if TEST_BZERO is
74789         defined.
74790         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74791         __libc_memmove.
74792         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74793         __libc_memset.
74794         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74795         of memset.
74797 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74799         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74800         * configure: Regenerated.
74802         * Makeconfig (+link-static-before-libc): Don't include
74803         $(link-static-libc).
74805         * libio/libio.h (_IO_pos_t): Remove.
74807 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74809         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74810         McGrath.
74812 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74814         * crypt/crypt-entry.c: Include fips-private.h.
74815         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74816         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74817         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74818         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74820 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74822         * crypt/crypt-private.h: Include stdbool.h.
74823         (_ufc_setup_salt_r): Return bool.
74824         * crypt/crypt-entry.c: Include errno.h.
74825         (__crypt_r): Return NULL with EINVAL for bad salt.
74826         * crypt/crypt_util.c (bad_for_salt): New.
74827         (_ufc_setup_salt_r): Check that salt is long enough and within
74828         the specified alphabet.
74829         * crypt/badsalttest.c: New file.
74830         * crypt/Makefile (tests): Add it.
74831         ($(objpfx)badsalttest): New.
74833 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74835         * NEWS: Add entry for BZ #14602.
74837 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74839         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74840         type-generic.
74841         * math/libm-test.inc: Update comment listing what functions and
74842         macros are tested.
74843         (isgreater_test): New function.
74844         (isgreaterequal_test): Likewise.
74845         (isless_test): Likewise.
74846         (islessequal_test): Likewise.
74847         (islessgreater_test): Likewise.
74848         (isunordered_test): Likewise.
74849         (main): Call the new functions.
74851 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74853         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74854         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74855         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74856         * sysdeps/i386/configure: Regenerated.
74857         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74858         * sysdeps/mach/configure: Regenerated.
74859         * sysdeps/mach/hurd/configure: Regenerated.
74860         * sysdeps/powerpc/configure: Regenerated.
74861         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74862         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74863         * sysdeps/s390/s390-32/configure: Regenerated.
74864         * sysdeps/s390/s390-64/configure: Regenerated.
74865         * sysdeps/sh/configure: Regenerated.
74866         * sysdeps/sparc/configure: Regenerated.
74867         * sysdeps/unix/sysv/linux/configure: Regenerated.
74868         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74869         * sysdeps/x86_64/configure: Regenerated.
74871         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74872         defined.  Don't check if MAP is NULL.
74874 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74876         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74877         (_G_stat64): Likewise.
74878         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74879         (_G_stat64): Likewise.
74880         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74881         instead of struct _G_stat64.
74882         * libio/fileops.c (mmap_remap_check): Likewise.
74883         (decide_maybe_mmap): Likewise.
74884         (_IO_new_file_seekoff): Likewise.
74885         (_IO_file_stat): Likewise.
74886         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74887         _G_off64_t.
74888         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74889         instead of struct _G_stat64.
74890         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74892 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74894         [BZ #14602]
74895         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74896         Replace with ...
74897         (CHECK_EOL): New macro.
74898         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74899         CHECK_EOL.
74900         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74901         Replace with CHECK_EOL.
74902         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74903         Replace with CHECK_EOL.
74905 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74907         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74908         type-generic.
74909         * math/libm-test.inc: Update comment listing what functions and
74910         macros are tested.
74911         (finite_test): New function.
74912         (isinf_test): Likewise.
74913         (isnan_test): Likewise.
74914         (fpclassify_test): Test subnormal input.
74915         (isfinite_test): Likewise.
74916         (isnormal_test): Likewise.
74917         (main): Call the new functions.
74919 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74921         [BZ #14660]
74922         * Makerules (%.dynsym): Force C locale when running
74923         $(OBJDUMP) --dynamic-syms.
74925 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74927         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74928         <stdint.h>.
74930 2012-10-06  David S. Miller  <davem@davemloft.net>
74932         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74933         upper 32-bits of the length value in %o2 since we use branch-on-register
74934         tests which consider the entire 64-bit register.
74936 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74938         * string/test-strstr.c (check2): Add a test for page boundary.
74940 2012-10-05  David S. Miller  <davem@davemloft.net>
74942         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74943         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74944         file.
74945         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74946         sysdep_routines.
74947         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74948         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74949         and bzero when HWCAP_SPARC_CRYPTO is present.
74951 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74953         [BZ #14602]
74954         * string/test-strstr.c (check2): New function.
74955         (test_main): Call check2.
74957         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74958         and bug-strchr1.
74959         * string/bug-strcasestr1.c (do_test): Moved to ...
74960         * string/test-strcasestr.c (check1): Here.  New function.
74961         (do_one_test): Break out result checking code into ...
74962         (check_result): This.  New function.
74963         (do_one_test): Call check_result.
74964         (test_main): Call check1.
74965         * string/bug-strchr1.c (do_test): Moved to ...
74966         * string/test-strchr.c (check1): Here.  New function.
74967         (do_one_test): Break out result checking code into ...
74968         (check_result): This.  New function.
74969         (do_one_test): Call check_result.
74970         (test_main): Call check1.
74971         * string/bug-strstr1.c (main): Moved to ...
74972         * string/test-strstr.c (check1): Here.  New function.
74973         (do_one_test): Break out result checking code into ...
74974         (check_result): This.  New function.
74975         (do_one_test): Call check_result.
74976         (test_main): Call check1.
74977         * string/bug-strcasestr1.c: Removed.
74978         * string/bug-strchr1.c: Likewise.
74979         * string/bug-strstr1.c: Likewise.
74981         * elf/Makefile (dl-routines): Add hwcaps.
74982         * elf/dl-support.c (_dl_important_hwcaps): Removed.
74983         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74984         (_dl_important_hwcaps): Moved to ...
74985         * elf/dl-hwcaps.c: Here.  New file.
74986         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74988         [BZ #14557]
74989         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74990         if IS_IN_rtld isn't defined.
74992         * elf/dl-support.c (_dl_sysinfo_map): New.
74993         Include "get-dynamic-info.h" and "setup-vdso.h".
74994         (_dl_non_dynamic_init): Call setup_vdso.
74995         * elf/dynamic-link.h: Don't include <assert.h>.
74996         (elf_get_dynamic_info): Moved to ...
74997         * elf/get-dynamic-info.h: Here.  New file.
74998         * elf/dynamic-link.h: Include "get-dynamic-info.h".
74999         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75000         * elf/setup-vdso.h: Here.  New file.
75001         * elf/rtld.c: Include "setup-vdso.h".
75002         (dl_main): Call setup_vdso.
75004 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75006         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75007         creal in comment listing functions tested.  List finite, isinf,
75008         isnan, isless, islessequal, isgreater, isgreaterequal,
75009         islessgreater, isunordered, lgamma_r and pow10 as functions and
75010         macros not tested.  Mention which functions not tested are aliases
75011         for other functions.  Fix typo.  Note that signs of NaNs are not
75012         tested.
75014         * scripts/config.guess: Update from config.git.
75015         * scripts/config.sub: Likewise.
75017 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75019         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75020         * misc/madvise.c (madvise): Renamed to __madvise.
75021         Make madvise a weak alias.
75022         * include/sys/mman.h: Declare __madvise.
75023         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75024         * sysdeps/unix/syscalls.list
75025         (madvise): Make __madvise the strong name, and madvise a weak alias.
75026         * sysdeps/unix/sysv/linux/syscalls.list
75027         (madvise, mmap): Remove redundant entries.
75028         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75029         * malloc/malloc.c (mtrim): Likewise.
75030         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75032 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75034         * sysdeps/mach/hurd/dl-cache.c: File removed.
75035         * config.h.in (USE_LDCONFIG): New #undef.
75036         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75037         * configure: Regenerated.
75038         * elf/Makefile (dl-routines): Add dl-cache only under
75039         [$(use-ldconfig) = yes].
75040         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75041         cache on [USE_LDCONFIG].
75042         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75043         [USE_LDCONFIG].
75044         * elf/rtld.c (dl_main): Likewise.
75046 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75048         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75049         _SC_LEVEL4_CACHE_LINESIZE.
75051 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75053         * sysdeps/unix/bsd/confstr.h: File removed.
75055 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75057         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75058         sys/sdt-config.h.
75060 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75062         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75063         Make 'mapoff' field ElfW(Off) rather than off_t.
75065 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75067         * nscd/Makefile: Remove nscd-cflags and all its users.
75068         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75069         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75071         [BZ #10631]
75072         * malloc.c (malloc_printerr): Clarify error message.
75074 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75076         [BZ #14648]
75077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75078         Set bit_FMA_Usable if FMA is supported.
75079         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75080         macro.
75081         (bit_FMA4_Usable): Updated.
75082         (index_FMA_Usable): New macro.
75083         (CPUID_FMA): Likewise.
75084         (HAS_FMA): Defined with bit_FMA_Usable.
75086 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75088         * bits/types.h (__swblk_t): Type removed.
75089         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75090         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75092         (__SWBLK_T_TYPE): Likewise.
75093         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75094         (__SWBLK_T_TYPE): Likewise.
75095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75096         (__SWBLK_T_TYPE): Likewise.
75097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75098         (__SWBLK_T_TYPE): Likewise.
75100 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75101             Honza Horak <hhorak@redhat.com>
75103         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75104         (xdr_mapname): Use YPMAXMAP as maxsize.
75105         (xdr_peername): Use YPMAXPEER as maxsize.
75106         (xdr_keydat): Use YPAXRECORD as maxsize.
75107         (xdr_valdat): Use YPMAXRECORD as maxsize.
75109 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75111         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75113         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75114         * csu/init-first.c: ... here.
75115         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75116         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75117         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75118         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75119         * sysdeps/i386/init-first.c: File removed.
75120         * sysdeps/sh/init-first.c: File removed.
75122 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75124         [BZ #14645]
75125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75126         if x * y might underflow to zero and z is zero.
75127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75129         * math/libm-test.inc (min_subnorm_value): New variable.
75130         (fma_test): Add more tests.
75131         (fma_test_towardzero): Likewise.
75132         (fma_test_downward): Likewise.
75133         (fma_test_upward): Likewise.
75134         (initialize): Set min_subnorm_value.
75136 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75138         [BZ #14638]
75139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75140         0 + 0.
75141         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75142         mode for addition resulting in exact zero.
75143         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75145         exact 0 + 0.
75146         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75147         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75148         * math/libm-test.inc (fma_test): Add more tests.
75149         (fma_test_towardzero): New function.
75150         (fma_test_downward): Likewise.
75151         (fma_test_upward): Likewise.
75152         (main): Call the new functions.
75154 2012-09-28  David S. Miller  <davem@davemloft.net>
75156         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75158 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75160         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75161         instead of SIGALRM.
75163         * sysdeps/gnu/_G_config.h: Moved to ...
75164         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75165         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75166         * sysdeps/generic/_G_config.h: ... here.
75168         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75170         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75172         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75173         Conditionalize target on [libnss_test1.so-version].
75175         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75177         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75178         (elfobjdir): Move out of conditionals.
75180         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75181         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75182         (__nss_lookup_function): Conditionalize label remove_from_tree on
75183         [!DO_STATIC_NSS || SHARED], matching its only use.
75185 2012-09-28  David S. Miller  <davem@davemloft.net>
75187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75188         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75189         file.
75190         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75191         sysdep_routines.
75192         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75193         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75194         when HWCAP_SPARC_CRYPTO is present.
75196 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75198         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75200 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75202         [BZ #6530]
75203         * stdio-common/vfprintf.c (process_string_arg): Revert
75204         2000-07-22 change.
75206 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75208         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75209         for testcase.
75210         * stdio-common/tst-sprintf.c: Include <locale.h>
75211         (main): Test sprintf's handling of incomplete multibyte
75212         characters.
75214 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75216         * elf/dl-runtime.c (VERSYMIDX): Removed.
75217         * elf/dl-version.c (VERSYMIDX): Likewise.
75218         * elf/do-rel.h (VERSYMIDX): Likewise.
75219         (VALIDX): Likewise.
75220         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75221         * elf/rtld.c (VALIDX): Likewise.
75222         (ADDRIDX): Likewise.
75223         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75224         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75225         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75226         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75227         (VALIDX): Likewise.
75228         (ADDRIDX): Likewise.
75230 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75232         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75234 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75236         [BZ #11438]
75237         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75238         to global scope.
75239         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75240         addresses are in the same scope as 192.0.2/24.
75241         * posix/gai.conf: Document new scope table defaults.
75243 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75245         [BZ #5298]
75246         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75247         for ftell.  Compute offsets from write pointers instead.
75248         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75250 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75252         [BZ #14543]
75253         * libio/Makefile (tests): New test case tst-fseek.
75254         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75255         combination works in wide mode.
75256         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75257         state when the external buffer state changes.
75259 2012-09-27  David S. Miller  <davem@davemloft.net>
75261         [BZ #14376]
75262         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75263         pass reloc->r_addend in as the 'high' argument to
75264         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75268 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75270         * rt/tst-aio2.c: Include <pthread.h>.
75271         * rt/tst-aio3.c: Likewise.
75273 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75275         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75277 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75279         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75280         contents on [SHARED].
75282 2012-09-26  Marek Polacek  <polacek@redhat.com>
75284         [BZ #14530]
75285         [BZ #13741]
75286         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75287         for C++ and GCC <4.3 as well as for non GCC compilers.
75289 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75293 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75295         * Makefile.in (all, install): Declare with .PHONY.
75296         Reported by Michael Hope <michael.hope@linaro.org>.
75298 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75300         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75301         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75302         system header.
75303         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75304         Likewise.
75305         (sydep_routines): Add the new and the internal functions.
75306         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75307         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75309         (GLIBC_2.17): Add the new function.
75310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75311         (GLIBC_2.17): Likewise.
75312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75313         (GLIBC_2.17): Likewise.
75314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75315         (GLIBC_2.17): Likewise.
75316         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75318 2012-09-25  Alan Modra  <amodra@gmail.com>
75320         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75321         Add release barrier before setting once_control to say
75322         initialisation is done.  Add hints on lwarx.  Use macro in
75323         place of isync.
75324         (clear_once_control): Add release barrier.
75326 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75328         [BZ #13629]
75329         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75330         specially.
75331         * math/s_clog10.c (__clog10): Likewise.
75332         * math/s_clog10f.c (__clog10f): Likewise.
75333         * math/s_clog10l.c (__clog10l): Likewise.
75334         * math/s_clogf.c (__clogf): Likewise.
75335         * math/s_clogl.c (__clogl): Likewise.
75336         * math/Makefile (libm-calls): Add x2y2m1.
75337         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75338         (__x2y2m1): Likewise.
75339         (__x2y2m1l): Likewise.
75340         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75341         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75342         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75343         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75344         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75345         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75346         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75347         * sysdeps/i386/fpu/libm-test-ulps: Update.
75348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75350         [BZ #14621]
75351         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75352         int as type of variable DEPTH.
75353         (glob): Use size_t instead of int as type of variables NEWCOUNT
75354         and OLD_PATHC.
75356 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75358         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75359         Add s_sincosf-sse2.
75360         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75361         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75362         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75363         macros for using routine as __sincosf_ia32.
75364         Use macro for function declaration and weak_alias.
75365         * sysdeps/i386/fpu/libm-test-ulps: Update.
75367         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75370         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75371         subnormal argument.
75372         * math/s_cexpf.c (__cexpf): Likewise.
75373         * math/s_csinf.c (__csinf): Likewise.
75374         * math/s_csinhf.c (__csinhf): Likewise.
75375         * math/s_ctanf.c (__ctanf): Likewise.
75376         * math/s_ctanhf.c (__ctanhf): Likewise.
75377         * math/s_ccosh.c (__ccoshf): Likewise.
75378         * math/s_cexp.c (__cexpl): Likewise.
75379         * math/s_csin.c (__csin): Likewise.
75380         * math/s_csinh.c (__csinh): Likewise.
75381         * math/s_ctan.c (__ctan): Likewise.
75382         * math/s_ctanh.c (ctanh): Likewise.
75383         * math/s_ccoshl.c (__ccoshl): Likewise.
75384         * math/s_cexpl.c (__cexpl): Likewise.
75385         * math/s_csinl.c (__csinl): Likewise.
75386         * math/s_csinhl.c (__csinhl): Likewise.
75387         * math/s_ctanl.c (__ctanl): Likewise.
75388         * math/s_ctanhl.c (__ctanhl): Likewise.
75390 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75392         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75393         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75394         (_IO_off_t): Define to __off_t, not _G_off_t.
75395         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75396         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75397         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75398         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75399         type of __dummy and __dummy2 fields.
75400         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75401         (_G_ssize_t): Likewise.
75402         (_G_off_t): Likewise.
75403         (_G_pid_t): Likewise.
75404         (_G_uid_t): Likewise.
75405         (_G_wchar_t): Likewise.
75406         (_G_wint_t): Likewise.
75407         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75408         (_G_ssize_t): Likewise.
75409         (_G_off_t): Likewise.
75410         (_G_pid_t): Likewise.
75411         (_G_uid_t): Likewise.
75412         (_G_wchar_t): Likewise.
75413         (_G_wint_t): Likewise.
75414         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75415         (_G_ssize_t): Likewise.
75416         (_G_off_t): Likewise.
75417         (_G_pid_t): Likewise.
75418         (_G_uid_t): Likewise.
75419         (_G_wchar_t): Likewise.
75420         (_G_wint_t): Likewise.
75422 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75424         * malloc/arena.c: Include malloc-sysdep.h.
75425         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75426         is sufficient to shrink the heap or an unmap is needed.
75427         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75428         new function check_may_shrink_heap.
75429         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75430         new function check_may_shrink_heap.
75432 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75434         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75435         comments.
75437 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75439         * catgets/test-gencat.sh: Add "set -e".
75440         * elf/tst-pathopt.sh: Likewise.
75441         * grp/tst_fgetgrent.sh: Likewise.
75442         * iconvdata/run-iconv-test.sh: Likewise.
75443         * intl/tst-gettext.sh: Likewise.
75444         * intl/tst-gettext2.sh: Likewise.
75445         * intl/tst-gettext4.sh: Likewise.
75446         * intl/tst-gettext6.sh: Likewise.
75447         * intl/tst-translit.sh: Likewise.
75448         * io/ftwtest-sh: Likewise.
75449         * libio/test-freopen.sh: Likewise.
75450         * malloc/tst-mtrace.sh: Likewise.
75451         * posix/globtest.sh: Likewise.
75452         * posix/tst-getconf.sh: Likewise.
75453         * posix/wordexp-tst.sh: Likewise.
75454         * stdio-common/tst-printf.sh: Likewise.
75455         * stdio-common/tst-unbputc.sh: Likewise.
75456         * stdlib/tst-fmtmsg.sh: Likewise.
75457         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75458         * catgets/Makefile: Do not specify -e option when running
75459         testsuite shell scripts.
75460         * elf/Makefile: Likewise.
75461         * grp/Makefile: Likewise.
75462         * iconvdata/Makefile: Likewise.
75463         * intl/Makefile: Likewise.
75464         * io/Makefile: Likewise.
75465         * libio/Makefile: Likewise.
75466         * malloc/Makefile: Likewise.
75467         * posix/Makefile: Likewise.
75468         * stdio-common/Makefile: Likewise.
75469         * stdlib/Makefile: Likewise.
75470         * sysdeps/x86_64/Makefile: Likewise.
75472         * io/ftwtest-sh: Add copyright header.
75473         * posix/globtest.sh: Likewise.
75474         * posix/tst-getconf.sh: Likewise.
75475         * posix/wordexp-tst.sh: Likewise.
75476         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75478 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75480         [BZ #13679]
75481         * Makeconfig (+link): Defined as $(+link-static) if
75482         $(build-shared) isn't yes.
75483         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75484         isn't yes.
75485         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75487         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75489         [BZ #14562]
75490         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75491         new chunk size with MALLOC_ALIGN_MASK.
75493 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75495         [BZ #5044]
75496         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75497         <rounding-mode.h>.
75498         (__printf_fphex): Determine rounding using get_rounding_mode and
75499         round_away.
75500         * stdio-common/tst-printf-round.c (struct hex_test): New
75501         structure.
75502         (hex_tests): New variable.
75503         (test_hex_in_one_mode): New function.
75504         (do_test): Also run tests for hex float output.
75506 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75508         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75509         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75510         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75511         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75512         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75513         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75514         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75515         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75517 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75519         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75520         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75521         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75522         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75524 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75526         [BZ #14579]
75527         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75528         mode only.
75529         * elf/tst-rtld-load-self.sh: New test.
75530         * elf/Makefile: Run it.
75532 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75534         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75535         (tst-writev-ENV): Remove.
75536         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75538 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75540         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75542 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75544         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75545         unconditional.
75546         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75547         Likewise.
75548         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75549         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75550         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75551         Likewise.
75553 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75555         [BZ #14587]
75556         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75557         * config.make.in (have-cpp-asm-debuginfo): Removed.
75558         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75559         * configure: Regenerated.
75561 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75563         [BZ #5044]
75564         * stdio-common/printf_fp.c: Include <stdbool.h> and
75565         <rounding-mode.h>.
75566         (___printf_fp): Determine rounding using get_rounding_mode and
75567         round_away.
75568         * stdio-common/tst-printf-round.c: New file.
75569         * stdio-common/Makefile (tests): Add tst-printf-round.
75570         (link-libm): New variable.
75571         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75573 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75575         [BZ #14576]
75576         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75577         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75578         Likewise.
75579         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75580         Likewise.
75582 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75584         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75585         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75586         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75587         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75589 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75591         [BZ #14518]
75592         * include/rounding-mode.h: New file.
75593         * sysdeps/generic/get-rounding-mode.h: Likewise.
75594         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75595         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75596         (MAX_VALUE): New macro.
75597         (MIN_VALUE): Likewise.
75598         (overflow_value): New function.
75599         (underflow_value): Likewise.
75600         (round_and_return): Use overflow_value and underflow_value to
75601         determine return values in overflow and underflow cases.  Use
75602         round_away to determine rounding depending on rounding mode.
75603         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75604         determine return values in overflow and underflow cases.
75605         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75606         (struct test_results): New structure.
75607         (struct test): Use struct test_results to store expected results
75608         for all rounding modes.
75609         (TEST): Include expected results for all rounding modes.
75610         (test_in_one_mode): New function.
75611         (do_test): Use test_in_one_mode to compute and check results.
75612         Check results for all rounding modes.
75613         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75614         $(link-libm).
75616 2012-12-09  Allan McRae  <allan@archlinux.org>
75618         * sysdeps/i386/fpu/libm-test-ulps: Update
75620 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75622         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75623         (_G_int32_t): Likewise.
75624         (_G_uint16_t): Likewise.
75625         (_G_uint32_t): Likewise.
75626         (_G_HAVE_BOOL): Likewise.
75627         (_G_HAVE_ATEXIT): Likewise.
75628         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75629         (_G_HAVE_IO_FILE_OPEN): Likewise.
75630         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75631         (_G_int32_t): Likewise.
75632         (_G_uint16_t): Likewise.
75633         (_G_uint32_t): Likewise.
75634         (_G_HAVE_BOOL): Likewise.
75635         (_G_HAVE_ATEXIT): Likewise.
75636         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75637         (_G_HAVE_IO_FILE_OPEN): Likewise.
75638         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75639         (_G_int32_t): Likewise.
75640         (_G_uint16_t): Likewise.
75641         (_G_uint32_t): Likewise.
75642         (_G_HAVE_BOOL): Likewise.
75643         (_G_HAVE_ATEXIT): Likewise.
75644         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75645         (_G_HAVE_IO_FILE_OPEN): Likewise.
75647 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75649         * csu/libc-tls.c: Update copyright years.
75651 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75653         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75654         [!_G_USING_THUNKS]: Remove conditional code.
75655         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75656         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75658         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75659         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75660         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75661         (_G_VTABLE_LABEL_PREFIX): Likewise.
75662         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75663         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75664         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75665         (_G_VTABLE_LABEL_PREFIX): Likewise.
75666         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75667         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75668         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75669         (_G_VTABLE_LABEL_PREFIX): Likewise.
75670         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75672 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75674         * libio/Makefile: Include ../Makeconfig before tests.
75675         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75676         only if $(build-shared) is yes.
75678         * iconv/gconv_db.c: Update copyright years.
75680 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75682         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75683         unwind info if defined PIC. Fix special cases description.
75684         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75686         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75687         DP_HI_MASK entry.
75688         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75690 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75692         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75694         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75695         is NULL.
75697         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75698         (LDLIBS-tst-chk4): This.
75699         (LDFLAGS-tst-chk5): Renamed to ...
75700         (LDLIBS-tst-chk5): This.
75701         (LDFLAGS-tst-chk6): Renamed to ...
75702         (LDLIBS-tst-chk6): This.
75703         (LDFLAGS-tst-lfschk4): Renamed to ...
75704         (LDLIBS-tst-lfschk4): This.
75705         (LDFLAGS-tst-lfschk5): Renamed to ...
75706         (LDLIBS-tst-lfschk5): This.
75707         (LDFLAGS-tst-lfschk6): Renamed to ...
75708         (LDLIBS-tst-lfschk6): This.
75710         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75711         on $(common-objpfx)soversions.mk.
75713 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75715         [BZ #10014]
75716         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75717         example host name.
75719 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75721         * malloc/arena.c (arena_get_retry): New function that gets
75722         another arena for the caller to try its request on.
75723         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75724         current arena cannot fulfill the request.
75725         (__libc_memalign): Likewise.
75726         (__libc_memalign): Likewise.
75727         (__libc_pvalloc): Likewise.
75728         (__libc_calloc): Likewise.
75730 2012-09-05  John Tobey  <john.tobey@gmail.com>
75732         [BZ #13542]
75733         * manual/arith.texi (Operations on Complex): Fix description
75734         of carg branch cut.
75736 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75738         [BZ #10014]
75739         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75740         host name.
75742         [BZ #10038]
75743         * manual/memory.texi (Memory): Make order of menu items match
75744         order of sections.
75746 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75748         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75749         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75750         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75752 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75754         * csu/libc-tls.c (static_dtv): Renamed to ...
75755         (_dl_static_dtv): This.  Make it global.
75756         (_dl_initial_dtv): Removed.
75757         (__libc_setup_tls): Updated.
75758         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75759         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75760         DL_INITIAL_DTV.
75762 2012-09-06  Petr Machata  <pmachata@redhat.com>
75764         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75765         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75766         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75767         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75769 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75771         [BZ #14545]
75772         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75773         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75774         freeing dtv[-1].
75776 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75778         [BZ #14544]
75779         * Makeconfig (link-static-before-libc): Replace $(+prector)
75780         with $(+prectorT).
75781         (link-static-after-libc): Replace $(+postctor) with
75782         $(+postctorT).
75783         (link-bounded): Replace $(+prector)/$(+postctor) with
75784         $(+prectorT)/$(+postctorT).
75785         (+prectorT): New macro.
75786         (+postctorT): Likewise.
75788 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75790         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75791         (round_str): Handle values above the maximum for IBM long double
75792         as inexact.
75793         * stdlib/tst-strtod-round.c (tests): Regenerated.
75795 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75797         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75798         assembler flag.
75799         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75800         zarch_nohighgprs around the zarch optimized routines.
75801         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75802         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75803         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75804         for zarch.
75806 2012-09-05  David S. Miller  <davem@davemloft.net>
75808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75810         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75811         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75812         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75813         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75814         entries.
75816 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75818         * malloc/arena.c: Fold copyright years.
75819         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75821 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75823         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75825 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75827         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75829 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75831         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75832         change internal state upon failure.
75834 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75836         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75837         * malloc/memusage.c (mmap): Likewise.
75838         (mmap64, mremap): Likewise.  Adjust name in comment.
75840 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75842         * libio/fileops.c: Fix typos in comments.
75843         * libio/oldfileops.c: Likewise.
75844         * libio/wfileops.c: Likewise.
75846 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75848         [BZ #1349]
75849         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75850         (tst-malloc-usable-ENV): Set environment for test case.
75851         * malloc/hooks.c (malloc_check_get_size): New function to get
75852         requested size.
75853         * malloc/malloc.c (musable): Use malloc_check_get_size.
75854         * malloc/tst-malloc-usable.c: New test case.
75856 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75858         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75860 2012-09-05  Allan McRae  <allan@archlinux.org>
75862         [BZ #13966]
75863         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75864         determine header location.
75865         * configure: Regenerated.
75867 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75869         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75870         float format.
75871         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75872         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75873         format.
75874         (test): Regenerate.
75876 2012-09-04  David S. Miller  <davem@davemloft.net>
75878         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75879         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75880         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75882 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75884         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75885         failures.
75887         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75889 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75891         [BZ #9914]
75892         * libio/iogetdelim.c: Include <limits.h>.
75893         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75894         + len + 1 would overflow.
75896 2012-09-03  Andreas Jaeger  <aj@suse.de>
75898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75899         * sysdeps/i386/fpu/libm-test-ulps: Update.
75901 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75903         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75904         Add s_sinf-sse2, s_conf-sse2.
75906         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75907         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75908         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75909         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75911         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75912         for using routine as __sinf_ia32.
75913         Use macro for function declaration and weak_alias.
75914         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75915         for using routine as __cosf_ia32.
75916         Use macro for function declaration and weak_alias.
75918         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75919         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75921         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75922         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75925         * math/libm-test.inc (cos_test): Add more test cases.
75926         (sin_test): Likewise.
75927         (sincos_test): Likewise.
75929 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75931         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75932         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75933         hidden.
75934         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75936 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75938         [BZ #14538]
75939         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75940         first element of the GOT.
75941         (elf_machine_load_address): Return the difference between
75942         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75944 2012-09-01  Allan McRae  <allan@archlinux.org>
75946         [BZ #13412]
75947         * configure.in (AWK): Require gawk version 3.0 or later.
75948         * configure: Regenerated.
75950 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75952         * sysdeps/unix/sysv/linux/kernel-features.h
75953         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75954         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75955         [__NR_clock_getres]: Make code unconditional.
75956         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75957         (clock_getcpuclockid): Remove code left unreachable by removal of
75958         conditionals.
75959         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75960         code unconditional.
75961         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75962         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75963         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75964         Make code unconditional.
75965         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75966         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75967         * sysdeps/unix/sysv/linux/clock_settime.c
75968         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75969         conditional code.
75970         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75971         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75973 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75975         [BZ #14476]
75976         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75977         scripts/test-installation.pl.
75979         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75980         and $ld_so_version if it is set.
75982 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
75984         [BZ #14516]
75985         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75986         failure if reading from procfs failed.
75987         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75989 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75991         * sysdeps/unix/sysv/linux/kernel-features.h
75992         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75993         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75994         Remove conditional code.
75995         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75996         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75997         Remove conditional code.
75998         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75999         * sysdeps/unix/sysv/linux/i386/fxstat.c
76000         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76001         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76002         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76003         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76004         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76005         * sysdeps/unix/sysv/linux/i386/lxstat.c
76006         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76007         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76008         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76009         Remove conditional code.
76010         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76011         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76012         Remove conditional code.
76013         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76014         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76015         <kernel-features.h>.
76016         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76017         Remove.
76018         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76019         Remove conditional code.
76020         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76021         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76022         Remove conditional.
76024 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76026         [BZ #5400]
76027         * NEWS: Add fixed bug number.
76029 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76031         [BZ #14519]
76032         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76033         underflowing exponent in case of negative sign.
76034         * stdlib/tst-strtod-round-data: Add more tests.
76035         * stdlib/tst-strtod-round.c (tests): Regenerated.
76037         [BZ #3479]
76038         * stdlib/strtod_l.c (NDIG): Remove.
76039         (HEXNDIG): Likewise.
76040         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76041         smallest representable value.
76042         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76043         lie within an exact representation of 1/2 ulp of the result.
76044         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76045         unconditionally.
76046         (TENS_P9_IDX): Define unconditionally.
76047         (TENS_P9_SIZE): Likewise.
76048         (TENS_P10_IDX): Likewise.
76049         (TENS_P10_SIZE): Likewise.
76050         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76051         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76052         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76053         entries for 10^2^13 and 10^2^14.
76054         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76055         (TENS_P13_IDX): Define.
76056         (TENS_P13_SIZE): Likewise.
76057         (TENS_P14_IDX): Likewise.
76058         (TENS_P14_SIZE): Likewise.
76059         (_fpioconst_pow10): Change array size to
76060         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76061         unconditional.
76062         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76063         1024]: Add entries for 10^2^13 and 10^2^14.
76064         [LAST_POW10 > _LAST_POW10]: Remove #error.
76065         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76066         (_fpioconst_pow10): Change array size to
76067         FPIOCONST_POW10_ARRAY_SIZE.
76068         * stdlib/gen-fpioconst.c: New file.
76069         * stdlib/gen-tst-strtod-round.c: Likewise.
76070         * stdlib/tst-strtod-round-data: Likewise.
76071         * stdlib/tst-strtod-round.c: Likewise.
76072         * stdlib/Makefile (tests): Add tst-strtod-round.
76074         [BZ #14459]
76075         * stdlib/strtod_l.c: Include <stdint.h>.
76076         (NDEBUG): Do not define.
76077         (round_and_return): Change EXPONENT parameter to type intmax_t.
76078         Rearrange calculations to avoid internal overflow possibilities.
76079         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76080         Rearrange calculations to avoid internal overflow possibilities.
76081         Assert that number fits inside MPNSIZE limbs.
76082         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76083         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76084         calculations and add assertions to avoid internal overflow
76085         possibilities.  Add casts to avoid signed/unsigned operations.
76086         * stdlib/tst-strtod-overflow.c: New file.
76087         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76089 2012-08-25  Marek Polacek  <polacek@redhat.com>
76091         * time/time.h: Fix some typos in comments.
76093 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76095         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76096         * posix/tst-rfc3484-2.c: Likewise.
76097         * posix/tst-rfc3484-3.c: Likewise.
76099 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76101         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76102         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76104 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76106         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76107         #include of fxstatat64.c.
76109 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76111         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76112         * shadow/getspent_r.c: Likewise.
76113         * shadow/getspnam.c: Likewise.
76114         * shadow/getspnam_r.c: Likewise.
76115         * gshadow/getsgent.c: Likewise.
76116         * gshadow/getsgent_r.c: Likewise.
76117         * gshadow/getsgnam.c: Likewise.
76118         * gshadow/getsgnam_r.c: Likewise.
76119         * inet/getnetbyad.c: Likewise.
76120         * inet/getnetbyad_r.c: Likewise.
76121         * inet/getnetbynm.c: Likewise.
76122         * inet/getnetbynm_r.c: Likewise.
76123         * inet/getnetent.c: Likewise.
76124         * inet/getnetent_r.c: Likewise.
76125         * inet/getproto.c: Likewise.
76126         * inet/getproto_r.c: Likewise.
76127         * inet/getprtent.c: Likewise.
76128         * inet/getprtent_r.c: Likewise.
76129         * inet/getprtname.c: Likewise.
76130         * inet/getprtname_r.c: Likewise.
76131         * inet/getrpcbyname.c: Likewise.
76132         * inet/getrpcbyname_r.c: Likewise.
76133         * inet/getrpcbynumber.c: Likewise.
76134         * inet/getrpcbynumber_r.c: Likewise.
76135         * inet/getrpcent.c: Likewise.
76136         * inet/getrpcent_r.c: Likewise.
76137         * inet/getaliasent.c: Likewise.
76138         * inet/getaliasent_r.c: Likewise.
76139         * inet/getaliasname.c: Likewise.
76140         * inet/getaliasname_r.c: Likewise.
76141         * nscd/getgrgid_r.c: Likewise.
76142         * nscd/getgrnam_r.c: Likewise.
76143         * nscd/gethstbyad_r.c: Likewise.
76144         * nscd/gethstbynm3_r.c: Likewise.
76145         * nscd/getpwnam_r.c: Likewise.
76146         * nscd/getpwuid_r.c: Likewise.
76147         * nscd/getsrvbynm_r.c: Likewise.
76148         * nscd/getsrvbypt_r.c: Likewise.
76149         * nscd/gai.c: Likewise.
76151         * configure.in (build_nscd): New substituted variable, set
76152         by --disable-build-nscd and defaults to $use_nscd.
76153         * configure: Regenerated.
76154         * config.make.in (build-nscd): New substituted variable.
76155         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76156         Change conditional to require [$(build-nscd) = yes] as well.
76157         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76159         [BZ #13696]
76160         * configure.in (use_nscd): New substituted variable, set by
76161         --disable-nscd.  If enabled, define USE_NSCD.
76162         * configure: Regenerated.
76163         * config.h.in: Add USE_NSCD.
76164         * config.make.in (use-nscd): New substituted variable.
76165         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76166         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76167         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76168         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76169         (CFLAGS-getgrnam_r.c): Likewise.
76170         (CFLAGS-initgroups.c): Likewise.
76171         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76172         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76173         Variables removed.
76174         * inet/getnetgrent_r.c
76175         (nscd_setnetgrent): New function, broken out of ...
76176         (setnetgrent): ... here.  Call it.
76177         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76178         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76179         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76180         * nscd/Makefile (routines, aux): Move definitions after include of
76181         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76182         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76183         Conditionalize on [USE_NSCD].
76184         (is_nscd, nscd_init_cb): Likewise.
76185         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76186         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76187         * nss/nss_db/db-init.c: Likewise.
76188         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76189         [USE_NSCD].
76190         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76191         (make_request): Use it.
76192         (cache_valid_p): New function.
76193         (__check_pf): Use it.
76194         * NEWS: Add item for --disable-nscd.
76196 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76198         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76199         to support sed >= 4.2.1-20-ga9bf076.
76200         * configure: Regenerated.
76202 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76204         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76205         Conditionalize whole body on [IREL].
76207 2012-08-22  Jeff Law <law@redhat.com>
76209         [BZ #14505]
76210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76211         if the family is PF_UNSPEC.
76213 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76215         * Makerules (lib-version): Rename from V.
76216         (install-lib-nosubdir): Change V to lib-version.
76218 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76220         [BZ #14252]
76221         * powerpc32/power6/wcschr.c: New file.
76222         * powerpc32/power6/wcscpy.c: New file.
76223         * powerpc32/power6/wcsrchr.c: New file.
76224         * powerpc64/power6/wcschr.c: New file.
76225         * powerpc64/power6/wcscpy.c: New file.
76226         * powerpc64/power6/wcsrchr.c: New file.
76228 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76230         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76231         (two_way_short_needle): Use it.
76232         * string/strstr.c (AVAILABLE1_USES_J): Define.
76233         * string/strcasestr.c: Likewise.
76235         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76236         array references.
76237         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76239         [BZ #11607]
76240         * NEWS: Add an entry.
76241         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76242         define their defaults.
76243         (two_way_short_needle): Detect end-of-string on-the-fly.
76244         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76245         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76246         * string/bug-strcasestr1.c: New test.
76247         * string/Makefile: Run it.
76249 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76251         [BZ #11607]
76252         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76253         the first character.
76255 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76257         * csu/elf-init.c (__libc_csu_irel): Function removed.
76258         * csu/libc-start.c (apply_irel): New function.
76259         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76261 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76263         * sysdeps/unix/sysv/linux/kernel-features.h
76264         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76265         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76266         <kernel-features.h>.
76267         [__NR_fadvise64_64]: Make code unconditional.
76268         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76269         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76270         !__NR_fadvise64_64)]: Likewise.
76271         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76272         !__NR_fadvise64_64))]: Likewise.
76273         [__NR_fadvise64]: Make code unconditional.
76274         [!__NR_fadvise64]: Remove conditional code.
76275         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76276         <kernel-features.h>.
76277         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76278         unconditional.
76279         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76280         conditional code.
76281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76282         not include <kernel-features.h>.
76283         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76284         unconditional.
76285         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76286         conditional code.
76287         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76288         include <kernel-features.h>.
76289         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76290         unconditional.
76291         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76292         conditional code.
76294 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76296         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76297         slight instruction rearrangements per scrollpipe analysis.
76298         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76300 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76302         * manual/syslog.texi (syslog; vsyslog, closelog):
76303         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76304         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76306         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76307         DSOCAPS to match condition on defining it.
76309 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76311         * sysdeps/unix/sysv/linux/kernel-features.h
76312         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76314         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76315         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76317         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76318         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76320         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76321         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76323         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76324         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76326         * sysdeps/unix/sysv/linux/kernel-features.h
76327         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76328         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76329         unconditional.
76330         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76331         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76332         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76333         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76334         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76335         Make code unconditional.
76336         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76337         (__mmap64) [!__NR_mmap2]: Likewise.
76338         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76339         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76340         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76341         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76342         [__NR_mmap2]: Make code unconditional.
76343         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76344         (__mmap64) [!__NR_mmap2]: Likewise.
76346 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76348         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76350 2012-08-18  Andreas Jaeger  <aj@suse.de>
76352         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76354 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76356         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76357         * include/unistd.h (__have_sock_cloexec): Likewise.
76358         (__have_pipe2): Likewise.
76359         (__have_dup3): Likewise.
76361 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76363         [BZ #9685]
76364         * include/unistd.h (__have_pipe2): Change define into an extern int.
76365         (__have_dup3): Likewise.
76366         * socket/have_sock_cloexec.c: Include fcntl.h.
76367         (__have_pipe2): New variable.
76368         (__have_dup3): Likewise.
76370 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76372         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76374 2012-08-17  Marek Polacek  <polacek@redhat.com>
76376         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76377         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76379 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76381         * configure.in: Add AC_SUBST for sysheaders.
76382         * configure: Regenerated.
76383         * config.make.in (sysheaders): New substituted variable.
76385         * sysdeps/unix/mkfifo.c: Moved ...
76386         * sysdeps/posix/mkfifo.c: ... here.
76387         * sysdeps/unix/mkfifoat.c: Moved ...
76388         * sysdeps/posix/mkfifoat.c: ... here.
76390         * sysdeps/unix/utime.c: Moved ...
76391         * sysdeps/posix/utime.c: ... here.
76393         * sysdeps/unix/time.c: Moved ...
76394         * sysdeps/posix/time.c: ... here.
76395         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76396         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76398         * sysdeps/unix/nice.c: Moved ...
76399         * sysdeps/posix/nice.c: ... here.
76401         * sysdeps/unix/alarm.c: Moved ...
76402         * sysdeps/posix/alarm.c: ... here.
76404         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76406 2012-08-17  Jeff Law <law@redhat.com>
76408         * intl/Makefile (codeset_mo): New variable.
76409         ($(codeset_mo)): New target.
76410         (tst-codeset.out): Depend on that.  Remove explicit rule.
76411         (tst-gettext3.out, tst-gettext5.out): Likewise.
76412         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76413         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76414         * intl/tst-codeset.sh: Remove.
76415         * intl/tst-gettext3.sh: Likewise.
76416         * intl/tst-gettext5.sh: Likewise.
76418 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76420         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76421         * sysdeps/unix/syscalls.list: ... here.
76423         * sysdeps/posix/getaddrinfo.c
76424         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76425         (gaiconf_init, gaiconf_reload): Use them.
76426         [!_STATBUF_ST_NSEC]
76427         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76428         Define using time_t rather than struct timespec.
76430         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76431         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76432         Macros removed.
76433         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76434         [!NO_THREADS].
76435         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76436         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76437         Likewise.
76439         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76440         __libc_cleanup_push argument.
76442         * bits/param.h: New file.
76443         * misc/sys/param.h: New file.
76444         * include/sys/param.h: New file.
76445         * misc/Makefile (headers): Add bits/param.h.
76446         * sysdeps/generic/sys/param.h: File removed.
76447         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76448         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76449         * sysdeps/mach/hurd/bits/param.h: New file.
76450         * sysdeps/mach/hurd/sys/param.h: File removed.
76452         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76453         last change.
76455         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76456         [_IO_MTSAFE_IO].
76457         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76458         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76459         New macros.
76461         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76462         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76463         rather than -D_IO_MTSAFE_IO conditionally.
76464         * stdio-common/Makefile (CPPFLAGS): Likewise.
76465         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76466         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76467         Use $(libio-mtsafe).
76468         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76469         of -D_IO_MTSAFE_IO.
76470         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76471         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76472         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76473         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76474         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76475         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76476         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76477         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76478         (CFLAGS-fread_u_chk.c): Likewise.
76479         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76480         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76481         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76482         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76483         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76484         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76485         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76486         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76487         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76489         * libio/Makefile: Test [$(libc-reentrant) = yes]
76490         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76492         * Makeconfig
76493         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76494         * sysdeps/pthread/configure: File removed.
76495         * sysdeps/pthread/Makeconfig: New file.
76496         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76497         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76499 2012-08-16  Gary Benson  <gbenson@redhat.com>
76501         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76502         unmapping the first object in a namespace.
76504 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76506         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76507         (__internal_setnetgrent): ... this.  Add internal_function to
76508         definition.  Add libc_hidden_def.
76509         (setnetgrent): Update caller.
76510         (internal_endnetgrent): Renamed to ...
76511         (__internal_endnetgrent): ... this.  Add internal_function to
76512         definition.  Add libc_hidden_def.
76513         (endnetgrent): Update caller.
76514         (internal_getnetgrent_r): Renamed to ...
76515         (__internal_getnetgrent_r): ... this.  Add internal_function to
76516         definition.  Add libc_hidden_def.
76517         (__getnetgrent_r): Update caller.
76518         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76520 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76522         * stdlib/longlong.h: Update from GCC.
76524 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76526         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76527         on _QL, which is set by umul_ppmm but never used.
76528         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76529         variables, which are set by GMP macros but never used.
76530         * stdio-common/_itowa.c (_itowa): Likewise.
76531         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76532         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76534 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76536         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76537         struct La_sh_regs is not constant.
76538         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76539         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76540         and struct La_sparc64_regs are not constant.
76542 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76544         * sysdeps/unix/sysv/linux/kernel-features.h
76545         (__ASSUME_POSIX_TIMERS): Remove.
76546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76547         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76548         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76549         Make code unconditional.
76550         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76551         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76552         Make code unconditional.
76553         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76554         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76555         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76556         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76557         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76558         Make code unconditional.
76559         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76560         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76561         (__libc_missing_posix_timers): Remove.
76563 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76565         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76566         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76568         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76570         * elf/dl-sym.c: Include <stdlib.h>.
76572         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76573         constants, which avoids warnings in 32-bit builds.
76575         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76576         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76578         * misc/lseek.c: File moved to ...
76579         * io/lseek.c: ... here.
76581         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76583         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76584         shifting LEN more than 31 bits at once.
76586 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76588         [BZ #14195]
76589         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76590         segmentation fault for a case of two empty input strings.
76591         * string/test-strncasecmp.c (check1): Renamed to...
76592         (bz12205): ...this.
76593         (bz14195): Add new testcase for two empty input strings and N > 0.
76594         (test_main): Call new testcase, adapt for renamed function.
76596 2012-08-15  Andreas Jaeger  <aj@suse.de>
76598         [BZ #14090]
76599         * crypt/md5test2.c: New test, based on test supplied by Serge
76600         Belyshev <belyshev@depni.sinp.msu.ru>.
76601         * crypt/Makefile (xtests): Add md5test-giant..
76602         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76604 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76606         [BZ #14090]
76607         * crypt/md5.c (md5_process_block): Don't assume the buffer
76608         length is less than 2**32.
76609         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76610         length is less than 2**64.
76612 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76614         * string/str-two-way.h: Include <sys/param.h>.
76615         (MAX): Macro removed.
76617         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76618         Move #define and #undef of memmove to just before and after
76619         including <string.h>.
76621         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76622         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76623         and after including <string.h>.  Move declarations of
76624         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76625         to before #include "string/memmove.c".
76627         * include/dirent.h: Declare __getdirentries.
76629         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76630         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76632 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76634         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76635         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76636         * sysdeps/i386/configure: Regenerated.
76637         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76638         STABS_CURRENT_FILE, and STABS_FUN.
76639         (END): Remove call to STABS_FUN_END.
76640         (STABS_CURRENT_FILE1): Delete.
76641         (STABS_CURRENT_FILE): Likewise.
76642         (STABS_FUN): Likewise.
76643         (STABS_FUN_END): Likewise.
76644         (STABS_FUN2): Likewise.
76645         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76646         * sysdeps/x86_64/configure: Regenerated.
76648 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76650         * elf/dl-open.c: Include <atomic.h>.
76651         * elf/dl-lookup.c: Likewise.
76653 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76655         * sysdeps/unix/sysv/linux/kernel-features.h
76656         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76657         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76658         unconditionally.
76659         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76660         unconditionally.
76661         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76662         condition on __ASSUME_CLONE_THREAD_FLAGS.
76664 2012-08-14  Andreas Jaeger  <aj@suse.de>
76666         * sysdeps/i386/fpu/libm-test-ulps: Update.
76668 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76670         * include/atomic.h (atomic_exchange_and_add): Split into ...
76671         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76672         New atomic macros.
76674 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76678 2012-08-13  Jeff Law <law@redhat.com>
76680         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76681         null byte in the output string.
76683 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76685         * sysdeps/unix/sysv/linux/kernel-features.h
76686         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76687         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76688         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76689         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76690         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76691         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76692         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76694 2012-08-09  Jeff Law <law@redhat.com>
76696         [BZ #13939]
76697         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76698         When avoid_arena is set, don't retry in the that arena.  Pick the
76699         next one, whatever it might be.
76700         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76701         (arena_lock): Pass in new parameter to arena_get2.
76702         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76703         arena_get2.
76704         (__libc_malloc): Unify retrying after main arena failure with
76705         __libc_memalign version.
76706         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76708 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76710         [BZ #14166]
76711         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76712         to __redirect_strstr.
76713         (__strstr_sse42): Use typeof __redirect_strstr.
76714         (__strstr_ia32): Likewise.
76715         (__libc_strstr): New prototype.
76716         (strstr): Renamed to ...
76717         (__libc_strstr): This.
76718         (strstr): New strong alias of __libc_strstr.
76719         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76720         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76721         __redirect_time.
76722         Include <time.h>.
76723         (__libc_time): New prototype.
76724         (time_ifunc): Replace time with __libc_time.
76725         (time): New strong alias and hidden definition of __libc_time.
76726         (__GI_time): Remove strong alias.
76727         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76728         Include <stddef.h>.
76729         (memmove): Redefined to __redirect_memmove.
76730         (__memmove_sse2): Use typeof __redirect_memmove.
76731         (__memmove_ssse3): Likewise.
76732         (__memmove_ssse3_back): Likewise.
76733         (__libc_memmove): New prototype.
76734         (memmove): Renamed to ...
76735         (__libc_memmove): This.
76736         (memmove): New strong alias of __libc_memmove.
76738 2012-08-08  Mark Salter  <msalter@redhat.com>
76740         * elf/elf.h
76741         (R_MN10300_TLS_GD): Define.
76742         (R_MN10300_TLS_LD): Likewise.
76743         (R_MN10300_TLS_LDO): Likewise.
76744         (R_MN10300_TLS_GOTIE): Likewise.
76745         (R_MN10300_TLS_IE): Likewise.
76746         (R_MN10300_TLS_LE): Likewise.
76747         (R_MN10300_TLS_DTPMOD): Likewise.
76748         (R_MN10300_TLS_DTPOFF): Likewise.
76749         (R_MN10300_TLS_TPOFF): Likewise.
76750         (R_MN10300_SYM_DIFF): Likewise.
76751         (R_MN10300_ALIGN): Likewise.
76752         (R_MN10300_NUM): Update.
76754 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76756         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76757         Remove.
76759 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76761         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76763         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76764         sysdeps/unix -> sysdeps/posix move.
76765         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76767 2012-08-07      Allan McRae     <allan@archlinux.org>
76769         [BZ #14303]
76770         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76771         (SUNOS_CPP): Likewise.
76772         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76773         not found.
76774         (open_input): Call CPP using execvp.
76776 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76778         * sysdeps/unix/sysv/linux/kernel-features.h
76779         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76780         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76781         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76782         (__ASSUME_WAITID_SYSCALL): Likewise.
76783         * sysdeps/unix/sysv/linux/dl-execstack.c
76784         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76785         code unconditional.
76786         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76787         conditional code.
76788         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76789         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76790         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76791         code.
76792         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76793         unconditional.
76794         [__ASSUME_WAITID_SYSCALL]: Likewise.
76795         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76797 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76799         * sysdeps/unix/closedir.c: Renamed to ...
76800         * sysdeps/posix/closedir.c: ... here.
76801         * sysdeps/unix/dirfd.c: Renamed to ...
76802         * sysdeps/posix/dirfd.c: ... here.
76803         * sysdeps/unix/dirstream.h: Renamed to ...
76804         * sysdeps/posix/dirstream.h: ... here.
76805         * sysdeps/unix/fdopendir.c: Renamed to ...
76806         * sysdeps/posix/fdopendir.c: ... here.
76807         * sysdeps/unix/opendir.c: Renamed to ...
76808         * sysdeps/posix/opendir.c: ... here.
76809         * sysdeps/unix/readdir.c: Renamed to ...
76810         * sysdeps/posix/readdir.c: ... here.
76811         * sysdeps/unix/readdir_r.c: Renamed to ...
76812         * sysdeps/posix/readdir_r.c: ... here.
76813         * sysdeps/unix/rewinddir.c: Renamed to ...
76814         * sysdeps/posix/rewinddir.c: ... here.
76815         * sysdeps/unix/seekdir.c: Renamed to ...
76816         * sysdeps/posix/seekdir.c: ... here.
76817         * sysdeps/unix/telldir.c: Renamed to ...
76818         * sysdeps/posix/telldir.c: ... here.
76819         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76820         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76821         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76822         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76824         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76825         * bits/fcntl.h: ... here.
76827         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76828         not 0.
76829         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76830         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76831         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76832         (struct flock): Move l_start, l_len to the beginning.
76833         Use __pid_t for l_pid.
76834         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76835         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76836         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76837         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76838         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76839         [__USE_LARGEFILE64] (struct flock64): New type.
76840         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76842         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76843         * bits/dirent.h: ... here.
76845         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76846         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76848 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76850         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76851         Change from 2.6.0 to 2.6.16.
76852         * sysdeps/unix/sysv/linux/configure: Regenerated.
76853         * sysdeps/unix/sysv/linux/kernel-features.h
76854         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76855         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76856         version.
76857         (__ASSUME_UTIMES): Likewise.
76858         (__ASSUME_CLONE_STOPPED): Remove.
76859         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76860         architectures, not kernel version.
76861         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76862         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76863         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76864         (__ASSUME_WAITID_SYSCALL): Likewise.
76865         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76866         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76867         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76868         refer to older versions.
76870 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76872         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76873         Define alphasort64 as an alias.
76874         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76875         Define versionsort64 as an alias.
76876         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76877         Define scandir64 as an alias.
76878         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76879         Define scandirat64 as an alias.
76880         * dirent/alphasort64.c (alphasort64):
76881         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76882         * dirent/versionsort64.c: Likewise.
76883         * dirent/scandir64.c: Likewise.
76884         * dirent/scandirat64.c: Likewise.
76885         * sysdeps/wordsize-64/alphasort.c: File removed.
76886         * sysdeps/wordsize-64/alphasort64.c: File removed.
76887         * sysdeps/wordsize-64/scandir.c: File removed.
76888         * sysdeps/wordsize-64/scandir64.c: File removed.
76889         * sysdeps/wordsize-64/scandirat.c: File removed.
76890         * sysdeps/wordsize-64/scandirat64.c: File removed.
76891         * sysdeps/wordsize-64/versionsort.c: File removed.
76892         * sysdeps/wordsize-64/versionsort64.c: File removed.
76893         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76894         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76895         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76896         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76897         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76898         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76899         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76900         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76902         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76903         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76904         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76905         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76906         [defined __arch64__ || defined __sparcv9]
76907         (__INO_T_MATCHES_INO64_T): New macro.
76908         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76909         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76910         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76911         * sysdeps/unix/sysv/linux/bits/dirent.h
76912         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76913         (_DIRENT_MATCHES_DIRENT64): New macro.
76915         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76916         Define lockf64 as an alias.
76917         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76918         Define fseeko64 as an alias.
76919         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76920         Define ftello64 as an alias.
76921         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76922         Define _IO_fgetpos64 and fgetpos64 as aliases.
76923         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76924         Define _IO_fsetpos64 and fsetpos64 as aliases.
76925         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76926         Conditionalize body on this.
76927         * libio/fseeko64.c: Likewise.
76928         * libio/ftello64.c: Likewise.
76929         * libio/iofgetpos64.c: Likewise.
76930         * libio/iofsetpos64.c: Likewise.
76931         * sysdeps/wordsize-64/lockf.c: File removed.
76932         * sysdeps/wordsize-64/lockf64.c: File removed.
76933         * sysdeps/wordsize-64/fseeko.c: File removed.
76934         * sysdeps/wordsize-64/fseeko64.c: File removed.
76935         * sysdeps/wordsize-64/ftello.c: File removed.
76936         * sysdeps/wordsize-64/ftello64.c: File removed.
76937         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76938         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76939         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76940         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76941         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76942         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76943         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76944         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76945         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76946         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76947         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76948         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76949         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76950         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76952         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76954         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76955         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76956         [defined __arch64__ || defined __sparcv9]
76957         (__OFF_T_MATCHES_OFF64_T): New macro.
76958         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76959         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76960         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76961         (__OFF_T_MATCHES_OFF64_T): New macro.
76963 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76965         * stdlib/secure-getenv.c (__secure_getenv): Replace
76966         GLIBC_2_16 with GLIBC_2_17.
76968 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76970         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76971         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76973 2012-08-03  David S. Miller  <davem@davemloft.net>
76975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76977 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76979         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76980         Remove.
76981         (__ASSUME_CORRECT_SI_PID): Likewise.
76982         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76983         (__ASSUME_TMPFS_NAME): Likewise.
76984         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76985         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76986         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76987         (HAVE_AUX_SECURE): Make definition unconditional.
76988         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76989         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76991 2012-08-03  Roland McGrath  <roland@hack.frob.com>
76993         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76994         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76995         * sysdeps/mach/hurd/eloop-threshold.h: New file.
76996         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76997         __eloop_threshold instead of SYMLOOP_MAX.
76999         * sysdeps/generic/eloop-threshold.h: New file.
77000         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77001         of MAXSYMLINKS.
77002         * elf/chroot_canon.c (chroot_canon): Likewise.
77004 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77006         [BZ #13717]
77007         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77008         Change to 2.6.0 everywhere.
77009         * sysdeps/unix/sysv/linux/configure: Regenerated.
77010         * sysdeps/unix/sysv/linux/kernel-features.h
77011         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77012         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77013         kernel versions.
77014         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77015         (__ASSUME_FUTEX_REQUEUE): Remove.
77016         (__ASSUME_STATFS64): Define unconditionally.
77017         (__ASSUME_AT_SECURE): Likewise.
77018         (__ASSUME_CORRECT_SI_PID): Likewise.
77019         (__ASSUME_TGKILL): Define without depending on kernel version for
77020         i386.
77021         (__ASSUME_UTIMES): Likewise.
77022         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77023         kernel version.
77024         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77025         (__ASSUME_TMPFS_NAME): Likewise.
77026         * README: Update reference to Linux kernel versions.
77028 2012-08-02  Marek Polacek  <polacek@redhat.com>
77030         [BZ #14150]
77031         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77032         libc_cv_asm_type_prefix with %.
77033         * configure: Regenerated.
77034         * include/libc-symbols.h: Remove comment about
77035         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77036         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77037         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77038         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77039         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77040         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77041         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77042         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77043         * elf/tst-unique2mod1.c: Likewise.
77044         * elf/tst-unique1mod2.c: Likewise.
77045         * elf/tst-unique1mod1.c: Likewise.
77046         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77047         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77048         Replace ASM_TYPE_DIRECTIVE with .type.
77049         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77050         * sysdeps/i386/sysdep.h: Likewise.
77051         * sysdeps/x86_64/sysdep.h: Likewise.
77052         * sysdeps/sh/sysdep.h: Likewise.
77053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77054         Do not define ASM_TYPE_DIRECTIVE.
77055         * sysdeps/powerpc/sysdep.h: Likewise.
77056         * sysdeps/powerpc/powerpc32/sysdep.h:
77057         Replace ASM_TYPE_DIRECTIVE with .type.
77058         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77059         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77060         * sysdeps/i386/fpu/e_powf.S: Likewise.
77061         * sysdeps/i386/fpu/e_expl.S: Likewise.
77062         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77063         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77064         * sysdeps/i386/fpu/e_pow.S: Likewise.
77065         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77066         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77067         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77068         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77069         * sysdeps/i386/fpu/e_log2.S: Likewise.
77070         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77071         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77072         * sysdeps/i386/fpu/e_powl.S: Likewise.
77073         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77074         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77075         * sysdeps/i386/fpu/e_logl.S: Likewise.
77076         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77077         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77078         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77079         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77080         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77081         * sysdeps/i386/fpu/e_log.S: Likewise.
77082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77083         * sysdeps/i386/fpu/e_logf.S: Likewise.
77084         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77086         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77087         * sysdeps/i386/fpu/e_log10.S: Likewise.
77088         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77089         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77090         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77091         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77092         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77093         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77094         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77095         * sysdeps/i386/i686/strtok.S: Likewise.
77096         * sysdeps/i386/i386-mcount.S: Likewise.
77097         * sysdeps/i386/strtok.S: Likewise.
77098         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77099         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77100         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77101         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77102         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77103         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77104         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77105         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77106         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77107         * sysdeps/x86_64/_mcount.S: Likewise.
77108         * sysdeps/x86_64/strtok.S: Likewise.
77109         * sysdeps/sh/_mcount.S: Likewise.
77111 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77113         * libio/iofopen.c: Include <fcntl.h>.
77114         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77115         (_IO_fopen64, fopen64): Define as aliases.
77116         * libio/iofopen64.c: Include <fcntl.h>.
77117         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77118         Conditionalize body on this.
77119         * sysdeps/wordsize-64/iofopen.c: File removed.
77120         * sysdeps/wordsize-64/iofopen64.c: File removed.
77122 2012-08-01  Marek Polacek  <polacek@redhat.com>
77124         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77125         Use dlfcn directly instead of a variable.
77126         (binfmt-subdir): Do not define.
77127         (dlfcn): Likewise.
77129 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77131         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77132         Remove all definitions.
77133         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77134         <kernel-features.h>.
77135         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77136         (miss_F_GETOWN_EX): Remove all definitions.
77137         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77138         macro definition.
77139         [!__ASSUME_FCNTL64]: Remove conditional code.
77140         [__ASSUME_FCNTL64]: Make code unconditional.
77141         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77142         <kernel-features.h>.
77143         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77144         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77145         (lockf64) [__NR_fcntl64]: Make code unconditional.
77146         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77148         * sysdeps/unix/sysv/linux/kernel-features.h
77149         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77150         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77151         Make code unconditional.
77152         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77153         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77155         [__NR_vfork]: Make code unconditional.
77156         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77157         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77159         [__NR_vfork]: Make code unconditional.
77160         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77161         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77163 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77165         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77166         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77168         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77169         Define mkstemp64 as an alias.
77170         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77171         Define mkstemps64 as an alias.
77172         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77173         Define mkostemp64 as an alias.
77174         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77175         Define mkostemps64 as an alias.
77176         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77177         Conditionalize body on this.
77178         * misc/mkostemp64.c: Likewise.
77179         * misc/mkostemps64.c: Likewise.
77180         * misc/mkstemps64.c: Likewise.
77181         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77182         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77183         * sysdeps/wordsize-64/mkostemp.c: File removed.
77184         * sysdeps/wordsize-64/mkstemp.c: File removed.
77185         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77186         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77187         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77188         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77190         [BZ #14138]
77191         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77192         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77193         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77194         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77196         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77197         compat_symbol macros from <shlib-compat.h> rather than the underlying
77198         default_symbol_version and symbol_version macros, so that DEFAULT
77199         lines in shlib-versions are respected.
77200         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77202 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77204         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77205         Declare with warn_unused_result.
77206         (setgid, setregid, setegid, setresgid): Likewise.
77207         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77208         Likewise.
77209         * WUR-REPORT: Remove set*id functions.
77211 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77213         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77215 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77217         [BZ #10191]
77218         * include/sys/socket.h (__libc_accept, __libc_accept4):
77219         Add attribute_hidden.
77220         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77222         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77223         use of PTR_MANGLE.
77224         * inet/getnetgrent_r.c (setup): Likewise.
77226         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77228 2012-07-31  David S. Miller  <davem@davemloft.net>
77230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77232 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77234         [BZ #13629]
77235         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77236         value between 1.0 and 2.0 and smaller part has absolute value less
77237         than 1.0.
77238         * math/s_clog10.c (__clog10): Likewise.
77239         * math/s_clog10f.c (__clog10f): Likewise.
77240         * math/s_clog10l.c (__clog10l): Likewise.
77241         * math/s_clogf.c (__clogf): Likewise.
77242         * math/s_clogl.c (__clogl): Likewise.
77243         * math/libm-test.inc (clog_test): Add more tests.
77244         (clog10_test): Likewise.
77245         * sysdeps/i386/fpu/libm-test-ulps: Update.
77246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77248 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77250         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77251         Exit with zero in case no suitable GID is found, and write a
77252         message to standard error.
77254 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77256         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77257         rather than to 1.
77258         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77259         (MAXPATHLEN): Removed.
77260         (NOGROUP, NODEV): New macros.
77261         (setbit, clrbit, isset, isclr): New macros.
77262         (howmany, roundup, powerof2): New macros.
77263         (DEV_BSIZE): New macro.
77265         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77266         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77268         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77269         definition on [!__NO_LONG_DOUBLE_MATH].
77271         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77272         PTR_MANGLE and PTR_DEMANGLE.
77274         * socket/accept4.c (accept4): Rename to __libc_accept4.
77275         Define accept4 as a weak alias.
77277         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77278         on [_DIRENT_HAVE_D_TYPE].
77279         * io/ftw.c (ftw_dir): Likewise.
77281         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77283         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77285         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77286         Use the BSD numbers rather than the arbitrary ones we had.
77287         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77288         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77289         (SIGXCPU, SIGXFSZ): New macros.
77290         (_NSIG): Now 32.
77292         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77293         initializer on [_LIBC_REENTRANT].
77295         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77296         definitions inside [_POSIX_MAPPED_FILES].
77298         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77300         * dirent/opendir.c: Include <fcntl.h>.
77302         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77303         (__libc_getspecific): Likewise.
77304         (__libc_key_create): Likewise.
77306         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77307         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77308         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77309         (tmpfile64): Define as alias.
77310         * sysdeps/wordsize-64/tmpfile.c: File removed.
77311         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77315         * stdio-common/vfscanf.c: Include <stdbool.h>.
77316         * nss/makedb.c: Likewise.
77317         * stdio-common/_i18n_number.h: Likewise.
77318         * argp/argp-help.c: Likewise.
77319         * posix/wordexp.c: Likewise.
77320         * sysdeps/posix/spawni.c: Likewise.
77321         * nss/nss_files/files-initgroups.c: Likewise.
77322         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77323         * nss/nss_files/files-initgroups.c: Likewise.
77324         * nss/nss_db/db-netgrp.c: Likewise.
77325         * nss/nss_db/db-initgroups.c: Likewise.
77326         * io/fchmodat.c: Include <sys/stat.h>.
77328         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77329         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77331         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77332         [HAVE_MMAP].
77334         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77335         Add multiple inclusion protection.
77337 2012-07-27  David S. Miller  <davem@davemloft.net>
77339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77341 2012-07-27  Gary Benson  <gbenson@redhat.com>
77343         [BZ #14298]
77344         * elf/rtld.c: Include <stap-probe.h>.
77345         (dl_main): Added static probes "init_start" and "init_complete".
77346         * elf/dl-load.c: Include <stap-probe.h>.
77347         (lose): Take new parameter "nsid".
77348         Added static probe "map_failed".
77349         (_dl_map_object_from_fd): Pass namespace id to lose.
77350         Added static probe "map_start".
77351         (open_verify): Pass namespace id to lose.
77352         * elf/dl-open.c: Include <stap-probe.h>.
77353         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77354         and "reloc_complete".
77355         * elf/dl-close.c: Include <stap-probe.h>.
77356         (_dl_close_worker): Added static probes "unmap_start" and
77357         "unmap_complete".
77358         * elf/rtld-debugger-interface.txt: New file documenting the above.
77360 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77362         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77363         rather than a string variable.
77364         * sunrpc/rpc_main.c (h_output): Likewise.
77365         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77367 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77369         * inet/check_native.c: New file.
77371 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77373         [BZ #13629]
77374         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77375         if larger part has absolute value 1.0.
77376         * math/s_clog10.c (__clog10): Likewise.
77377         * math/s_clog10f.c (__clog10f): Likewise.
77378         * math/s_clog10l.c (__clog10l): Likewise.
77379         * math/s_clogf.c (__clogf): Likewise.
77380         * math/s_clogl.c (__clogl): Likewise.
77381         * math/libm-test.inc (clog_test): Add more tests.
77382         (clog10_test): Likewise.
77383         * sysdeps/i386/fpu/libm-test-ulps: Update.
77384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77386         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77387         (pltexit): Likewise.
77388         (La_regs): Likewise.
77389         (La_retval): Likewise.
77390         (int_retval): Likewise.
77391         Update #error for removed macros to refer only to definitions in
77392         tst-audit.h.
77393         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77394         macro.
77395         (pltexit): Likewise.
77396         (La_regs): Likewise.
77397         (La_retval): Likewise.
77398         (int_retval): Likewise.
77399         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77400         macro.
77401         (pltexit): Likewise.
77402         (La_regs): Likewise.
77403         (La_retval): Likewise.
77404         (int_retval): Likewise.
77405         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77406         macro.
77407         (pltexit): Likewise.
77408         (La_regs): Likewise.
77409         (La_retval): Likewise.
77410         (int_retval): Likewise.
77411         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77412         macro.
77413         (pltexit): Likewise.
77414         (La_regs): Likewise.
77415         (La_retval): Likewise.
77416         (int_retval): Likewise.
77417         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77418         macro.
77419         (pltexit): Likewise.
77420         (La_regs): Likewise.
77421         (La_retval): Likewise.
77422         (int_retval): Likewise.
77423         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77424         macro.
77425         (pltexit): Likewise.
77426         (La_regs): Likewise.
77427         (La_retval): Likewise.
77428         (int_retval): Likewise.
77429         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77430         macro definitions in tst-audit.h.
77431         * sysdeps/i386/tst-audit.h: New file.
77432         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77433         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77434         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77435         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77436         * sysdeps/sh/tst-audit.h: Likewise.
77437         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77438         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77439         * sysdeps/x86_64/tst-audit.h: Likewise.
77441 2012-07-26  Andreas Jaeger  <aj@suse.de>
77443         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77444         ptrace.
77446         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77447         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77448         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77449         PTRACE_O_MASK.
77450         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77451         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77452         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77454         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77455         value.
77457         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77458         _sigsys.
77459         (si_call_addr, si_syscall, si_arch): Define new macro.
77460         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77461         _sigsys.
77462         (si_call_addr, si_syscall, si_arch): Define new marcro.
77463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77464         _sigsys.
77465         (si_call_addr, si_syscall, si_arch): Define new macro.
77466         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77467         _sigsys.
77468         (si_call_addr, si_syscall, si_arch): Define new macro.
77470 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77472         [BZ #13717]
77473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77474         Change to 2.4.21 where previously 2.4.1.
77475         * sysdeps/unix/sysv/linux/configure: Regenerated.
77476         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77477         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77478         Linux kernel version.
77479         (__ASSUME_STD_AUXV): Remove.
77480         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77481         kernel version.
77482         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77483         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77484         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77485         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77486         (__ASSUME_NETLINK_SUPPORT): Likewise.
77487         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77488         (__no_netlink_support): Remove conditional definition.
77489         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77490         Remove.
77491         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77492         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77493         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77494         (if_nameindex_ioctl): Remove.
77495         (if_nameindex_netlink): Do not handle __no_netlink_support.
77496         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77497         code.
77498         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77499         Remove conditional code.
77500         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77501         code.
77502         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77503         unconditional.
77504         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77505         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77506         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77507         Remove.
77508         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77509         [!__ASSUME_STD_AUXV]: Remove conditional code.
77510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77511         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77512         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77514         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77515         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77516         code.
77517         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77519         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77520         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77521         conditional code.
77522         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77524         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77525         code.
77526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77527         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77528         conditional code.
77529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77530         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77531         code unconditional.
77532         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77533         conditional code.
77534         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77535         unconditional.
77536         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77537         conditional code.
77538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77539         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77540         unconditional.
77541         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77542         conditional code.
77543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77544         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77545         code unconditional.
77546         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77547         conditional code.
77548         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77549         unconditional.
77550         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77551         conditional code.
77552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77553         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77554         code unconditional.
77555         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77556         conditional code.
77557         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77558         unconditional.
77559         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77560         conditional code.
77562 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77564         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77565         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77566         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77567         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77568         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77569         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77570         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77571         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77572         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77573         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77574         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77575         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77576         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77577         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77578         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77579         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77580         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77581         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77582         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77584         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77585         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77586         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77588 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77590         * Versions.def: Add GLIBC_2.17.
77591         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77592         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77593         Introduce __libc_secure_getenv.
77594         * stdlib/Versions (2.17): Add secure_getenv
77595         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77596         * stdlib/secure-getenv.c: Rename __secure_getenv to
77597         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77598         symbol __secure_getenv for GLIBC_2.0.
77599         * stdlib/tst-secure-getenv.c: New.
77600         * stdlib/Makefile (tests): Add testcase.
77601         * manual/startup.texi (Environment Access): Document
77602         secure_getenv.
77603         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77604         __libc_secure_getenv.
77605         * inet/ruserpass.c (ruserpass): Likewise.
77606         * malloc/mtrace.c (mtrace): Likewise.
77607         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77608         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77609         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77610         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77611         HAVE_SECURE_GETENV.
77612         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77613         __secure_getenv to __libc_secure_getenv.
77614         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77616         Likewise.
77617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77618         Likewise.
77619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77621         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77627 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77629         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77630         (struct La_i86_retval): Likewise.
77631         (struct La_x86_64_regs): Likewise.
77632         (struct La_x86_64_retval): Likewise.
77633         (struct La_x32_regs): Likewise.
77634         (struct La_x32_retval): Likewise.
77635         (struct La_ppc32_regs): Likewise.
77636         (struct La_ppc32_retval): Likewise.
77637         (struct La_ppc64_regs): Likewise.
77638         (struct La_ppc64_retval): Likewise.
77639         (struct La_sh_regs): Likewise.
77640         (struct La_sh_retval): Likewise.
77641         (struct La_s390_32_regs): Likewise.
77642         (struct La_s390_32_retval): Likewise.
77643         (struct La_s390_64_regs): Likewise.
77644         (struct La_s390_64_retval): Likewise.
77645         (struct La_sparc32_regs): Likewise.
77646         (struct La_sparc32_retval): Likewise.
77647         (struct La_sparc64_regs): Likewise.
77648         (struct La_sparc64_retval): Likewise.
77649         (struct audit_ifaces): Remove architecture-specific pltenter and
77650         pltexit members.
77651         * sysdeps/i386/ldsodefs.h: New file.
77652         * sysdeps/powerpc/ldsodefs.h: Likewise.
77653         * sysdeps/s390/ldsodefs.h: Likewise.
77654         * sysdeps/sh/ldsodefs.h: Likewise.
77655         * sysdeps/sparc/ldsodefs.h: Likewise.
77656         * sysdeps/x86_64/ldsodefs.h: Likewise.
77658 2012-07-25  Marek Polacek  <polacek@redhat.com>
77660         [BZ #6808]
77661         * math/libm-test.inc (yn_test): Add another test.
77662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77663         to ERANGE when the result is +-Inf.
77664         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77665         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77666         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77667         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77669 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77671         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77672         equal to 0.
77673         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77674         clock_t.
77675         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77677 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77679         * configure.in <sysdeps resolving>: Correct printing
77680         Implies_before.
77681         * configure: Regenerate.
77683 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77685         * math/w_ilogb.c: Include <limits.h>.
77686         * math/w_ilogbl.c: Likewise.
77688 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77690         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77691         va_copy.  Document allowing for unavailable va_copy only as
77692         pre-C99 compatibility.
77693         * manual/string.texi (Copying and Concatenation): Use va_copy
77694         instead of __va_copy in concat example.
77696 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77698         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77699         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77700         it if not null.
77702         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77703         with O_NOLINK passed to __file_name_lookup.
77705         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77706         with O_NOLINK passed to __file_name_lookup.
77708         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77709         negative N or less than NGIDS.
77711         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77712         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77713         enough.  Use memcpy instead of strncpy.
77715 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77717         * elf/Makefile (check-data): Remove.
77718         (localplt.data): New vpath directive.
77719         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77720         instead of $(check-data).
77721         * scripts/data/localplt-generic.data: Move to ...
77722         * sysdeps/generic/localplt.data: ... here.
77723         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77724         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77725         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77727         ... here.
77728         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77730         ... here.
77731         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77733         ... here.
77734         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77736         ... here.
77737         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77739         ... here.
77740         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77742         ... here.
77744 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77746         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77747         PPC32 and PPC64 files.
77748         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77749         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77751 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77753         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77754         __makecontext_ret to ...
77755         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77756         ... here and call exit if uc_link is NULL.  New file.
77757         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77758         __makecontext_ret.S.
77759         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77760         __makecontext_ret to ...
77761         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77762         ... here and call exit if uc_link is NULL.  New file.
77763         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77764         __makecontext_ret.S.
77766 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77768         * elf/elf.h (R_390_IRELATIVE): New definition.
77769         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77770         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77771         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77772         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77773         (elf_machine_lazy_rel): Likewise.
77774         * sysdeps/s390/dl-irel.h: New file.
77775         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77776         * sysdeps/s390/s390-64/memset.S: New asm code.
77777         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77778         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77779         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77780         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77781         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77782         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77784         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77785         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77786         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77787         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77788         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77789         * sysdeps/s390/s390-32/memset.S: New asm code.
77790         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77792 2012-07-17  Marek Polacek  <polacek@redhat.com>
77794         [BZ #14349]
77795         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77796         * sysdeps/s390/s390-64/configure.in: Likewise.
77797         * sysdeps/sparc/configure.in: Likewise.
77798         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77799         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77800         * sysdeps/i386/configure.in: Likewise.
77801         * sysdeps/x86_64/configure.in: Likewise.
77802         * sysdeps/sh/configure.in: Likewise.
77803         * sysdeps/s390/s390-32/configure: Regenerated.
77804         * sysdeps/s390/s390-64/configure: Likewise.
77805         * sysdeps/x86_64/configure: Likewise.
77806         * sysdeps/sh/configure: Likewise.
77807         * sysdeps/powerpc/powerpc64/configure: Likewise.
77808         * sysdeps/powerpc/powerpc32/configure: Likewise.
77809         * sysdeps/sparc/configure: Likewise.
77810         * sysdeps/i386/configure: Likewise.
77812         * elf/dl-open.c: Comment fixes.
77814 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77816         * Makefile [CXX] (check-data): Remove.
77817         [CXX] (c++-types.data): New vpath directive.
77818         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77819         vpath.  Do not allow for C++ type data being missing.
77820         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77821         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77822         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77823         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77824         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77825         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77826         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77828         ... here.
77829         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77831         ... here.
77832         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77834         ... here.
77835         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77837         ... here.
77838         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77840         ... here.
77841         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77843         ... here.
77844         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77846         ... here.
77847         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77850         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77851         definitions to architecture-specific files.
77852         (TLS_IE): Likewise.
77853         (TLS_LD): Likewise.
77854         (TLS_GD): Likewise.
77855         * sysdeps/i386/tls-macros.h: New file.
77856         * sysdeps/powerpc/tls-macros.h: Likewise.
77857         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77858         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77859         * sysdeps/sh/tls-macros.h: Likewise.
77860         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77861         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77862         * sysdeps/x86_64/tls-macros.h: Likewise.
77864 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77866         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77867         zero value for regular exit case.
77869         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77870         (__start_context): Preserve zero value for regular exit case.
77872 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77873             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77875         * manual/setjmp.texi (setcontext): Clarify normal process
77876         termination when uc_link is the null pointer.
77877         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77878         exit call.
77880 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77882         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77883         preprocessor.  Test for each exception mask separately.
77885 2012-07-16  Andreas Jaeger  <aj@suse.de>
77887         * po/ru.po: Update from translation team.
77889 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77891         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77892         equal to 0.
77893         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77894         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77895         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77896         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77897         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77899 2012-07-13  Andreas Jaeger  <aj@suse.de>
77901         * po/fr.po: Update from translation team.
77903 2012-07-12  Marek Polacek  <polacek@redhat.com>
77905         [BZ #14173]
77906         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77907         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77908         loop condition.
77910 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77912         [BZ #13717]
77913         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77914         Change to 2.4.1 where previously 2.4.0.
77915         * sysdeps/unix/sysv/linux/configure: Regenerated.
77916         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77917         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77918         version.
77919         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77920         (__ASSUME_AT_CLKTCK): Remove.
77921         (__ASSUME_AT_PAGESIZE): Likewise.
77922         (__ASSUME_AT_XID): Likewise.
77923         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77924         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77925         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77926         unconditionally.
77927         (HAVE_AUX_PAGESIZE): Likewise.
77928         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77929         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77930         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77932 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77934         [BZ #14307]
77935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77936         the temporary buffer used to invoke __gethostbyname2_r,
77937         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77938         host_data / struct gaih_addrtuple.
77939         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77940         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77941         header file nss/nsswitch.h.
77942         * nss/nsswitch.h (global scope): Add definition of implementation
77943         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77944         resolv/nss_dns/dns-host.c).
77946 2012-07-11  Andreas Jaeger  <aj@suse.de>
77948         * po/fr.po: Update from translation team.
77950         * po/sv.po: Update from translation team
77951         * po/fr.po: Another update from translation team.
77953 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77955         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77956         for subnormals or multiply small sinh result by itself.
77957         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77960 2012-07-11  David S. Miller  <davem@davemloft.net>
77962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77964 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77966         [BZ #14347]
77967         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77968         (INTERNAL_MARK): Shift it here.
77970 2012-07-10  Marek Polacek  <polacek@redhat.com>
77972         [BZ #14151]
77973         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77974         libc_cv_asm_global_directive with .globl.
77975         * configure: Regenerated.
77976         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77977         with .globl.
77978         * sysdeps/i386/configure: Regenerated.
77979         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77980         with .globl.
77981         * sysdeps/x86_64/configure: Regenerated.
77982         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77983         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77984         * elf/tst-unique2mod2.c: Likewise.
77985         * elf/tst-unique2mod1.c: Likewise.
77986         * elf/tst-unique1mod2.c: Likewise.
77987         * elf/tst-unique1mod1.c: Likewise.
77988         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77989         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77990         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77991         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77992         * sysdeps/mach/sysdep.h: Likewise.
77993         * sysdeps/i386/sysdep.h: Likewise.
77994         * sysdeps/i386/i386-mcount.S: Likewise.
77995         * sysdeps/x86_64/_mcount.S: Likewise.
77996         * sysdeps/x86_64/sysdep.h: Likewise.
77997         * sysdeps/sh/_mcount.S: Likewise.
77998         * sysdeps/sh/sysdep.h: Likewise.
77999         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78000         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78001         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78002         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78003         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78004         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78005         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78006         * locale/localeinfo.h: Likewise.
78007         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78008         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78010 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78012         [BZ #14336]
78013         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78014         system".
78015         * manual/message.texi (The Uniforum approach): Likewise.
78016         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78017         (glibc iconv Implementation): Likewise.
78019 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78021         [BZ #14337]
78022         * math/s_clog.c (__clog): Avoid scaling a value down where that
78023         could result in underflow.
78024         * math/s_clog10.c (__clog10): Likewise.
78025         * math/s_clog10f.c (__clog10f): Likewise.
78026         * math/s_clog10l.c (__clog10l): Likewise.
78027         * math/s_clogf.c (__clogf): Likewise.
78028         * math/s_clogl.c (__clogl): Likewise.
78029         * math/libm-test.inc (clog_test): Add more tests.
78030         (clog10_test): Likewise.
78031         * sysdeps/i386/fpu/libm-test-ulps: Update.
78032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78034 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78036         [BZ #14283]
78037         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78038         by 7 not 8 to examine high bit of fractional part.
78040         [BZ #14042]
78041         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78042         for call to __mcount_internal.
78043         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78044         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78045         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78047 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78049         [BZ #14154]
78050         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78051         approximation for values within 0x1p-13f of an odd multiple of
78052         pi/4.
78053         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78054         exception.  Add more tests.
78055         * sysdeps/i386/fpu/libm-test-ulps: Update.
78057         [BZ #6778]
78058         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78059         inputs and return -1 for them.  Do not check for +Inf in case not
78060         reachable for +Inf.
78061         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78062         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78063         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78064         and return -1 for them.  Do not check for +Inf in case not
78065         reachable for +Inf.
78066         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78067         define.
78068         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78069         and return -1 for them.  Do not check for +Inf in case not
78070         reachable for +Inf.
78071         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78072         spurious underflow.
78073         * sysdeps/i386/fpu/libm-test-ulps: Update.
78074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78076 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78078         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78080 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78082         [BZ #14157]
78083         [BZ #14331]
78084         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78085         could result in spurious underflow.  Scale down values above
78086         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78087         * math/s_csqrtf.c (__csqrtf): Likewise.
78088         * math/s_csqrtl.c (__csqrtl): Likewise.
78089         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78090         spurious underflow.
78091         * sysdeps/i386/fpu/libm-test-ulps: Update.
78092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78094 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78096         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78097         xopen-msg.sed.
78098         * catgets/xopen-msg.awk: New file.
78099         * catgets/xopen-msg.sed: Removed.
78101         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78102         po2text.sed.
78103         * intl/po2test.awk: New file.
78104         * intl/po2test.sed: Removed.
78106 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78108         [BZ #14328]
78109         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78110         or multiply small sinh result by itself.
78111         * math/s_ctanf.c (__ctanf): Likewise.
78112         * math/s_ctanh.c (__ctanh): Likewise.
78113         * math/s_ctanhf.c (__ctanhf): Likewise.
78114         * math/s_ctanhl.c (__ctanhl): Likewise.
78115         * math/s_ctanl.c (__ctanl): Likewise.
78116         * math/libm-test.inc (ctan_test_tonearest): New function.
78117         (ctan_test_towardzero): Likewise.
78118         (ctan_test_downward): Likewise.
78119         (ctan_test_upward): Likewise.
78120         (ctanh_test_tonearest): Likewise.
78121         (ctanh_test_towardzero): Likewise.
78122         (ctanh_test_downward): Likewise.
78123         (ctanh_test_upward): Likewise.
78124         (main): Call these new functions.
78125         * sysdeps/i386/fpu/libm-test-ulps: Update.
78126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78128 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78130         * .gitignore: Delete /ports entry.
78132 2012-07-03  Andreas Jaeger  <aj@suse.de>
78134         * po/bg.po: Update from translation team.
78135         * po/cs.po: Likewise.
78136         * po/de.po: Likewise.
78137         * po/hr.po: Likewise.
78138         * po/nl.pl: Likewise.
78139         * po/pl.po: Likewise.
78140         * po/vi.po: Likewise.
78142 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78144         * Makeconfig [!+link] (+link-before-libc): New variable.
78145         [!+link] (+link-after-libc): Likewise.
78146         [!+link] (+link-tests): Likewise.
78147         [!+link] (+link): Define in terms of $(+link-before-libc) and
78148         $(+link-after-libc).
78149         [!+link-static] (+link-static-before-libc): New variable.
78150         [!+link-static] (+link-static-after-libc): Likewise.
78151         [!+link-static] (+link-static-tests): Likewise.
78152         [!+link-static] (+link-static): Define in terms of
78153         $(+link-static-before-libc) and $(+link-static-after-libc).
78154         [build-shared] (link-libc-before-gnulib): New variable.
78155         [build-shared] (link-libc-tests): Likewise.
78156         [build-shared] (link-libc): Define in terms of
78157         $(link-libc-before-gnulib).
78158         [!build-shared] (link-libc-tests): New variable.
78159         (link-libc-static-tests): New variable.
78160         [!gnulib] (gnulib-arch): New variable.
78161         [!gnulib] (gnulib-tests): Likewise.
78162         [!gnulib] (static-gnulib-arch): Likewise.
78163         [!gnulib] (static-gnulib-tests): Likewise.
78164         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78165         Define with "=" instead of ":=".
78166         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78167         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78168         * Rules (binaries-all-notests): New variable.
78169         (binaries-all-tests): Likewise.
78170         (binaries-static-notests): Likewise.
78171         (binaries-static-tests): Likewise.
78172         (binaries-all): Define using $(binaries-all-notests) and
78173         $(binaries-all-tests).
78174         (binaries-static): Define using $(binaries-static-notests) and
78175         $(binaries-static-tests).
78176         (binaries-shared-tests): New variable.
78177         (binaries-shared-notests): Likewise.
78178         (binaries-shared): Remove variable.
78179         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78180         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78181         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78182         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78183         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78184         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78185         * elf/Makefile (sln-modules): New variable.
78186         (extra-objs): Add $(sln-modules:=.o).
78187         (ldconfig-modules): Add static-stubs.
78188         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78189         * elf/static-stubs.c: New file.
78191         [BZ #14283]
78192         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78193         by 7 not 8 to examine high bit of fractional part.  Use volatile
78194         variables when splitting into final array of floats if
78195         __FLT_EVAL_METHOD__ != 0.
78196         * math/libm-test.inc (cos_test): Add another test.
78197         (sin_test): Likewise.
78198         * sysdeps/i386/fpu/libm-test-ulps: Update.
78200         [BZ #14273]
78201         * math/libm-test.inc (cosh_test): Add more tests.
78203         * version.h (RELEASE): Set to "development".
78204         (VERSION): Set to "2.16.90".
78206 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78208         * NEWS: Update copyright. Remove last-updated date.
78209         Mention math library bug fixes and timezone data changes.
78210         * README: Mention GNU/Hurd, x32, and HPPA support status.
78212 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78214         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78216 2012-06-27  Andreas Jaeger  <aj@suse.de>
78218         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78220 2012-06-25  Andreas Jaeger  <aj@suse.de>
78222         * sysdeps/s390/fpu/libm-test-ulps: Update.
78224 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78225             Thomas Schwinge  <thomas@codesourcery.com>
78227         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78228         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78229         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78230         fanotify_mark.
78232 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78234         * sysdeps/mach/start.c: Remove file.
78235         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78236         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78237         * sysdeps/sh/init-first.c: Likewise.
78239         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78240         registers for frame unwinding purposes, add CFI directives.
78241         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78242         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78243         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78244         Likewise.
78246         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78247         __fortify_fail returning.
78248         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78250         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78251         sysdeps/sh/____longjmp_chk.S.
78252         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78253         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78254         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78255         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78257         * sysdeps/sh/abort-instr.h: New file.
78258         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78259         process in case exit returns.
78261         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78262         initialize the GOT register before use.
78264         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78265         calculation of ARGC > 4.
78267         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78268         meaningful names to some local labels.
78270 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78271             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78273         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78274         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78275         (__arch_compare_and_exchange_val_16_acq): Likewise.
78276         (__arch_compare_and_exchange_val_32_acq): Likewise.
78277         (atomic_exchange_and_add): Fix gUSA sequence.
78278         (atomic_add): Likewise.
78279         (atomic_add_negative): Likewise.
78280         (atomic_add_zero): Likewise.
78281         (atomic_bit_test_set): Likewise.
78283 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78285         [BZ #13579]
78286         * include/link.h (struct link_map): Add l_free_initfini.
78287         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78288         l_initfini.
78289         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78290         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78291         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78292         set.
78294 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78296         * configure.in: Use AC_LANG_SOURCE.
78297         * configure: Regenerate.
78299 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78301         * configure.in (libc_cv_localstatedir): New substituted variable.
78302         * configure: Regenerated.
78303         * config.make.in (localstatedir): New variable, substituted from
78304         libc_cv_localstatedir.
78305         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78306         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78307         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78308         * sysdeps/gnu/configure: Regenerated.
78310 2012-06-21  Jeff Law  <law@redhat.com>
78312         [BZ #14277]
78313         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78314         free.  Simplify list management for _LIBC case.
78316 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78318         [BZ #14273]
78319         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78320         Clear sign bit of 64-bit integer value before comparing against
78321         overflow value.
78323         * sysdeps/mach/configure: Regenerated.
78325 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78327         [BZ #14278]
78328         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78330 2012-06-21  Jeff Law  <law@redhat.com>
78332         [BZ #13882]
78333         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78334         uint16_t for elements in the "seen" array to avoid char overflows.
78335         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78336         * elf/dl-open.c (dl_open_worker): Likewise.
78338 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78340         * scripts/list-sources.sh: Scan PORTS for translations.
78341         * po/libc.pot: Regenerated.
78343 2012-06-21  Andreas Jaeger  <aj@suse.de>
78345         [BZ #12194]
78346         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78347         warning.
78348         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78349         * bits/byteswap-16.h (__bswap_16): Likewise.
78350         * bits/byteswap.h (__bswap_constant_16): Likewise.
78352 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78354         [BZ #14117]
78355         * sysdeps/i386/fpu_control.h: Removed.
78356         * sysdeps/x86_64/fpu_control.h: Moved to ...
78357         * sysdeps/x86/fpu_control.h: Here.
78359         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78360         (_FPU_SETCW): Likewise.
78362 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78364         [BZ #14117]
78365         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78366         * sysdeps/x86/fpu/bits/mathinline.h: This.
78367         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78369         [BZ #14050]
78370         [BZ #14117]
78371         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78372         functions if __x86_64__ is defined.
78374 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78376         * string/endian.h: Add !__ASSEMBLER__ condition for including
78377         conversion interfaces.
78379 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78381         [BZ #14241]
78382         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78383         of ABS(x) in calculating zero to negative powers other than odd
78384         integers.
78385         * math/libm-test.inc (pow_test): Add more tests.
78387 2012-06-15  Andreas Jaeger  <aj@suse.de>
78389         * manual/contrib.texi (Contributors): Update entry of Liubov
78390         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78391         Machado Filho.
78393 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78395         * string/string.h: Add __wur to GNU version of strerror_r.
78397 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78399         [BZ #14229]
78400         * string/Makefile (tests): Add tst-strtok_r.
78401         * string/tst-strtok_r.c: New file.
78402         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78403         RAX_LP/RDX_LP on SAVE_PTR.
78405 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78407         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78409 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78411         * libm_test.inc (csqrt_test): Allow more spurious underflow
78412         exceptions.
78413         (j0_test): Likewise.
78414         (j1_test): Likewise.
78415         (y0_test): Likewise.
78416         (y1_test): Likewise.
78418 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78420         * po/Makefile (libc.pot): Use UTF-8 charset.
78422 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78424         [BZ #14210]
78425         Suppress sign-conversion warning from FD_SET.
78426         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78427         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78428         not unsigned long int.
78429         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78431 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78433         [BZ #14050]
78434         [BZ #14117]
78435         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78436         __extern_always_inline instead of __extern_inline.
78437         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78438         (__signbit): Likewise.
78439         (__signbitl): Support C++ namespace.
78440         (lrintf): New inline function.
78441         (lrint): Likewise.
78442         (llrintf): Likewise.
78443         (llrint): Likewise.
78444         (fmaxf): Likewise.
78445         (fmax): Likewise.
78446         (fminf): Likewise.
78447         (fmin): Likewise.
78448         (rint): Likewise.
78449         (rintf): Likewise.
78450         (ceil): Likewise.
78451         (ceilf): Likewise.
78452         (floor): Likewise.
78453         (floorf): Likewise.
78454         (nearbyint): Likewise.
78455         (nearbyintf): Likewise.
78457 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78459         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78460         non-default versions.
78462 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78464         [BZ #14218]
78465         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78467 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78469         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78470         (FE_UPWARD, FE_DOWNWARD): Don't define.
78471         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78472         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78474         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78475         reading it.
78476         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78477         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78479 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78481         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78482         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78483         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78484         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78486 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78488         [BZ #14117]
78489         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78490         * sysdeps/i386/fpu/Implies: New file.
78491         * sysdeps/x86_64/fpu/Implies: Likewise.
78492         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78493         * sysdeps/x86/fpu/bits/fenv.h: This.
78495         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78496         __SSE_MATH__.
78498 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78500         [BZ #14134]
78501         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78502         character 0xffff that matches the last element of the
78503         conversion table.
78505 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78507         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78508         fmodl commit.
78510 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78512         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78513         values higher than 25.6283.
78515 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78518         subnormal exponent extraction and add some __builtin_expect.
78519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78520         Fix for subnormal mantissa calculation.
78522 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78524         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78525         cpu2 is -1 and errno is not ENOSYS.
78527 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78529         [BZ #14117]
78530         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78531         * sysdeps/x86/bits/string.h: This.
78532         * sysdeps/x86_64/bits/string.h: Removed.
78534         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78535         if not compiling for x86-64, but compiling for >= i486.
78537         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78538         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78540         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78541         New macro from Linux kernel 3.4.0.
78542         (FP_XSTATE_MAGIC2): Likewise.
78543         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78544         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78545         (struct _fpx_sw_bytes): New struct.
78546         (struct _xsave_hdr): Likewise.
78547         (struct _ymmh_state): Likewise.
78548         (struct _xstate): Likewise.
78550         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78551         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78552         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78553         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78554         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78555         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78557         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78558         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78559         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78560         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78561         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78562         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78564 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78566         [BZ #13743]
78567         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78568         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78569         (sysdep_headers): Include sys/platform/ppc.h.
78570         * sysdeps/powerpc/test-gettimebase.c: Test for
78571         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78572         * manual/Makefile (appendices): Include platform.texi.
78573         * manual/contrib.texi (Contributors): Update @node pointers.
78574         * manual/maint.texi (Maintenance): Likewise.
78575         (Platform): New node.
78576         * manual/platform.texi: New file.  Document the new features.
78578 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78579             Jakub Jelinek  <jakub@redhat.com>
78581         [BZ #14188]
78582         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78583         where __builtin_expect is unavailable.
78585 2012-06-03  David S. Miller  <davem@davemloft.net>
78587         * stdlib/longlong.h: Updated from GCC.
78589 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78591         [BZ #14042]
78592         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78593         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78594         __mcount_internal.
78595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78596         (GLIBC_2.16): Likewise.
78598 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78600         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78602 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78605         (default-abi): New variable.
78606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78607         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78608         variable.
78609         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78610         Likewise.
78611         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78612         Likewise.
78613         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78614         Likewise.
78616         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78617         definition.  Document in comment.
78619 2012-06-01  David S. Miller  <davem@davemloft.net>
78621         * stdlib/longlong.h: Updated from GCC.
78623 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78625         [BZ #14117]
78626         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78627         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78628         sys/debugreg.h sys/io.h here.
78629         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78630         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78631         sys/io.h.
78632         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78633         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78634         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78635         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78636         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78637         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78639         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78640         Define only if __x86_64__ is defined.
78642 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78644         [BZ #14048]
78645         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78646         Use int64_t for variable i.
78647         * math/libm-test.inc (fmod_test): Add more tests.
78649         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78650         z computation is not scheduled after fetestexcept.
78651         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78652         Use math_force_eval instead of asm to ensure calculation scheduled
78653         before exception test.
78654         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78655         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78657 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78660         computation is not scheduled after fetestexcept.
78662 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78664         [BZ #14117]
78665         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78666         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78668 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78670         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78671         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78673 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78675         [BZ #14117]
78676         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78677         <bits/wordsize.h>.
78678         (__WCHAR_MIN): Support __WORDSIZE == 64.
78679         (__WCHAR_MAX): Likewise.
78681         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78682         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78684         [BZ #14183]
78685         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78686         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78688         [BZ #14117]
78689         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78690         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78692         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78693         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78695         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78696         Defined to 1 if __x86_64__ isn't defined.
78697         (_STAT_VER_LINUX_OLD): New.
78698         (st_atime): Remove duplicate.
78699         (st_mtime): Likewise.
78700         (st_ctime): Likewise.
78702 2012-05-31  David S. Miller  <davem@davemloft.net>
78704         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78705         entries.
78707 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78709         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78710         gen-libm-test.pl.
78712         [BZ #14132]
78713         * elf/dl-reloc.c: Include <_itoa.h>.
78714         (_dl_reloc_bad_type): Remove use of INTUSE.
78715         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78716         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78717         * stdio-common/psiginfo.c (psiginfo): Likewise.
78718         * stdio-common/psignal.c (psignal): Likewise.
78719         * string/strsignal.c (strsignal): Likewise.
78720         * include/signal.h (_sys_siglist): Declare hidden proto.
78721         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78722         INTVARDEF with libc_hidden_data_def.
78723         * stdio-common/itoa-udigits.c: Likewise.
78724         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78725         (_itoa_lower_digits_internal): Remove declaration.
78726         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78727         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78728         (_sys_sigabbrev_internal): Remove aliases.
78729         (_sys_siglist): Define hidden alias.
78731 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78734         bits/sysctl.h.
78736 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78738         [BZ #14117]
78739         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78740         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78742         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78743         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78744         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78745         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78746         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78747         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78749         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78750         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78751         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78753         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78754         with __addr.
78755         (insw): Likewise.
78756         (insl): Likewise.
78757         (outsb): Likewise.
78758         (outsw): Likewise.
78759         (outsl): Likewise.
78761         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78762         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78763         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78765         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78766         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78767         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78768         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78769         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78770         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78772         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78773         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78775         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78776         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78778         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78779         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78780         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78782         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78783         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78784         to ...
78785         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78787         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78788         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78789         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78791         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78792         for x86-64.
78793         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78795 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78797         * math/math.h (M_El): Use two more decimal places.
78798         (M_LOG2El): Likewise.
78799         (M_LOG10El): Likewise.
78800         (M_LN2l): Likewise.
78801         (M_LN10l): Likewise.
78802         (M_PIl): Likewise.
78803         (M_PI_2l): Likewise.
78804         (M_PI_4l): Likewise.
78805         (M_1_PIl): Likewise.
78806         (M_2_PIl): Likewise.
78807         (M_2_SQRTPIl): Likewise.
78808         (M_SQRT2l): Likewise.
78809         (M_SQRT1_2l): Likewise.
78811 2012-05-31  David S. Miller  <davem@davemloft.net>
78813         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78814         values between float registers.
78815         * sysdeps/sparc/sparc64/memset.S: Likewise.
78816         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78818 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78820         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78821         -D_FORTIFY_SOURCE=1.
78822         (CPPFLAGS-tst-longjmp_chk.c): Define.
78823         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78824         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78825         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78826         CFLAGS-tst-wchar-h.c.
78828 2012-05-31  Marek Polacek  <polacek@redhat.com>
78830         [BZ #14132]
78831         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78832         __endmntent_internal): Remove declaration.
78833         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78834         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78835         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78837 2012-05-30  David S. Miller  <davem@davemloft.net>
78839         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78840         (___Q_simulate_exceptions): Use real FP ops rather than writing
78841         into the %fsr.
78842         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78843         Likewise.
78845 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78847         [BZ #14117]
78848         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78849         * sysdeps/x86/bits/xtitypes.h: This.
78851         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78852         * sysdeps/x86/bits/wordsize.h: This.
78854         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78855         * sysdeps/x86/bits/huge_vall.h: This.
78857         * sysdeps/i386/bits/select.h: Removed.
78858         * sysdeps/x86_64/bits/select.h: Renamed to ...
78859         * sysdeps/x86/bits/select.h: This.
78861         * sysdeps/i386/bits/setjmp.h: Removed.
78862         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78863         * sysdeps/x86/bits/setjmp.h: This.
78865         * sysdeps/i386/bits/mathdef.h: Removed.
78866         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78867         * sysdeps/x86/bits/mathdef.h: This.
78869 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78871         [BZ #14132]
78872         * include/sys/socket.h (__connect_internal)
78873         (__libc_sa_len_internal): Remove declaration.
78874         (__connect, __libc_sa_len): Declare hidden_proto.
78875         (SA_LEN): Remove use of INTUSE.
78876         * socket/connect.c: Add libc_hidden_def.
78877         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78878         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78879         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78880         alias.
78881         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78882         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78883         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78884         of adding _internal alias.
78886 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78888         [BZ #14117]
78889         * sysdeps/i386/bits/link.h: Removed.
78890         * sysdeps/i386/bits/linkmap.h: Likewise.
78891         * sysdeps/x86_64/bits/link.h: Renamed to ...
78892         * sysdeps/x86/bits/link.h: This.
78893         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78894         * sysdeps/x86/bits/linkmap.h: This.
78896         * sysdeps/i386/bits/endian.h: Removed.
78897         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78898         * sysdeps/x86/bits/endian.h: This.
78900         * sysdeps/i386/bits/byteswap.h: Removed.
78901         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78902         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78903         * sysdeps/x86/bits/byteswap.h: This.
78904         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78905         * sysdeps/x86/bits/byteswap-16.h: This.
78906         * sysdeps/i386/Implies: Add x86.
78907         * sysdeps/x86_64/Implies: Likewise.
78909 2012-05-30  David S. Miller  <davem@davemloft.net>
78911         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78912         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78913         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78914         (FP_TRAPPING_EXCEPTIONS): Define.
78915         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78916         (FP_TRAPPING_EXCEPTIONS): Define.
78917         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78918         subnormals only when inexact has been signalled or underflow
78919         exceptions are enabled.
78920         (_FP_PACK_CANONICAL): Likewise.
78922 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78924         [BZ #14183]
78925         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78926         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78928 2012-05-30  Richard Henderson  <rth@twiddle.net>
78930         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78931         with #ifndef NOT_IN_libc.
78933         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78934         marked to avoid plt entry.
78936 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78938         [BZ #14112]
78939         * Makeconfig (default-abi): New macro.
78940         (abi-includes): Likewise.
78941         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78942         $(abi-$(default-abi)-lib-soname) for soname if defined.
78943         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78944         abi-variants.
78945         * Makefile (installed-stubs): Likewise.
78946         * include/stubs-biarch.h: Removed.
78947         * scripts/lib-names.awk: Only handle one library at a time.
78948         * scripts/soversions.awk: Remove WORDSIZE support.
78949         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78950         entries.
78951         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78952         Removed.
78953         (syscall-list-default-condition): Likewise.
78954         (syscall-list-default-condition): Likewise.
78955         (syscall-list-includes): Likewise.
78956         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78957         syscall-list-* with abi-*.  Handle undefined abi-variants.
78958         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78959         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78960         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78961         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78962         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78963         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78964         Removed.
78965         (syscall-list-32-options): Likewise.
78966         (syscall-list-32-condition): Likewise.
78967         (syscall-list-64-options): Likewise.
78968         (syscall-list-64-condition): Likewise.
78969         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78970         macro.
78971         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78972         Renamed to ...
78973         (abi-*): This.
78974         (abi-64-ld-soname): New macro.
78975         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78976         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78977         Renamed to ...
78978         (abi-*): This.
78979         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78980         * sysdeps/x86_64/x32/shlib-versions: Likewise.
78982 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
78984         * sysdeps/unix/sysv/linux/kernel-features.h
78985         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78986         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78987         include <kernel-features.h>.
78988         [!__NR_ftruncate64]: Remove conditional code.
78989         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78990         [__NR_ftruncate64]: Make code unconditional.
78991         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78992         * sysdeps/unix/sysv/linux/truncate64.c: Do not
78993         include <kernel-features.h>.
78994         [!__NR_ftruncate64]: Remove conditional code.
78995         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78996         [__NR_ftruncate64]: Make code unconditional.
78997         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78999         include <kernel-features.h>.
79000         [!__NR_ftruncate64]: Remove conditional code.
79001         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79002         [__NR_ftruncate64]: Make code unconditional.
79003         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79005         include <kernel-features.h>.
79006         [!__NR_ftruncate64]: Remove conditional code.
79007         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79008         [__NR_ftruncate64]: Make code unconditional.
79009         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79011         * configure.in (libc_cv_fpie): Weaken to a compile test using
79012         LIBC_TRY_CC_OPTION.
79013         * configure: Regenerated.
79015 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79021         Refreshed.
79022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79028         Refreshed.
79030 2012-05-27  David S. Miller  <davem@davemloft.net>
79032         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79033         (___Q_zero): New.
79034         (__Q_simulate_exceptions): Return void.  Change to simulate
79035         exceptions by writing into the %fsr.
79036         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79037         (__Qp_handle_exceptions): Likewise.
79038         (numbers): Delete.
79039         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79040         __Qp_handle_exceptions.
79041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79042         __Qp_handle_exceptions.
79043         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79044         as unused and give dummy FP_RND_NEAREST initializer.
79045         (FP_INHIBIT_RESULTS): Define.
79046         (___Q_simulate_exceptions): Update declaration.
79047         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79048         formatting.
79049         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79050         as unused and give dummy FP_RND_NEAREST initializer.
79051         (__Qp_handle_exceptions): Update declaration.
79052         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79053         formatting.
79055 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79057         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79058         the temporary FPU control word.
79059         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79060         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79061         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79062         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79063         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79064         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79065         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79066         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79067         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79068         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79069         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79071 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79073         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79074         fields.
79076 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79078         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79079         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79080         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79081         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79082         Likewise.
79083         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79084         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79085         Likewise.
79087 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79089         * po/h.po: Update from translation team.
79091 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79093         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79095         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79096         handling of denormals.
79097         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79098         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79099         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79100         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79101         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79104         Likewise.
79106 2012-05-26  Marek Polacek  <polacek@redhat.com>
79108         [BZ #14152]
79109         * math/libm-test.inc (fma_test): Don't always expect underflow
79110         exception.
79112 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79114         [BZ #12416]
79115         * elf/tst-execstack.c: Include stackinfo.h.
79116         (do_test): Adjust test case to ensure that pthread_getattr_np
79117         behaviour remains the same after marking stack executable.
79119 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79121         * sysdeps/unix/sysv/linux/kernel-features.h
79122         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79123         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79124         kernel-features.h.
79125         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79126         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79127         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79128         kernel-features.h.
79129         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79130         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79132 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79134         * configure.in: Define the default includes to being none.
79135         * configure: Regenerated.
79137 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79139         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79140         * sysdeps/x86_64/setjmp.S: Likewise.
79141         * sysdeps/i386/bsd-setjmp.S: Likewise.
79142         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79143         * sysdeps/i386/setjmp.S: Likewise.
79144         * sysdeps/i386/__longjmp.S: Likewise.
79145         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79146         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79148         * include/stap-probe.h: New file.
79149         * configure.in: Handle --enable-systemtap.
79150         * configure: Regenerated.
79151         * config.h.in (USE_STAP_PROBE): New #undef.
79152         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79153         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79154         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79156 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79158         [BZ #13717]
79159         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79160         to 2.4.0 where earlier.
79161         * sysdeps/unix/sysv/linux/configure: Regenerated.
79162         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
79163         <kernel-features.h>.
79164         [__ASSUME_32BITUIDS]: Make code unconditional.
79165         [!__ASSUME_32BITUIDS]: Remove conditional code.
79166         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
79167         <kernel-features.h>.
79168         [__ASSUME_32BITUIDS]: Make code unconditional.
79169         [!__ASSUME_32BITUIDS]: Remove conditional code.
79170         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79171         [__ASSUME_32BITUIDS]: Make code unconditional.
79172         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79173         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79174         <kernel-features.h>.
79175         [__ASSUME_32BITUIDS]: Make code unconditional.
79176         [!__ASSUME_32BITUIDS]: Remove conditional code.
79177         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79178         <kernel-features.h>.
79179         [__ASSUME_32BITUIDS]: Make code unconditional.
79180         [!__ASSUME_32BITUIDS]: Remove conditional code.
79181         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79182         <kernel-features.h>.
79183         [__ASSUME_32BITUIDS]: Make code unconditional.
79184         [!__ASSUME_32BITUIDS]: Remove conditional code.
79185         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79186         <kernel-features.h>.
79187         [__ASSUME_32BITUIDS]: Make code unconditional.
79188         [!__ASSUME_32BITUIDS]: Remove conditional code.
79189         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79190         <kernel-features.h>.
79191         [__ASSUME_32BITUIDS]: Make code unconditional.
79192         [!__ASSUME_32BITUIDS]: Remove conditional code.
79193         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79194         <kernel-features.h>.
79195         [__ASSUME_32BITUIDS]: Make code unconditional.
79196         [!__ASSUME_32BITUIDS]: Remove conditional code.
79197         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79198         <kernel-features.h>.
79199         [__ASSUME_32BITUIDS]: Make code unconditional.
79200         [!__ASSUME_32BITUIDS]: Remove conditional code.
79201         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79202         <kernel-features.h>.
79203         [__ASSUME_32BITUIDS]: Make code unconditional.
79204         [!__ASSUME_32BITUIDS]: Remove conditional code.
79205         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79206         <kernel-features.h>.
79207         [__ASSUME_32BITUIDS]: Make code unconditional.
79208         [!__ASSUME_32BITUIDS]: Remove conditional code.
79209         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79210         <kernel-features.h>.
79211         [__ASSUME_32BITUIDS]: Make code unconditional.
79212         [!__ASSUME_32BITUIDS]: Remove conditional code.
79213         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79214         <kernel-features.h>.
79215         [__NR_setresgid] (__setresgid): Do not declare.
79216         [__ASSUME_32BITUIDS]: Make code unconditional.
79217         [!__ASSUME_32BITUIDS]: Remove conditional code.
79218         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79219         <kernel-features.h>.
79220         [__NR_setresuid] (__setresuid): Do not declare.
79221         [__ASSUME_32BITUIDS]: Make code unconditional.
79222         [!__ASSUME_32BITUIDS]: Remove conditional code.
79223         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79224         <kernel-features.h>.
79225         [__ASSUME_32BITUIDS]: Make code unconditional.
79226         [!__ASSUME_32BITUIDS]: Remove conditional code.
79227         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79228         <kernel-features.h>.
79229         [__ASSUME_32BITUIDS]: Make code unconditional.
79230         [!__ASSUME_32BITUIDS]: Remove conditional code.
79231         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79232         <kernel-features.h>.
79233         [__ASSUME_32BITUIDS]: Make code unconditional.
79234         [!__ASSUME_32BITUIDS]: Remove conditional code.
79235         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79236         <kernel-features.h>.
79237         [__ASSUME_32BITUIDS]: Make code unconditional.
79238         [!__ASSUME_32BITUIDS]: Remove conditional code.
79239         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79240         <kernel-features.h>.
79241         [__ASSUME_32BITUIDS]: Make code unconditional.
79242         [!__ASSUME_32BITUIDS]: Remove conditional code.
79243         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79244         <kernel-features.h>.
79245         [__ASSUME_32BITUIDS]: Make code unconditional.
79246         [!__ASSUME_32BITUIDS]: Remove conditional code.
79247         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79248         <kernel-features.h>.
79249         [__ASSUME_32BITUIDS]: Make code unconditional.
79250         [!__ASSUME_32BITUIDS]: Remove conditional code.
79251         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79252         <kernel-features.h>.
79253         [__ASSUME_32BITUIDS]: Make code unconditional.
79254         [!__ASSUME_32BITUIDS]: Remove conditional code.
79255         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79256         <kernel-features.h>.
79257         [__ASSUME_32BITUIDS]: Make code unconditional.
79258         [!__ASSUME_32BITUIDS]: Remove conditional code.
79259         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79260         <kernel-features.h>.
79261         [__ASSUME_32BITUIDS]: Make code unconditional.
79262         [!__ASSUME_32BITUIDS]: Remove conditional code.
79263         * sysdeps/unix/sysv/linux/kernel-features.h
79264         (__ASSUME_SETRESUID_SYSCALL): Remove.
79265         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79266         (__ASSUME_32BITUIDS): Likewise.
79267         (__ASSUME_LDT_WORKS): Likewise.
79268         (__ASSUME_O_DIRECTORY): Likewise.
79269         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79270         architecture but not kernel version.
79271         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79272         (__ASSUME_MMAP2_SYSCALL): Likewise.
79273         (__ASSUME_STAT64_SYSCALL): Likewise.
79274         (__ASSUME_IPC64): Likewise.
79275         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79276         <kernel-features.h>.
79277         [__ASSUME_32BITUIDS]: Make code unconditional.
79278         [!__ASSUME_32BITUIDS]: Remove conditional code.
79279         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79280         <kernel-features.h>.
79281         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79282         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79283         132096]: Remove conditional code.
79284         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79285         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79286         <kernel-features.h>.
79287         [__ASSUME_32BITUIDS]: Make code unconditional.
79288         [!__ASSUME_32BITUIDS]: Remove conditional code.
79289         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79290         <kernel-features.h>.
79291         [__ASSUME_32BITUIDS]: Make code unconditional.
79292         [!__ASSUME_32BITUIDS]: Remove conditional code.
79293         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79294         <kernel-features.h>.
79295         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79296         unconditional.
79297         (__setresgid): Do not declare.
79298         [__ASSUME_32BITUIDS]: Make code unconditional.
79299         [!__ASSUME_32BITUIDS]: Remove conditional code.
79300         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79301         <kernel-features.h>.
79302         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79303         unconditional.
79304         (__setresuid): Do not declare.
79305         [__ASSUME_32BITUIDS]: Make code unconditional.
79306         [!__ASSUME_32BITUIDS]: Remove conditional code.
79307         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79308         <kernel-features.h>.
79309         [__ASSUME_32BITUIDS]: Make code unconditional.
79310         [!__ASSUME_32BITUIDS]: Remove conditional code.
79311         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79312         <kernel-features.h>.
79313         [__ASSUME_32BITUIDS]: Make code unconditional.
79314         [!__ASSUME_32BITUIDS]: Remove conditional code.
79316 2012-05-25  Richard Henderson  <rth@twiddle.net>
79318         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79319         dl_hwcap to ifunc resolver.
79320         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79321         elf_ifunc_invoke.
79322         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79323         dl_hwcap to ifunc resolver.
79324         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79326 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79328         [BZ #14153]
79329         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79330         for |x| <= 2**-26, not 2**-57.
79331         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79332         exception.
79334 2012-05-24  Jeff Law  <law@redhat.com>
79336         * stdio-common/Makefile (tests): Add bug25.
79337         * stdio-common/bug25.c: New test.
79339 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79341         [BZ #13576]
79342         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79343         multiple of MALLOC_ALIGNMENT in size.
79344         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79346 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79348         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79349         Require >= 256.
79350         (FILENAME_MAX): Use macro-int-constant.
79351         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79352         (_IOFBF): Use macro-int-constant.
79353         (_IOLBF): Likewise.
79354         (_IONBF): Likewise.
79355         (SEEK_CUR): Likewise.
79356         (SEEK_END): Likewise.
79357         (SEEK_SET): Likewise.
79358         (TMP_MAX): Likewise.
79359         (EOF): Use macro-int-constant.  Require < 0.
79360         (NULL): Use macro-constant.  Require == 0.
79361         (stdin): Require type to be FILE *.
79362         (stdout): Likewise.
79363         (stderr): Likewise.
79364         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79365         macro-int-constant.
79366         (EXIT_SUCCESS): Likewise.
79367         (NULL): Use macro-constant.  Require == 0.
79368         (RAND_MAX): Use macro-int-constant.
79369         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79370         [C99-based standards] (strtof): Require function.
79371         [C99-based standards] (strtold): Likewise.
79372         [C99-based standards] (strtoll): Likewise.
79373         [C99-based standards] (strtoull): Likewise.
79374         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79375         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79376         [ISO || ISO99 || ISO11] (math.h): Likewise.
79377         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79378         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79379         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79381 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79383         [BZ #14132]
79384         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79385         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79386         * intl/dgettext.c (DCGETTEXT): Likewise.
79387         * intl/gettext.c (DCGETTEXT): Likewise.
79388         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79389         * posix/regex_internal.h (gettext): Likewise.
79390         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79391         Remove declaration.
79392         * include/argz.h (__argz_count_internal)
79393         (__argz_stringify_internal): Remove declaration.
79394         (__argz_count, __argz_stringify): Declare hidden proto.
79395         * intl/dcgettext.c: Remove use of INTDEF.
79396         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79397         * string/argz-stringify.c: Likewise.
79398         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79399         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79400         Declare hidden proto.
79401         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79402         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79403         Declare hidden proto.
79404         * include/stdio.h (__asprintf_internal): Don't declare.
79405         (__asprintf): Don't define as macro.  Declare hidden proto.
79406         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79407         (__fsetlocking): Declare hidden proto.
79408         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79409         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79410         hidden proto.
79411         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79412         (_IO_setlinebuf): Remove use of INTUSE.
79413         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79414         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79415         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79416         Remove declaration.
79417         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79418         (_IO_do_flush): Remove use of INTUSE.
79419         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79420         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79421         (_IO_adjust_column, _IO_least_wmarker)
79422         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79423         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79424         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79425         (_IO_default_doallocate, _IO_wdefault_doallocate)
79426         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79427         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79428         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79429         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79430         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79431         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79432         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79433         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79434         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79435         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79436         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79437         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79438         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79439         proto.
79440         (_IO_flush_all_internal, _IO_adjust_column_internal)
79441         (_IO_default_uflow_internal, _IO_default_finish_internal)
79442         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79443         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79444         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79445         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79446         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79447         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79448         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79449         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79450         (_IO_file_close_internal, _IO_file_close_it_internal)
79451         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79452         (_IO_file_init_internal, _IO_file_attach_internal)
79453         (_IO_file_fopen_internal, _IO_file_read_internal)
79454         (_IO_file_sync_internal, _IO_file_seek_internal)
79455         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79456         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79457         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79458         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79459         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79460         (_IO_list_all_internal, _IO_link_in_internal)
79461         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79462         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79463         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79464         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79465         (_IO_do_write_internal, _IO_padn_internal)
79466         (_IO_getline_info_internal, _IO_getline_internal)
79467         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79468         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79469         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79470         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79471         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79472         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79473         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79474         with libc_hidden_ver, remove use of INTUSE.
79475         * libio/genops.c: Likewise.
79476         * libio/freopen.c: Likewise.
79477         * libio/freopen64.c: Likewise.
79478         * libio/iofclose.c: Likewise.
79479         * libio/iofdopen.c: Likewise.
79480         * libio/iofflush.c: Likewise.
79481         * libio/iofflush_u.c: Likewise.
79482         * libio/iofgets.c: Likewise.
79483         * libio/iofgets_u.c: Likewise.
79484         * libio/iofopen.c: Likewise.
79485         * libio/iofopncook.c: Likewise.
79486         * libio/iofread.c: Likewise.
79487         * libio/iofread_u.c: Likewise.
79488         * libio/ioftell.c: Likewise.
79489         * libio/iofwrite.c: Likewise.
79490         * libio/iogetline.c: Likewise.
79491         * libio/iogets.c: Likewise.
79492         * libio/iogetwline.c: Likewise.
79493         * libio/iopadn.c: Likewise.
79494         * libio/iopopen.c: Likewise.
79495         * libio/ioseekoff.c: Likewise.
79496         * libio/ioseekpos.c: Likewise.
79497         * libio/iosetbuffer.c: Likewise.
79498         * libio/iosetvbuf.c: Likewise.
79499         * libio/ioungetc.c: Likewise.
79500         * libio/ioungetwc.c: Likewise.
79501         * libio/iovdprintf.c: Likewise.
79502         * libio/iovsprintf.c: Likewise.
79503         * libio/iovsscanf.c: Likewise.
79504         * libio/memstream.c: Likewise.
79505         * libio/obprintf.c: Likewise.
79506         * libio/oldfileops.c: Likewise.
79507         * libio/oldiofclose.c: Likewise.
79508         * libio/oldiofdopen.c: Likewise.
79509         * libio/oldiofopen.c: Likewise.
79510         * libio/oldiopopen.c: Likewise.
79511         * libio/oldstdfiles.c: Likewise.
79512         * libio/putc.c: Likewise.
79513         * libio/setbuf.c: Likewise.
79514         * libio/setlinebuf.c: Likewise.
79515         * libio/stdfiles.c: Likewise.
79516         * libio/strops.c: Likewise.
79517         * libio/vasprintf.c: Likewise.
79518         * libio/vscanf.c: Likewise.
79519         * libio/vsnprintf.c: Likewise.
79520         * libio/vswprintf.c: Likewise.
79521         * libio/wfiledoalloc.c: Likewise.
79522         * libio/wfileops.c: Likewise.
79523         * libio/wgenops.c: Likewise.
79524         * libio/wmemstream.c: Likewise.
79525         * libio/wstrops.c: Likewise.
79526         * libio/__fpurge.c: Likewise.
79527         * libio/__fsetlocking.c: Likewise.
79528         * assert/assert.c: Likewise.
79529         * debug/fgets_chk.c: Likewise.
79530         * debug/fgets_u_chk.c: Likewise.
79531         * debug/fread_chk.c: Likewise.
79532         * debug/fread_u_chk.c: Likewise.
79533         * debug/gets_chk.c: Likewise.
79534         * debug/obprintf_chk.c: Likewise.
79535         * debug/vasprintf_chk.c: Likewise.
79536         * debug/vdprintf_chk.c: Likewise.
79537         * debug/vsnprintf_chk.c: Likewise.
79538         * debug/vsprintf_chk.c: Likewise.
79539         * malloc/mtrace.c: Likewise.
79540         * misc/error.c: Likewise.
79541         * misc/syslog.c: Likewise.
79542         * stdio-common/asprintf.c: Likewise.
79543         * stdio-common/fxprintf.c: Likewise.
79544         * stdio-common/getw.c: Likewise.
79545         * stdio-common/isoc99_fscanf.c: Likewise.
79546         * stdio-common/isoc99_scanf.c: Likewise.
79547         * stdio-common/isoc99_vfscanf.c: Likewise.
79548         * stdio-common/isoc99_vscanf.c: Likewise.
79549         * stdio-common/isoc99_vsscanf.c: Likewise.
79550         * stdio-common/printf-prs.c: Likewise.
79551         * stdio-common/printf_fp.c: Likewise.
79552         * stdio-common/printf_fphex.c: Likewise.
79553         * stdio-common/printf_size.c: Likewise.
79554         * stdio-common/putw.c: Likewise.
79555         * stdio-common/scanf.c: Likewise.
79556         * stdio-common/sprintf.c: Likewise.
79557         * stdio-common/tmpfile.c: Likewise.
79558         * stdio-common/vfprintf.c: Likewise.
79559         * stdio-common/vfscanf.c: Likewise.
79560         * stdlib/strfmon_l.c: Likewise.
79561         * sunrpc/openchild.c: Likewise.
79562         * sunrpc/xdr_stdio.c: Likewise.
79563         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79564         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79566 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79568         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79570         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79571         in the third column, to generate for the shared library an IFUNC
79572         that uses _dl_vdso_vsym.
79573         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79574         * Makeconfig (object-suffixes-noshared): New variable.
79576         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79577         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79578         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79579         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79581         [BZ #14132]
79582         * include/sys/time.h (__gettimeofday): Remove macro.
79583         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79584         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79585         Remove INTDEF.
79586         (__gettimeofday): Add libc_hidden_def.
79587         (gettimeofday): Add libc_hidden_weak.
79588         * sysdeps/mach/gettimeofday.c: Likewise.
79589         * sysdeps/posix/gettimeofday.c: Likewise.
79590         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79591         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79593         (__gettimeofday_internal): Remove strong_alias.
79594         (__gettimeofday): Add libc_hidden_def.
79595         (gettimeofday): Add libc_hidden_weak.
79596         * sysdeps/unix/syscalls.list (gettimeofday):
79597         Remove __gettimeofday_internal alias.
79599 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79600             H.J. Lu  <hongjiu.lu@intel.com>
79602         [BZ #12495]
79603         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79604         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79605         (largebin_index_32_big): New.
79606         (largebin_index): Use it for 16-byte alignment.
79607         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79608         correction with front_misalign.
79610 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79614         Likewise.
79615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79616         Likewise.
79617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79618         Likewise.
79619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79620         Likewise.
79621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79622         Likewise.
79623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79624         Likewise.
79625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79626         Likewise.
79627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79628         Likewise.
79629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79630         Likewise.
79631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79632         Likewise.
79633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79634         Likewise.
79635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79636         Likewise.
79638         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79639         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79641 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79643         [BZ #10846]
79644         [BZ #14036]
79645         * math/libm-test.inc (exp_test): Add test from bug 14036.
79646         (pow_test): Add test from bug 10846.
79648         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79649         and other flags.
79650         (special_function): Do not include flags in test name.
79651         (parse_args): Likewise.
79652         * sysdeps/i386/fpu/libm-test-ulps: Update.
79653         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79654         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79655         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79658         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79659         exceptions.
79660         * math/libm-test.inc ("Philosophy"): Update comment about
79661         exception testing.
79662         (UNDERFLOW_EXCEPTION): New macro.
79663         (UNDERFLOW_EXCEPTION_OK): Likewise.
79664         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79665         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79666         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79667         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79668         (INVALID_EXCEPTION_OK): Update value.
79669         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79670         (OVERFLOW_EXCEPTION_OK): Likewise.
79671         (IGNORE_ZERO_INF_SIGN): Likewise.
79672         (test_exceptions): Handle underflow exceptions.
79673         (acos_test): Update for underflow exception expectations.
79674         (cexp_test): Likewise.
79675         (clog_test): Likewise.
79676         (clog10_test): Likewise.
79677         (csqrt_test): Likewise.
79678         (ctan_test): Likewise.
79679         (ctanh_test): Likewise.
79680         (exp_test): Likewise.
79681         (exp10_test): Likewise.
79682         (exp2_test): Likewise.
79683         (expm1_test): Likewise.
79684         (fma_test): Likewise.
79685         (j0_test): Likewise.
79686         (jn_test): Likewise.
79687         (nexttoward_test): Likewise.
79688         (pow_test): Likewise.
79689         (scalbn_test): Likewise.
79690         (scalbln_test): Likewise.
79691         (tan_test): Likewise.
79692         (y1_test): Likewise.
79693         * sysdeps/i386/fpu/libm-test-ulps: Update.
79694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79696 2012-05-23  David S. Miller  <davem@davemloft.net>
79698         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79699         (__libc_sigaction): Remove unused local variables.
79701 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79703         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79705 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79707         mktime: avoid signed integer overflow
79708         * time/mktime.c (__mktime_internal): Do not mishandle the case
79709         where diff == INT_MIN.
79711         mktime: simplify computation of average
79712         * time/mktime.c (ranged_convert): Use new time_t_avg function
79713         instead of rolling our own (probably-slower) code.
79715         mktime: do not assume signed right shift propagates sign bit
79716         * time/mktime.c (isdst_differ): New static function.
79717         (__mktime_internal): No need to normalize tm_isdst now.
79718         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79719         tm_isdst values.
79721         mktime: merge another wrapv change from gnulib
79722         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79723         from some compilers.
79725         mktime: remove incorrect attempt at unusual arithmetics
79726         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79727         The code didn't really work on such machines anyway.
79728         (TYPE_MINIMUM): Assume two's complement.
79729         (twos_complement_arithmetic): Verify that long_int and time_t
79730         are two's complement (or unsigned, in the latter case).
79732         mktime: check signed shifts on long_int and time_t, too
79733         * time/mktime.c (SHR): Check that shifts work as desired
79734         on the types long_int and time_t too, as SHR is used on
79735         such types.
79737         mktime: do not assume 'long' is wide enough
79738         * time/mktime.c (verify): Move decl up.
79739         (long_int): New type.
79740         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79741         to remove assumption in the code that 'long' is wide enough to
79742         store year values.  This assumption is not true on x32 and on
79743         some non-glibc platforms.
79745         mktime: merge wrapv change from gnulib
79746         * time/mktime.c (WRAPV): New macro.
79747         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79748         (guess_time_tm, __mktime_internal): Do not assume that signed
79749         integer overflow wraps around; modern compilers generate code
79750         where this assumption is no longer valid.
79752 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79754         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79755         Replace "jmp L(pseudo_end)" with "ret".
79756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79757         Likewise.
79759 2012-05-23  Andreas Jaeger  <aj@suse.de>
79761         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79762         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79764 2012-05-23  Andreas Jaeger  <aj@suse.de>
79765             Maximilian Attems  <max@stro.at>
79767         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79768         New macros.
79770 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79772         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79773         code so that pseudo_end is just ret and the stack pointer is
79774         correct also for static library in error case.
79776 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79778         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79779         move to syscalls.list.
79780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79785         * manual/install.texi (Running make install): Do not mention Linux
79786         kernel version for which pt_chown is not needed.
79787         (Linux): Do not mention problems with nscd with 2.0 kernels.
79788         * INSTALL: Regenerated.
79790 2012-05-23  Andreas Jaeger  <aj@suse.de>
79792         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79793         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79794         macro.
79795         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79796         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79797         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79798         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79799         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79800         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79801         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79802         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79803         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79804         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79805         * sysdeps/unix/sysv/linux/bits/in.h
79806         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79808 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79810         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79811         (PREPARE_VERSION): Just use assert instead, it will be elided
79812         under [NDEBUG] anyway.
79814 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79816         * sysdeps/unix/sysv/linux/Makefile: Include
79817         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79818         (sysdep_routines): Remove sysctl.
79819         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79820         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79821         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79822         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79823         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79825 2012-05-22  Andreas Jaeger  <aj@suse.de>
79827         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79828         that pseudo_end is just ret and the stack pointer is correct also
79829         for static library in error case.
79831 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79833         [BZ #14122]
79834         * nss/nsswitch.c (defconfig_entries): New variable.
79835         (__nss_database_lookup): Don't leak defconfig entries.
79836         (nss_parse_service_list): Don't leak on error paths.
79837         (free_database_entries): New function.
79838         (free_defconfig): New function.
79839         (free_mem): Move common code to free_database_entries.
79841 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79843         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79844         Add arch_prctl.
79845         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79847         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79848         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79850         New macro.
79851         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79852         (INTERNAL_SYSCALL_TYPES): Likewise.
79853         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79854         (LOAD_REGS_TYPES_[1-6]): Likewise.
79855         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79856         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79858 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79860         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79861         copysignl for GLIBC_2_0.
79862         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79863         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79865         logbl for GLIBC_2_0.
79866         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79867         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79869 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79871         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79872         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79874         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79875         Use "neg %eax".
79877         * time/mktime.c: Update copyright years.
79879 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79881         mktime: merge comment-quoting-style change from gnulib
79882         * time/mktime.c: Quote 'like this' in comments.
79883         The GNU coding standards suggest that we no longer quote `like this',
79884         as "`" and "'" are typically rendered asymmetrically nowadays.
79885         The typical gnulib style is to quote 'like this' when quoting
79886         code, and "like this" when quoting English.
79888         * time/mktime.c (compile-command): Add "-I.".
79890         mktime: merge mktime-internal.h change from gnulib
79891         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79893         mktime: merge time_r change from gnulib
79894         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79896         mktime: merge DEBUG change from gnulib
79897         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79898         case system <time.h> has a #define.
79900         mktime: merge <sys/types.h> change from gnulib
79901         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79902         since <time.t> is now guaranteed to define time_t.
79904         mktime: merge HAVE_CONFIG_H change from gnulib
79905         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79907 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79910         Use "neg %eax".
79912         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79913         __rlim_t cast.
79914         (struct rusage): Use anonymous union to pad each field to
79915         __syscall_slong_t.
79917 2012-05-21  David S. Miller  <davem@davemloft.net>
79919         * Makefules (o-iterator): Remove .s cases.
79920         (compile-command.s): Delete.
79921         (COMPILE.s): Delete.
79922         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79924 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79926         * configure.in (libc_cv_predef_stack_protector): Only consider
79927         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79928         * configure: Regenerated.
79930 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79933         New macro.  Use R*LP on int and pointer.
79934         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79935         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79936         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79937         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79939         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79940         [__WORDSIZE_TIME64_COMPAT32] instead of
79941         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79942         (struct utmp): Likewise.
79943         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79944         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79945         Renamed to ...
79946         (__WORDSIZE_TIME64_COMPAT32): This.
79947         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79948         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79949         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79950         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79951         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79952         (__WORDSIZE_TIME64_COMPAT32): New macro.
79954 2012-05-21  Andreas Jaeger  <aj@suse.de>
79956         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79957         only if [SHARED]. Add prototype for __wcschr_ia32.
79959 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79961         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79962         of %rbp unmolested in the jmp_buf while mangling the low bits.
79963         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79964         unmolested high bits of %rbp while demangling the low bits.
79965         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79967 2012-05-21  Andreas Jaeger  <aj@suse.de>
79969         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79970         * sunrpc/svc_simple.c: Use it for registerrpc.
79971         * sunrpc/xcrypt.c: Use it for passwd2des.
79973         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79975 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79977         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79978         Don't define if [__SYSCALL_WORDSIZE != 32].
79979         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79980         New macro.
79982 2012-05-21  Bruno Haible  <bruno@clisp.org>
79983             Andreas Jaeger  <aj@suse.de>
79985         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79986         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79987         inptr and inend for must_buffer_ch.
79988         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79989         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79990         * stdio-common/Makefile (tests): Remove bug15.
79991         (bug15-ENV): Remove macro.
79992         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79993         anymore.
79995 2012-05-19  Andreas Jaeger  <aj@suse.de>
79996             Roland McGrath  <roland@hack.frob.com>
79998         * manual/contrib.texi: Completely rewritten. It contains now an
79999         alphabetical list of contributors and their contributions.
80001 2012-05-21  Richard Henderson  <rth@twiddle.net>
80003         * misc/getauxval.c (__getauxval): Use unsigned long int.
80004         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80005         (getauxval): Use unsigned long int.
80007 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80009         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80011 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80013         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80014         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80015         __alignof__ (long double).
80017 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80021 2012-05-20  Richard Henderson  <rth@twiddle.net>
80023         * misc/getauxval.c: New file.
80024         * misc/sys/auxv.h: New file.
80025         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80026         (routines): Add getauxval.
80027         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80028         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80029         * elf/dl-sysdep.c (_dl_auxv): Remove.
80030         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80031         * elf/dl-support.c (_dl_auxv): New variable.
80032         (_dl_aux_init): Initialize it.
80033         * manual/startup.texi (Auxiliary Vector): New node.
80034         * sysdeps/generic/bits/hwcap.h: New file.
80035         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80036         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80037         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80038         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80039         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80040         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80042         Update.
80043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80052 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80056 2012-05-19  David S. Miller  <davem@davemloft.net>
80058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80060 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80062         [BZ #14123]
80063         * math/s_ccosh.c: Include <float.h>
80064         (__ccosh): Avoid internal overflow calculating sinh and cosh
80065         values before multiplying by sin and cos values.
80066         * math/s_ccoshf.c: Likewise.
80067         * math/s_ccoshl.c: Likewise.
80068         * math/s_csin.c: Likewise.
80069         * math/s_csinf.c: Likewise.
80070         * math/s_csinl.c: Likewise.
80071         * math/s_csinh.c: Likewise.
80072         * math/s_csinhf.c: Likewise.
80073         * math/s_csinhl.c: Likewise.
80074         * math/libm-test.inc (ccos_test): Add more tests.
80075         (ccosh_test): Likewise.
80076         (csin_test): Likewise.
80077         (csinh_test): Likewise.
80078         * sysdeps/i386/fpu/libm-test-ulps: Update.
80079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80081 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80083         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80084         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80086         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80088 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80090         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80091         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80092         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80093         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80094         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80095         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80096         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80097         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80098         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80099         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80100         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80101         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80102         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80103         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80104         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80105         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80106         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80107         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80108         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80109         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80110         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80111         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80112         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80113         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80114         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80115         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80116         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80117         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80118         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80119         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80120         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80122 2012-05-18  Andreas Jaeger  <aj@suse.de>
80124         * csu/.gitignore: Delete.
80126 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80128         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80129         (timex): Use __syscall_slong_t.
80131 2012-05-18  Andreas Jaeger  <aj@suse.de>
80132             Carlos O'Donell  <carlos_odonell@mentor.com>
80134         * manual/install.texi (Configuring and compiling): Update
80135         description about files modified in the source directory.
80136         * INSTALL: Regenerated.
80138 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80140         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80141         value.  Use "or" to set return value to -1.
80142         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80143         negate return value.
80145 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80147         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80148         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80149         failure if the compiler has Graphite support disabled.
80150         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80151         Likewise.
80152         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80153         (CFLAGS-memmove.c): Likewise.
80154         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80155         Likewise.
80157 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80159         * sysdeps/x86_64/x32/_itoa.h: New file.
80161         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80162         getdents system call only if kernel and user dirents have the
80163         same d_ino and d_off.
80165         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80166         LLONG_MAX != LONG_MAX.
80167         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80168         (_fitoa_word): Likewise.
80170         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80171         years.
80172         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80173         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80174         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80176         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80177         include <bits/wordsize.h>.  Check __x86_64__ instead of
80178         __WORDSIZE.
80179         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80180         if __x86_64__ is defined.  Use anonymous union on fpstate.
80182         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80183         anonymous union.
80185 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80187         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80188         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80189         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80190         Refer to _rtld_local_ro instead of _rtld_global_ro.
80191         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80192         Likewise.
80193         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80194         Likewise.
80195         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80196         Likewise.
80197         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80198         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80199         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80201         [BZ #10882]
80202         * sysdeps/powerpc/powerpc32/dl-machine.c
80203         (__elf_machine_runtime_setup) [PROF]: Don't reference
80204         _dl_prof_resolve.
80206 2012-05-18  Andreas Jaeger  <aj@suse.de>
80208         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80209         function only available for GCCs before 3.4 since GCC 3.4
80210         introduced a builtin.
80211         (lrint): Likewise.
80212         (llrintf): Likewise.
80213         (llrint): Likewise.
80214         (fmaxf): Likewise.
80215         (fmax): Likewise.
80216         (fminf): Likewise.
80217         (fmin): Likewise.
80218         (rint): Likewise.
80219         (rintf): Likewise.
80220         (nearbyint): Likewise.
80221         (nearbyintf): Likewise.
80222         (ceil): Likewise.
80223         (ceilf): Likewise.
80224         (floor): Likewise.
80225         (floorf): Likewise.
80227 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80229         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80230         on both fields and cast pointer to __syscall_ulong_t.
80232         * bits/types.h (__fsword_t): New type.
80233         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80234         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80235         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80236         (__FSWORD_T_TYPE): Likewise.
80237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80238         (__FSWORD_T_TYPE): Likewise.
80239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80240         (__FSWORD_T_TYPE): Likewise.
80241         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80242         (__FSWORD_T_TYPE): Likewise.
80243         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80244         __SWORD_TYPE with __fsword_t.
80245         (statfs64): Likewise.
80247 2012-05-17  David S. Miller  <davem@davemloft.net>
80249         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80251 2012-05-17  Andreas Jaeger  <aj@suse.de>
80253         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80254         warning.
80256 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80258         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80260 2012-05-17  Andreas Jaeger  <aj@suse.de>
80262         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80263         when it is used.
80265 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80267         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80269 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80271         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80272         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80274 2012-05-17  Andreas Jaeger  <aj@suse.de>
80275             Carlos O'Donell  <carlos_odonell@mentor.com>
80277         [BZ #14059]
80278         * sysdeps/x86_64/multiarch/init-arch.h
80279         (bit_YMM_Usable): Rename to...
80280         (bit_AVX_Usable): ... this.
80281         (bit_FMA4_Usable): New macro.
80282         (bit_XMM_state): New macro.
80283         (bit_YMM_state): New macro.
80284         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80285         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80286         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80287         (CPUID_OSXSAVE): New macro.
80288         (CPUID_AVX): New macro.
80289         (CPUID_FMA4): New macro.
80290         (index_YMM_Usable): Rename to...
80291         (index_AVX_Usable): ... this.
80292         (HAS_AVX): Use HAS_ARCH_FEATURE.
80293         (HAS_FMA4): Likewise.
80294         (HAS_YMM_USABLE): Remove.
80295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80296         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80297         are present.
80298         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80299         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80300         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80301         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80302         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80304 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80306         * math/libm-test.c: Support platforms without multiple rounding modes.
80307         * math/bug-nextafter.c: Support platforms without FP exceptions.
80308         * math/bug-nexttoward.c: Likewise.
80309         * math/test-fenv.c: Likewise.
80310         * math/test-misc.c: Likewise.
80311         * stdlib/bug-getcontext.c: Likewise.
80313 2012-05-17  Andreas Jaeger  <aj@suse.de>
80315         * manual/examples/search.c (critter_cmp): Change signature to
80316         avoid warnings.
80317         * manual/string.texi (Collation Functions): Likewise.
80319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80321         * bits/types.h: Fold copyright years.
80322         * bits/typesizes.h: Likewise.
80323         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80327         * time/time.h: Likewise.
80329 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80331         [BZ #208]
80332         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80333         in instead of returning them.  Return void.
80334         (__libc_mallinfo): Accumulate over all arenas.
80335         (__malloc_stats): Adjust for change in int_mallinfo interface.
80337 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80339         [BZ #10375]
80340         * configure.in (NM): Add AC_CHECK_TOOL for it.
80341         (libc_extra_cflags): New substituted variable.
80342         Check for -fstack-protector being used implicitly.
80343         * configure: Regenerated.
80344         * config.make.in (config-extra-cflags): New variable,
80345         gets @libc_extra_cflags@.
80346         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80348         [BZ #10375]
80349         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80350         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80351         * configure: Regenerated.
80352         * config.make.in (CPPUNDEFS): New substituted variable.
80353         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80354         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80355         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80359         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80360         (mq_attr): Use __syscall_slong_t.
80362 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80364         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80365         Check __x86_64__ instead of __WORDSIZE.
80366         (_STAT_VER_LINUX): Likewise.
80367         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80368         __syscall_ulong_t and __syscall_slong_t.
80369         (stat64): Likewise.
80371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80373         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80375 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80377         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80379 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80381         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80382         __syscall_ulong_t.
80384         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80385         include <bits/wordsize.h>.  Check __x86_64__ instead of
80386         __WORDSIZE.
80387         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80388         defined.
80389         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80391         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80392         include <bits/wordsize.h>.  Check __x86_64__ instead of
80393         __WORDSIZE.
80394         (user_regs_struct): Use "__extension__ unsigned long long"
80395         instead of "unsigned long" if __x86_64__ is defined.
80396         (user): Likewise.  Pad after pointer field if __ILP32__ is
80397         defined.
80399 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80401         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80402         versions 5 to 9.
80403         * configure: Regenerated.
80404         * manual/install.texi (texinfo): Increase version requirement to
80405         4.5 or later.
80406         * INSTALL: Regenerated.
80408         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80410 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80412         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80414         * sysdeps/x86_64/x32/ffs.c: New file.
80416         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80417         __syscall_ulong_t.
80418         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80419         defined.  Use __syscall_ulong_t.
80420         (shminfo): Use __syscall_ulong_t.
80421         (shm_info): Likewise.
80423         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80424         __syscall_ulong_t.
80426         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80427         <bits/wordsize.h>.
80428         (msgqnum_t): Use __syscall_ulong_t.
80429         (msglen_t): Likewise.
80430         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80431         __syscall_ulong_t.
80433         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80434         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80436         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80438         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80439         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80441         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80442         __syscall_slong_t.
80444         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80445         include <bits/wordsize.h>.  Check __x86_64__ instead of
80446         __WORDSIZE.
80448         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80449         "unsigned long long int" if __x86_64__ is defined.
80450         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80452         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80453         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80454         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80456         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80457         <stdint.h>.
80458         (GET_PC): Cast to uintptr_t first.
80459         (GET_FRAME): Likewise.
80460         (GET_STACK): Likewise.
80462         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80463         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80464         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80465         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80466         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80467         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80468         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80469         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80470         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80471         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80472         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80473         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80475         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80476         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80477         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80478         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80479         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80480         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80481         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80482         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80483         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80484         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80485         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80486         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80487         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80488         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80489         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80490         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80492 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80494         * Makerules (+depfiles): Also collect depfiles from .oS in
80495         $(extra-objs).
80496         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80497         .oS, $(libnldbl-routines)).
80499         * Makerules (native-compile-mkdep-flags): Define.
80500         * sunrpc/Makefile (extra-objs): Add $(addprefix
80501         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80502         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80503         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80504         calling $(make-target-directory).
80506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80508         * bits/types.h (__snseconds_t): Removed.
80509         * time/time.h (struct timespec): Replace __snseconds_t with
80510         __syscall_slong_t.
80511         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80512         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80513         Likewise.
80514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80515         (__SNSECONDS_T_TYPE): Likewise.
80516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80517         (__SNSECONDS_T_TYPE): Likewise.
80518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80519         (__SNSECONDS_T_TYPE): Likewise.
80521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80523         * sysdeps/mach/hurd/bits/typesizes.h
80524         (__SYSCALL_SLONG_TYPE): New macro.
80525         (__SYSCALL_ULONG_TYPE): Likewise.
80527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80529         * bits/types.h (__syscall_slong_t): New type.
80530         (__syscall_ulong_t): Likewise.
80532         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80533         (__SYSCALL_ULONG_TYPE): Likewise.
80534         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80535         (__SYSCALL_SLONG_TYPE): Likewise.
80536         (__SYSCALL_ULONG_TYPE): Likewise.
80537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80538         (__SYSCALL_SLONG_TYPE): Likewise.
80539         (__SYSCALL_ULONG_TYPE): Likewise.
80540         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80541         (__SYSCALL_SLONG_TYPE): Likewise.
80542         (__SYSCALL_ULONG_TYPE): Likewise.
80544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80546         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80547         Add sigaltstack-offsets.sym.
80548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80549         <sigaltstack-offsets.h>.
80550         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80551         longjmp_msg pointer.
80552         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80553         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80554         signal stack.
80555         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80557 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80559         * elf/stackguard-macros.h: Remove file.
80560         * sysdeps/generic/stackguard-macros.h: New file.
80561         * sysdeps/i386/stackguard-macros.h: Likewise.
80562         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80563         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80564         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80565         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80566         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80567         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80568         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80569         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80570         <elf/stackguard-macros.h>.
80572         [BZ #14109]
80573         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80574         __aligned__ in attribute.
80575         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80576         (gregset_t): Likewise.
80578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80580         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80581         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80582         * sysdeps/x86_64/x32/Implies-after: New file.
80584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80586         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80587         and access return value for _dl_profile_fixup.  Use R10_LP to
80588         load frame size.
80590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80592         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80596         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80597         * sysdeps/x86_64/x32/sysdep.h: New file.
80599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80601         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80602         * sysdeps/x86_64/setjmp.S: Likewise.
80604 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80606         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80607         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80608         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80609         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80610         remove unused global constant.
80612 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80614         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80615         include of <not-cancel.h>.
80617 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80619         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80621 2012-05-15  Jeff Law  <law@redhat.com>
80622             Andreas Jaeger  <aj@suse.de>
80624         [BZ #13594]
80625         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80626         out from...
80627         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80628         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80629         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80630         code changing __hst_map_handle.map.
80632 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80634         * configure.in (sysnames): Look for Implies-before and Implies-after
80635         files.
80636         * configure: Regenerated.
80638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80640         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80641         8-byte data alignment with LP_SIZE alignment.
80643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80645         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80646         into R10_LP.
80648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80650         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80654         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80655         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80656         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80657         Likewise.
80658         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80662         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80663         (stackinfo_sub_sp): Likewise.
80665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80667         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80668         RAX_LP.
80670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80673         into R*_LP.
80675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80678         sizes into R*_LP.
80680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80682         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80686         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80687         into R11_LP and load __x86_64_shared_cache_size_half into
80688         R8_LP.
80690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80693         R8_LP.
80695 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80697         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80698         logb for POWER7.
80699         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80700         logbf for POWER7.
80701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80702         logbl for POWER7.
80703         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80704         powerpc32/power7/fpu/s_logb.c via #include.
80705         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80706         powerpc32/power7/fpu/s_logbf.c via #include.
80707         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80708         powerpc32/power7/fpu/s_logbl.c via #include.
80710 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80712         * README.libm: Remove file.
80714 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80716         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80717         count for x32.  Use R*_LP and omit operand-size suffix.
80719 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80721         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80722         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80723         * sysdeps/x86_64/x32/shlib-versions: New file.
80725 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80727         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80728         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80729         Use _dl_fatal_printf instead.
80731 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80733         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80734         set if not set by the user.  Do not allow for being unset.
80735         * sysdeps/unix/sysv/linux/configure: Regenerated.
80737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80739         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80740         the `q' suffix from lea and replace .quad with ASM_ADDR.
80742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80745         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80746         instead of $17.
80747         (PTR_DEMANGLE): Likewise.
80749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80751         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80752         (LP_OP): Likewise.
80753         (ASM_ADDR): Likewise.
80754         (RAX_LP): Likewise.
80755         (RBP_LP): Likewise.
80756         (RBX_LP): Likewise.
80757         (RCX_LP): Likewise.
80758         (RDI_LP): Likewise.
80759         (RSI_LP): Likewise.
80760         (RSP_LP): Likewise.
80761         (R8_LP): Likewise.
80762         (R9_LP): Likewise.
80763         (R10_LP): Likewise.
80764         (R10_LP): Likewise.
80765         (R11_LP): Likewise.
80766         (R12_LP): Likewise.
80767         (R13_LP): Likewise.
80768         (R14_LP): Likewise.
80769         (R15_LP): Likewise.
80771 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80773         * sysdeps/x86_64/x32/dl-machine.h: New file.
80775 2012-05-14  Andreas Jaeger  <aj@suse.de>
80777         * manual/Makefile (subdir): Remove export of subdir.
80778         (all): Remove target.
80779         (.PHONY): Remove all from list.
80780         (mkinstalldirs): Remove.
80781         (.PHONY): Remove installdirs from list.
80782         ($(inst_infodir)/libc.info): Use make-target-directory.
80783         (installdirs): Remove.
80784         (subdir_%): Remove.
80785         (glibc-targets): Remove.
80786         (lib): Remove.
80787         (stubs): Remove.
80788         ($(objpfx)stubs ../po/manual.pot): Remove.
80789         ($(objpfx)stamp%): Remove.
80790         (make-target-directory): Remove.
80791         (subdir_install): Remove.
80792         (routines): Remove.
80793         (aux): Remove.
80794         (sources): Remove.
80795         (objects): Remove.
80796         (headers): Remove.
80798         [BZ #13750]
80799         * manual/.gitignore: Remove, it's not needed anymore.
80800         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80801         all files in it.
80802         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80803         directory.
80804         (texis): Renamed to $(objpfx)texis.
80805         (texis-path): New, contains path to generated files.
80806         (chapters.%): Use texis-path for complete path, add extra argument
80807         libc-texinfo.sh.
80808         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80809         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80810         (summary,texi, stamp-summary): Use complete path of
80811         files. Generate files in build dir.
80812         (dir-add.texi): Build in build dir.
80813         (libm-err.texi,stamp-libm-err): Likewise.
80814         (version.texi, stamp-version): Likewise.
80815         (.%c.texi): Likewise.
80816         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80817         (mostlyclean): Remove target.
80818         (realclean): Remove target.
80819         (generated): Add new variable with contents from mostlyclean and
80820         realclean, remove entries duplicated in common-mostlyclean, add
80821         stamp-libm-err and stamp-version.
80822         (generated-dirs): Add libc directory.
80823         ($(inst_infodir)/libc.info): Install files from build dir.
80825         * manual/install.texi (Configuring and compiling): Adjust since
80826         the info files are not part of the tar ball anymore.
80828 2012-05-14  Andreas Jaeger  <aj@suse.de>
80830         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80831         variable.
80833 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80835         [BZ #13717]
80836         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80837         to 2.2.0 where earlier.
80838         * sysdeps/unix/sysv/linux/configure: Regenerated.
80839         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80840         Remove conditional code.
80841         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80842         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80843         Remove conditional code.
80844         [!__NR_lchown]: Likewise.
80845         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80846         [__NR_lchown]: Likewise.
80847         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80848         comment referencing __ASSUME_LCHOWN_SYSCALL.
80849         * sysdeps/unix/sysv/linux/i386/sigaction.c
80850         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80851         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80852         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80853         Remove conditional code.
80854         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80855         (__protocol_available): Remove #if 0 code.
80856         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80857         conditional code.
80858         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80859         * sysdeps/unix/sysv/linux/kernel-features.h
80860         (__ASSUME_GETCWD_SYSCALL): Don't define.
80861         (__ASSUME_REALTIME_SIGNALS): Likewise.
80862         (__ASSUME_PREAD_SYSCALL): Likewise.
80863         (__ASSUME_PWRITE_SYSCALL): Likewise.
80864         (__ASSUME_POLL_SYSCALL): Likewise.
80865         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80866         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80867         non-SPARC.
80868         (__ASSUME_SIOCGIFNAME): Don't define.
80869         (__ASSUME_MSG_NOSIGNAL): Likewise.
80870         (__ASSUME_SENDFILE): Define unconditionally.
80871         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80872         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80873         conditional code.
80874         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80875         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80876         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80877         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80878         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80879         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80880         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80882         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80883         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80885         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80888         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80889         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80891         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80892         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80894         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80895         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80897         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80900         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80903         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80905         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80906         Remove conditional code.
80907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80908         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80909         Remove conditional code.
80910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80911         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80912         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80913         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80914         Remove conditional code.
80915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80916         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80917         Remove conditional code.
80918         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80919         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80920         Remove conditional code.
80921         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80922         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80923         Remove conditional code.
80924         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80925         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80926         Remove conditional code.
80927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80928         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80929         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80931         * sysdeps/unix/sysv/linux/sigaction.c
80932         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80933         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80934         * sysdeps/unix/sysv/linux/sigpending.c
80935         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80936         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80937         * sysdeps/unix/sysv/linux/sigprocmask.c
80938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80940         * sysdeps/unix/sysv/linux/sigsuspend.c
80941         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80942         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80943         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80944         (__libc_missing_rt_sigs): Remove.
80945         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80946         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80947         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80948         Remove conditional code.
80949         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80950         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80951         return 1.
80952         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80953         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80954         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80955         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80957 2012-05-14  Andreas Jaeger  <aj@suse.de>
80959         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80960         it's not used in glibc.
80961         (__coshm1): Likewise.
80962         (__acosh1p): Likewise.
80963         (__sgn): Likewise.
80965         * manual/string.texi (Copying and Concatenation): Add missing
80966         variable in concat example.
80967         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80969 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80971         [BZ #14103]
80972         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80973         __builtin_clzl with __builtin_clzll.
80975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80977         [BZ #14104]
80978         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80979         libc_freeres_ptr.
80981 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80983         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80984         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80985         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80986         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80988 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
80990         * NEWS: Update ia64 info.
80992 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
80994         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80995         used as bcopy.
80997 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
80999         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81000         * sysdeps/unix/syscalls.list (dup3): Likewise.
81001         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81002         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81004 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81006         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81007         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81009 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81011         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81012         thread pointer.
81013         (TLS_IE): Use mov/add instead of movq/addq to load thread
81014         pointer.
81015         (TLS_GD_PREFIX): New.
81016         (TLS_GD): Use it.
81018 2012-05-11  David S. Miller  <davem@davemloft.net>
81020         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81021         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81022         (_FPU_SETCW): Likewise.
81024 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81026         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81027         is 32-byte aligned.
81029 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81031         [BZ #11837]
81032         * iconvdata/gb18030.c: Update tables.
81033         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81034         characters specially.
81035         (BODY for TO_LOOP): Add encoding of missing ranges.
81037 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81039         [BZ #13673]
81040         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81041         * sysdeps/mach/hurd/dup3.c: Likewise.
81042         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81043         * sysdeps/powerpc/memmove.c:: Likewise.
81045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81048         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81050 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81052         * elf/elf.h (R_X86_64_RELATIVE64): New.
81053         (R_X86_64_NUM): Updated.
81054         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81055         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81056         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81057         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81058         tst-quad1pie tst-quad2pie
81059         (modules-names): Add tst-quadmod1 tst-quadmod2.
81060         ($(objpfx)tst-quad1): New dependency.
81061         ($(objpfx)tst-quad2): Likewise.
81062         ($(objpfx)tst-quad1pie): Likewise.
81063         ($(objpfx)tst-quad2pie): Likewise.
81064         * sysdeps/x86_64/tst-quad1.c: New file.
81065         * sysdeps/x86_64/tst-quad1pie.c: New file.
81066         * sysdeps/x86_64/tst-quad2.c: Likewise.
81067         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81068         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81069         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81070         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81071         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81075         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81076         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81077         * streams/stropts.h (t_scalar_t): Define type.
81079         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81080         (_PATH_PRESERVE): Set to "/var/lib".
81081         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81083         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81084         instead of int.
81086         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81087         if __dir_mkfile succeeded.
81089         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81090         checking for _hurd_dtablesize.  Unlock it right after having
81091         finished _hurd_dtable allocation.
81093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81095         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81096         * sysdeps/mach/hurd/configure: Regenerated.
81097         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81098         special-casing to...
81099         * sysdeps/gnu/configure.in: ... this new file.
81100         * sysdeps/unix/sysv/linux/configure: Regenerated.
81101         * sysdeps/gnu/configure: New generated file.
81103         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81104         for Linux: use nsec instead of usec, as well as:
81105         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81106         members of type struct timespec.
81107         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81108         New macros.
81109         (struct stat64): Likewise.
81110         (_STATBUF_ST_NSEC): New macro.
81111         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81113         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81114         __strtoul_internal rather than strtoul.
81116 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81118         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81119         and reject them.
81121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81123         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81124         which preserves existing values.
81125         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81127 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81129         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81130         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81131         greater than FD_SETSIZE.
81133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81135         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81136         allocated, call __vm_protect to finish enabling the existing space, and
81137         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81138         allocate the remainder.
81140 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81142         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81143         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81147         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81148         sysdeps/mach/hurd/readlink.c.
81150         * posix/tst-sysconf.c (posix_options): Only use
81151         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81152         _POSIX_SYNCHRONIZED_IO when they are defined
81153         * sysdeps/mach/hurd/bits/posix_opt.h:
81154         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81155         (_XOPEN_REALTIME): Undefine macro.
81156         (_XOPEN_REALTIME_THREADS): Undefine macro.
81157         (_XOPEN_SHM): Undefine macro.
81158         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81159         macro to -1.
81160         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81161         macro to -1.
81162         (_POSIX_ASYNC_IO): Undefine macro.
81163         (_POSIX_PRIORITIZED_IO): Undefine macro.
81164         (_POSIX_SPIN_LOCKS): Define macro to -1.
81166         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81167         SA_NODEFER, SA_RESETHAND.
81168         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81169         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81170         F_DUPFD_CLOEXEC.
81172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81174         * elf/Makefile (pldd-modules): Define unconditionally.
81176 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81178         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81182         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81183         Return ENOENT when name is empty.
81184         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81188         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81190         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81194         Fix mlock in all cases except non-readable pages.
81195         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81196         instead of VM_PROT_ALL as parameter to __vm_wire function.
81198         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81199         (__mkdir): When path is `/', just fail with EEXIST.
81200         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81204         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81205         <sys/uio.h> (for writev).
81206         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81207         and <sys/param.h> (for MIN).
81209 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81211         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81212         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81213         if interrupted.
81215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81217         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81218         Depend on against $(link-rpcuserlibs).
81220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81222         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81223         (__libc_stack_end): Do not use attribute_relro.
81224         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81225         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81226         to libthread-provided value.
81227         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81228         attribute_relro.
81230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81232         [BZ #3748]
81233         * bits/libc-lock.h (__libc_once_get): New macro.
81234         * sysdeps/mach/bits/libc-lock.h: Likewise.
81235         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81236         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81237         instead of using implementation details.
81239         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81240         * libio/freopen.c: Likewise.
81241         * libio/freopen64.c: Likewise.
81242         * misc/syslog.c: Likewise.
81243         * nscd/connections.c: Likewise.
81244         * nscd/netgroupcache.c: Likewise.
81245         * sysdeps/posix/getcwd.c: Likewise.
81247 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81249         * math/w_ilogbf.c: Add #include <limits.h>.
81251 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81253         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81254         path instead of returning without unlocking.
81256         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81257         immediate-write ioctls.
81258         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81262         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81263         __builtin_frame_address instead of making assumptions about the
81264         location of the return address relative to DATA.  Force early load of
81265         the return address.
81266         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81267         __builtin_frame_address.
81269         dup3 for GNU Hurd.
81270         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81271         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81272         implement dup3 and do some further code clean-ups.
81273         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81274         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81278         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81280         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81281         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81282         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81283         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81284         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81285         d->port.lock.
81287         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81288         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81289         when handler == SIG_ERR, not when handler != SIG_ERR.
81291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81293         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81294         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81295         definitions.
81297         accept4 for GNU Hurd.
81298         * include/sys/socket.h (__libc_accept4): New prototype.
81299         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81300         to implement __libc_accept4.
81301         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81302         __libc_accept4.
81303         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81305         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81306         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81307         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81308         signal-defines.sym.
81310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81312         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81316         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81317         assertion on O_CLOEXEC flag.
81318         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81319         * hurd/intern-fd.c: Likewise.
81320         * hurd/port2fd.c: Likewise.
81322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81324         [BZ #3906]
81325         * bits/in.h (IPV6_PKTINFO): Define new macro.
81326         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81328 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81330         [BZ #13954]
81331         [BZ #13955]
81332         [BZ #13956]
81333         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81334         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81335         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81336         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81338         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81339         * math/libm-test.inc (logb_test) : Additional logb tests.
81341 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81342             Andreas Jaeger  <aj@suse.de>
81344         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81345         * configure: Regenerated.
81346         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81347         * config.make.in (link-obsolete-rpc): New substituted variable.
81348         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81349         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81350         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81351         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81352         so that libc.a contains the symbols.
81353         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81354         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81355         * sunrpc/auth_none.c: Likewise.
81356         * sunrpc/auth_unix.c: Likewise.
81357         * sunrpc/authdes_prot.c: Likewise.
81358         * sunrpc/authuxprot.c: Likewise.
81359         * sunrpc/clnt_gen.c: Likewise.
81360         * sunrpc/clnt_perr.c: Likewise.
81361         * sunrpc/clnt_raw.c: Likewise.
81362         * sunrpc/clnt_simp.c: Likewise.
81363         * sunrpc/clnt_tcp.c: Likewise.
81364         * sunrpc/clnt_udp.c: Likewise.
81365         * sunrpc/clnt_unix.c: Likewise.
81366         * sunrpc/des_crypt.c: Likewise.
81367         * sunrpc/des_soft.c: Likewise.
81368         * sunrpc/get_myaddr.c: Likewise.
81369         * sunrpc/key_call.c: Likewise.
81370         * sunrpc/key_prot.c: Likewise.
81371         * sunrpc/netname.c: Likewise.
81372         * sunrpc/pm_getmaps.c: Likewise.
81373         * sunrpc/pm_getport.c: Likewise.
81374         * sunrpc/pmap_clnt.c: Likewise.
81375         * sunrpc/pmap_prot.c: Likewise.
81376         * sunrpc/pmap_prot2.c: Likewise.
81377         * sunrpc/pmap_rmt.c: Likewise.
81378         * sunrpc/publickey.c: Likewise.
81379         * sunrpc/rpc_cmsg.c: Likewise.
81380         * sunrpc/rpc_common.c: Likewise.
81381         * sunrpc/rpc_dtable.c: Likewise.
81382         * sunrpc/rpc_prot.c: Likewise.
81383         * sunrpc/rpc_thread.c: Likewise.
81384         * sunrpc/rtime.c: Likewise.
81385         * sunrpc/svc.c: Likewise.
81386         * sunrpc/svc_auth.c: Likewise.
81387         * sunrpc/svc_raw.c: Likewise.
81388         * sunrpc/svc_run.c: Likewise.
81389         * sunrpc/svc_tcp.c: Likewise.
81390         * sunrpc/svc_udp.c: Likewise.
81391         * sunrpc/svc_unix.c: Likewise.
81392         * sunrpc/svcauth_des.c: Likewise.
81393         * sunrpc/xcrypt.c: Likewise.
81394         * sunrpc/xdr.c: Likewise.
81395         * sunrpc/xdr_array.c: Likewise.
81396         * sunrpc/xdr_float.c: Likewise.
81397         * sunrpc/xdr_intXX_t.c: Likewise.
81398         * sunrpc/xdr_mem.c: Likewise.
81399         * sunrpc/xdr_rec.c: Likewise.
81400         * sunrpc/xdr_ref.c: Likewise.
81401         * sunrpc/xdr_sizeof.c: Likewise.
81402         * sunrpc/xdr_stdio.c: Likewise.
81404 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81407         change.  Update copyright years.
81409 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81411         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81413 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81414             Joseph Myers  <joseph@codesourcery.com>
81415             Paul Pluzhnikov  <ppluzhnikov@google.com>
81417         [BZ #14012]
81418         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81419         requiring rpcgen.
81420         [cross-compiling] (extra-libs): Likewise.
81421         [cross-compiling] (extra-libs-others): Likewise.
81422         [cross-compiling] (librpcsvc-routines): Likewise.
81423         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81424         [cross-compiling] (omit-deps): Likewise.
81425         (sunrpc-CPPFLAGS): New variable.
81426         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81427         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81428         (cross-rpcgen-objs): New variable.
81429         (extra-objs): Append $(cross-rpcgen-objs).
81430         ($(cross-rpcgen-objs)): New rule.
81431         ($(objpfx)cross-rpcgen): Likewise.
81432         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81433         comment.
81434         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81435         ($(objpfx)x%.stmp): Likewise.
81436         * sunrpc/proto.h [IS_IN_build] (_): Define.
81437         [IS_IN_build] (_libc_intl_domainname): Likewise.
81439 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81441         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81442         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81443         and R_X86_64_TPOFF64.
81445 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81447         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81448         sysdeps/unix/sysv/syscalls.list.
81449         (stime): Likewise.
81450         (utime): Likewise.
81451         * sysdeps/unix/sysv/syscalls.list: Remove file.
81453 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81455         [BZ #3440]
81456         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81457         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81458         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81459         (__LC_IDENTIFICATION): Make these macros useful in #if
81460         expressions, as required by C99.
81462 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81464         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81465         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81466         after this.
81468 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81470         * stdlib/longlong.h: Updated from GCC.
81472 2012-05-09  Andreas Jaeger  <aj@suse.de>
81474         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81475         default is first entry.
81476         (run_mode): Set type.
81477         (main): Remove informal message about syslog.
81478         (options): Fix typo.
81480         [BZ #14053]
81481         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81482         to asm.
81483         (lrint): Likewise.
81484         (llrintf): Likewise.
81485         (llrint): Likewise.
81486         (rint): Likewise.
81487         (rintf): Likewise.
81488         (nearbyint): Likewise.
81489         (nearbyintf): Likewise.
81491 2012-05-09  Andreas Jaeger  <aj@suse.de>
81492             Pedro Alves  <palves@redhat.com>
81494         * nscd/nscd.c (run_mode): Use enum.
81495         (main): Cleanup coding style issue.
81497 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81498             Andreas Jaeger  <aj@suse.de>
81500         * nscd/nscd.c (go_background): Replaced with...
81501         (run_mode): ... this.
81502         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81503         (options): Add -F --foreground.
81504         (main): Implement it.
81505         (parse_opt): Parse it.
81507 2012-05-09  Andreas Jaeger  <aj@suse.de>
81509         [BZ #14083]
81510         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81511         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81512         -Wconversion warning.
81513         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81514         Likewise.
81516 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81518         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81519         == 0.
81520         (LC_ALL): Use macro-int-constant.
81521         (LC_COLLATE): Likewise.
81522         (LC_CTYPE): Likewise.
81523         (LC_MESSAGES): Likewise.
81524         (LC_MONETARY): Likewise.
81525         (LC_NUMERIC): Likewise.
81526         (LC_TIME): Likewise.
81527         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81528         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81530         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81531         Specify type.
81532         [C99-based standards] (float_t): Expect type.
81533         [C99-based standards] (double_t): Expect type.
81534         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81535         type.
81536         [C99-based standards] (HUGE_VALL): Likewise.
81537         [C99-based standards] (INFINITY): Likewise.
81538         [C99-based standards] (NAN): Likewise.
81539         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81540         [C99-based standards] (FP_NAN): Likewise.
81541         [C99-based standards] (FP_NORMAL): Likewise.
81542         [C99-based standards] (FP_SUBNORMAL): Likewise.
81543         [C99-based standards] (FP_ZERO): Likewise.
81544         [C99-based standards] (FP_FAST_FMA): Use
81545         optional-macro-int-constant.  Specify type.  Require == 1.
81546         [C99-based standards] (FP_FAST_FMAF): Likewise.
81547         [C99-based standards] (FP_FAST_FMAL): Likewise.
81548         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81549         [C99-based standards] (FP_ILOGBNAN): Likewise.
81550         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81551         Specify type.
81552         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81553         [C99-based standards] (math_errhandling): Specify type.
81554         [ISO99 || ISO11] (signgam): Do not allow.
81555         [non-C99-based standards] (copysignf): Do not allow.
81556         [non-C99-based standards] (exp2f): Likewise.
81557         [non-C99-based standards] (log2f): Likewise.
81558         [non-C99-based standards] (modff): Allow.
81559         [non-C99-based standards] (erff): Do not allow.
81560         [non-C99-based standards] (erfcf): Likewise.
81561         [non-C99-based standards] (gammaf): Likewise.
81562         [non-C99-based standards] (hypotf): Likewise.
81563         [non-C99-based standards] (j0f): Likewise.
81564         [non-C99-based standards] (j1f): Likewise.
81565         [non-C99-based standards] (jnf): Likewise.
81566         [non-C99-based standards] (lgammaf): Likewise.
81567         [non-C99-based standards] (tgammaf): Likewise.
81568         [non-C99-based standards] (y0f): Likewise.
81569         [non-C99-based standards] (y1f): Likewise.
81570         [non-C99-based standards] (ynf): Likewise.
81571         [non-C99-based standards] (isnanf): Likewise.
81572         [non-C99-based standards] (acoshf): Likewise.
81573         [non-C99-based standards] (asinhf): Likewise.
81574         [non-C99-based standards] (atanhf): Likewise.
81575         [non-C99-based standards] (cbrtf): Likewise.
81576         [non-C99-based standards] (expm1f): Likewise.
81577         [non-C99-based standards] (ilogbf): Likewise.
81578         [non-C99-based standards] (log1pf): Likewise.
81579         [non-C99-based standards] (logbf): Likewise.
81580         [non-C99-based standards] (nextafterf): Likewise.
81581         [non-C99-based standards] (remainderf): Likewise.
81582         [non-C99-based standards] (rintf): Likewise.
81583         [non-C99-based standards] (scalbf): Likewise.
81584         [non-C99-based standards] (copysignl): Likewise.
81585         [non-C99-based standards] (exp2l): Likewise.
81586         [non-C99-based standards] (log2l): Likewise.
81587         [non-C99-based standards] (modfl): Allow.
81588         [non-C99-based standards] (erfl): Do not allow.
81589         [non-C99-based standards] (erfcl): Likewise.
81590         [non-C99-based standards] (gammal): Likewise.
81591         [non-C99-based standards] (hypotl): Likewise.
81592         [non-C99-based standards] (j0l): Likewise.
81593         [non-C99-based standards] (j1l): Likewise.
81594         [non-C99-based standards] (jnl): Likewise.
81595         [non-C99-based standards] (lgammal): Likewise.
81596         [non-C99-based standards] (tgammal): Likewise.
81597         [non-C99-based standards] (y0l): Likewise.
81598         [non-C99-based standards] (y1l): Likewise.
81599         [non-C99-based standards] (ynl): Likewise.
81600         [non-C99-based standards] (isnanl): Likewise.
81601         [non-C99-based standards] (acoshl): Likewise.
81602         [non-C99-based standards] (asinhl): Likewise.
81603         [non-C99-based standards] (atanhl): Likewise.
81604         [non-C99-based standards] (cbrtl): Likewise.
81605         [non-C99-based standards] (expm1l): Likewise.
81606         [non-C99-based standards] (ilogbl): Likewise.
81607         [non-C99-based standards] (log1pl): Likewise.
81608         [non-C99-based standards] (logbl): Likewise.
81609         [non-C99-based standards] (nextafterl): Likewise.
81610         [non-C99-based standards] (remainderl): Likewise.
81611         [non-C99-based standards] (rintl): Likewise.
81612         [non-C99-based standards] (scalbl): Likewise.
81613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81614         [non-C99-based standards] (FP_*): Do not allow.
81615         [C99-based standards] (FP_*): Change to
81616         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81617         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81618         allow.
81619         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81620         (SIG_ERR): Likewise.
81621         [X/Open-based standards] (SIG_HOLD): Likewise.
81622         (SIG_IGN): Likewise.
81623         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81624         positive value.
81625         (SIGFPE): Likewise.
81626         (SIGILL): Likewise.
81627         (SIGINT): Likewise.
81628         (SIGSEGV): Likewise.
81629         (SIGTER): Likewise.
81630         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81631         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81632         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81633         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81634         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81635         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81636         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81637         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81638         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81639         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81640         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81641         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81642         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81643         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81644         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81645         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81646         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81647         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81648         [X/Open-based standards] (SIGTRAP): Likewise.
81649         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81650         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81651         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81652         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81653         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81654         allow.
81656 2012-05-08  Ian Wienand  <ianw@vmware.com>
81658         [BZ #14080]
81659         * time/tzset.c (__tzset_parse_tz): Update default rules for
81660         daylight time changes in the Energy Policy Act of 2005.
81662 2012-05-09  Andreas Jaeger  <aj@suse.de>
81664         [BZ #13983]
81665         * elf/ldconfig.c (parse_conf): Change string to make clear that
81666         ldconfig only issued a warning if ld.so.conf does not exist.
81668 2012-05-08  David S. Miller  <davem@davemloft.net>
81670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81671         movxtod instead of popping the value on the stack.
81673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81675 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81677         * config.h.in: Add HAVE_ARM_PCS_VFP.
81679 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81681         [BZ #13979]
81682         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81683         checking but the checks are disabled for any reason.
81685 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81687         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81688         and ELF64_R_TYPE with ELFW(R_TYPE).
81690 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81692         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81693         (ulimit): Likewise.
81695         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81696         (settimeofday): Likewise.
81698 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81700         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81701         a struct th_u2 inside the union, and move tu_block/tu_code into
81702         a new th_u3 union of tu_block/tu_code inside of that.  Move
81703         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81704         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81705         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81706         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81707         (th_stuff): Change to th_u1.tu_stuff.
81708         (th_data): Define.
81709         (th_msg): Change to th_u1.th_u2.tu_data.
81711 2012-05-07  David S. Miller  <davem@davemloft.net>
81713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81715         [BZ #14074]
81716         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81717         (SETUP_PIC_REG): Use it.
81718         (SETUP_PIC_REG_LEAF): Use it.
81720 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81722         [BZ #13885]
81723         [BZ #13923]
81724         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81725         USE_AS_EXPM1L.
81726         (EXPL_FINITE): Likewise.
81727         (FLDLOG): Likewise.
81728         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81729         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81730         e_expl.S.
81731         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81732         USE_AS_EXPM1L.
81733         (EXPL_FINITE): Likewise.
81734         (FLDLOG): Likewise.
81735         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81736         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81737         e_expl.S.
81738         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81739         test of -max_value argument for long double.
81740         * sysdeps/i386/fpu/libm-test-ulps: Update.
81741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81743 2012-05-06  David S. Miller  <davem@davemloft.net>
81745         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81746         quad soft-float symbols whose references which are compiler
81747         generated.
81748         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81750 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81752         [BZ #13884]
81753         [BZ #13914]
81754         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81755         USE_AS_EXP10L.
81756         (EXPL_FINITE): Likewise.
81757         (FLDLOG): Likewise.
81758         (c0): Likewise.
81759         (c1): Likewise.
81760         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81761         Adjust comments for base varying.
81762         (__expl_finite): Change alias to EXPL_FINITE.
81763         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81764         e_expl.S.
81765         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81766         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81767         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81768         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81769         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81770         USE_AS_EXP10L.
81771         (EXPL_FINITE): Likewise.
81772         (FLDLOG): Likewise.
81773         (c0): Likewise.
81774         (c1): Likewise.
81775         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81776         Adjust comments for base varying.
81777         (__expl_finite): Change alias to EXPL_FINITE.
81778         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81779         tests for bugs.
81780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81782         [BZ #14064]
81783         * math/libm-test.inc (check_float_internal): Correct ulp
81784         calculation for subnormal expected results.
81786 2012-05-06  Andreas Jaeger  <aj@suse.de>
81788         * Makeconfig (+math-flags): New, set to -frounding-math.
81789         (+cflags): Add +math-flags so that all of glibc gets compiled with
81790         it.
81792         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81794 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81796         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81797         Disable one test.
81799         [BZ #13787]
81800         [BZ #13922]
81801         [BZ #14036]
81802         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81803         (__ieee754_expl): Allow for and saturate large arguments.
81804         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81805         (u_threshold): Likewise.
81806         (__exp): Call __ieee754_exp before checking for overflow and
81807         underflow.
81808         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81809         (u_threshold): Likewise.
81810         (__expf): Call __ieee754_expf before checking for overflow and
81811         underflow.
81812         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81813         (u_threshold): Likewise.
81814         (__expl): Call __ieee754_expl before checking for overflow and
81815         underflow.
81816         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81817         (__ieee754_expl): Allow for and saturate large arguments.
81818         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81819         missing overflow exception on overflow.
81820         (expm1_test): Do not allow missing overflow exception on overflow.
81822         * sysdeps/i386/fpu/e_expl.c: Move to ...
81823         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81824         rather than using inline asm.
81825         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81826         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81827         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81829         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81830         (nice): Likewise.
81831         (poll): Likewise.
81832         (signal): Likewise.
81833         (time): Likewise.
81834         (times): Likewise.
81836 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81838         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81839         sysdeps/unix/common/syscalls.list.
81840         (fchmod): Likewise.
81841         (fchown): Likewise.
81842         (ftruncate): Likewise.
81843         (getrusage): Likewise.
81844         (gettimeofday): Likewise.
81845         (setpgid): Likewise.
81846         (setregid): Likewise.
81847         (setreuid): Likewise.
81848         (sigaction): Likewise.
81849         (truncate): Likewise.
81850         (vhangup): Likewise.
81851         * sysdeps/unix/common/syscalls.list: Remove file.
81852         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81853         * sysdeps/unix/sysv/linux/Implies: Likewise.
81855 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81857         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81859         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81860         Moved to ...
81861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81862         Here.
81863         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81864         to ...
81865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81866         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81867         to ...
81868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81869         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81870         to ...
81871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81872         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81873         to ...
81874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81875         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81876         to ...
81877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81878         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81879         to ...
81880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81881         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81882         to ...
81883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81884         Here.
81885         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81886         to ...
81887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81888         Here.
81889         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81890         to ...
81891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81892         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81893         Moved to ...
81894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81895         Here.
81896         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81897         to ...
81898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81900 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81902         * sysdeps/unix/common/bits/dirent.h: Remove file.
81903         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81905         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81906         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81907         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81908         * sysdeps/unix/bsd/isatty.c: Likewise.
81909         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81910         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81911         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81913 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81915         [BZ #13563]
81916         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81917         long double comparison inaccuracies.
81918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81921 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81923         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81926 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81928         [BZ #14049]
81929         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81930         nonzero digits before rounding a hex value.
81931         * stdlib/tst-strtod.c (tests): Add another test.
81933 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81935         * sysdeps/s390/fpu/libm-test-ulps: Update.
81937 2012-05-03  Andreas Jaeger  <aj@suse.de>
81939         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81940         does not get optimized out.
81941         (malloc_opt_barrier): New.
81943 2012-05-03  Andreas Jaeger  <aj@suse.de>
81944             Roland McGrath  <roland@hack.frob.com>
81946         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81947         intermediate file deletion.
81948         (generated): Add .symlist files.
81950 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81952         [BZ #13775]
81953         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81954         Redirect under this condition.
81955         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81956         [__USE_GNU] (__dprintf_chk): Not under this condition.
81957         [__USE_GNU] (__vdprintf_chk): Likewise.
81958         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81959         under this condition.
81960         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81961         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81962         [__USE_XOPEN2K8] (vdprintf): Likewise.
81963         [__USE_GNU] (__dprintf_chk): Not under this condition.
81964         [__USE_GNU] (__vdprintf_chk): Likewise.
81965         [__USE_GNU] (dprintf): Likewise.
81966         [__USE_GNU] (vdprintf): Likewise.
81968 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81970         * elf/Makefile (common-generated): Set this instead of generated for
81971         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81972         $(all-built-dso)-derived lists.
81974 2012-05-03  Andreas Jaeger  <aj@suse.de>
81976         * sysdeps/i386/fpu/libm-test-ulps: Update.
81978         * FAQ: Removed.
81979         * FAQ.in: Likewise.
81980         * scripts/gen-FAQ.pl: Likewise.
81981         * manual/install.texi (Installation): Point to online location of
81982         FAQ.
81983         * Makefile (files-for-dist): Remove FAQ.
81984         (FAQ): Remove.
81986 2012-05-02  Allan McRae  <allan@archlinux.org>
81988         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81989         (LDFLAGS-reldepmod5.so): Likewise.
81990         (LDFLAGS-reldep6mod1.so): Likewise.
81991         (LDFLAGS-reldep6mod4.so): Likewise.
81992         (LDFLAGS-reldep8mod3.so): Likewise.
81993         (LDFLAGS-unload4mod1.so): Likewise.
81994         (LDFLAGS-unload4mod2.so): Likewise.
81995         (LDFLAGS-tst-initorder): Likewise.
81996         (LDFLAGS-tst-initordera2.so): Likewise.
81997         (LDFLAGS-tst-initordera3.so): Likewise.
81998         (LDFLAGS-tst-initordera4.so): Likewise.
81999         (LDFLAGS-tst-initorderb2.so): Likewise.
82000         (LDFLAGS-noload): Likewise.
82001         (LDFLAGS-next): Likewise.
82002         (LDFLAGS-order2mod1.so): Likewise.
82003         (LDFLAGS-order2mod2.so): Likewise.
82004         (LDFLAGS-tst-initorder2): Likewise.
82005         (LDFLAGS-tst-initorder2a.so): Likewise.
82006         (LDFLAGS-tst-initorder2b.so): Likewise.
82007         (LDFLAGS-tst-initorder2c.so): Likewise.
82008         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82010 2012-05-02  David S. Miller  <davem@davemloft.net>
82012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82014 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82016         [BZ #14055]
82017         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82019 2012-05-02  Andreas Jaeger  <aj@suse.de>
82021         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82022         since we manipulate rounding mode.
82023         (CPPFLAGS-test-idouble.c): Likewise.
82024         (CPPFLAGS-test-ifloat.c): Likewise.
82025         (CFLAGS-test-ldouble.c): Likewise.
82026         (CFLAGS-test-double.c): Likewise.
82027         (CFLAGS-test-float.c): Likewise.
82028         (CFLAGS-test-misc.c): Likewise.
82029         (CFLAGS-test-test-fenv.c): Likewise.
82031 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82033         [BZ #2550]
82034         [BZ #2570]
82035         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82036         comparisons to determine direction to adjust input.
82038 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82040         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82041         output to the target.
82043         * scripts/localplt.awk: New file.
82044         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82045         (check-localplt-CFLAGS): Variable removed.
82046         ($(all-built-dso:=.jmprel)): New static pattern rule.
82047         (generated): Add those targets.
82048         (localplt-built-dso): New variable.
82049         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82051         * elf/check-localplt.c: File removed.
82053         * scripts/check-execstack.awk: New file.
82054         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82055         (check-execstack-CFLAGS): Variable removed.
82056         ($(objpfx)check-execstack.h): Target removed.
82057         ($(objpfx)execstack-default): New target.
82058         (generated): Add that instead of check-execstack.h.
82059         ($(all-built-dso:=.phdr)): New static pattern rule.
82060         (generated): Add those targets.
82061         * elf/check-execstack.c: File removed.
82063         * scripts/check-textrel.awk: New file.
82064         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82065         (check-textrel-CFLAGS): Variable removed.
82066         (all-built-dso): Use := to define.o
82067         ($(all-built-dso:=.dyn)): New static pattern rule.
82068         (generated): Add those targets.
82069         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82070         * config.make.in (READELF): New substituted variable.
82071         * elf/check-textrel.c: File removed.
82073 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82075         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82076         allow.
82077         * conform/data/ctype.h-data [C99-based standards] (isblank):
82078         Expect function.
82079         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82080         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82082         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82083         Specify type.  Require positive value.
82084         (EILSEQ): Likewise.
82085         (ERANGE): Likewise.
82086         [ISO || POSIX] (EILSEQ): Do not expect.
82087         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82088         Specify type.  Require positive value.
82089         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82090         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82091         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82092         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82093         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82094         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82095         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82096         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82097         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82098         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82099         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82100         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82101         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82102         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82103         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82104         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82105         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82106         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82107         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82108         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82109         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82110         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82111         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82112         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82113         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82114         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82115         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82116         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82117         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82118         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82119         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82120         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82121         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82122         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82123         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82124         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82125         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82126         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82127         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82128         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82129         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82130         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82131         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82132         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82133         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82134         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82135         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82136         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82137         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82138         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82139         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82140         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82141         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82142         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82143         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82144         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82145         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82146         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82147         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82148         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82149         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82150         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82151         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82152         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82153         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82154         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82155         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82156         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82157         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82158         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82159         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82160         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82161         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82162         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82163         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82164         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82165         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82166         Require >= 2.
82167         (FLT_ROUNDS): Expect as macro, not constant.
82168         (FLT_MANT_DIG): Use macro-int-constant.
82169         (DBL_MANT_DIG): Likewise.
82170         (LDBL_MANT_DIG): Likewise.
82171         (FLT_DIG): Likewise.
82172         (DBL_DIG): Likewise.
82173         (LDBL_DIG): Likewise.
82174         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82175         (DBL_MIN_EXP): Likewise.
82176         (LDBL_MIN_EXP): Likewise.
82177         (FLT_MAX_EXP): Use macro-int-constant.
82178         (DBL_MAX_EXP): Likewise.
82179         (LDBL_MAX_EXP): Likewise.
82180         (FLT_MAX_10_EXP): Likewise.
82181         (DBL_MAX_10_EXP): Likewise.
82182         (LDBL_MAX_10_EXP): Likewise.
82183         (FLT_MAX): Use macro-constant.
82184         (DBL_MAX): Likewise.
82185         (LDBL_MAX): Likewise.
82186         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82187         (DBL_EPSILON): Likewise.
82188         (LDBL_EPSILON): Likewise.
82189         (FLT_MIN): Likewise.
82190         (DBL_MIN): Likewise.
82191         (LDBL_MIN): Likewise.
82192         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82193         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82194         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82195         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82196         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82197         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82198         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82199         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82200         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82201         [ISO11] (FLT_TRUE_MIN): Likewise.
82202         [ISO11] (LDBL_TRUE_MIN): Likewise.
82203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82204         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82205         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82206         (SCHAR_MAX): Likewise.
82207         (UCHAR_MAX): Likewise.
82208         (CHAR_MIN): Likewise.
82209         (CHAR_MAX): Likewise.
82210         (MB_LEN_MAX): Use macro-int-constant.
82211         (SHRT_MIN): Use macro-int-constant.  Specify type.
82212         (SHRT_MAX): Likewise.
82213         (USHRT_MAX): Likewise.
82214         (INT_MAX): Likewise.
82215         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82216         bound negative.
82217         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82218         bound with "U".
82219         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82220         bound with "L".
82221         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82222         bound negative.  Suffix upper bound with "L".
82223         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82224         bound with "UL".
82225         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82226         Specify type.
82227         [C99-based standards] (LLONG_MAX): Likewise.
82228         [C99-based standards] (ULLONG_MAX): Likewise.
82229         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82230         == 0.
82231         [ISO11] (max_align_t): Require type.
82232         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82234         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82235         from $CFLAGS, without defining away __attribute__ calls.
82236         (checknamespace): Use $CFLAGS_namespace.
82238         * conform/conformtest.pl (@keywords): Only include C99 keywords
82239         for standards based on C99 or C11.
82241         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82242         Disable tests.
82243         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82244         UNIX98]: Likewise.
82246         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82247         usability of symbols in #if.
82249         * conform/conformtest.pl: If macro or constant types start
82250         "promoted:", expect the symbol to be of the following type
82251         promoted by the integer promotions.
82253         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82254         in one place.  Also handle "macro-constant".
82256         * conform/conformtest.pl: Only accept expected macro values with
82257         "==".  Parse all "macro" lines in one place.
82258         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82260         * conform/conformtest.pl: Handle braced types on "constant" lines
82261         instead of handling "typed-constant".
82262         * conform/data/signal.h-data: Use "constant" instead of
82263         "typed-constant".
82265         * conform/conformtest.pl: Handle "optional-" at start of lines in
82266         one place rather than duplicating several cases.  Handle each
82267         format of "macro" line with initial "optional-".
82269         * conform/conformtest.pl: Only accept expected constant or
82270         optional-constant values with "==".  Parse all "constant" lines in
82271         one place.  Parse all "optional-constant" lines in one place.
82272         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82273         * conform/data/fmtmsg.h-data: Likewise.
82274         * conform/data/netinet/in.h-data: Likewise.
82275         * conform/data/tar.h-data: Likewise.
82276         * conform/data/limits.h-data: Use "==" form on "constant" and
82277         "optional-constant" lines.
82279         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82280         Use -std=c99 for XOPEN2K.
82281         (@knownproblems): Remove.
82282         (newtoken): Don't check %isknown.
82284         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82285         Do not expect macro.
82286         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82287         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82288         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82289         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82290         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82291         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82292         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82293         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82294         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82295         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82296         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82297         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82298         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82299         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82300         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82301         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82302         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82303         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82304         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82305         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82306         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82307         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82308         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82309         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82310         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82311         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82312         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82313         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82314         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82315         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82316         [XPG3] (acosh): Likewise.
82317         [XPG3] (asinh): Likewise.
82318         [XPG3] (atanh): Likewise.
82319         [XPG3] (cbrt): Likewise.
82320         [XPG3] (expm1): Likewise.
82321         [XPG3] (ilogb): Likewise.
82322         [XPG3] (log1p): Likewise.
82323         [XPG3] (logb): Likewise.
82324         [XPG3] (nextafter): Likewise.
82325         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82326         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82327         [XPG3] (remainder): Likewise.
82328         [XPG3] (rint): Likewise.
82329         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82330         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82331         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82332         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82333         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82334         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82335         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82336         [UNIX98 || XOPEN2K] (scalb): Expect.
82337         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82338         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82339         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82340         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82341         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82342         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82343         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82344         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82345         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82346         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82347         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82348         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82349         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82350         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82351         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82352         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82353         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82354         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82355         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82356         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82357         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82358         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82359         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82360         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82361         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82362         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82363         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82364         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82365         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82366         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82367         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82368         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82369         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82370         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82371         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82372         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82373         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82374         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82375         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82376         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82377         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82378         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82379         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82380         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82381         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82382         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82383         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82384         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82385         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82386         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82387         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82388         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82389         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82390         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82391         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82392         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82393         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82394         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82395         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82396         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82397         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82398         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82399         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82400         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82401         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82402         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82403         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82404         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82405         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82406         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82407         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82408         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82409         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82410         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82411         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82412         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82413         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82414         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82415         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82416         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82417         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82418         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82419         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82420         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82421         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82422         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82423         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82424         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82425         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82426         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82427         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82428         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82429         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82430         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82431         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82432         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82433         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82434         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82435         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82436         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82437         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82438         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82439         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82440         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82441         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82442         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82443         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82444         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82445         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82446         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82447         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82448         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82449         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82450         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82451         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82452         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82453         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82454         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82455         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82456         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82457         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82458         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82459         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82460         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82461         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82462         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82463         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82464         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82465         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82466         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82467         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82468         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82469         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82470         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82471         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82472         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82473         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82475         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82476         _XOPEN_SOURCE_EXTENDED for XPG4.
82478         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82480         * Makeconfig (localtime): Remove variable.
82481         (inst_localtime-file): Likewise.
82483 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82486         Update.
82487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82488         Update.
82489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82490         Update.
82491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82492         Update.
82493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82494         Update.
82495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82496         Update.
82497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82498         Update.
82499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82500         Update.
82501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82502         Update.
82504 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82506         [BZ #2550]
82507         [BZ #2570]
82508         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82509         comparisons to determine direction to adjust input.
82510         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82511         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82512         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82513         Likewise.
82514         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82515         Likewise.
82516         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82517         Likewise.
82518         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82519         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82520         Likewise.
82521         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82522         Likewise.
82523         * math/libm-test.inc (nexttoward_test): Add more tests.
82525 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82527         [BZ #14040]
82528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82529         in version GLIBC_2.1, not GLIBC_2.0.
82530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82531         Likewise.
82533 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82535         [BZ #13942]
82536         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82537         (1 - x) * (1 + x).
82538         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82539         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82540         * math/libm-test.inc (acos_test): Add more tests.
82541         (asin_test): Likewise.
82542         * sysdeps/i386/fpu/libm-test-ulps: Update.
82543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82545         [BZ #14034]
82546         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82547         of square root.
82548         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82549         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82550         * math/libm-test.inc (acos_test_tonearest): New function.
82551         (acos_test_towardzero): Likewise.
82552         (acos_test_downward): Likewise.
82553         (acos_test_upward): Likewise.
82554         (asin_test_tonearest): Likewise.
82555         (asin_test_towardzero): Likewise.
82556         (asin_test_downward): Likewise.
82557         (asin_test_upward): Likewise.
82558         (main): Call the new functions.
82559         * sysdeps/i386/fpu/libm-test-ulps: Update.
82560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82562         [BZ #13884]
82563         [BZ #13924]
82564         * math/e_exp10.c: Include <float.h>.
82565         (__ieee754_exp10): Handle underflow here rather than multiplying
82566         large negative argument by M_LN10.
82567         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82568         of __ieee754_expf.
82569         * math/e_exp10l.c: Include <float.h>.
82570         (__ieee754_exp10l): Handle underflow here rather than multiplying
82571         large negative argument by M_LN10l.
82572         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82573         spurious overflow exception on underflow.
82575 2012-04-29  Marek Polacek  <polacek@redhat.com>
82577         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82578         (__fortify_function): New macro.
82579         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82580         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82581         __extern_always_inline.
82582         * libio/bits/stdio2.h: Likewise.
82583         * libio/bits/stdio.h: Likewise.
82584         * string/string.h: Likewise.
82585         * string/bits/string3.h: Likewise.
82586         * include/stdio.h: Likewise.
82587         * stdlib/bits/stdlib.h: Likewise.
82588         * stdlib/stdlib.h: Likewise.
82589         * rt/bits/mqueue2.h: Likewise.
82590         * rt/mqueue.h: Likewise.
82591         * posix/bits/unistd.h: Likewise.
82592         * posix/unistd.h: Likewise.
82593         * io/bits/poll2.h: Likewise.
82594         * io/bits/fcntl2.h: Likewise.
82595         * io/fcntl.h: Likewise.
82596         * io/sys/poll.h: Likewise.
82597         * misc/bits/syslog.h: Likewise.
82598         * misc/bits/syslog-ldbl.h: Likewise.
82599         * misc/sys/syslog.h: Likewise.
82600         * socket/bits/socket2.h: Likewise.
82601         * socket/sys/socket.h: Likewise.
82602         * debug/tst-chk1.c: Likewise.
82603         * wcsmbs/bits/wchar2.h: Likewise.
82604         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82605         * wcsmbs/wchar.h: Likewise.
82607 2012-04-29  Andreas Jaeger  <aj@suse.de>
82609         * Makerules (tests): Remove enable-check-abi protection.
82610         (check-abi-warn): Remove.
82611         (check-abi-%): Remove check-abi-warn usage.
82613         * configure.in: Remove check-abi configure option.
82614         * configure: Regenerated.
82615         * config.make.in (enable-check-abi): Remove.
82617 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82619         [BZ #14033]
82620         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82621         double functions to double *_finite functions.
82623         [BZ #13941]
82624         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82625         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82626         LDBL_MIN_EXP.
82627         * stdio-common/Makefile (tests): Add tst-sprintf3.
82628         * stdio-common/tst-sprintf3.c: New file.
82630         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82631         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82633 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82635         * conform/conformtest.pl: Remove duplicate typed-constant
82636         handling.
82638 2012-04-28  David S. Miller  <davem@davemloft.net>
82640         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82641         (check-abi-%): Remove AWK script prerequisite and explicit
82642         abilist directory.
82643         (check-abi): Rewrite to just diff the symlist with the abilist.
82644         (config-tls, config-abi-config): Delete, no longer used.
82645         (update-abi-%): Remove AWK script and explicit abilist directory.
82646         (update-abi): Rewrite to simply compare and conditionally copy the
82647         symlist and the sysdep abilist file.  Remove update-abi-config
82648         checks.
82649         * abilist/ld.abilist: Remove.
82650         * abilist/libBrokenLocale.abilist: Remove.
82651         * abilist/libanl.abilist: Remove.
82652         * abilist/libcrypt.abilist: Remove.
82653         * abilist/libdl.abilist: Remove.
82654         * abilist/librt.abilist: Remove.
82655         * abilist/libthread_db.abilist: Remove.
82656         * abilist/libutil.abilist: Remove.
82657         * scripts/extract-abilist.awk: Remove.
82658         * scripts/merge-abilist.awk: Remove.
82659         * sysdeps/generic/libcidn.abilist: New file.
82660         * sysdeps/generic/libnss_compat.abilist: New file.
82661         * sysdeps/generic/libnss_db.abilist: New file.
82662         * sysdeps/generic/libnss_dns.abilist: New file.
82663         * sysdeps/generic/libnss_files.abilist: New file.
82664         * sysdeps/generic/libnss_hesiod.abilist: New file.
82665         * sysdeps/generic/libnss_nis.abilist: New file.
82666         * sysdeps/generic/libnss_nisplus.abilist: New file.
82667         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82668         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82669         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82670         file.
82671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82672         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82673         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82674         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82675         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82676         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82677         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82678         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82679         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82680         file.
82681         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82682         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82683         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82684         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82685         file.
82686         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82687         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82688         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82689         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82690         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82691         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82692         file.
82693         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82694         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82695         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82696         file.
82697         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82699         New file.
82700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82701         New file.
82702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82703         New file.
82704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82705         New file.
82706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82707         New file.
82708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82709         New file.
82710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82711         New file.
82712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82713         New file.
82714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82715         New file.
82716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82717         New file.
82718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82719         New file.
82720         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82721         New file.
82722         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82723         New file.
82724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82725         file.
82726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82727         New file.
82728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82729         New file.
82730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82731         file.
82732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82733         New file.
82734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82735         New file.
82736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82737         file.
82738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82739         New file.
82740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82741         New file.
82742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82743         New file.
82744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82745         New file.
82746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82747         New file.
82748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82749         New file.
82750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82752         file.
82753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82754         New file.
82755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82756         file.
82757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82758         file.
82759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82760         file.
82761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82762         file.
82763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82764         file.
82765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82766         New file.
82767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82768         file.
82769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82770         file.
82771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82772         New file.
82773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82774         file.
82775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82777         file.
82778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82779         New file.
82780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82781         file.
82782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82783         file.
82784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82785         file.
82786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82787         file.
82788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82789         file.
82790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82791         New file.
82792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82793         file.
82794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82795         file.
82796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82797         New file.
82798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82799         file.
82800         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82801         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82802         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82803         file.
82804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82805         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82806         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82807         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82808         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82809         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82810         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82811         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82812         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82813         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82816         file.
82817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82818         New file.
82819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82820         file.
82821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82822         file.
82823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82824         file.
82825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82826         file.
82827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82828         file.
82829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82830         New file.
82831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82832         New file.
82833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82834         file.
82835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82836         New file.
82837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82838         file.
82839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82841         file.
82842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82843         New file.
82844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82845         file.
82846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82847         file.
82848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82849         file.
82850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82851         file.
82852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82853         file.
82854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82855         New file.
82856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82857         New file.
82858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82859         file.
82860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82861         New file.
82862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82863         file.
82865 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82867         * conform/conformtest.pl: Fix typo in handling typed-constant from
82868         allow-header.
82870 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82872         * README: Cut down references to pre-2.6 Linux kernels and
82873         Linuxthreads.  Update lists of configurations in libc and ports
82874         and sort alphabetically.  Say "or newer" with Linux kernel version
82875         requirements.
82877         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82879 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82881         [BZ #887]
82882         * math/libm-test.inc (logb_test_downward): New test to expose
82883         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82884         rounding mode.
82886 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82888         [BZ #14027]
82889         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82890         to be done.
82891         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82892         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82894 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82896         * sysdeps/unix/i386/brk.S: Remove file.
82897         * sysdeps/unix/i386/dl-brk.S: Likewise.
82898         * sysdeps/unix/i386/pipe.S: Likewise.
82899         * sysdeps/unix/i386/sigreturn.S: Likewise.
82900         * sysdeps/unix/i386/syscall.S: Likewise.
82901         * sysdeps/unix/i386/vfork.S: Likewise.
82902         * sysdeps/unix/i386/wait.S: Likewise.
82904         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82905         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82907         * configure.in (arm*-none*): Do not allow without
82908         --enable-hacker-mode.
82909         (netbsd*): Remove case setting base_os.
82910         (386bsd*): Likewise.
82911         (freebsd*): Likewise.
82912         (bsdi*): Likewise.
82913         (osf*): Likewise.
82914         (sunos*): Likewise.
82915         (ultrix*): Likewise.
82916         (newsos*): Likewise.
82917         (dynix*): Likewise.
82918         (*bsd*): Likewise.
82919         (sysv*): Likewise.
82920         (isc*): Likewise.
82921         (esix*): Likewise.
82922         (sco*): Likewise.
82923         (minix*): Likewise.
82924         (irix4*): Likewise.
82925         (irix6*): Likewise.
82926         (solaris[2-9]*): Likewise.
82927         (none): Likewise.
82928         * configure: Regenerated.
82930 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82932         [BZ #11521]
82933         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82934         overflow or cancellation in calculating denominator.
82935         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82936         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82937         down expression to avoid unexpected rounding in newer GCCs.
82938         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82940 2012-04-26  David S. Miller  <davem@davemloft.net>
82942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82943         long-double compat symbols.
82944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82958 2012-04-25  David S. Miller  <davem@davemloft.net>
82960         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82961         HWCAP_* values only after the memory barriers have been defined.
82962         (atomic_full_barrier): Define.
82963         (atomic_read_barrier): Define.
82964         (atomic_write_barrier): Define.
82966 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82968         * shlib-versions: Add libgcc_s version information.
82969         * sysdeps/generic/libgcc_s.h: Remove.
82970         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82971         libgcc_s.h.
82972         * sysdeps/gnu/unwind-resume.c: Likewise.
82973         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82975 2012-04-25  David S. Miller  <davem@davemloft.net>
82977         * sysdeps/unix/sparc/brk.S: Delete.
82978         * sysdeps/unix/sparc/dl-brk.S: Delete.
82979         * sysdeps/unix/sparc/pipe.S: Delete.
82980         * sysdeps/unix/sparc/sysdep.S: Delete.
82981         * sysdeps/unix/sparc/sysdep.h: Delete.
82982         * sysdeps/unix/sparc/vfork.S: Delete.
82983         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82984         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82985         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82986         (ret_ERRVAL, r0, r1, MOVE): Define.
82987         (JUMPTARGET): Remove.
82988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82989         sysdeps/unix/sparc/sysdep.h
82990         (ENTRY, END): Remove.
82991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82993 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
82995         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82996         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82997         -DIS_IN_build.
82999         * timezone/README: Update upstream location and email address for
83000         tzcode and tzdata.
83001         * timezone/zdump.c: Update from tzcode 2012b.
83002         * timezone/zic.c: Likewise.
83004         * configure.in (libc_cv_as_needed): Remove test.
83005         * configure: Regenerated.
83006         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83007         conditional definition.
83008         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83009         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83010         * config.make.in (have-as-needed): Remove variable.
83012 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83013             Paul Pluzhnikov  <ppluzhnikov@google.com>
83015         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83016         strings correctly.
83018 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83020         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83021         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83022         * sysdeps/sh/strlen.S: Likewise.
83024 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83026         * sysdeps/unix/fork.S: Remove file.
83027         * sysdeps/unix/i386/fork.S: Likewise.
83028         * sysdeps/unix/sparc/fork.S: Likewise.
83030         * sysdeps/unix/system.c: Remove file.
83031         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83033         * sysdeps/unix/getegid.S: Remove file.
83034         * sysdeps/unix/geteuid.S: Likewise.
83036 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83038         * scripts/check-localplt.awk: New file.
83039         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83040         of diff.
83041         * scripts/data/localplt-generic.data: Add a comment.
83043         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83044         NODE when __dir_mkfile failed.
83045         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83046         Reported by Ludovic Courtès <ludo@gnu.org>.
83048 2012-04-24  Andreas Jaeger  <aj@suse.de>
83050         * Makerules (common-clean): Also remove gen-as-const-headers
83051         files.
83053 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83055         * Makerules (native-compile): Do not change working directory for
83056         build.  Use $(OUTPUT_OPTION) in command.
83057         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83059 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83061         [BZ #13886]
83062         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83063         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83064         * math/libm-test.inc (floor_test): Add more tests.
83065         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83067 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83069         * sysdeps/unix/getdents.c: Remove file.
83070         * sysdeps/unix/sysv/getdents.c: Likewise.
83071         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83073         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83074         sysdeps/unix/mman/syscalls.list.
83075         (mmap): Likewise.
83076         (mprotect): Likewise.
83077         (msync): Likewise.
83078         (munmap): Likewise.
83079         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83080         * sysdeps/unix/mman/syscalls.list: Remove.
83081         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83083         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83084         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83085         * configure: Regenerated.
83086         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83087         $(libgcc_s_suffix).
83088         * config.make.in (libgcc_s_suffix): Remove variable.
83090 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83092         * sysdeps/unix/sysv/gethostname.c: Move to ...
83093         * sysdeps/posix/gethostname.c: ... here.
83095         * sysdeps/unix/execve.S: Remove file.
83097         * sysdeps/unix/_exit.S: Remove file.
83099 2012-04-23  Andreas Jaeger  <aj@suse.de>
83101         [BZ #13739]
83102         * manual/Makefile: Remove make dist support, there's no
83103         need for a stand-alone documentation tar ball.
83104         (TEXI2DVI): Define always, it's not in Makeconfig.
83105         (dist): Removed.
83106         (tar-it): Removed.
83107         (edition): Removed.
83108         (glibc-doc-$(edition).tar): Removed
83109         (%.Z): Removed.
83110         (%.gz): Removed.
83111         (%.uu): Removed.
83112         (ETAGS): Remove, it's in Makeconfig.
83113         (move-if-change): Remove, it's in Makeconfig.
83115 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83117         [BZ #13970]
83118         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83119         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83120         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83121         (strtod_l, strtof_l, strtold_l): Remove __wur.
83122         It is not necessarily an error to ignore strtol's return value.
83123         One can reliably look at the stored endptr to decide whether
83124         the number had valid syntax.
83126 2012-04-21  Andreas Jaeger  <aj@suse.de>
83128         [BZ #13739]
83129         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83131 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83133         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83134         * sysdeps/unix/sysv/Versions: Remove file.
83136 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83138         [BZ #13927]
83139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83141 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83143         [BZ #7064]
83144         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83145         version from __vm86.
83147 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83149         * sysdeps/unix/common/lxstat.c: Remove file.
83150         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83152         * sysdeps/unix/sysv/Makefile: Remove file.
83154         * sysdeps/unix/sysv/direct.h: Remove file.
83156         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83157         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83158         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83159         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83160         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83161         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83162         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83164         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83166         * sysdeps/unix/xmknod.c: Remove file.
83167         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83169         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83171         * sysdeps/unix/sysv/i386/time.S: Remove file.
83173         * sysdeps/unix/fxstat.c: Remove file.
83174         * sysdeps/unix/xstat.c: Likewise.
83175         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83177         * sysdeps/unix/sysv/sigaction.c: Remove file.
83179         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83180         (sysdep_headers): Remove variable.
83181         [termio.h not in sysdep_headers] (generated): Likewise.
83182         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83183         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83184         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83185         * sysdeps/unix/sysv/tcflow.c: Likewise.
83186         * sysdeps/unix/sysv/tcflush.c: Likewise.
83187         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83188         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83189         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83190         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83191         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83193         * sysdeps/unix/siglist.c: Remove file.
83195         * sysdeps/unix/getppid.S: Remove file.
83197         * sysdeps/unix/mkdir.c: Remove file.
83198         * sysdeps/unix/rmdir.c: Likewise.
83200 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83202         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83203         ERR_MAX value.
83204         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83205         errlist-compat value.
83207 2012-04-18  David S. Miller  <davem@davemloft.net>
83209         * sysdeps/generic/memcopy.h (reg_char): Delete.
83210         * debug/strcat_chk.c: Use char, not reg_char.
83211         * debug/strcpy_chk.c: Likewise.
83212         * debug/strncat_chk.c: Likewise.
83213         * debug/strncpy_chk.c: Likewise.
83214         * string/memchr.c: Likewise.
83215         * string/memrchr.c: Likewise.
83216         * string/rawmemchr.c: Likewise.
83217         * string/strcat.c: Likewise.
83218         * string/strchr.c: Likewise.
83219         * string/strchrnul.c: Likewise.
83220         * string/strcmp.c: Likewise.
83221         * string/strcpy.c: Likewise.
83222         * string/strncat.c: Likewise.
83223         * string/strncmp.c: Likewise.
83224         * string/strncpy.c: Likewise.
83226 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83228         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83229         __builtin_memcopy is called when src and dest ranges are known to not
83230         overlap.
83232 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83234         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83235         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83236         fwd_align_merge macro call.
83237         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83238         bwd_align_merge macro call.
83239         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83241 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83243         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83244         bwd_align_merge macros.
83245         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83246         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83247         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83249 2012-04-18  David S. Miller  <davem@davemloft.net>
83251         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83253 2012-04-18  Andreas Jaeger  <aj@suse.de>
83255         [BZ #6794]
83256         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83257         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83258         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83260         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83261         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83262         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83264         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83265         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83266         Adjust for changed ldbl-128 files.
83268         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83269         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83270         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83272 2012-04-17  David S. Miller  <davem@davemloft.net>
83274         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83276 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83278         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83279         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83280         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83281         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83282         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83283         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83285 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83287         [BZ #6794]
83288         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83289         * math/libm-test.inc: Add ilogb errno and exception tests.
83290         * math/w_ilogb.c: New file: ilogb wrapper.
83291         * math/w_ilogbf.c: New file: ilogbf wrapper.
83292         * math/w_ilogbl.c: New file: ilogbl wrapper.
83293         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83294         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83295         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83296         exception being thrown with 0.0 as argument.
83297         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83298         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83299         exception being thrown with 0.0 as argument.
83300         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83301         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83302         exception being thrown with 0.0 as argument.
83303         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83304         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83305         exception being thrown with 0.0 as argument.
83306         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83307         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83308         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83309         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83310         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83311         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83312         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83313         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83314         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83316 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83318         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83319         with altivec.
83321 2012-04-16  Marek Polacek  <polacek@redhat.com>
83323         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83325 2012-04-16  Marek Polacek  <polacek@redhat.com>
83327         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83328         operands of fdivp instruction.
83330 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83332         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83333         * elf/tst-auditmod3b.c: Likewise.
83334         * elf/tst-auditmod4b.c: Likewise.
83335         * elf/tst-auditmod5b.c: Likewise.
83336         * elf/tst-auditmod6b.c: Likewise.
83337         * elf/tst-auditmod6c.c: Likewise.
83338         * elf/tst-auditmod7b.c: Likewise.
83339         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83340         * sysdeps/x86_64/preconfigure.in: Likewise.
83341         * sysdeps/x86_64/preconfigure: Regenerated.
83343 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83345         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83346         __ILP32__.
83348 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83350         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83351         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83353 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83355         [BZ #13973]
83356         * locale/iso-639.def: Fix gl language name. Spotted by
83357         Yaron Shahrabani.
83359 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83361         [BZ #2074]
83362         * libio/libio.h (__io_write_fn): Update comment.
83364 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83366         [BZ #2074]
83367         * stdio.texi (Hook Functions): The user provided writer function
83368         is not allowed to return -1.
83370 2012-04-11  David S. Miller  <davem@davemloft.net>
83372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83374 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83376         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83377         Add a leading slash to rtkaio.
83379 2012-04-11  Jim Meyering  <meyering@redhat.com>
83381         [BZ #11959]
83382         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83383         It is not necessarily an error to ignore fwrite's return
83384         value.  One can reliably use ferror to test for errors after
83385         the fact.
83387 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83389         * bits/types.h (__snseconds_t): New type.
83390         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83392         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83394         (__SNSECONDS_T_TYPE): Likewise.
83395         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83396         (__SNSECONDS_T_TYPE): Likewise.
83397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83398         (__SNSECONDS_T_TYPE): Likewise.
83400 2012-04-10  Andreas Jaeger  <aj@suse.de>
83402         [BZ #2636]
83403         * manual/time.texi (Processor Time): Return type of times is
83404         elapsed real time since an arbitrary point in the past.
83405         (CPU Time): Move CLK_TCK from here...
83406         (Processor Time): ...to here.  Correct description.
83407         * manual/conf.texi (Constants for Sysconf): Correct description of
83408         _SC_CLK_TCK.
83410 2012-04-10  David S. Miller  <davem@davemloft.net>
83412         [BZ #13967]
83413         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83414         where the is a gap between DT_REL(A) and DT_JMPREL.
83416 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83418         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83419         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83420         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83422 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83424         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83425         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83426         (dl_main): Handle --inhibit-cache.
83427         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83428         _dl_inhibit_cache.
83429         * elf/dl-load.c (_dl_map_object): Use it.
83430         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83432 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83434         [BZ #13872]
83435         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83436         (__ieee754_powl): Saturate large exponents rather than testing for
83437         overflow of y*log2(x).
83438         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83439         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83440         exceptions.
83442         [BZ #11521]
83443         * math/s_ctan.c: Include <float.h>.
83444         (__ctan): Avoid internal overflow or cancellation in calculating
83445         denominator.
83446         * math/s_ctanf.c: Likewise.
83447         * math/s_ctanl.c: Likewise.
83448         * math/s_ctanh.c: Likewise.
83449         * math/s_ctanhf.c: Likewise.
83450         * math/s_ctanhl.c: Likewise.
83451         * math/libm-test.inc (ctan_test): Add more tests.
83452         (ctanh_test): Likewise.
83453         * sysdeps/i386/fpu/libm-test-ulps: Update.
83454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83456 2012-04-09  Andreas Jaeger  <aj@suse.de>
83458         [BZ #6894]
83459         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83460         is an optional BSD extension.
83462         [BZ #10254]
83463         * manual/stdio.texi (Opening Streams): Document additional fopen
83464         parameters.
83466 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83468         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83469         %eax without telling the compiler.
83471 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83473         [BZ # 13963]
83474         * manual/install.texi: Use sourceware.org.
83476 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83478         [BZ #13873]
83479         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83480         (__ieee754_pow): Generate overflow and underflow using huge*huge
83481         and tiny*tiny rather than just returning constant infinity or zero
83482         for large exponents.
83483         * math/libm-test.inc (pow_test): Require overflow exceptions for
83484         applicable cases of large exponents.
83486         [BZ #706]
83487         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83488         (__ieee754_pow): Use iterative multiplication algorithm only for
83489         integer exponents with absolute value below 1024.  Check for odd
83490         integer exponents when using algorithm for real exponents.
83491         * math/libm-test.inc (pow_test): Add more tests.
83492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83494 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83496         [BZ #13705]
83497         * math/libm-test.inc (exp_test): Do not allow overflow exception
83498         on underflow test.
83500 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83502         [BZ #13705]
83503         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83504         instead of __kernel_standard_f.
83506 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83508         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83509         * sysdeps/x86_64/memset_chk.S: Likewise.
83511 2012-04-08  Andreas Jaeger  <aj@suse.de>
83513         [BZ #10153]
83514         * manual/startup.texi (Environment Access): Describe return value
83515         for putenv and setenv.
83517         [BZ #6895]
83518         * manual/filesys.texi (Directory Entries): Add description for
83519         DT_LNK.
83521         [BZ #6890]
83522         * manual/filesys.texi (Directory Entries): Clarify that it's file
83523         system not operating system in the description of DT_UNKNOWN.
83525         [BZ #6578]
83526         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83528 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83530         [BZ #6649]
83531         * manual/llio.texi (Opening and Closing Files): Add cross
83532         reference to explain mode argument.
83534 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83536         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83537         * sysdeps/x86_64/memset_chk.S: Likewise.
83539 2012-04-07  David S. Miller  <davem@davemloft.net>
83541         * elf/elf.h (R_SPARC_WDISP10): Define.
83542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83543         R_SPARC_SIZE32.
83544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83545         R_SPARC_SIZE64 and R_SPARC_H34.
83547 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83549         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83550         conditions and remove no longer applicable assertion.
83552 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83554         * bits/byteswap.h: Include <features.h>.
83555         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83556         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83558 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83560         * bits/byteswap.h (__bswap_16): Removed.
83561         Include <bits/byteswap-16.h> to get __bswap_16.
83562         * sysdeps/i386/bits/byteswap.h: Likewise.
83563         * sysdeps/s390/bits/byteswap.h: Likewise.
83564         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83565         * bits/byteswap-16.h: New file.
83566         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83567         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83568         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83569         * string/Makefile (headers): Add bits/byteswap-16.h.
83571 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83573         [BZ #13895]
83574         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83575         extra indirection.
83576         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83577         * nss/tst-nss-static.c: New.
83579 2012-04-06  Robert Millan  <rmh@gnu.org>
83581         [BZ #6486]
83582         * manual/llio.texi (File Position Primitive): lseek
83583         refers to WHENCE when it really means OFFSET.
83585 2012-04-06  Andreas Jaeger  <aj@suse.de>
83587         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83588         strncmp declarations.
83590         * abilist/libc.abilist: Add __poll and __ppoll.
83592 2012-04-05  David S. Miller  <davem@davemloft.net>
83594         * scripts/check-local-headers.sh: Accept a host triplet in the
83595         path matched by the exclude regexp.
83597         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83598         definition.
83599         * sysdeps/powerpc/powerpc32/dl-machine.h
83600         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83601         * sysdeps/s390/s390-32/dl-machine.h
83602         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83603         * sysdeps/sparc/sparc32/dl-machine.h
83604         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83605         * sysdeps/sparc/sparc64/dl-machine.h
83606         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83608         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83609         lazy binding.
83610         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83611         undefined symbol errors.
83613         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83614         DT_NEEDED entries.
83616 2012-04-05  Michael Matz  <matz@suse.de>
83618         [BZ #13592]
83619         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83621 2012-04-05  Andreas Jaeger  <aj@suse.de>
83623         [BZ #13908]
83624         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83625         comment.
83627 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83629         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83630         which ROUND is no valid rounding mode.
83632 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83634         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83635         read again.
83636         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83638 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83640         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83641         an exception using FPU order intentionally.
83643 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83645         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83646         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83647         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83648         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83650 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83652         [BZ #12340]
83653         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83654         EINVAL when BUFLEN is too smal.
83656 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83658         [BZ #13553]
83659         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83660         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83662 2012-04-03  Andreas Jaeger  <aj@suse.de>
83664         [BZ #13938]
83665         * manual/setjmp.texi (System V contexts): Fix sentence.
83667         [BZ #13926]
83668         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83669         New macro for this case.
83670         [!__GNUC__] (__bswap_64): New inline function for this case.
83671         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83672         * bits/byteswap.h: Likewise.
83673         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83674         ull, guard with __GLIBC_HAVE_LONG_LONG.
83676         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83677         __GLIBC_HAVE_LONG_LONG.
83679         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83680         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83682 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83684         [BZ #13691]
83685         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83686         inptr and inend, rather than using last_ch.
83688 2012-04-02  David S. Miller  <davem@davemloft.net>
83690         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83691         * stdio-common/printf-parse.h (read_int): Change return type to
83692         'int', return -1 on INT_MAX overflow.
83693         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83694         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83695         overflows INT_MAX.  Check for overflow of in-format-string precision
83696         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83697         SIZE_MAX not INT_MAX for integer overflow test.
83698         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83699         skip the construct in the format string but do not record anything.
83700         * stdio-common/bug22.c: Adjust to test both width/prevision
83701         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83702         explicitly for proper errno values.
83704 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83706         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83707         CHAR_MAX.
83708         * string/test-strcmp.c [! WIDE]: Likewise.
83709         * time/tst-mktime2.c: Likewise for INT_MAX.
83710         * string/test-string.h: #include <sys/param.h> for MIN.
83712         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83713         * sysdeps/i386/init-first.c (init): Likewise.
83714         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83715         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83716         * sysdeps/sh/init-first.c (init): Likewise.
83718 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83720         * po/ru.po: Update from translation team.
83721         * po/vi.po: Likewise.
83723 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83725         * resolv/nss_dns/dns-host.c: Merge copyright years.
83727 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83729         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83730         Optimize memcpy with prefetch if
83731         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83732         src, dst pointers have unequal 16 byte alignments.
83734 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83736         [BZ #13928]
83737         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83738         from a CNAME entry and return the minimum ttl for the query.
83739         (gaih_getanswer_slice): Likewise.
83741 2012-03-30  Jeff Law  <law@redhat.com>
83743         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83744         due to long keys.
83745         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83746         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83748         * resolv/nss_dns/dns-host.c: Update copyright year.
83750 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83752         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83753         requests to save a system call.  Fix check that all bytes are sent.
83755         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83756         comments for sendmmsg.
83758 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83760         [BZ #13691]
83761         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83762         with only 1 character between 0x0041 and 0x01b0.
83763         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83764         * wcsmbs/tst-mbsnrtowcs.c: New file.
83766 2012-03-29  David S. Miller  <davem@davemloft.net>
83768         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83769         small copies by hand.
83771 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83773         [BZ #13761]
83774         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83775         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83776         group memberships.
83778 2012-03-28  David S. Miller  <davem@davemloft.net>
83780         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83781         that branches into memcpy.
83782         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83784         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83785         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83786         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83787         bits.
83788         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83789         implementation too.
83790         * sysdeps/sparc/mempcpy.S: New file.
83792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83793         the IFUNC routine in the libc case.
83794         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83796         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83797         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83798         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83799         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83800         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83801         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83802         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83803         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83805         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83806         loop to 256 bytes instead of 64 bytes and fix test signedness.
83808         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83809         * sysdeps/sparc/sparc32/Makefile: rather than here...
83810         * sysdeps/sparc/sparc64/Makefile: and here.
83812 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83814         * malloc/mallocbug.c: Avoid warnings about unused variables.
83816 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83818         [BZ #13760]
83819         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83820         in the right place. Discard and retry query if response is
83821         larger than input buffer size.
83823 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83825         [BZ #369]
83826         [BZ #2678]
83827         [BZ #3866]
83828         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83829         x for large integer exponent.
83830         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83831         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83832         sign of result as needed afterwards.
83833         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83834         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83835         result for underflowing pow the same as for overflow.
83836         (__kernel_standard_l): Handle powl overflow and underflow here
83837         rather than calling __kernel_standard.
83838         * math/libm-test.inc (pow_test): Add more tests.
83840         [BZ #3868]
83841         [BZ #13879]
83842         [BZ #13910]
83843         [BZ #13911]
83844         [BZ #13912]
83845         [BZ #13913]
83846         [BZ #13915]
83847         [BZ #13916]
83848         [BZ #13917]
83849         [BZ #13918]
83850         [BZ #13919]
83851         [BZ #13920]
83852         [BZ #13921]
83853         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83854         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83855         (__kernel_standard_l): New function.
83856         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83857         __kernel_standard.
83858         * math/w_acosl.c (__acosl): Likewise.
83859         * math/w_asinl.c (__asinl): Likewise.
83860         * math/w_atan2l.c (__atan2l): Likewise.
83861         * math/w_atanhl.c (__atanhl): Likewise.
83862         * math/w_coshl.c (__coshl): Likewise.
83863         * math/w_exp10l.c (__exp10l): Likewise.
83864         * math/w_exp2l.c (__exp2l): Likewise.
83865         * math/w_fmodl.c (__fmodl): Likewise.
83866         * math/w_hypotl.c (__hypotl): Likewise.
83867         * math/w_j0l.c (__j0l, __y0l): Likewise.
83868         * math/w_j1l.c (__j1l, __y1l): Likewise.
83869         * math/w_jnl.c (__jnl, __ynl): Likewise.
83870         * math/w_lgammal.c (__lgammal): Likewise.
83871         * math/w_log10l.c (__log10l): Likewise.
83872         * math/w_log2l.c (__log2l): Likewise.
83873         * math/w_logl.c (__logl): Likewise.
83874         * math/w_powl.c (__powl): Likewise.
83875         * math/w_remainderl.c (__remainderl): Likewise.
83876         * math/w_scalbl.c (sysv_scalbl): Likewise.
83877         * math/w_sinhl.c (__sinhl): Likewise.
83878         * math/w_sqrtl.c (__sqrtl): Likewise.
83879         * math/w_tgammal.c (__tgammal): Likewise.
83880         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83881         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83882         * math/libm-test.inc (acos_test): Add more tests.
83883         (acosh_test): Likewise.
83884         (asin_test): Likewise.
83885         (atanh_test): Likewise.
83886         (exp_test): Likewise.
83887         (exp10_test): Likewise.
83888         (exp2_test): Likewise.
83889         (expm1_test): Likewise.
83890         (lgamma_test): Likewise.
83891         (log_test): Likewise.
83892         (log10_test): Likewise.
83893         (log1p_test): Likewise.
83894         (log2_test): Likewise.
83895         (pow_test): Do not allow some spurious overflow exceptions.
83896         (sqrt_test): Add more tests.
83897         (tgamma_test): Likewise.
83898         (y0_test): Likewise.
83899         (y1_test): Likewise.
83900         (yn_test): Likewise.
83902 2012-03-27  Anton Blanchard  <anton@samba.org>
83904         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83905         MAP_HUGETLB.
83906         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83907         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83910 2012-03-27  David S. Miller  <davem@davemloft.net>
83912         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83914         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83915         have-as-vis3 check.
83917 2012-03-27  Andreas Jaeger  <aj@suse.de>
83919         * sysdeps/x86_64/elf/configure.in: Moved to ...
83920         * sysdeps/x86_64/configure.in: ... here.
83921         * sysdeps/x86_64/elf/start.S: Moved to ...
83922         * sysdeps/x86_64/start.S: ... here.
83923         * sysdeps/x86_64/elf/configure: Delete.
83925         * sysdeps/x86_64/configure.in: Merge contents from
83926         sysdeps/i386/configure.in (without i686 check).
83928         * sysdeps/i386/elf/Versions: Merge into ...
83929         * sysdeps/i386/Versions: ... this.
83930         * sysdeps/i386/elf/Versions: Delete file.
83931         * sysdeps/i386/elf/start.S: Moved to ...
83932         * sysdeps/i386/start.S: ...here.
83933         * sysdeps/i386/elf/configure.in: Merge into...
83934         * sysdeps/i386/configure.in: ...here.
83935         * sysdeps/i386/elf/configure.in: Delete file.
83936         * sysdeps/i386/elf/configure: Delete file.
83938         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83939         * debug/backtracesyms.c: ... here.
83940         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83941         * debug/backtracesymsfd.c: ... here.
83942         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83943         * sysdeps/generic/ifunc-sel.h: ... here.
83945         * sysdeps/unix/i386/start.c: Delete file.
83946         * sysdeps/unix/sparc/start.c: Delete file.
83947         * sysdeps/unix/start.c: Delete file.
83949         * sysdeps/sh/elf/configure.in: Moved to ...
83950         * sysdeps/sh/configure.in: ... here.
83951         * sysdeps/sh/elf/start.S: Moved to ...
83952         * sysdeps/sh/start.S: ... here.
83953         * sysdeps/sh/elf/configure: Delete file.
83955         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83956         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83957         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83958         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83959         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83960         * sysdeps/powerpc/powerpc64/start.S: here.
83961         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83962         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83963         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83964         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83965         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83967         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83968         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83969         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83970         * sysdeps/powerpc/powerpc32/start.S: ... here.
83971         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83972         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83973         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83975         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83976         * sysdeps/powerpc/ifunc-sel.h: ... here.
83977         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83978         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83980         * sysdeps/sparc/elf/configure.in: Moved to ...
83981         * sysdeps/sparc/configure.in: ... here.
83982         * sysdeps/sparc/elf/configure: Delete file.
83983         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83984         * sysdeps/sparc/sparc32/start.S: ... here.
83985         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83986         * sysdeps/sparc/sparc64/start.S: ... here.
83987         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83988         * sysdeps/sparc/sparc32/Makefile: ... this.
83989         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83990         * sysdeps/sparc/sparc64/Makefile: ... this.
83992         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83993         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83994         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83995         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83996         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83997         * sysdeps/s390/s390-32/setjmp.S: ... here.
83998         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83999         * sysdeps/s390/s390-32/configure.in: ... here.
84000         * sysdeps/s390/s390-32/elf/configure: Delete file.
84001         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84002         * sysdeps/s390/s390-32/start.S: ... here.
84004         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84005         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84006         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84007         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84008         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84009         * sysdeps/s390/s390-64/setjmp.S: ... here.
84010         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84011         * sysdeps/s390/s390-64/configure.in: ... here
84012         * sysdeps/s390/s390-64/elf/configure: Delete file.
84013         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84014         * sysdeps/s390/s390-64/start.S: ... here.
84015         * sysdeps/s390/s390-64/elf/configure: Delete.
84017         * configure.in: Remove support for elf directories in sysdeps.
84019         * configure: Regenerated.
84020         * sysdeps/i386/configure: Regenerated.
84021         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84022         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84023         * sysdeps/s390/s390-32/configure: Regenerated.
84024         * sysdeps/s390/s390-64/configure: Regenerated.
84025         * sysdeps/sh/configure: Regenerated.
84026         * sysdeps/sparc/configure: Regenerated.
84027         * sysdeps/x86_64/configure: Regenerated.
84029 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84034         denormal result into account.
84036 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84038         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84039         Reported by Allan McRae <allan@archlinux.org>.
84041 2012-03-23  Jeff Law  <law@redhat.com>
84043         * nss/getnssent.c (__nss_getent): Fix typo.
84045 2012-03-23  David S. Miller  <davem@davemloft.net>
84047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84049 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84051         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84052         to pad to uint64_t for each field.
84053         (dl_tls_index): Replace unsigned long with uint64_t.
84055 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84056         Paul Pluzhnikov  <ppluzhnikov@google.com>
84058         [BZ #6528]
84059         * grp/Makefile (otherlibs): Don't set it.
84060         * inet/Makefile (otherlibs): Likewise.
84061         * login/Makefile (otherlibs): Likewise.
84062         * nscd/Makefile (otherlibs): Likewise.
84063         * posix/Makefile (otherlibs): Likewise.
84064         * pwd/Makefile (otherlibs): Likewise.
84065         * rt/Makefile (otherlibs): Likewise.
84066         * sunrpc/Makefile (otherlibs): Likewise.
84067         * nss/Makefile (otherlibs): Likewise.
84068         Add libnss_files to routines and static-only-routines.
84069         ($(objpfx)getent): Remove rule.
84070         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84071         static-only-routines.
84073 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84075         [BZ #13892]
84076         * math/s_cexp.c: Include <float.h>.
84077         (__cexp): Handle exp result overflowing not necessarily
84078         overflowing both real and imaginary parts of result.
84079         * math/s_cexpf.c: Likewise.
84080         * math/s_cexpl.c: Likewise.
84081         * math/libm-test.inc (cexp_test): Add more tests.
84082         * sysdeps/i386/fpu/libm-test-ulps: Update.
84083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84085 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84087         * include/link.h (ELFW): New macro.
84088         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84089         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84091 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84093         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84094         with uint64_t.
84096 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84098         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84099         declaration.
84100         (struct La_x32_retval): Likewise.
84102 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84104         * sysdeps/x86_64/preconfigure.in: New file.
84105         * sysdeps/x86_64/preconfigure: New generated file.
84107 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84109         [BZ #13824]
84110         * math/e_exp2l.c: Include <float.h>.
84111         (__ieee754_exp2l): Handle overflow and underflow cases
84112         separately.  Only pass fractional part of argument to
84113         __ieee754_expl.
84114         * math/libm-test.inc (exp2_test): Add more tests.
84116         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84117         negating x to take absolute value.
84118         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84119         Likewise.
84120         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84121         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84122         Likewise.
84123         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84124         computing low part if x was negated.
84125         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84127 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84129         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84130         la_x32_gnu_pltexit.
84131         (pltexit): Cast int_retval to ptrdiff_t.
84132         * elf/tst-auditmod3b.c: Likewise.
84133         * elf/tst-auditmod4b.c: Likewise.
84134         * elf/tst-auditmod5b.c: Likewise.
84135         * elf/tst-auditmod6b.c: Likewise.
84136         * elf/tst-auditmod6c.c: Likewise.
84137         * elf/tst-auditmod7b.c: Likewise.
84139         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84140         and x32_gnu_pltexit.
84142         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84143         __ELF_NATIVE_CLASS.
84144         (La_x32_regs): New macro.
84145         (La_x32_retval): Likewise.
84146         (la_x32_gnu_pltenter): New function prototype.
84147         (la_x32_gnu_pltexit): Likewise.
84149 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84152         exponent.
84154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84156         * configure.in (libc_cv_cc_nofma): Check for option to disable
84157         generation of FMA instructions.
84158         * configure: Regenerate.
84159         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84160         * sysdeps/ieee754/dbl-64/Makefile: New file.
84161         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84162         Remove brandred-fma4.
84163         (CFLAGS-brandred-fma4.c): Remove.
84164         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84165         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84166         define.
84167         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84168         define.
84170 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84172         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84173         LLONG_MAX != LONG_MAX.
84174         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84175         (_fitoa_word): Likewise.
84176         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84177         LLONG_MAX != LONG_MAX.
84178         * stdio-common/_itowa.h: Include <_itoa.h>.
84179         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84180         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84181         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84182         only if not defined.
84183         (_ITOA_WORD_TYPE): Likewise.
84184         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84185         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84187 2012-03-21  David S. Miller  <davem@davemloft.net>
84189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84191 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84193         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84194         of x86_64 when setting libc_cv_slibdir, libdir and
84195         libc_cv_localedir.
84196         * sysdeps/unix/sysv/linux/configure: Regenerated.
84198 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84200         * manual/lang.texi (Old Varargs): Remove section.
84201         (How Variadic): Update menu.
84202         (va_start): Do not mention varargs.h.
84204 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84205             Joseph Myers  <joseph@codesourcery.com>
84207         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84208         link test.
84209         * configure: Regenerated.
84211 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84213         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84214         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84215         conformtest.pl
84217 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84219         * NOTES: Remove.
84220         * Makefile (files-for-dist): Remove NOTES.
84221         (NOTES): Remove rule.
84222         * README: Don't refer to NOTES.
84223         * manual/creature.texi: Don't include macros.texi.
84224         * manual/intro.texi (creature.texi): Remove comment referring to
84225         NOTES.
84227         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84228         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84229         * configure: Regenerated.
84230         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84231         LIBC_TRY_CC_OPTION.
84232         (libc_cv_as_i686): Likewise.
84233         (libc_cv_cc_avx): Likewise.
84234         (libc_cv_cc_sse2avx): Likewise.
84235         (libc_cv_cc_fma4): Likewise.
84236         (libc_cv_cc_novzeroupper): Likewise.
84237         * sysdeps/i386/configure: Regenerated.
84239         [BZ #13883]
84240         * sysdeps/i386/fpu/s_cexp.S: Remove.
84241         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84242         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84243         * math/libm-test.inc (cexp_test): Add more tests.
84244         * sysdeps/i386/fpu/libm-test-ulps: Update.
84245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84247 2012-03-21  Allan McRae  <allan@archlinux.org>
84249         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84251 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84253         [BZ #13871]
84254         * math/w_exp2.c: Do not include <float.h>.
84255         (o_threshold, u_threshold): Remove.
84256         (__exp2): Calculate result before checking finiteness and calling
84257         __kernel_standard.
84258         * math/w_exp2f.c: Likewise.
84259         * math/w_exp2l.c: Likewise.
84260         * math/libm-test.inc (exp2_test): Require overflow exception for
84261         1e6 input.
84263         [BZ #3866]
84264         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84265         range of signed 64-bit integers before using fistpll.  Remove
84266         checks for whether integers fit in mantissa bits.
84267         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84268         the range of signed 32-bit integers before using fistpl.  Remove
84269         checks for whether integers fit in mantissa bits.
84270         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84271         (__ieee754_powl): Test for y outside the range of signed 64-bit
84272         integers before using fistpll.  Reduce 64-bit values to 63-bit
84273         ones as needed.
84274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84275         divide-by-zero is raised for zero to large negative powers.
84276         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84277         (__ieee754_powl): Test for y outside the range of signed 64-bit
84278         integers before using fistpll.  Reduce 64-bit values to 63-bit
84279         ones as needed.
84280         * math/libm-test.inc (pow_test): Add more tests.
84282 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84284         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84285         <stdio-common/_itoa.h>.
84286         * debug/segfault.c: Likewise.
84287         * elf/dl-cache.c: Likewise.
84288         * elf/dl-minimal.c: Likewise.
84289         * elf/dl-misc.c: Likewise.
84290         * elf/dl-sysdep.c: Likewise.
84291         * elf/dl-version.c: Likewise.
84292         * elf/rtld.c: Likewise.
84293         * hurd/hurdsock.c: Likewise.
84294         * hurd/lookup-retry.c: Likewise.
84295         * malloc/malloc.c: Likewise.
84296         * malloc/mtrace.c: Likewise.
84297         * nscd/nscd_getgr_r.c: Likewise.
84298         * nscd/nscd_getpw_r.c: Likewise.
84299         * nscd/nscd_getserv_r.c: Likewise.
84300         * posix/getopt_init.c: Likewise.
84301         * posix/wordexp.c: Likewise.
84302         * stdio-common/_itoa.c: Likewise.
84303         * stdio-common/printf_fphex.c: Likewise.
84304         * stdio-common/vfprintf.c: Likewise.
84305         * string/_strerror.c: Likewise.
84306         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84307         * sysdeps/i386/i686/hp-timing.h: Likewise.
84308         * sysdeps/mach/_strerror.c: Likewise.
84309         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84310         * sysdeps/mach/hurd/sethostid.c: Likewise.
84311         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84312         * sysdeps/mach/xpg-strerror.c: Likewise.
84313         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84314         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84315         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84316         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84317         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84318         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84319         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84320         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84321         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84322         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84323         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84324         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84325         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84326         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84327         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84328         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84329         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84330         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84331         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84332         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84333         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84335         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84337         * stdio-common/_itoa.h: Moved to ...
84338         * sysdeps/generic/_itoa.h: Here.
84340         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84342         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84343         instead of "_itoa.h" and "_itowa.h".
84344         * stdio-common/vfprintf.: Likewise.
84346 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84348         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84349         <bits/wordsize.h>.
84350         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84351         (__signbit): Likewise.
84352         (llrintf): Likewise.
84353         (llrint): Likewise.
84355 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84357         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84358         __WORDSIZE != 64.
84360 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84362         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84363         OVERFLOW_EXCEPTION_OK.
84364         * math/libm-test.inc ("Philosophy"): Update comment about
84365         exception testing.
84366         (OVERFLOW_EXCEPTION): Define.
84367         (OVERFLOW_EXCEPTION_OK): Likewise.
84368         (INVALID_EXCEPTION_OK): Renumber.
84369         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84370         (IGNORE_ZERO_INF_SIGN): Likewise.
84371         (test_exceptions): Handle FE_OVERFLOW.
84372         (exp10_test): Expect overflow exceptions.
84373         (exp2_test): Likewise.
84374         (expm1_test): Likewise.
84375         (nextafter_test): Likewise.
84376         (pow_test): Likewise.
84377         (scalbn_test): Likewise.
84378         (scalbln_test): Likewise.
84380 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84382         * sysdeps/x86_64/bits/atomic.h
84383         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84384         64bit integer.
84385         (atomic_exchange_acq): Likewise.
84386         (__arch_exchange_and_add_body): Likewise.
84387         (__arch_add_body): Likewise.
84388         (atomic_add_negative): Likewise.
84389         (atomic_add_zero): Likewise.
84391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84393         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84394         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84398         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84399         Check __x86_64__ instead of __WORDSIZE.
84401 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84403         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84405 2012-03-19  David S. Miller  <davem@davemloft.net>
84407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84409         * sysdeps/sparc/fpu/fenv_private.h: New file.
84410         * sysdeps/sparc/fpu/math_private.h: Use it.
84411         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84412         Remove.
84413         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84414         (libc_feholdexcept_setroundl): Remove.
84415         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84416         Remove.
84417         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84418         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84420 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84422         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84423         int64_t instead of long int.
84424         (INSERT_WORDS64): Likewise.
84426 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84428         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84429         _Unwind_GetCFA return to _Unwind_Ptr first.
84431 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84433         [BZ #13629]
84434         * math/s_clog.c: Include <float.h>.
84435         (__clog): Scale large or subnormal inputs.
84436         * math/s_clogf.c: Likewise.
84437         * math/s_clogl.c: Likewise.
84438         * math/s_clog10.c: Include <float.h>.
84439         (M_LOG10_2): Define.
84440         (__clog10): Scale large or subnormal inputs.
84441         * math/s_clog10f.c: Likewise.
84442         * math/s_clog10l.c: Likewise.
84443         * math/libm-test.inc (clog_test): Add more tests.
84444         (clog10_test): Likewise.
84445         * sysdeps/i386/fpu/libm-test-ulps: Update.
84446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84448         [BZ #11451]
84449         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84450         x and y.
84451         * math/libm-test.inc (atan2_test): Add another test.
84453         * Makerules (common-objdir-compile): Remove.
84454         * sysdeps/unix/Makefile (config-generated): Do not add
84455         $(unix-generated) to variable.
84456         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84457         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84458         Remove rule.
84459         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84460         Likewise.
84461         [generic bits/local_lim.h] (before-compile): Do not append to
84462         variable.
84463         [generic bits/local_lim.h] (common-generated): Likewise.
84464         [generic sys/param.h] (before-compile): Do not append to variable.
84465         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84466         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84467         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84468         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84469         include.
84470         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84471         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84472         [generic sys/param.h] ($(addprefix
84473         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84474         [generic sys/param.h] (common-generated): Do not append to
84475         variable.
84476         [generic sys/param.h] (sysdep_headers): Likewise.
84477         [generic bits/errno.h] (before-compile): Do not append to
84478         variable.
84479         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84480         rule.
84481         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84482         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84483         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84484         [generic bits/errno.h] (common-generated): Do not append to
84485         variable.
84486         [generic bits/ioctls.h] (before-compile): Do not append to
84487         variable.
84488         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84489         rule.
84490         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84491         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84492         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84493         rule.
84494         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84495         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84496         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84497         [generic bits/ioctls.h] (common-generated): Do not append to
84498         variable.
84499         [generic sys/syscall.h] (syscall.h): Remove variable.
84500         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84501         rule.
84502         [generic sys/syscall.h] (before-compile): Do not append to
84503         variable.
84504         [generic sys/syscall.h] (common-generated): Likewise.
84505         * sysdeps/unix/errnos-tmpl.c: Remove file.
84506         * sysdeps/unix/errnos.awk: Likewise.
84507         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84508         * sysdeps/unix/ioctls.awk: Likewise.
84509         * sysdeps/unix/mk-local_lim.c: Likewise.
84510         * sysdeps/unix/snarf-ioctls: Likewise.
84512 2012-03-19  Richard Henderson  <rth@twiddle.net>
84514         * sysdeps/i386/fpu/fenv_private.h: New file.
84515         * sysdeps/i386/fpu/math_private.h: Use it.
84516         (math_opt_barrier, math_force_eval): Remove.
84517         (libc_feholdexcept_setround_53bit): Remove.
84518         (libc_feupdateenv_53bit): Remove.
84519         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84520         (math_opt_barrier, math_force_eval): Remove.
84521         (libc_feholdexcept): Remove.
84522         (libc_feholdexcept_setround): Remove.
84523         (libc_fetestexcept, libc_fesetenv): Remove.
84524         (libc_feupdateenv_test): Remove.
84525         (libc_feupdateenv, libc_feholdsetround): Remove.
84526         (libc_feresetround): Remove.
84528         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84529         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84531         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84532         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84533         (libc_feupdateenv_testl): New.
84534         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84535         (libc_feupdateenv_testf): New.
84536         (libc_feupdateenv): Use libc_feupdateenv_test.
84537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84538         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84540         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84541         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84542         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84543         (libc_feresetround_noex): New.
84544         (libc_feresetround_noexf): New.
84545         (libc_feresetround_noexl): New.
84546         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84547         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84548         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84549         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84550         SET_RESTORE_ROUND.
84551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84553         (__cos): Likewise.
84554         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84555         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84556         SET_RESTORE_ROUND_NOEX.
84557         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84558         SET_RESTORE_ROUND_NOEXF.
84559         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84560         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84561         (libc_feholdsetroundf): New.
84562         (libc_feresetround, libc_feresetroundf): New.
84564         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84565         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84566         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84568         * sysdeps/generic/math_private.h: Include <fenv.h>.
84569         (default_libc_feholdexcept): New.
84570         (default_libc_feholdexcept_setround): New.
84571         (default_libc_fesetenv, default_libc_feupdateenv): New.
84572         (libc_feholdexcept): Only define if undefined.
84573         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84574         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84575         (libc_feholdexcept_setroundl): Likewise.
84576         (libc_feholdexcept_setround_53bit): Likewise.
84577         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84578         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84579         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84580         (libc_feupdateenv_53bit): Likewise.
84581         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84582         (libc_feholdexcept): Convert from macro to inline function.
84583         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84584         (libc_fesetenv, libc_feupdateenv): Likewise.
84586         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84587         not previously defined.
84588         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84589         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84590         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84591         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84592         * sysdeps/ieee754/flt-32/math_private.h: New file.
84593         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84594         math_private.h below SET_FLOAT_WORD.
84595         (__isnan, __isinf_ns, __finite): Remove.
84596         (__isnanf, __isinf_nsf, __finitef): Remove.
84598 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84602 2012-03-17  David S. Miller  <davem@davemloft.net>
84604         [BZ #6471]
84605         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84606         for 2.16.
84608 2012-03-16  David S. Miller  <davem@davemloft.net>
84610         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84611         warnings.
84613         [BZ #6471]
84614         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84615         properly.
84616         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84617         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84618         sysdep_routines when subdir is sysvipc.
84619         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84620         __getshmlba helper.
84622         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84626         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84627         [__LP64__].
84629 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84632         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84633         (__lround): Renamed to ...
84634         (__llround): This.  Replace long int with long long int.
84635         Define lround functions as aliases of llround functions.
84636         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84638 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84640         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84641         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84642         adresses to uintptr_t.  Replace "long int" and "unsigned long
84643         int" with "greg_t" on va_arg.
84645 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84647         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84648         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84650         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84651         Move e_machine check before EI_CLASS check.  Handle x32
84652         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84653         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84654         SKIP_EM_IA_64 and include
84655         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84657         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84658         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84659         (add_system_dir): New macro.
84661         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84662         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84664 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84666         [BZ #2551]
84667         [BZ #2552]
84668         [BZ #2553]
84669         [BZ #2554]
84670         [BZ #2562]
84671         [BZ #2563]
84672         [BZ #2565]
84673         [BZ #2566]
84674         [BZ #2576]
84675         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84676         (y0): Likewise.
84677         * math/w_j0f.c (j0f): Likewise.
84678         (y0f): Likewise.
84679         * math/w_j0l.c (__j0l): Likewise.
84680         (__y0l): Likewise.
84681         * math/w_j1.c (j1): Likewise.
84682         (y1): Likewise.
84683         * math/w_j1f.c (j1f): Likewise.
84684         (y1f): Likewise.
84685         * math/w_j1l.c (__j1l): Likewise.
84686         (__y1l): Likewise.
84687         * math/w_jn.c (jn): Likewise.
84688         (yn): Likewise.
84689         * math/w_jnf.c (jnf): Likewise.
84690         (ynf): Likewise.
84691         * math/w_jnl.c (__jnl): Likewise.
84692         (__ynl): Likewise.
84693         * math/libm-test.inc (j0_test): Add more tests.
84694         (j1_test): Likewise.
84695         (jn_test): Likewise.  Add trailing semicolon to existing test.
84696         (y0_test): Likewise.
84697         (y1_test): Likewise.
84698         * sysdeps/i386/fpu/libm-test-ulps: Update.
84699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84701         [BZ #13851]
84702         [BZ #13854]
84703         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84704         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84705         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84706         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84707         (__tanl): Set errno for infinite argument.
84708         * sysdeps/i386/fpu/mptan.c: Remove.
84709         * sysdeps/i386/fpu/s_tan.S: Likewise.
84710         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84711         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84712         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84713         * math/libm-test.inc (tan_test): Add more tests and enable more
84714         tests for double and long double.
84715         * sysdeps/i386/fpu/libm-test-ulps: Update.
84716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84718 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84720         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84721         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84723 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84725         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84726         * configure.in: Use it for both main tree and add-ons.
84727         * configure: Regenerated.
84729 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84731         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84733 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84735         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84736         in comment.
84738         [BZ #13851]
84739         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84740         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84741         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84742         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84743         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84744         infinite argument.
84745         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84746         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84747         != 0 for prec == 2.
84748         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84749         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84750         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84751         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84752         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84753         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84754         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84755         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84756         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84757         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84758         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84759         * math/libm-test.inc (cos_test): Add more tests and enable more
84760         tests for long double.
84761         (sin_test): Likewise.
84762         (sincos_test): Likewise.
84763         * sysdeps/i386/fpu/libm-test-ulps: Update.
84764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84766 2012-03-16  David S. Miller  <davem@davemloft.net>
84768         * sysdeps/sparc/fpu/math_private.h: New file.
84770 2012-03-15  David S. Miller  <davem@davemloft.net>
84772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84773         file.
84774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84776         file.
84777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84782         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84783         sysdep routines.
84784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84786         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84787         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84789         * sysdeps/sparc/sparc-ifunc.h: New file.
84790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84791         sparc-ifunc.h
84792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84794         Likewise.
84795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84796         Likewise.
84797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84801         Likewise.
84802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84807         Likewise.
84808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84809         Likewise.
84810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84816         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84817         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84828         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84830         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84831         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84835 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84837         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84838         scaling.
84839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84841 2012-03-15  Andreas Jaeger  <aj@suse.de>
84843         [BZ #13852]
84844         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84845         ieee754/flt-32 implementation for sin, cos and sincos.
84846         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84847         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84848         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84849         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84850         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84851         ieee754/flt-32 implementation for tan.
84853         * math/libm-test.inc (cos_test): Enable some large input tests for
84854         float as well
84855         (sin_test): Likewise.
84856         (sincos_test): Likewise.
84857         (tan_test): Add tests for large input.
84859         * sysdeps/i386/fpu/libm-test-ulps: Update.
84861 2012-03-15  Andreas Jaeger  <aj@suse.de>
84863         [BZ #13658]
84864         * math/libm-test.inc (cos_test): Add more test cases.
84865         (sin_test): Likewise.
84866         (sincos_test): Likewise.
84868 2012-03-15  Andreas Jaeger  <aj@suse.de>
84870         [BZ #13837]
84871         * math/libm-test.inc (cos_test): Add a test case for large input
84872         value.
84873         (sin_test): Likewise.
84874         (sincos_test): Likewise.
84876 2012-03-15  Andreas Jaeger  <aj@suse.de>
84877             Joseph Myers  <joseph@codesourcery.com>
84879         [BZ #13658]
84880         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84881         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84882         * sysdeps/i386/fpu/branred.c: Likewise.
84883         * sysdeps/i386/fpu/dosincos.c: Likewise.
84884         * sysdeps/i386/fpu/mpa.c: Likewise.
84885         * sysdeps/i386/fpu/s_cos.S: Likewise.
84886         * sysdeps/i386/fpu/s_sin.S: Likewise.
84887         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84888         * sysdeps/i386/fpu/sincos32.c: Likewise.
84890         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84891         Define.
84892         (libc_feupdateenv_53bit): Define.
84893         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84894         Define.
84895         (libc_feupdateenv_53bit): Define.
84897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84898         53 bit (without extend i386 double precision).
84900         * math/libm-test.inc (sincos_test): Add tests for large input.
84901         (sin): Likewise.
84902         (cos): Likewise.
84904         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84906 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84910 2012-03-15  David S. Miller  <davem@davemloft.net>
84912         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84913         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84914         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84915         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84928         file.
84929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84931         file.
84932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84934         file.
84935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84937         file.
84938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84939         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84940         fmin/fmax sysdep routines.
84941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84943 2012-03-14  David S. Miller  <davem@davemloft.net>
84945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84949         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84950         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84951         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84952         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84965         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84966         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84969         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84971         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84974         routines.
84975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84976         file.
84977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84979         file.
84980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84982         file.
84983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84985         file.
84986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84988         file.
84989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84991         file.
84992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84993         file.
84994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84995         file.
84996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84997         file.
84998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84999         New file.
85000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85001         file.
85002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85003         file.
85004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85006         file.
85007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85009         file.
85010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85012         file.
85013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85015         VIS3 routines.
85017         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85018         New file.
85020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85022         * sysdeps/sparc/configure.in: New file.
85023         * sysdeps/sparc/configure: Generate.
85024         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85025         * configure: Regenerate.
85026         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85027         * config.make.in (have-as-vis3): New.
85028         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85029         available use -Av9d instead of -Av9a.
85030         * sysdeps/sparc/sparc64/Makefile: Likewise.
85031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85033         New file.
85034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85035         file.
85036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85037         New file.
85038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85039         file.
85040         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85041         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85043         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85044         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85046         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85047         fzeros/fnegs to load 0x80000000 into a float register instead of
85048         using the stack.
85049         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85051 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85054         bits/syscall.h.
85055         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85056         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85057         ($(inst_includedir)/bits/syscall.h): Remove rule.
85058         ($(objpfx)bits/syscall.d): Include instead of
85059         $(objpfx)syscall-list.d.
85060         (generated): Change syscall-list.h and syscall-list.d to
85061         bits/syscall.h and bits/syscall.d.
85063 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85065         [BZ #13846]
85066         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85068 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85070         [BZ #13841]
85071         * math/s_csqrt.c: Include <float.h>.
85072         (__csqrt): Scale large or subnormal inputs.
85073         * math/s_csqrtf.c: Likewise.
85074         * math/s_csqrtl.c: Likewise.
85075         * math/libm-test.inc (csqrt_test): Add more tests.
85076         * sysdeps/i386/fpu/libm-test-ulps: Update.
85077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85079         [BZ #13840]
85080         * math/libm-test.inc (hypot_test): Add more tests.
85082 2012-03-13  David S. Miller  <davem@davemloft.net>
85084         [BZ #13840]
85085         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85086         double-precision for the calculation instead of scaling.
85088 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85090         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85091         manipulate bits before adding and subtracting TWO52[sx].
85092         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85093         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85094         Likewise.
85095         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85097 2012-03-13  David S. Miller  <davem@davemloft.net>
85099         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85100         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85102         rtld-global-offsets.h
85103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85105         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85106         large parameters.
85108         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85110         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85111         'err' in the ifdef scope in which it is actually used.
85113         * nss/nss_db/db-init.c: Include string.h
85115 2012-03-12  David S. Miller  <davem@davemloft.net>
85117         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85118         masking out of the most significant byte of random value used.
85119         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85120         Fix coding style in previous change.
85122         * sysdeps/unix/sysv/linux/kernel-features.h
85123         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85124         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85125         expression.
85126         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85127         later.
85129 2012-03-11  David S. Miller  <davem@davemloft.net>
85131         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85132         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85133         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85134         for 'resultvar' otherwise things get truncated on 64-bit.
85136         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85137         Fix masking out of the most significant byte of random value used.
85139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85141 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85145 2012-03-09  David S. Miller  <davem@davemloft.net>
85147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85148         variables with appropriate CPP guards.
85149         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85150         from the frame pointer, not the stack pointer.  Correct layout
85151         comments.  Fix test on resulting framesize and the management of
85152         the outregs buffer for pltexit.  Preserve floating point return
85153         values across _dl_call_pltexit call.
85154         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85155         framesize and the management of the outregs buffer for pltexit.
85156         Preserve floating point return values across _dl_call_pltexit
85157         call.
85158         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85159         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85160         (la_sparc64_gnu_pltexit): New functions.
85161         (print_exit): Fix format string for return register value.
85163 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85165         * sunrpc/Makefile (others): Add rpcgen.
85166         ($(objpfx)rpcgen): Remove special build rule and dependency on
85167         libc.
85168         * sunrpc/rpcgen.c: New file.
85170 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85172         [BZ #13673]
85173         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85174         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85175         * sysdeps/i386/crti.S: Likewise.
85176         * sysdeps/i386/crtn.S: Likewise.
85177         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85178         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85179         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85180         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85181         * sysdeps/sh/crti.S: Likewise.
85182         * sysdeps/sh/crtn.S: Likewise.
85183         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85185         [BZ #13673]
85186         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85187         with URL.
85188         * locale/programs/locfile-kw.gperf: Likewise.
85189         * locale/programs/charmap-kw.h: Regenerated.
85190         * locale/programs/locfile-kw.h: Likewise.
85192         [BZ #13673]
85193         * intl/plural.y: Replace FSF snail mail address with URL.
85194         * intl/plural.c: Regenerated.
85196 2012-03-09  Richard Henderson  <rth@twiddle.net>
85198         * include/math_private.h: Remove file.
85199         * math/math_private.h: Move file ...
85200         * sysdeps/generic/math_private.h: ... here.
85202         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85203         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85204         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85206         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85207         and <math_private.h>.
85208         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85209         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85210         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85211         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85212         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85213         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85214         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85215         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85216         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85217         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85219         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85220         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85221         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85222         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85223         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85224         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85225         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85226         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85227         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85228         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85229         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85230         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85231         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85232         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85233         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85234         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85235         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85236         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85237         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85238         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85240         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85241         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85242         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85243         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85244         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85245         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85246         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85247         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85248         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85249         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85250         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85251         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85252         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85253         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85254         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85255         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85256         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85257         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85258         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85259         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85260         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85261         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85262         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85263         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85264         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85265         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85266         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85267         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85268         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85269         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85271         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85272         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85273         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85274         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85275         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85276         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85277         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85278         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85279         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85280         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85281         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85282         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85286         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85287         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85288         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85289         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85291         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85292         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85295         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85296         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85297         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85298         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85299         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85300         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85301         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85302         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85303         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85304         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85305         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85306         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85307         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85308         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85309         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85310         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85311         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85312         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85313         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85314         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85315         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85316         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85318         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85319         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85320         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85321         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85322         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85323         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85324         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85325         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85326         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85327         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85328         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85329         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85330         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85331         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85332         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85333         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85334         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85335         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85336         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85337         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85338         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85339         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85340         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85341         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85342         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85343         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85344         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85345         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85346         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85347         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85348         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85349         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85350         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85351         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85352         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85353         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85354         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85355         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85356         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85357         * sysdeps/ieee754/k_standard.c: Likewise.
85358         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85359         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85360         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85361         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85362         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85363         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85364         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85365         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85366         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85367         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85368         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85369         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85370         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85371         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85372         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85373         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85374         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85375         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85376         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85377         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85378         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85379         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85380         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85381         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85382         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85383         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85384         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85385         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85387         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85388         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85390         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85391         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85392         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85393         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85396         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85398         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85399         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85401         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85402         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85403         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85404         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85405         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85406         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85407         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85408         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85409         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85410         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85411         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85412         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85413         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85414         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85415         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85416         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85417         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85418         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85419         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85420         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85421         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85422         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85424         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85425         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85428         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85430         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85431         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85432         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85433         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85434         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85435         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85436         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85437         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85438         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85439         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85440         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85441         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85442         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85443         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85444         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85445         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85446         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85447         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85448         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85449         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85450         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85451         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85452         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85453         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85454         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85455         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85456         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85457         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85458         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85459         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85460         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85461         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85462         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85465         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85466         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85467         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85468         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85469         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85470         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85471         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85472         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85473         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85474         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85475         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85476         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85477         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85478         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85479         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85480         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85481         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85482         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85483         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85484         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85485         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85486         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85487         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85488         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85489         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85490         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85491         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85492         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85493         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85494         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85495         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85496         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85497         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85498         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85499         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85500         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85501         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85502         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85503         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85504         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85505         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85506         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85507         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85508         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85509         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85510         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85511         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85512         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85513         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85514         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85515         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85516         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85517         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85518         * sysdeps/ieee754/s_lib_version.c: Likewise.
85519         * sysdeps/ieee754/s_matherr.c: Likewise.
85520         * sysdeps/ieee754/s_signgam.c: Likewise.
85521         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85522         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85523         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85524         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85525         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85526         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85527         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85528         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85529         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85530         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85531         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85532         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85533         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85534         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85535         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85536         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85537         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85538         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85539         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85540         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85541         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85543 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85545         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85546         * sunrpc/rpc_main.c: Likewise.
85547         * sunrpc/rpc_svcout.c: Likewise.
85549 2012-03-09  David S. Miller  <davem@davemloft.net>
85551         * include/math_private.h: New file.
85553 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85555         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85556         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85557         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85558         from <bits/socket_type.h>.
85559         (enum __socket_type): Don't define here.
85560         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85562         bits/socket_type.h.
85564         [BZ #13566]
85565         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85566         checking __USE_GNU.
85568         * Makerules ($(inst_includedir)/%.h): New rule.
85569         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85570         (install-others): Remove variable setting.
85571         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85573 2012-03-08  Richard Henderson  <rth@twiddle.net>
85575         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85576         from macro to inline function; merge with the
85577         !__LIBC_INTERNAL_MATH_INLINES version.
85578         (__ieee754_sqrtf): Likewise.
85580         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85581         to inline function.
85582         (__rintf, __floor, __floorf): Likewise.
85584         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85585         macro to inline function.
85586         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85589         not <math/math_private.h>.
85591 2012-03-08  David S. Miller  <davem@davemloft.net>
85593         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85594         copyright year.
85595         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85597 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85599         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85600         normalization.
85601         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85602         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85604 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85606         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85607         be defined individually, they must be defined as a block.  Define
85608         S for printing a string instead of hidint the different by using a
85609         macro for adding the 'l'.
85610         * stdio-common/tst-fphex-wide.c: Adjust.
85612 2012-03-07  Marek Polacek  <polacek@redhat.com>
85614         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85616 2012-03-08  Marek Polacek  <polacek@redhat.com>
85618         [BZ #13806]
85619         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85620         * stdio-common/tst-fphex.c: Define a few macros to make the
85621         test reusable.  Use them.
85622         * stdio-common/tst-fphex-wide.c: New file.
85624 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85626         [BZ #6911]
85627         * manual/macros.texi (gnusystems): New macro.
85628         (nongnusystems): Likewise.
85629         (gnulinuxhurdsystems): Likewise.
85630         (gnuhurdsystems): Likewise..
85631         (gnulinuxsystems): Likewise.
85632         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85633         variants of the GNU system, not "GNU system".
85634         * manual/conf.texi: Likewise.
85635         * manual/errno.texi: Likewise.  Update example of errno macro
85636         expansion.
85637         * manual/filesys.texi: Likewise.
85638         (getumask): Document as specific to GNU/Hurd.
85639         * manual/install.texi: Likewise.  Reword some references to
85640         GNU/Linux.
85641         * manual/intro.texi: Likewise.
85642         * manual/io.texi: Likewise.
85643         (File Name Portability): Detail which constraints are inapplicable
85644         to all GNU systems and which are only inapplicable to GNU/Hurd.
85645         * manual/job.texi: Likewise.
85646         * manual/llio.texi: Likewise.
85647         (O_NOCTTY): Document as present on GNU/Linux.
85648         * manual/maint.texi: Likewise.
85649         * manual/memory.texi: Likewise.
85650         * manual/pattern.texi: Likewise.
85651         * manual/pipe.texi: Likewise.
85652         * manual/process.texi: Likewise.
85653         * manual/resource.texi: Likewise.
85654         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85655         child on GNU/Hurd.
85656         * manual/setjmp.texi: Likewise.
85657         * manual/signal.texi: Likewise.
85658         * manual/startup.texi: Likewise.
85659         * manual/stdio.texi: Likewise.
85660         * manual/terminal.texi: Likewise.
85661         (ONLCR): Document as POSIX.
85662         (OXTABS): Document availability on GNU/Linux as XTABS.
85663         (ONOEOT): Document availability separately from other bits.
85664         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85665         * manual/time.texi: Likewise.
85666         * manual/users.texi: Likewise.
85667         * INSTALL: Regenerated.
85668         * sysdeps/gnu/errlist.c: Regenerated.
85670         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85671         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85672         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85673         puts.
85674         * configure: Regenerated.
85676 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85678         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85679         default includes instead of AC_HEADER_CHECK.
85680         * sysdeps/i386/configure: Regenerated.
85682         [BZ #10716]
85683         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85684         * math/s_cacoshf.c (__cacoshf): Likewise.
85685         * math/s_cacoshl.c (__cacoshl): Likewise.
85686         * math/s_casinh.c (__casinh): Set signs of result from argument.
85687         * math/s_casinhf.c (__casinhf): Likewise.
85688         * math/s_casinhl.c (__casinhl): Likewise.
85689         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85690         (casinh_test): Add more tests.
85691         * sysdeps/i386/fpu/libm-test-ulps: Update.
85692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85694 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85696         * po/zh_TW.po: Update from translation team.
85698         * login/Makefile (distribute): Remove variable.
85699         * catgets/Makefile: Likewise.
85700         * mach/Makefile: Likewise.
85701         * malloc/Makefile: Likewise.
85702         * misc/Makefile: Likewise.
85703         * iconv/Makefile: Likewise.
85704         * nscd/Makefile: Likewise.
85705         * hurd/Makefile: Likewise.
85706         * manual/Makefile: Likewise.
85707         * locale/Makefile: Likewise.
85708         * intl/Makefile: Likewise.
85709         * conform/Makefile: Likewise.
85710         * nss/Makefile: Likewise.
85711         * time/Makefile: Likewise.
85712         * soft-fp/Makefile: Likewise.
85713         * dirent/Makefile: Likewise.
85714         * gmon/Makefile: Likewise.
85715         * po/Makefile: Likewise.
85716         * rt/Makefile: Likewise.
85717         * socket/Makefile: Likewise.
85718         * math/Makefile: Likewise.
85719         * signal/Makefile: Likewise.
85720         * debug/Makefile: Likewise.
85721         * elf/Makefile: Likewise.
85722         * timezone/Makefile: Likewise.
85723         * stdlib/Makefile: Likewise.
85724         * iconvdata/Makefile: Likewise.
85725         * sunrpc/Makefile: Likewise.
85726         * io/Makefile: Likewise.
85727         * argp/Makefile: Likewise.
85728         * inet/Makefile: Likewise.
85729         * hesiod/Makefile: Likewise.
85730         * grp/Makefile: Likewise.
85731         * csu/Makefile: Likewise.
85732         * wctype/Makefile: Likewise.
85733         * crypt/Makefile: Likewise.
85734         * libio/Makefile: Likewise.
85735         * string/Makefile: Likewise.
85736         * nis/Makefile: Likewise.
85737         * resolv/Makefile: Likewise.
85738         * stdio-common/Makefile: Likewise.
85739         * wcsmbs/Makefile: Likewise.
85740         * dlfcn/Makefile: Likewise.
85741         * posix/Makefile: Likewise.
85743         [BZ #6959]
85744         * timezone/Makefile: Don't install timezone files, just the programs
85745         and scripts.
85747 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85749         * nss/databases.def: Add missing gshadow entry.
85751         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85753 2012-03-06  Marek Polacek  <polacek@redhat.com>
85755         [BZ #13726]
85756         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85757         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85758         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85759         * stdio-common/tst-long-dbl-fphex.c: New file.
85761 2012-03-06  David S. Miller  <davem@davemloft.net>
85763         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85764         (set_obp_int): New function.
85765         (get_obp_int): New function.
85766         (__get_clockfreq_via_dev_openprom): Likewise.
85767         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85768         Avoid unused variable warnings on 'val' and use builtin_expect.
85769         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85770         __builtin_expect.
85771         (INLINE_CLONE_SYSCALL): Likewise.
85773 2012-03-05  David S. Miller  <davem@davemloft.net>
85775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85777 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85781         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85782         only for |x| >= 40.
85783         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85785 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85787         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85788         Replace gettimeofday with __vdso_gettimeofday.
85790         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85791         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85792         __vdso_clock_gettime and __vdso_getcpu.
85794         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85795         time with __vdso_time.
85797 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85799         * manual/lang.texi (size_t): Note types to which size_t may be
85800         equivalent with the GNU C Library, but do not describe when
85801         differences between them are significant.
85803 2012-03-05  Andreas Jaeger  <aj@suse.de>
85805         * sysdeps/i386/fpu/libm-test-ulps: Update.
85807 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85809         [BZ #3976]
85810         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85811         (__ieee754_pow): Save and restore rounding mode and use
85812         round-to-nearest for main computations.
85813         * math/libm-test.inc (pow_test_tonearest): New function.
85814         (pow_test_towardzero): Likewise.
85815         (pow_test_downward): Likewise.
85816         (pow_test_upward): Likewise.
85817         (main): Call the new functions.
85818         * sysdeps/i386/fpu/libm-test-ulps: Update.
85819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85821         [BZ #3976]
85822         * math/libm-test.inc (cosh_test_tonearest): New function.
85823         (cosh_test_towardzero): Likewise.
85824         (cosh_test_downward): Likewise.
85825         (cosh_test_upward): Likewise.
85826         (sinh_test_tonearest): Likewise.
85827         (sinh_test_towardzero): Likewise.
85828         (sinh_test_downward): Likewise.
85829         (sinh_test_upward): Likewise.
85830         (main): Call the new functions.
85831         * sysdeps/i386/fpu/libm-test-ulps: Update.
85832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85834 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85836         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85837         default stack guard is set in last bytes.
85838         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85840 2012-03-05  Kees Cook  <keescook@chromium.org>
85842         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85844         [BZ #13656]
85845         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85846         possibly allocate from heap instead of stack.
85847         * stdio-common/bug-vfprintf-nargs.c: New file.
85848         * stdio-common/Makefile (tests): Add nargs overflow test.
85850 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85854 2012-03-03  Marek Polacek  <polacek@redhat.com>
85856         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85857         * math/math_private.h: Likewise.
85858         * stdlib/tst-strtod.c: Likewise.
85859         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85860         * sysdeps/x86_64/bits/atomic.h: Likewise.
85862 2012-03-02  David S. Miller  <davem@davemloft.net>
85864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85868         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85869         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85870         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85871         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85873 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85875         [BZ #13792]
85876         * manual/examples/README: New file, says the example source files
85877         can be used under GPL>=2.
85878         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85879         line containing just "*/".
85880         * manual/examples/add.c: Add copyright header (GPL>=2).
85881         * manual/examples/argp-ex1.c: Likewise.
85882         * manual/examples/argp-ex2.c: Likewise.
85883         * manual/examples/argp-ex3.c: Likewise.
85884         * manual/examples/argp-ex4.c: Likewise.
85885         * manual/examples/atexit.c: Likewise.
85886         * manual/examples/db.c: Likewise.
85887         * manual/examples/dir.c: Likewise.
85888         * manual/examples/dir2.c: Likewise.
85889         * manual/examples/execinfo.c: Likewise.
85890         * manual/examples/filecli.c: Likewise.
85891         * manual/examples/filesrv.c: Likewise.
85892         * manual/examples/fmtmsgexpl.c: Likewise.
85893         * manual/examples/genpass.c: Likewise.
85894         * manual/examples/inetcli.c: Likewise.
85895         * manual/examples/inetsrv.c: Likewise.
85896         * manual/examples/isockad.c: Likewise.
85897         * manual/examples/longopt.c: Likewise.
85898         * manual/examples/memopen.c: Likewise.
85899         * manual/examples/memstrm.c: Likewise.
85900         * manual/examples/mkfsock.c: Likewise.
85901         * manual/examples/mkisock.c: Likewise.
85902         * manual/examples/mygetpass.c: Likewise.
85903         * manual/examples/pipe.c: Likewise.
85904         * manual/examples/popen.c: Likewise.
85905         * manual/examples/rprintf.c: Likewise.
85906         * manual/examples/search.c: Likewise.
85907         * manual/examples/select.c: Likewise.
85908         * manual/examples/setjmp.c: Likewise.
85909         * manual/examples/sigh1.c: Likewise.
85910         * manual/examples/sigusr.c: Likewise.
85911         * manual/examples/stpcpy.c: Likewise.
85912         * manual/examples/strdupa.c: Likewise.
85913         * manual/examples/strftim.c: Likewise.
85914         * manual/examples/strncat.c: Likewise.
85915         * manual/examples/subopt.c: Likewise.
85916         * manual/examples/swapcontext.c: Likewise.
85917         * manual/examples/termios.c: Likewise.
85918         * manual/examples/testopt.c: Likewise.
85919         * manual/examples/testpass.c: Likewise.
85920         * manual/examples/timeval_subtract.c: Likewise.
85922         [BZ #13792]
85923         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85924         function to ...
85925         * manual/timeval_subtract.c.texi: ... here, new file.
85927 2012-03-02  David S. Miller  <davem@davemloft.net>
85929         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85931 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85933         [BZ #3976]
85934         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85935         (__sin): Save and restore rounding mode and use round-to-nearest
85936         for all computations.
85937         (__cos): Save and restore rounding mode and use round-to-nearest
85938         for all computations.
85939         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85940         <fenv.h>.
85941         (tan): Save and restore rounding mode and use round-to-nearest for
85942         all computations.
85943         * math/libm-test.inc (cos_test_tonearest): New function.
85944         (cos_test_towardzero): Likewise.
85945         (cos_test_downward): Likewise.
85946         (cos_test_upward): Likewise.
85947         (sin_test_tonearest): Likewise.
85948         (sin_test_towardzero): Likewise.
85949         (sin_test_downward): Likewise.
85950         (sin_test_upward): Likewise.
85951         (tan_test_tonearest): Likewise.
85952         (tan_test_towardzero): Likewise.
85953         (tan_test_downward): Likewise.
85954         (tan_test_upward): Likewise.
85955         (main): Call the new functions.
85956         * sysdeps/i386/fpu/libm-test-ulps: Update.
85957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85959         [BZ #10135]
85960         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85961         small n, then large n, before computing and testing k+n.
85962         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85964         Likewise.
85965         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85966         Likewise.
85967         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85968         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85969         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85970         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85971         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85972         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85973         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85974         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85975         * math/libm-test.inc (scalbn_test): Add more tests.
85976         (scalbln_test): Likewise.
85978         * manual/filesys.texi (mode_t): Describe constraints on size and
85979         signedness, not exact equivalence to a particular type.
85980         (ino_t): Likewise.
85981         (ino64_t): Likewise.
85982         (dev_t): Likewise.
85983         (nlink_t): Likewise.
85984         (blkcnt_t): Likewise.
85985         (blkcnt64_t): Likewise.
85986         * manual/llio.texi (off_t): Likewise.
85988         [BZ #3976]
85989         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85990         (__ieee754_exp): Save and restore rounding mode and use
85991         round-to-nearest for all computations.
85992         * math/libm-test.inc (exp_test_tonearest): New function.
85993         (exp_test_towardzero): Likewise.
85994         (exp_test_downward): Likewise.
85995         (exp_test_upward): Likewise.
85996         (main): Call the new functions.
85997         * sysdeps/i386/fpu/libm-test-ulps: Update.
85998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86000 2012-03-01  Chris Demetriou  <cgd@google.com>
86002         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86003         have predictable order.
86005 2012-03-01  David S. Miller  <davem@davemloft.net>
86007         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86009         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86010         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86011         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86012         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86014         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86015         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86016         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86018         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86019         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86020         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86021         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86022         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86026         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86027         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86028         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86030         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86031         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86032         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86033         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86034         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86035         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86036         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86037         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86038         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86039         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86040         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86041         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86043         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86044         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86046         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86047         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86048         * sysdeps/sparc/elf/configure: Regenerated.
86050 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86052         * configure.in (AS, LD): Require binutils 2.20 or later.
86053         * configure: Regenerated.
86054         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86055         as required minimum version.
86056         * INSTALL: Regenerated.
86058         [BZ #2541]
86059         [BZ #4108]
86060         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86061         before squaring exponent.
86062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86063         bottom long double and 27 bits of top long double before squaring
86064         exponent.
86065         * math/libm-test.inc (erfc_test): Add more tests.
86066         * sysdeps/i386/fpu/libm-test-ulps: Update.
86067         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86070 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86072         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86073         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86074         containing bit-fields.
86075         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86076         * soft-fp/single.h (_FP_UNION_S): Likewise.
86077         * soft-fp/double.h (_FP_UNION_D): Likewise.
86079 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86081         [BZ #13786]
86082         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86083         not include ../strcmp.S.
86084         [USE_AS_STRNCASECMP_L]: Likewise.
86085         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86086         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86087         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86088         (__strncasecmp_l_ia32): Define as alias to
86089         __strncasecmp_l_nonascii.
86091         [BZ #5794]
86092         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86093         * sysdeps/i386/fpu/libm-test-ulps: Update.
86094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86096         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86099 2012-02-29  Jeff Law  <law@redhat.com>
86101         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86102         out of bounds read.
86104 2012-02-29  Marek Polacek  <polacek@redhat.com>
86106         [BZ #13706]
86107         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86108         * elf/Makefile: Add rules to run tst-unused-dep.out.
86110 2012-02-28  David S. Miller  <davem@davemloft.net>
86112         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86113         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86114         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86115         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86116         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86117         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86119 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86121         * math/libm-test.inc (llround_test): Move one test from
86122         lround_test.  Use TEST_f_L in moved test.
86123         (lround_test): Move misplaced test to llround_test.  Add testcase
86124         from bug 2561.
86126 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86128         * sysdeps/x86_64/fpu/e_expf.S: New file.
86129         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86131 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86133         [BZ #13637]
86134         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86135         of remain_len that may cause incomplete multi-byte character and
86136         false match.
86137         * posix/bug-regex33.c: New file.
86138         * posix/Makefile (tests): Add bug-regex33.
86140 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86142         * manual/macros.texi: New file.
86143         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86144         * manual/libc.texinfo: Include macros.texi.
86145         * manual/creatute.texi: Likewise.
86146         * manual/install.texi: Likewise.
86147         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86148         @glibcadj{} in references to the GNU C Library.
86149         * manual/charset.texi: Likewise.
86150         * manual/conf.texi: Likewise.
86151         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86152         when not using those macros.
86153         * manual/creature.texi: Likewise.
86154         * manual/crypt.texi: Likewise.
86155         * manual/errno.texi: Likewise.
86156         * manual/filesys.texi: Likewise.
86157         * manual/header.texi: Likewise.
86158         * manual/install.texi: Likewise.
86159         * manual/intro.texi: Likewise.
86160         * manual/io.texi: Likewise.
86161         * manual/job.texi: Likewise.
86162         * manual/lang.texi: Likewise.
86163         * manual/libc.texiinfo: Likewise.
86164         * manual/llio.texi: Likewise.
86165         * manual/locale.texi: Likewise.
86166         * manual/maint.texi: Likewise.
86167         * manual/math.texi: Likewise.
86168         * manual/memory.texi: Likewise.
86169         * manual/message.texi: Likewise.
86170         * manual/nss.texi: Likewise.
86171         * manual/pattern.texi: Likewise.
86172         * manual/process.texi: Likewise.
86173         * manual/resource.texi: Likewise.
86174         * manual/search.texi: Likewise.
86175         * manual/setjmp.texi: Likewise.
86176         * manual/signal.texi: Likewise.
86177         * manual/socket.texi: Likewise.
86178         * manual/startup.texi: Likewise.
86179         * manual/stdio.texi: Likewise.
86180         * manual/string.texi: Likewise.
86181         * manual/sysinfo.texi: Likewise.
86182         * manual/syslog.texi: Likewise.
86183         * manual/terminal.texi: Likewise.
86184         * manual/time.texi: Likewise.
86185         * manual/users.texi: Likewise.
86186         * INSTALL: Regenerated.
86187         * NOTES: Regenerated.
86188         * sysdeps/gnu/errlist.c: Regenerated.
86190 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86192         * include/dirent.h: Include <dirstream.h> before
86193         <dirent/dirent.h>.
86195 2012-02-28  David S. Miller  <davem@davemloft.net>
86197         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86198         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86199         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86200         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86202 2012-02-27  David S. Miller  <davem@davemloft.net>
86204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86206         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86207         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86210         frame pointer instead of stack pointer relative arg slot.
86211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86212         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86213         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86215 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86217         [BZ #3992]
86218         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86220 2012-02-27  David S. Miller  <davem@davemloft.net>
86222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86226         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86227         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86228         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86229         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86231 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86233         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86234         later.  Allow versions 5-9.
86235         * configure: Regenerated.
86236         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86237         required minimum version and 4.6 as recommended version.  Do not
86238         mention bugs in GCC 2.7 and 2.8.
86239         * INSTALL: Regenerated.
86241 2012-02-27  David S. Miller  <davem@davemloft.net>
86243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86247         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86248         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86249         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86250         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86252         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86253         manipulate bits before adding and subtracting TWO112[sx].
86254         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86256 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86258         [BZ #13775]
86259         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86260         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86261         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86262         being in POSIX, because they are in 1003.1-2008.
86264         * rt/tst-aio.c: Include <fcntl.h>.
86265         * rt/tst-aio7.c: Likewise.
86266         * rt/tst-aio64.c: Likewise.
86268         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86270 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86272         * manual/install.texi (--with-headers): Describe headers as
86273         interface headers, not private headers.
86274         (Specific advice for GNU/Linux systems): Describe use of headers
86275         from "make headers_install", not private headers from older
86276         kernels.
86277         * INSTALL: Regenerated.
86278         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86279         Change to 2.6.19.
86280         * sysdeps/unix/sysv/linux/configure: Regenerated.
86282         * manual/llio.texi (fclean): Remove documentation.
86284         * manual/Makefile (libc-texi-generated): New variable.  Include
86285         version.texi.
86286         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86287         $(libc-texi-generated), not duplicated list of files.
86288         (version.texi, stamp-version): New rules.
86289         (realclean): Remove $(libc-texi-generated), not individual files
86290         from that list.  Do not remove dir-add.texinfo.
86291         * manual/libc.texinfo: Comment out uses of edition numbers and
86292         references to printed manual.  Remove last-updated dates.
86293         (EDITION): Comment out.
86294         (ISBN): Likewise.
86295         (VERSION, UPDATED): Remove.
86296         (version.texi): Include.
86298 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86300         * sysdeps/posix/spawni.c: Include <signal.h>.
86301         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86302         * sysdeps/pthread/aio_fsync.c: Likewise.
86304 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86306         * conform/Makefile (tests): Run only when not cross-compiling and
86307         when fast-check is not defined.
86309         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86310         * conform/data/limits.h-data: Fixes for POSIX2008.
86311         * conform/run-conformtest.sh: Run all tests.
86312         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86313         headers.
86314         * include/bits/dlfcn.h: Likewise.
86315         * include/langinfo.h: Likewise.
86316         * include/monetary.h: Likewise.
86317         * include/sys/poll.h: Likewise.
86319         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86320         for __USE_GNU.
86321         * posix/spawn.h: Define __need_sigset_t.
86322         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86323         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86324         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86325         to get sigevent_t only.
86326         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86327         only for __USE_GNU.
86328         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86329         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86330         process_vm_writev only for __USE_GNU.
86331         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86333         * conform/Makefile: For now ignore errors from run-conformtest.
86334         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86335         POSIX to avoid namespace pollution.  Don't prepend headers.
86336         * conform/data/aio.h-data: Fixes for POSIX testing.
86337         * conform/data/fcntl.h-data: Likewise.
86338         * conform/data/glob.h-data: Likewise.
86339         * conform/data/grp.h-data: Likewise.
86340         * conform/data/pthread.h-data: Likewise.
86341         * conform/data/pwd.h-data: Likewise.
86342         * conform/data/signal.h-data: Likewise.
86343         * conform/data/spawn.h-data: Likewise.
86344         * conform/data/stdio.h-data: Likewise.
86345         * conform/data/stdlib.h-data: Likewise.
86346         * conform/data/stropts.h-data: Likewise.
86347         * conform/data/sys/mman.h-data: Likewise.
86348         * conform/data/sys/stat.h-data: Likewise.
86349         * conform/data/sys/types.h-data: Likewise.
86350         * conform/data/sys/wait.h-data: Likewise.
86351         * conform/data/time.h-data: Likewise.
86352         * conform/data/unistd.h-data: Likewise.
86353         * conform/data/utime.h-data: Likewise.
86355         * io/sys/stat.h: fchmod was always in POSIX.
86356         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86357         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86358         * rt/aio.h: Define __need_timespec before including <time.h>.
86359         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86360         struct.  Add forward declaration of pthread_attr_t and use it in
86361         sigevent.
86362         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86364         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86365         always remove CLK_TCK definition.
86367 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86369         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86371 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86373         * conform/run-conformtest.sh: New file.
86374         * conform/Makefile: Run run-conformtest for tests.
86375         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86376         support.
86378         * conform/data/uchar.h-data: New file.
86379         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86380         * conform/data/arpa/inet.h-data: Likewise.
86381         * conform/data/assert.h-data: Likewise.
86382         * conform/data/complex.h-data: Likewise.
86383         * conform/data/cpio.h-data: Likewise.
86384         * conform/data/ctype.h-data: Likewise.
86385         * conform/data/dirent.h-data: Likewise.
86386         * conform/data/dlfcn.h-data: Likewise.
86387         * conform/data/errno.h-data: Likewise.
86388         * conform/data/fcntl.h-data: Likewise.
86389         * conform/data/float.h-data: Likewise.
86390         * conform/data/fmtmsg.h-data: Likewise.
86391         * conform/data/fnmatch.h-data: Likewise.
86392         * conform/data/ftw.h-data: Likewise.
86393         * conform/data/glob.h-data: Likewise.
86394         * conform/data/grp.h-data: Likewise.
86395         * conform/data/iconv.h-data: Likewise.
86396         * conform/data/inttypes.h-data: Likewise.
86397         * conform/data/langinfo.h-data: Likewise.
86398         * conform/data/libgen.h-data: Likewise.
86399         * conform/data/limits.h-data: Likewise.
86400         * conform/data/locale.h-data: Likewise.
86401         * conform/data/math.h-data: Likewise.
86402         * conform/data/monetary.h-data: Likewise.
86403         * conform/data/mqueue.h-data: Likewise.
86404         * conform/data/ndbm.h-data: Likewise.
86405         * conform/data/net/if.h-data: Likewise.
86406         * conform/data/netdb.h-data: Likewise.
86407         * conform/data/netinet/in.h-data: Likewise.
86408         * conform/data/nl_types.h-data: Likewise.
86409         * conform/data/poll.h-data: Likewise.
86410         * conform/data/pthread.h-data: Likewise.
86411         * conform/data/pwd.h-data: Likewise.
86412         * conform/data/regex.h-data: Likewise.
86413         * conform/data/sched.h-data: Likewise.
86414         * conform/data/search.h-data: Likewise.
86415         * conform/data/semaphore.h-data: Likewise.
86416         * conform/data/setjmp.h-data: Likewise.
86417         * conform/data/signal.h-data: Likewise.
86418         * conform/data/spawn.h-data: Likewise.
86419         * conform/data/stdarg.h-data: Likewise.
86420         * conform/data/stdio.h-data: Likewise.
86421         * conform/data/stdlib.h-data: Likewise.
86422         * conform/data/string.h-data: Likewise.
86423         * conform/data/strings.h-data: Likewise.
86424         * conform/data/stropts.h-data: Likewise.
86425         * conform/data/sys/ipc.h-data: Likewise.
86426         * conform/data/sys/mman.h-data: Likewise.
86427         * conform/data/sys/msg.h-data: Likewise.
86428         * conform/data/sys/resource.h-data: Likewise.
86429         * conform/data/sys/select.h-data: Likewise.
86430         * conform/data/sys/sem.h-data: Likewise.
86431         * conform/data/sys/shm.h-data: Likewise.
86432         * conform/data/sys/socket.h-data: Likewise.
86433         * conform/data/sys/stat.h-data: Likewise.
86434         * conform/data/sys/statvfs.h-data: Likewise.
86435         * conform/data/sys/time.h-data: Likewise.
86436         * conform/data/sys/timeb.h-data: Likewise.
86437         * conform/data/sys/times.h-data: Likewise.
86438         * conform/data/sys/types.h-data: Likewise.
86439         * conform/data/sys/uio.h-data: Likewise.
86440         * conform/data/sys/un.h-data: Likewise.
86441         * conform/data/sys/utsname.h-data: Likewise.
86442         * conform/data/sys/wait.h-data: Likewise.
86443         * conform/data/syslog.h-data: Likewise.
86444         * conform/data/tar.h-data: Likewise.
86445         * conform/data/termios.h-data: Likewise.
86446         * conform/data/utime.h-data: Likewise.
86447         * conform/data/utmpx.h-data: Likewise.
86448         * conform/data/varargs.h-data: Likewise.
86449         * conform/data/wchar.h-data: Likewise.
86450         * conform/data/wctype.h-data: Likewise.
86451         * conform/data/wordexp.h-data: Likewise.
86453         * include/stropts.h: New file.
86454         * include/uchar.h: New file.
86455         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86456         * include/assert.h: Likewise.
86457         * include/ctype.h: Likewise.
86458         * include/dirent.h: Likewise.
86459         * include/dlfcn.h: Likewise.
86460         * include/fcntl.h: Likewise.
86461         * include/fnmatch.h: Likewise.
86462         * include/glob.h: Likewise.
86463         * include/grp.h: Likewise.
86464         * include/libio.h: Likewise.
86465         * include/locale.h: Likewise.
86466         * include/math.h: Likewise.
86467         * include/net/if.h: Likewise.
86468         * include/netdb.h: Likewise.
86469         * include/netinet/in.h: Likewise.
86470         * include/pthread.h: Likewise.
86471         * include/pwd.h: Likewise.
86472         * include/regex.h: Likewise.
86473         * include/sched.h: Likewise.
86474         * include/search.h: Likewise.
86475         * include/setjmp.h: Likewise.
86476         * include/signal.h: Likewise.
86477         * include/stdio.h: Likewise.
86478         * include/stdlib.h: Likewise.
86479         * include/string.h: Likewise.
86480         * include/sys/cdefs.h: Likewise.
86481         * include/sys/mman.h: Likewise.
86482         * include/sys/msg.h: Likewise.
86483         * include/sys/resource.h: Likewise.
86484         * include/sys/select.h: Likewise.
86485         * include/sys/socket.h: Likewise.
86486         * include/sys/stat.h: Likewise.
86487         * include/sys/statvfs.h: Likewise.
86488         * include/sys/time.h: Likewise.
86489         * include/sys/times.h: Likewise.
86490         * include/sys/uio.h: Likewise.
86491         * include/sys/utsname.h: Likewise.
86492         * include/sys/wait.h: Likewise.
86493         * include/termios.h: Likewise.
86494         * include/time.h: Likewise.
86495         * include/ulimit.h: Likewise.
86496         * include/unistd.h: Likewise.
86497         * include/utime.h: Likewise.
86498         * include/wchar.h: Likewise.
86499         * include/wctype.h: Likewise.
86500         * include/wordexp.h: Likewise.
86502         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86504         * time/time.h: TIME_UTC must be a macro.
86505         Make timespec_get available for ISO C11 only as well.
86507 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86509         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86510         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86512 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86514         * configure.in: Use -o not -a in test for unsupported multi-arch.
86516 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86518         * manual/texinfo.tex: Update to version 2012-01-19.16.
86520 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86522         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86524 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86526         [BZ #13738]
86527         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86528         * manual/fdl-1.3.texi: New file.
86529         * manual/fdl-1.1.texi: File removed.
86531         [BZ #13738]
86532         * manual/libc.texinfo (FDL_VERSION): New @set.
86533         Use it for mention of FDL in cover text.
86534         (Documentation License): Use it in @include file name.
86536 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86537             Roland McGrath  <roland@hack.frob.com>
86539         [BZ #5461]
86540         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86541         (not LONG_LONG_MAX and LONG_LONG_MIN.
86542         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86543         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86544         name.
86545         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86547 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86549         [BZ #2547]
86550         [BZ #11365]
86551         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86552         manipulate bits before adding and subtracting TWO23[sx].
86553         * math/libm-test.inc (nearbyint_test): Add more tests.
86555 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86557         [BZ #2548]
86558         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86559         bits before adding and subtracting TWO23[sx].
86560         * math/libm-test.inc (rint_test): Add more tests.
86561         (rint_test_tonearest): Likewise.
86562         (rint_test_towardzero): Likewise.
86563         (rint_test_downward): Likewise.
86564         (rint_test_upward: Likewise.
86566 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86568         [BZ #10110]
86569         * include/stdc-predef.h: New file.  Extracted from features.h.
86570         * include/features.h: Include stdc-predef.h.
86571         * Makefile (headers): Add stdc-predef.h.
86572         * CONFORMANCE (Compiler limitations): Update.
86574 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86576         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86578 2012-02-21  David S. Miller  <davem@davemloft.net>
86580         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86581         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86583 2012-02-20  David S. Miller  <davem@davemloft.net>
86585         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86586         using a normal save/restore sequence, rather than allocating a
86587         dummy stack frame just to store a frame pointer and restore.
86588         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86590 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86592         * manual/install.texi: Fix stray word in line-wrapped comment.
86594 2012-02-20  David S. Miller  <davem@davemloft.net>
86596         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86597         both binutils and gcc support GOTDATA.
86599         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86600         "rd %pc" in the PIC register setup sequences.
86602         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86603         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86604         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86605         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86606         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86607         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86608         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86609         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86610         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86611         (SYSCALL_ERROR_HANDLER): Likewise.
86612         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86613         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86614         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86615         (SYSCALL_ERROR_HANDLER): Likewise.
86617         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86618         (HAVE_GCC_GOTDATA): New.
86619         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86620         relocation support in both binutils and gcc.
86621         * sysdeps/sparc/elf/configure: Regenerate.
86623         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86624         * sysdeps/sparc/sparc32/elf/configure: Delete.
86625         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86626         * sysdeps/sparc/sparc64/elf/configure: Delete.
86627         * sysdeps/sparc/elf/configure.in: New file.
86628         * sysdeps/sparc/elf/configure: Generate.
86630         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86631         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86632         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86633         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86634         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86636 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86638         * manual/install.texi: Do not mention specific glibc version
86639         numbers.
86640         * manual/libc.texinfo (VERSION, UPDATED): Update.
86641         (@copying): Use @copyright{} and range of years.
86643 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86645         [BZ #13695]
86646         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86647         [crti.S not in sysdirs] (generated): Do not append.
86648         [crti.S not in sysdirs] (omit-deps): Likewise.
86649         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86650         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86651         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86652         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86653         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86654         Likewise.
86655         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86656         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86657         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86658         * csu/defs.awk: Remove file.
86659         * sysdeps/generic/initfini.c: Likewise.
86660         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86661         variable.
86662         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86663         Likewise.
86665 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86667         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86668         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86669         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86670         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86671         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86672         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86673         <bits/epoll.h>.
86674         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86675         (__EPOLL_PACKED): Define to empty if not defined by
86676         <bits/epoll.h>.
86677         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86678         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86679         bits/epoll.h.
86681 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86683         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86684         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86685         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86686         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86687         <bits/timerfd.h>.
86688         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86690         bits/timerfd.h.
86692 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86694         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86695         in C locale.
86696         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86697         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86698         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86701 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86703         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86704         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86706 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86708         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86709         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86710         defined.
86711         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86712         Likewise.
86713         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86714         entry for 2.16.
86716 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86718         * math/w_acos.c: Use non-signaling floating-point comparisons.
86719         * math/w_acosf.c: Likewise.
86720         * math/w_acosh.c: Likewise.
86721         * math/w_acoshf.c: Likewise.
86722         * math/w_acoshl.c: Likewise.
86723         * math/w_acosl.c: Likewise.
86724         * math/w_asin.c: Likewise.
86725         * math/w_asinf.c: Likewise.
86726         * math/w_asinl.c: Likewise.
86727         * math/w_atanh.c: Likewise.
86728         * math/w_atanhf.c: Likewise.
86729         * math/w_atanhl.c: Likewise.
86730         * math/w_exp2.c: Likewise.
86731         * math/w_exp2f.c: Likewise.
86732         * math/w_exp2l.c: Likewise.
86733         * math/w_j0.c: Likewise.
86734         * math/w_j0f.c: Likewise.
86735         * math/w_j0l.c: Likewise.
86736         * math/w_j1.c: Likewise.
86737         * math/w_j1f.c: Likewise.
86738         * math/w_j1l.c: Likewise.
86739         * math/w_jn.c: Likewise.
86740         * math/w_jnf.c: Likewise.
86741         * math/w_log.c: Likewise.
86742         * math/w_log10.c: Likewise.
86743         * math/w_log10f.c: Likewise.
86744         * math/w_log10l.c: Likewise.
86745         * math/w_log2.c: Likewise.
86746         * math/w_log2f.c: Likewise.
86747         * math/w_log2l.c: Likewise.
86748         * math/w_logf.c: Likewise.
86749         * math/w_logl.c: Likewise.
86750         * math/w_sqrt.c: Likewise.
86751         * math/w_sqrtf.c: Likewise.
86752         * math/w_sqrtl.c: Likewise.
86753         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86754         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86755         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86756         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86757         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86759 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86761         [BZ #9739]
86762         * manual/string.texi (strnlen): Use correct parameter name in
86763         equivalent expression.
86765 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86767         [BZ #11174]
86768         * manual/users.texi (seteuid): Consistently use neweuid for
86769         argument name.
86771 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86773         [BZ #13704]
86774         * manual/nss.texi (Services in the NSS configuration): Correct
86775         list of services in example configuration file.
86777 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86779         [BZ #11322]
86780         * manual/arith.texi: Remove statements about negative zero
86781         behaving identically to zero.
86783 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86785         [BZ #5993]
86786         * manual/install.texi: Do not document upgrading from libc5.
86788 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86790         [BZ #4596]
86791         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86793 2012-02-18  David S. Miller  <davem@davemloft.net>
86795         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86796         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86797         %o7 across the call.
86798         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86799         instead.
86800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86801         SETUP_PIC_REG_LEAF.
86802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86803         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86804         * sysdeps/sparc/crtn.S: Likewise.
86806 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86808         * aout/Makefile: Remove.
86810 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86812         [BZ #13058]
86813         * manual/examples/argp-ex1.c (main): Format definition in GNU
86814         style.
86815         * manual/examples/argp-ex2.c (main): Likewise.
86816         * manual/examples/argp-ex3.c (main): Likewise.
86817         * manual/examples/argp-ex4.c (main): Likewise.
86818         * manual/examples/longopt.c (main): Use new-style prototype
86819         definition.
86820         * manual/examples/strncat.c (main): Specify return type and use
86821         (void) for arguments.
86822         * manual/examples/subopt.c (main): Use char **argv argument.
86824 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86826         [BZ #5077]
86827         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86828         rounding modes.
86830 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86832         [BZ #6907]
86833         * manual/string.texi (strchr): Change when strchrnul is
86834         recommended.
86836 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86838         [BZ #174]
86839         * manual/locale.texi (setlocale): Document LOCPATH.
86841 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86843         [BZ #10210]
86844         * manual/process.texi (execle): Move @dots{} before last argument.
86846 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86848         [BZ #12047]
86849         * manual/charset.texi (Generic Charset Conversion): Fix typo
86850         (LC_TYPE -> LC_CTYPE).
86852 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86854         [BZ #5805]
86855         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86856         (scalbnf): Likewise.
86857         (scalbnl): Likewise.
86858         (scalbln): Likewise.
86859         (scalblnf): Likewise.
86860         (scalblnl): Likewise.
86861         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86862         (vwarnx): Likewise.
86863         (verr): Likewise.
86864         (verrx): Likewise.
86865         * manual/filesys.texi (telldir): Use braces around return type.
86866         * manual/llio.texi (mmap): Add space after comma.
86867         (mmap64): Likewise.
86868         * manual/math.texi (jn): Use @var{} on parameter names.
86869         (jnf): Likewise.
86870         (jnl): Likewise.
86871         (yn): Likewise.
86872         (ynf): Likewise.
86873         (ynl): Likewise.
86874         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86875         line.
86876         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86877         "...".
86878         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86879         (sched_get_priority_max): Likewise.
86880         * manual/signal.texi (sigvec): Add space after comma.
86881         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86882         names.
86883         (if_indextoname): Likewise.
86884         (if_freenameindex): Likewise.
86885         (sendto): Use ',' instead of '.' in prototype.
86886         * manual/startup.texi (syscall): Use @dots{} instead of literal
86887         "...".
86888         * manual/stdio.texi (__fpending): Separate initial words of
86889         paragraph from @deftypefun line.
86890         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86891         "...".
86892         (vsyslog): Use @var{} on parameter names.
86893         * manual/terminal.texi (stty): Use @var{} on parameter names.
86894         * manual/users.texi (getutmp): Use @var{} on parameter names.
86895         (getutmpx): Likewise.
86897 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86899         [BZ #6884]
86900         * manual/stdio.texi (fopen): Fix typos in description of
86901         ",ccs=STRING".
86903 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86905         [BZ #4026]
86906         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86907         get clock_id definition.
86909 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86911         [BZ #4822]
86912         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86913         (madvise): Cast every argument to void on its own.
86915 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86917         [BZ #9902]
86918         * manual/startup.texi (Exit Status): Fix typo.
86920 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86922         [BZ #10140]
86923         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86924         * manual/examples/argp-ex2.c: Likewise.
86925         * manual/examples/argp-ex3.c: Likewise.
86927 2012-02-16  Richard Henderson  <rth@redhat.com>
86929         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86930         * sysdeps/s390/s390-32/initfini.c: Remove.
86931         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86932         * sysdeps/s390/s390-64/initfini.c: Remove.
86934 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86936         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86937         compiler output for sysdeps/generic/initfini.c.
86938         * sysdeps/sh/elf/initfini.c: Remove file.
86940 2012-02-16  David S. Miller  <davem@davemloft.net>
86942         [BZ #11494]
86943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86945         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86946         * sysdeps/sparc/crti.S: New file.
86947         * sysdeps/sparc/crtn.S: New file.
86948         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86949         * sysdeps/sparc/sparc64/Makefile: Likewise.
86951 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86953         [BZ #3335]
86954         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86956 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86958         [BZ #4822]
86959         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86961         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86962         (write, read, close): Likewise.
86963         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86965 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86967         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86968         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86969         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86970         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86971         <bits/signalfd.h>.
86972         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86974         bits/signalfd.h.
86976 2012-02-14  Marek Polacek  <polacek@redhat.com>
86978         * sysdeps/x86_64/crti.S: New file.
86979         * sysdeps/x86_64/crtn.S: New file.
86980         * sysdeps/x86_64/elf/initfini.c: Remove file.
86982 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86984         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86985         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86986         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86987         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86988         <bits/inotify.h>.
86989         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86991         bits/inotify.h.
86993 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86995         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86996         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86997         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86998         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86999         <bits/eventfd.h>.
87000         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87002         bits/eventfd.h.
87004 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87006         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87007         __feraiseexcept instead of feraiseexcept.
87009         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87010         nanosleep invocations.
87011         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87012         strings, and add error checking for a nanosleep invocations.
87014 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87016         Replace FSF snail mail address with URLs, as per GNU coding standards.
87017         Most of the snail mail addresses were wrong anyway, and omitting
87018         them makes the source code easier to maintain.  Almost all of the
87019         changes are to license notices and to locale LC_IDENTIFICATION
87020         addresses, except for this one:
87021         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87022         not its snail mail address.
87024 2012-02-09  Richard Henderson  <rth@twiddle.net>
87026         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87027         of kernel-features.h.
87029         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87031 2012-02-08  Marek Polacek  <polacek@redhat.com>
87033         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87034         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87035         * sysdeps/gnu/_G_config.h: Likewise.
87036         * sysdeps/generic/_G_config.h: Likewise.
87038 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87040         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87041         tests.
87042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87044         * sysdeps/powerpc/powerpc32/crti.S: New file.
87045         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87046         * sysdeps/powerpc/powerpc64/crti.S: New file.
87047         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87049         * Makeconfig (have-initfini): Don't set.
87050         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87051         * configure.in (nopic_initfini): Don't substitute.
87052         * config.h.in (HAVE_INITFINI): Don't #undef.
87053         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87054         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87056 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87058         Support crti.S and crtn.S provided directly by architectures.
87059         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87060         [crti.S in sysdirs] (omit-deps): Likewise.
87061         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87062         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87063         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87064         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87065         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87066         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87067         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87068         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87069         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87070         compiler output for sysdeps/generic/initfini.c.
87071         * sysdeps/i386/elf/Makefile: Remove file.
87072         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87074 2012-02-07  Marek Polacek  <polacek@redhat.com>
87076         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87077         * sysdeps/gnu/_G_config.h: Likewise.
87078         * sysdeps/mach/hurd/_G_config.h: Likewise.
87080 2012-02-07  Marek Polacek  <polacek@redhat.com>
87082         * math/Makefile (tests): Add tst-CMPLX2.
87083         * math/tst-CMPLX2.c: New file.
87085 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87087         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87089         * math/libm-test.inc (jn_test): Add missing L suffix.
87091 2012-02-06  Marek Polacek  <polacek@redhat.com>
87093         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87094         * sysdeps/i386/fpu/e_powf.S: Likewise.
87095         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87096         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87097         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87098         * sysdeps/i386/fpu/e_pow.S: Likewise.
87099         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87100         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87101         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87102         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87103         * sysdeps/i386/fpu/e_log2.S: Likewise.
87104         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87105         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87106         * sysdeps/i386/fpu/e_powl.S: Likewise.
87107         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87108         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87109         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87110         * sysdeps/i386/fpu/e_logl.S: Likewise.
87111         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87112         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87113         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87114         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87115         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87116         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87117         * sysdeps/i386/fpu/e_log.S: Likewise.
87118         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87119         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87120         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87121         * sysdeps/i386/fpu/e_logf.S: Likewise.
87122         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87123         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87124         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87125         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87126         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87127         * sysdeps/i386/fpu/e_log10.S: Likewise.
87128         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87129         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87130         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87131         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87132         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87133         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87134         * sysdeps/i386/asm-syntax.h: Likewise.
87135         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87136         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87137         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87138         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87139         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87140         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87141         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87142         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87143         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87144         * sysdeps/powerpc/sysdep.h: Likewise.
87145         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87146         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87148 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87150         [BZ #411]
87151         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87153 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87155         * sysdeps/i386/sysdep.h: Include <features.h>.
87156         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87157         version.
87159 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87161         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87162         Define.
87163         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87164         LOAD_PIC_REG_STR.
87166 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87168         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87169         (SETUP_PIC_REG): Use GET_PC_THUNK.
87170         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87171         macro.
87173 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87175         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87176         for non-PIC compilation.
87177         (SETUP_PIC_REG): Add .p2align directive.
87178         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87179         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87180         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87181         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87182         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87183         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87184         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87185         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87186         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87187         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87188         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87189         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87190         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87191         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87192         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87193         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87194         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87195         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87196         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87197         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87198         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87199         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87200         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87201         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87202         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87203         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87204         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87205         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87206         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87207         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87208         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87209         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87210         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87211         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87212         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87213         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87214         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87215         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87216         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87217         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87218         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87220 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87222         * math/tst-CMPLX.c: Include <stdio.h>.
87224 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87226         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87227         float.
87228         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87229         * sysdeps/sparc/bits/mathdef.h: Likewise.
87231 2012-01-31  Marek Polacek  <polacek@redhat.com>
87233         * libio/libio.h: Don't define _PARAMS.
87234         * locale/programs/config.h: Don't define PARAMS.
87235         * stdlib/strtol_l.c: Likewise.
87236         (__strtol_l): Remove PARAMS from the prototype.
87238 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87240         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87241         names.  Just use the correct names.  Remove unnecessary wrapper
87242         functions.
87243         * malloc/arena.c: Likewise.
87244         * malloc/hooks.c: Likewise.
87246         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87247         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87248         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87250 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87252         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87253         into tail calls.
87254         (update_get_addr): New function.
87255         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87256         GET_ADDR_MODULE parameter.
87258 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87260         * crypt/cert.c: Remove __STDC__ conditionals.
87261         * crypt/crypt-entry.c: Likewise.
87262         * crypt/crypt_util.c: Likewise.
87263         * libio/filedoalloc.c: Likewise.
87264         * libio/fileops.c: Likewise.
87265         * libio/genops.c: Likewise.
87266         * libio/iofclose.c: Likewise.
87267         * libio/iofdopen.c: Likewise.
87268         * libio/iofopen.c: Likewise.
87269         * libio/iofopen64.c: Likewise.
87270         * libio/iogetdelim.c: Likewise.
87271         * libio/iopopen.c: Likewise.
87272         * libio/obprintf.c: Likewise.
87273         * libio/oldfileops.c: Likewise.
87274         * libio/oldiofclose.c: Likewise.
87275         * libio/oldiofdopen.c: Likewise.
87276         * libio/oldiofopen.c: Likewise.
87277         * libio/oldiopopen.c: Likewise.
87278         * libio/wfiledoalloc.c: Likewise.
87279         * libio/wgenops.c: Likewise.
87280         * locale/programs/xmalloc.c: Likewise.
87281         * misc/syslog.c: Likewise.
87282         * stdio-common/xbug.c: Likewise.
87283         * string/memchr.c: Likewise.
87284         * string/memcmp.c: Likewise.
87285         * string/memrchr.c: Likewise.
87286         * string/rawmemchr.c: Likewise.
87287         * sysdeps/posix/getcwd.c: Likewise.
87288         * time/strftime_l.c: Likewise.
87290 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87292         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87293         * config.make.in (config-cflags-sse2avx): Define.
87294         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87295         Fix typo.
87297 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87299         * scripts/config.guess: Update from upstream config git repository.
87300         * scripts/config.sub: Likewise.
87302 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87304         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87305         (EM_NUM): Update.
87306         (R_TILEPRO_*, R_TILEGX_*): New macros.
87308         * scripts/firstversions.awk: Fix bug in version range handling.
87310         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87312         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87314         * include/sys/epoll.h: New file.
87315         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87316         libc_hidden_def.
87318 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87320         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87321         Avoid unnecessary __WORDSIZE == 64 test.
87322         (fmaxf): Use VEX format if possible.
87323         (fmax): Likewise.
87324         (fminf): Likewise.
87325         (fmin): Likewise.
87327         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87328         * math/math_private.h: Remove libc_fegetround* and
87329         libc_fesetround*.
87330         * sysdeps/i386/configure.in: Check for -msse2avx.
87331         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87332         also if SSE2AVX is defined.
87333         Remove libc_fegetround* and libc_fesetround*.
87334         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87335         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87336         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87337         of HAS_YMM_USABLE.
87338         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87339         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87340         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87341         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87342         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87344         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87346 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87348         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87349         size is not set.
87350         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87352 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87354         [BZ #13618]
87355         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87356         relocation.
87357         * Makeconfig (libm): Define.
87358         * elf/Makefile: Add rules to build and run tst-relsort1.
87359         * elf/tst-relsort1.c: New file.
87360         * elf/tst-relsort1mod1.c: New file.
87361         * elf/tst-relsort1mod2.c: New file.
87363 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87365         * math/s_ldexp.c: Remove __STDC__ conditionals.
87366         * math/s_ldexpf.c: Likewise.
87367         * math/s_ldexpl.c: Likewise.
87368         * math/s_nextafter.c: Likewise.
87369         * math/s_nexttowardf.c: Likewise.
87370         * math/s_significand.c: Likewise.
87371         * math/s_significandf.c: Likewise.
87372         * math/s_significandl.c: Likewise.
87373         * math/w_jnl.c: Likewise.
87374         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87375         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87376         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87377         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87378         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87380         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87381         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87382         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87383         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87384         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87385         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87386         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87387         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87388         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87389         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87390         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87391         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87392         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87393         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87394         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87395         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87396         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87397         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87398         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87399         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87400         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87401         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87402         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87403         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87404         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87405         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87406         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87407         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87408         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87409         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87410         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87411         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87412         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87413         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87414         * sysdeps/ieee754/k_standard.c: Likewise.
87415         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87416         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87417         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87418         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87419         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87420         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87421         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87422         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87423         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87424         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87425         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87426         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87427         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87428         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87429         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87430         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87431         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87433         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87434         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87435         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87436         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87437         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87438         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87439         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87440         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87441         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87442         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87444         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87445         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87446         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87447         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87448         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87450         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87451         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87452         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87453         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87454         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87455         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87456         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87457         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87458         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87459         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87460         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87461         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87462         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87463         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87464         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87465         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87467         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87468         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87469         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87470         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87471         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87472         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87473         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87474         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87475         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87476         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87477         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87478         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87479         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87480         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87481         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87482         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87483         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87484         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87485         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87486         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87487         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87488         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87489         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87490         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87491         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87492         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87493         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87494         * sysdeps/ieee754/s_matherr.c: Likewise.
87495         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87496         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87500 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87502         * crypt/md5.h: Remove __STDC__ conditionals.
87503         * libio/libioP.h: Likewise.
87504         * locale/programs/config.h: Likewise.
87505         * sysdeps/generic/sysdep.h: Likewise.
87506         * sysdeps/i386/asm-syntax.h: Likewise.
87507         * sysdeps/s390/asm-syntax.h: Likewise.
87508         * sysdeps/unix/sysdep.h: Likewise.
87509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87512 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87514         * libio/libio.h: Remove __STDC__ conditionals.
87515         * malloc/obstack.h: Likewise.
87516         * math/complex.h: Likewise.
87517         * math/math.h: Likewise.
87518         * sysdeps/generic/_G_config.h: Likewise.
87519         * sysdeps/gnu/_G_config.h: Likewise.
87520         * sysdeps/mach/hurd/_G_config.h: Likewise.
87521         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87522         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87523         * sysdeps/sparc/bits/mathdef.h: Likewise.
87525 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87527         [BZ #13583]
87528         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87529         Clean up HAS_* macros.
87530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87531         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87532         possible.
87533         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87534         HAS_AVX.
87535         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87536         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87537         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87538         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87539         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87541 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87543         * elf/tst-unique3.cc (gets): Remove declaration.
87544         * elf/tst-unique3lib.cc (gets): Likewise.
87545         * elf/tst-unique3lib2.cc (gets): Likewise.
87546         * elf/tst-unique4.cc (gets): Likewise.
87548 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87550         * include/stdio.h: Add C++ protection.  Add gets declarations and
87551         definitions.
87552         * debug/tst-chk1.c: Don't declare gets here.
87553         * stdio-common/tst-gets.c: Likewise.
87555 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87557         * posix/glob: Remove directory.
87559 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87561         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87563 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87565         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87566         of the non-standard EPFNOSUPPORT.
87568 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87570         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87571         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87572         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87574 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87576         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87578 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87580         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87581         transient errors.
87582         * nscd/grpcache.c (cache_addgr): Likewise.
87583         * nscd/hstcache.c (cache_addhst): Likewise.
87584         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87585         * nscd/pwdcache.c (cache_addpw): Likewise.
87586         * nscd/servicescache.c (cache_addserv): Likewise.
87588 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87590         * malloc/malloc.c: Various cleanups.
87591         * malloc/hooks.c: Likewise.
87593         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87594         * stdlib/bug-fmtmsg1.c: New file.
87596         * stdlib/fmtmsg.c (init): Add missing unlock.
87597         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87599 2012-01-12  Marek Polacek  <polacek@redhat.com>
87601         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87602         and _GNU_SOURCE.
87604 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87606         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87607         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87608         macro to ensure uniqueness of label name.
87609         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87610         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87612 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87614         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87616         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87617         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87618         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87619         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87621 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87623         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87625         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87626         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87627         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87629         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87631         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87632         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87633         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87636         * math/bits/math-finite.h: Add ldexp support.
87638 2012-01-10  Marek Polacek  <polacek@redhat.com>
87640         * locale/programs/localedef.h (show_archive_content): Add noreturn
87641         attribute.
87643 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87645         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87647 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87649         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87651         * io/Makefile (headers): Add bits/poll2.h.
87653 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87656         typo #include statement.
87658 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87660         * include/sys/cdefs.h: Define __attribute_alloc_size.
87661         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87662         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87663         * elf/pldd.c: Likewise.
87664         * iconv/iconv_charmap.c: Likewise.
87665         * iconv/iconvconfig.c: Likewise.
87666         * iconv/strtab.c: Likewise.
87667         * locale/programs/locale.c: Likewise.
87668         * locale/programs/localedef.h: Likewise.
87669         * locale/programs/simple-hash.c: Likewise.
87670         * nscd/nscd.h: Likewise.
87671         * nss/makedb.c: Likewise.
87672         * sysdeps/generic/ldconfig.h: Likewise.
87673         * locale/programs/localedef.c: Remove xmalloc prototype.
87674         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87676 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87678         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87679         appropriate.
87681 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87683         * math/Makefile (tests): Add tst-CMPLX.
87684         * math/tst-CMPLX.c: New file.
87686         * math/complex.h (CMPLXL): Fix typo.
87688         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87689         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87690         GLIBC_2.16.
87691         * debug/tst-chk1.c: Add poll and ppoll tests.
87692         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87693         * include/sys/poll.h: Add hidden proto for ppoll.
87694         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87695         * sysdeps/mach/hurd/ppoll.c: Likewise.
87696         * io/ppoll.c: Likewise.
87697         * debug/poll_chk.c: New file.
87698         * debug/ppoll_chk.c: New file.
87699         * include/bits/poll2.h: New file.
87700         * io/bits/poll2.h: New file.
87702         [BZ #1350]
87703         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87705         * configure.in: static is always set to yes.  Remove.
87706         * config.make.in: Don't set build-static.
87707         * Makeconfig: Remove use of build-static.
87708         * dlfcn/Makefile: Likewise.
87709         * elf/Makefile: Likewise.
87710         * math/Makefile: Likewise.
87711         * misc/Makefile: Likewise.
87712         * nptl/Makefile: Likewise.
87713         * sysdeps/mach/hurd/Makefile: Likewise.
87715         * configure.in: PWD_P is not used anymore.
87716         * config.make.in: Remove PWD_P entry.
87718         * configure.in: Remove last remnants of RANLIB.
87719         No need to check for signed size_t anymore.
87720         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87721         and IA-64.
87722         Remove __builtin_expect test because we require at least gcc 3.4.
87723         * aclocal.m4: Likewise.
87725         * wcsmbs/mbrtoc16.c: Implement using towc function.
87726         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87727         * wcsmbs/wcsmbsload.c: Likewise.
87728         * iconv/gconv_simple.c: Likewise.
87729         * iconv/gconv_int.h: Likewise.
87730         * iconv/gconv_builtin.h: Likewise.
87731         * iconv/iconv_prog.c: Remove CHAR16 handling.
87733         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87735         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87737         * configure.in: Remove --with-elf and --enable-bounded options.
87738         Dont set base_machine for ia64.  More non-ELF conditions removed.
87739         Remove testing and setting of leading underscore information.
87740         * config.make.in (build-bounded): Set to no.
87741         * config.h.in: Remove NO_UNDERSCORES entry.
87742         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87743         them.
87744         * csu/start.c: Remove !NO_UNDERSCORE code.
87745         * locale/localeinfo.h: Likewise.
87746         * sysdeps/generic/machine-gmon.h: Likewise.
87747         * sysdeps/generic/sysdep.h: Likewise.
87748         * sysdeps/i386/sysdep.h: Likewise.
87749         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87750         * sysdeps/mach/sysdep.h: Likewise.
87751         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87752         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87753         * sysdeps/sh/sysdep.h: Likewise.
87754         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87755         * sysdeps/unix/i386/sysdep.S: Likewise.
87756         * sysdeps/unix/sparc/start.c: Likewise.
87757         * sysdeps/unix/sparc/sysdep.S: Likewise.
87758         * sysdeps/unix/sparc/sysdep.h: Likewise.
87759         * sysdeps/unix/start.c: Likewise.
87760         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87761         * sysdeps/x86_64/sysdep.h: Likewise.
87763 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87765         [BZ #13553]
87766         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87767         for non-gcc.
87768         * argp/argp-fmtstream.h: Use const instead __const.
87769         * argp/argp.h: Likewise.
87770         * assert/assert.h: Likewise.
87771         * bits/fenv.h: Likewise.
87772         * bits/sched.h: Likewise.
87773         * bits/sigset.h: Likewise.
87774         * bits/sigthread.h: Likewise.
87775         * catgets/nl_types.h: Likewise.
87776         * conform/data/pthread.h-data: Likewise.
87777         * crypt/crypt-private.h: Likewise.
87778         * crypt/crypt.h: Likewise.
87779         * crypt/crypt_util.c: Likewise.
87780         * ctype/ctype.h: Likewise.
87781         * debug/execinfo.h: Likewise.
87782         * debug/mbsnrtowcs_chk.c: Likewise.
87783         * debug/mbsrtowcs_chk.c: Likewise.
87784         * debug/wcsnrtombs_chk.c: Likewise.
87785         * debug/wcsrtombs_chk.c: Likewise.
87786         * debug/wcstombs_chk.c: Likewise.
87787         * dirent/dirent.h: Likewise.
87788         * dlfcn/dlfcn.h: Likewise.
87789         * elf/neededtest4.c: Likewise.
87790         * grp/grp.h: Likewise.
87791         * gshadow/gshadow.h: Likewise.
87792         * iconv/gconv.h: Likewise.
87793         * iconv/gconv_int.h: Likewise.
87794         * iconv/gconv_simple.c: Likewise.
87795         * iconv/iconv.h: Likewise.
87796         * iconv/loop.c: Likewise.
87797         * iconv/skeleton.c: Likewise.
87798         * include/aio.h: Likewise.
87799         * include/aliases.h: Likewise.
87800         * include/argz.h: Likewise.
87801         * include/arpa/inet.h: Likewise.
87802         * include/assert.h: Likewise.
87803         * include/dirent.h: Likewise.
87804         * include/dlfcn.h: Likewise.
87805         * include/execinfo.h: Likewise.
87806         * include/fcntl.h: Likewise.
87807         * include/fenv.h: Likewise.
87808         * include/glob.h: Likewise.
87809         * include/grp.h: Likewise.
87810         * include/libintl.h: Likewise.
87811         * include/mntent.h: Likewise.
87812         * include/netdb.h: Likewise.
87813         * include/pwd.h: Likewise.
87814         * include/rpc/netdb.h: Likewise.
87815         * include/sched.h: Likewise.
87816         * include/search.h: Likewise.
87817         * include/shadow.h: Likewise.
87818         * include/signal.h: Likewise.
87819         * include/stdio.h: Likewise.
87820         * include/stdlib.h: Likewise.
87821         * include/string.h: Likewise.
87822         * include/sys/socket.h: Likewise.
87823         * include/sys/stat.h: Likewise.
87824         * include/sys/statfs.h: Likewise.
87825         * include/sys/statvfs.h: Likewise.
87826         * include/sys/syslog.h: Likewise.
87827         * include/sys/time.h: Likewise.
87828         * include/sys/uio.h: Likewise.
87829         * include/time.h: Likewise.
87830         * include/unistd.h: Likewise.
87831         * include/utmp.h: Likewise.
87832         * include/wchar.h: Likewise.
87833         * include/wctype.h: Likewise.
87834         * inet/aliases.h: Likewise.
87835         * inet/arpa/inet.h: Likewise.
87836         * inet/netinet/ether.h: Likewise.
87837         * inet/netinet/in.h: Likewise.
87838         * intl/libintl.h: Likewise.
87839         * io/bits/fcntl2.h: Likewise.
87840         * io/fcntl.h: Likewise.
87841         * io/ftw.h: Likewise.
87842         * io/sys/poll.h: Likewise.
87843         * io/sys/stat.h: Likewise.
87844         * io/sys/statfs.h: Likewise.
87845         * io/sys/statvfs.h: Likewise.
87846         * io/utime.h: Likewise.
87847         * libio/bits/stdio.h: Likewise.
87848         * libio/bits/stdio2.h: Likewise.
87849         * libio/libio.h: Likewise.
87850         * libio/libioP.h: Likewise.
87851         * libio/stdio.h: Likewise.
87852         * locale/lc-ctype.c: Likewise.
87853         * locale/locale.h: Likewise.
87854         * login/utmp.h: Likewise.
87855         * malloc/arena.c: Likewise.
87856         * malloc/malloc.c: Likewise.
87857         * malloc/malloc.h: Likewise.
87858         * malloc/mcheck.c: Likewise.
87859         * malloc/mtrace.c: Likewise.
87860         * math/bits/mathcalls.h: Likewise.
87861         * math/fenv.h: Likewise.
87862         * math/math_private.h: Likewise.
87863         * misc/bits/error.h: Likewise.
87864         * misc/bits/syslog.h: Likewise.
87865         * misc/err.h: Likewise.
87866         * misc/error.h: Likewise.
87867         * misc/fstab.h: Likewise.
87868         * misc/mntent.h: Likewise.
87869         * misc/regexp.h: Likewise.
87870         * misc/search.h: Likewise.
87871         * misc/sgtty.h: Likewise.
87872         * misc/sys/mman.h: Likewise.
87873         * misc/sys/syslog.h: Likewise.
87874         * misc/sys/uio.h: Likewise.
87875         * misc/sys/xattr.h: Likewise.
87876         * misc/ttyent.h: Likewise.
87877         * nis/rpcsvc/ypclnt.h: Likewise.
87878         * nss/nss.h: Likewise.
87879         * posix/bits/unistd.h: Likewise.
87880         * posix/fnmatch.h: Likewise.
87881         * posix/glob.h: Likewise.
87882         * posix/sched.h: Likewise.
87883         * posix/spawn.h: Likewise.
87884         * posix/sys/wait.h: Likewise.
87885         * posix/unistd.h: Likewise.
87886         * posix/wordexp.h: Likewise.
87887         * pwd/pwd.h: Likewise.
87888         * resolv/netdb.h: Likewise.
87889         * resource/sys/resource.h: Likewise.
87890         * rt/aio.h: Likewise.
87891         * rt/bits/mqueue2.h: Likewise.
87892         * rt/mqueue.h: Likewise.
87893         * shadow/shadow.h: Likewise.
87894         * signal/signal.h: Likewise.
87895         * socket/send.c: Likewise.
87896         * socket/sendto.c: Likewise.
87897         * socket/sys/socket.h: Likewise.
87898         * stdio-common/printf.h: Likewise.
87899         * stdlib/bits/stdlib.h: Likewise.
87900         * stdlib/fmtmsg.h: Likewise.
87901         * stdlib/monetary.h: Likewise.
87902         * stdlib/stdlib.h: Likewise.
87903         * stdlib/ucontext.h: Likewise.
87904         * streams/stropts.h: Likewise.
87905         * string/argz.h: Likewise.
87906         * string/bits/string2.h: Likewise.
87907         * string/string.h: Likewise.
87908         * string/strings.h: Likewise.
87909         * sunrpc/rpc/auth.h: Likewise.
87910         * sunrpc/rpc/auth_des.h: Likewise.
87911         * sunrpc/rpc/clnt.h: Likewise.
87912         * sunrpc/rpc/netdb.h: Likewise.
87913         * sunrpc/rpc/pmap_clnt.h: Likewise.
87914         * sunrpc/rpc/xdr.h: Likewise.
87915         * sysdeps/generic/inttypes.h: Likewise.
87916         * sysdeps/generic/net/if.h: Likewise.
87917         * sysdeps/generic/sys/swap.h: Likewise.
87918         * sysdeps/gnu/net/if.h: Likewise.
87919         * sysdeps/gnu/utmpx.h: Likewise.
87920         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87921         * sysdeps/i386/i486/bits/string.h: Likewise.
87922         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87923         * sysdeps/s390/bits/string.h: Likewise.
87924         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87925         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87926         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87927         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87928         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87929         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87930         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87931         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87932         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87933         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87934         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87935         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87936         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87937         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87938         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87939         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87940         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87942         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87943         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87944         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87945         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87946         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87947         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87948         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87949         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87950         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87951         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87952         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87953         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87954         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87955         * sysvipc/sys/ipc.h: Likewise.
87956         * sysvipc/sys/msg.h: Likewise.
87957         * sysvipc/sys/sem.h: Likewise.
87958         * sysvipc/sys/shm.h: Likewise.
87959         * termios/termios.h: Likewise.
87960         * time/sys/time.h: Likewise.
87961         * time/time.h: Likewise.
87962         * wcsmbs/bits/wchar2.h: Likewise.
87963         * wcsmbs/uchar.h: Likewise.
87964         * wcsmbs/wchar.h: Likewise.
87965         * wctype/wctype.h: Likewise.
87967         [BZ #13551]
87968         * Makeconfig: Remove all but ELF support including AIX support.
87969         * Makerules: Likewise.
87970         * config.h.in: Likewise.
87971         * config.make.in: Likewise.
87972         * configure: Likewise.
87973         * configure.in: Likewise.
87974         * csu/Makefile: Likewise.
87975         * csu/version.c: Likewise.
87976         * debug/Makefile: Likewise.
87977         * dlfcn/Makefile: Likewise.
87978         * elf/Makefile: Likewise.
87979         * extra-lib.mk: Likewise.
87980         * iconv/Makefile: Likewise.
87981         * include/libc-symbols.h: Likewise.
87982         * include/shlib-compat.h: Likewise.
87983         * resolv/Makefile: Likewise.
87984         * resolv/res_libc.c: Likewise.
87985         * rt/Makefile: Likewise.
87986         * sysdeps/i386/asm-syntax.h: Likewise.
87987         * sysdeps/i386/sysdep.h: Likewise.
87988         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87989         * sysdeps/mach/sysdep.h: Likewise.
87990         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87991         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87992         * sysdeps/s390/asm-syntax.h: Likewise.
87993         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87994         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87995         * sysdeps/sh/sysdep.h: Likewise.
87996         * sysdeps/unix/sparc/sysdep.h: Likewise.
87997         * sysdeps/wordsize-32/divdi3.c: Likewise.
87998         * sysdeps/x86_64/sysdep.h: Likewise.
88000         * argp/Versions: Remove _argp_unlock_xxx.
88002         [BZ #13559]
88003         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88004         * abilist/libBrokenLocale.abilist: Likewise.
88005         * abilist/libanl.abilist: Likewise.
88006         * abilist/libc.abilist: Likewise.
88007         * abilist/libcrypt.abilist: Likewise.
88008         * abilist/libdl.abilist: Likewise.
88009         * abilist/libm.abilist: Likewise.
88010         * abilist/libnsl.abilist: Likewise.
88011         * abilist/libpthread.abilist: Likewise.
88012         * abilist/libresolv.abilist: Likewise.
88013         * abilist/librt.abilist: Likewise.
88014         * abilist/libthread_db.abilist: Likewise.
88015         * abilist/libutil.abilist: Likewise.
88016         * abilist/libnss_db.abilist: New file.
88018         * scripts/abilist.awk: Add support for indirect functions.
88020         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88022         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88024         * shlib-versions: Remove entries for ports architectures.
88026         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88027         files in ports.
88028         * elf/stackguard-macros.h: Remove support for IA-64.
88029         * elf/tst-auditmod1.c: Likewise.
88030         * sysdeps/generic/ldsodefs.h: Likewise.
88032         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88033         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88034         configure files.
88036         [BZ #13552]
88037         * configure.in: Remove --enable-omitfp support.
88038         * FAQ.in: Adjust.
88039         * config.make.in: Likewise.
88040         * Makeconfig: Likewise.
88041         * manual/install.texi: Likewise.
88043         In case anyone cares, the IA-64 architecture could move to ports.
88044         * sysdeps/ia64/*: Removed.
88045         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88046         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88048         [BZ #13555]
88049         * configure.in: Remove entries for unsupported architectures.
88051         [BZ #13533]
88052         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88053         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88054         routines.
88055         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88056         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88057         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88058         fall back to using wcrtomb.
88059         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88060         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88061         renaming.
88062         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88063         * wcsmbs/tst-c16c32-1.c: New file.
88065         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88066         local variable.
88068         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88070         * elf/tst-unique3.cc: Add explicit declaration of gets.
88071         * elf/tst-unique3lib.cc: Likewise.
88072         * elf/tst-unique3lib2.cc: Likewise.
88073         * elf/tst-unique4.cc: Likewise.
88075         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88077 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88079         [BZ #13566]
88080         * assert/assert.h (static_assert): Don't define for C++.
88081         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88082         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88084 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88086         * iconv/loop.c (single loop): Fix assertion in storing of
88087         remaining bytes.
88089         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88091 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88093         * posix/getconf.c: Update copyright year.
88094         * nss/getent.c: Likewise.
88095         * nss/makedb.c: Likewise.
88096         * iconv/iconvconfig.c: Likewise.
88097         * iconv/iconv_prog.c: Likewise.
88098         * elf/ldconfig.c: Likewise.
88099         * elf/pldd.c: Likewise.
88100         * elf/sotruss.ksh: Likewise.
88101         * catgets/gencat.c: Likewise.
88102         * csu/version.c: Likewise.
88103         * elf/ldd.bash.in: Likewise.
88104         * elf/sprof.c (print_version): Likewise.
88105         * locale/programs/locale.c: Likewise.
88106         * locale/programs/localedef.c: Likewise.
88107         * login/programs/pt_chown.c: Likewise.
88108         * nscd/nscd.c (print_version): Likewise.
88109         * debug/xtrace.sh: Likewise.
88110         * malloc/memusage.sh: Likewise.
88111         * malloc/mtrace.pl: Likewise.
88112         * debug/catchsegv.sh: Likewise.
88114 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88116         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88117         pure attribute.
88119 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88121         [BZ #13533]
88122         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88123         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88124         transformations.
88125         * iconv/gconv_int.h: Likewise.
88126         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88127         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88128         from libc for GLIBC_2.16.
88129         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88130         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88131         * wcsmbs/uchar.h: Really define mbstate_t.
88132         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88133         * wcsmbs/c16rtomb.c: New file.
88134         * wcsmbs/mbrtoc16.c: New file.
88135         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88136         for C/POSIX locale.
88137         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88138         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88140         * wcsmbs/wchar.h: Add missing __restrict.
88142 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88144         [BZ #13532]
88145         * time/Makefile (routines): Add timespec_get.
88146         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88147         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88148         timespec for ISO C11.
88149         * time/timespec_get.c: New file.
88150         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88151         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88153         [BZ #13531]
88154         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88155         * stdlib/stdlib.h: Declare aligned_alloc.
88156         * Versions.def: Add GLIBC_2.16 for libc.
88157         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88159         [BZ 13527]
88160         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88161         ISO C11.
88163         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88164         code.
88166         [BZ #13528]
88167         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88169         [BZ #13529]
88170         * assert/assert.h (static_assert): Define.
88172         * version.h: Update for 2.16 development version.
88174         [BZ #13526]
88175         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88176         _ISOC11_SOURCE.
88178         * version.h (RELEASE): Bump for 2.15 release.
88179         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88181         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88182         Patch by Marek Polacek <mpolacek@redhat.com>.
88184         * bits/byteswap.h: Protect long long constants with __extension__.
88185         * sysdeps/i386/bits/byteswap.h: Likewise.
88186         * sysdeps/ia64/bits/byteswap.h: Likewise.
88187         * sysdeps/s390/bits/byteswap.h: Likewise.
88188         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88190 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88192         [BZ #13540]
88193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88194         destination buffer.
88195         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88197 2011-12-23  Marek Polacek  <polacek@redhat.com>
88199         * elf/dl-addr.c (determine_info): Add inline keyword.
88200         * elf/tst-auditmod4b.c (check_avx): Likewise.
88201         * elf/tst-auditmod6b.c (check_avx): Likewise.
88202         * elf/tst-auditmod6c.c (check_avx): Likewise.
88203         * elf/tst-auditmod7b.c (check_avx): Likewise.
88205 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88207         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88208         !__SSE_MATH__.
88210 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88212         [BZ #13540]
88213         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88214         processing for last bytes.
88216 2011-08-06  Bruno Haible  <bruno@clisp.org>
88218         [BZ #13061]
88219         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88220         U+0385, not to U+1FEE.
88222         [BZ #13062]
88223         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88224         entry for U+00A5 U+0301.
88226 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88228         [BZ #13166]
88229         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88230         buffer for the output is too small.
88232         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88233         optimization.
88235         [BZ #13185]
88236         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88237         SSE flags if possible.
88239 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88241         [BZ #13540]
88242         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88243         processing for last bytes.
88245 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88247         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88248         (syscall-list-default-options, syscall-list-default-condition)
88249         (syscall-list-includes): Define.
88250         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88251         list of ABIs and options and #if conditions for each ABI.  Do not
88252         handle common syscalls between ABIs specially.
88253         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88254         Remove.
88255         (syscall-list-variants, syscall-list-32bit-options)
88256         (syscall-list-32bit-condition, syscall-list-64bit-options)
88257         (syscall-list-64bit-condition): Define.
88258         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88259         (syscall-list-variants, syscall-list-32bit-options)
88260         (syscall-list-32bit-condition, syscall-list-64bit-options)
88261         (syscall-list-64bit-condition): Define.
88262         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88263         Remove.
88264         (syscall-list-variants, syscall-list-32bit-options)
88265         (syscall-list-32bit-condition, syscall-list-64bit-options)
88266         (syscall-list-64bit-condition): Define.
88267         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88268         Remove.
88269         (syscall-list-variants, syscall-list-32bit-options)
88270         (syscall-list-32bit-condition, syscall-list-64bit-options)
88271         (syscall-list-64bit-condition): Define.
88273 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88275         * locale/iso-639.def: Add brx entry.
88277         [BZ #13328]
88278         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88279         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88281         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88282         __feraiseexcept_renamed.
88284 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88286         [BZ #13538]
88287         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88288         EPOLLET with unsigned values.
88289         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88290         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88292         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88293         to large cancellation.
88294         * math/s_cacoshf.c: Likewise.
88295         * math/s_cacoshl.c: Likewise.
88297 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88299         [BZ #13305]
88300         [BZ #12786]
88301         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88302         * math/s_cacoshf.c: Likewise.
88303         * math/s_cacoshl.c: Likewise.
88305 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88307         [BZ #13439]
88308         * iconv/gconv.h: Define __GCONV_SWAP.
88309         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88310         * iconvdata/utf-16.c: Likewise.
88311         * iconvdata/utf-32.c: Likewise.
88313 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88315         [BZ #13524]
88316         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88317         numerator after shifting it by one limb.
88319 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88321         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88322         under [__USE_EXTERN_INLINES].
88324 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88326         [BZ #13446]
88327         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88329 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88331         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88332         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88333         optimized code.
88334         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88335         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88336         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88337         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88338         for strncasecmp/strncasecmp_l compilation.
88339         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88340         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88342 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88344         [BZ #13484]
88345         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88346         of __asm__.
88348 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88350         [BZ #13506]
88351         * time/tzfile.c (__tzfile_read): Check values from file header.
88353 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88355         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88356         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88357         * powerpc/powerpc32/dl-start.S: Likewise.
88358         * powerpc/powerpc32/elf/start.S: Likewise.
88359         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88360         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88361         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88362         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88363         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88364         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88365         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88366         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88367         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88368         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88369         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88370         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88371         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88372         * powerpc/powerpc32/memset.S: Likewise.
88373         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88374         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88375         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88376         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88377         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88378         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88379         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88380         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88381         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88382         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88383         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88384         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88385         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88387 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88389         * math/libm-test.inc: Added more nearbyint tests.
88390         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88391         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88392         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88395 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88397         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88398         FD_CLOEXEC.
88400 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88402         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88403         Add wcscpy-ssse3 wcscpy-c.
88404         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88405         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88406         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88407         * sysdeps/x86_64/wcschr.S: New file.
88408         * sysdeps/x86_64/wcsrchr.S: New file.
88409         * string/test-strcmp.c: Remove checking of wcscmp function for
88410         wrong alignments.
88411         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88412         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88413         wcsrchr-sse2 wcsrchr-c.
88414         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88415         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88416         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88417         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88418         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88419         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88420         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88421         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88422         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88423         * wcsmbc/wcschr.c (WCSCHR): New macro.
88425 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88427         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88428         * wcsmbs/test-wcsrchr.c: New file.
88429         * string/test-strrchr.c: Add wcsrchr support.
88430         (WIDE): New macro.
88431         * wcsmbs/test-wcscpy.c: New file.
88432         * string/test-strcpy.c: Add wcscpy support.
88433         (WIDE): New macro.
88435 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88437         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88438         the inner loop.
88440 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88442         [BZ #13472]
88443         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88445 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88447         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88448         Minor optimizations.
88450         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88451         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88452         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88454 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88456         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88457         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88458         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88459         for gcc to avoid warnings.
88460         * inet/Makefile (tests): Add tst-checks.
88461         * inet/tst-checks.c: New file.
88463         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88464         warning.
88466         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88467         __wmemcmp_sse2.
88469         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88470         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88472         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88474 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88476         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88477         problem.
88479         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88481 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88483         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88484         conditional on GCC version.
88485         (__arch_compare_and_exchange_val_8_acq)
88486         (__arch_compare_and_exchange_val_16_acq)
88487         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88488         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88489         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88491 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88493         * sysdeps/sh/backtrace.c: New file.
88495 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88497         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88498         parenthesis.
88500 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88502         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88503         falling back to utime.
88505 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88507         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88508         expectations for float.
88510 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88512         * locale/weight.h (findidx): Add parameter len.
88513         * locale/weightwc.h (findidx): Likewise.
88514         * posix/fnmatch_loop.c (FCT): Adjust caller.
88515         * posix/regcomp.c (build_equiv_class): Likewise.
88516         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88517         * posix/regexec.c (check_node_accept_bytes): Likewise.
88518         * string/strcoll_l.c (STRCOLL): Likewise.
88519         * string/strxfrm_l.c (STRXFRM): Likewise.
88521 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88523         * Makefile.in: Remove CVSOPT handling.
88524         * configure.in: Remove use of AC_REVISION.
88525         * iconvdata/Makefile (distribute): No need to filter out CVS.
88526         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88527         handling.
88529 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88532         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88533         [USE_AS_STRNCASECMP_L]: Likewise.
88534         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88535         NO_TLS_DIRECT_SEG_REFS.
88536         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88537         Fix argument offsets for non-PIC.
88538         [USE_AS_STRNCASECMP_L]: Likewise.
88539         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88540         NO_TLS_DIRECT_SEG_REFS.
88542 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88544         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88545         O_CLOEXEC.
88546         * locale/loadlocale.c (_nl_load_locale): Likewise.
88548 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88550         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88551         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88552         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88553         (SYSCALL_GETTIME): Set errno on error.
88555         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88556         count references to noai6ai_cached.
88558 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88560         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88562         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88563         FD_CLOEXEC for /proc/self/maps.
88565         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88566         FD_CLOEXEC for /proc/meminfo.
88568         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88569         gai.conf.
88571         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88572         FD_CLOEXEC for given file.
88574         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88576         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88577         FD_CLOEXEC for /etc/hosts.
88578         (_gethtent): Likewise.
88580         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88582         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88583         cancellation and set FD_CLOEXEC for /etc/netgroup.
88585         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88586         reading /etc/publickey.
88588         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88589         allow cancellation when reading /etc/group.
88591         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88592         cancellation.
88593         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88595         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88596         when using data file.
88598         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88600         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88601         (write_nis_obj): Use "c" and "e" in fopen.
88603         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88605         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88607         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88609         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88611         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88612         locale.alias.
88614         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88616         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88618         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88620         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88621         file parsing and set FD_CLOEXEC.
88623 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88625         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88627 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88629         * malloc/arena.c (arena_get2): Don't call reused_arena when
88630         _int_new_arena failed.
88632 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88634         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88635         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88636         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88637         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88638         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88639         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88640         to compile strcasecmp and strncasecmp.
88641         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88642         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88646 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88648         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88649         locale-defines.sym to gen-as-const-headers.
88650         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88651         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88652         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88653         to compile strcasecmp and strncasecmp.
88654         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88655         strcasecmp_l and strncasecmp_l.
88656         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88657         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88658         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88659         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88660         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88661         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88662         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88663         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88664         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88665         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88666         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88668 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88670         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88671         result of SYSDEP_GETTIME_CPU to retval.
88672         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88673         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88675         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88676         variable.
88678         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88679         mantissa words.
88680         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88682         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88683         from unused variable.
88685         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88686         DWARF definitions.
88687         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88688         for assembling.
88690         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88691         over namespaces.
88693         * sunrpc/rpc_prot.c (rejected): Fix case value.
88695         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88696         unsigned long long int to avoid warnings in shift.
88698         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88699         of use of trans.
88700         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88701         variable tmp.
88703         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88704         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88705         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88707         * nis/nis_table.c (nis_list): Use variable of correct type for
88708         result of __follow_path call.
88710 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88712         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88713         of math functions ceil, trunc, floor, round, and sqrt, when
88714         avaliable on the platform.
88715         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88716         name clash.
88717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88718         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88719         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88721 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88723         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88724         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88726 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88728         * include/unistd.h: Fix __readlink return type.
88729         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88731 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88733         * stdlib/ucontext.h: Undo last change for makecontext.
88735 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88737         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88739         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88740         * setjmp/setjmp.h: Mark functions as non-leaf.
88741         * setjmp/bits/setjmp2.h: Likewise.
88742         * stdlib/ucontext.h: Likewise.
88744 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88746         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88747         (reused_arena): Don't check arena limit.
88748         (arena_get2): Atomically check arena limit.
88750 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88752         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88753         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88755         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88756         instructions.
88758 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88760         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88761         handler when locking.
88763         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88764         Fix size of allocated buffer.
88766 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88768         [BZ #10103]
88769         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88770         declarations for long double functions.
88771         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88773         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88775 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88777         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88778         installed.
88780         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88781         is disabled.
88783 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88785         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88787 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88789         * include/alloca.h (stackinfo_alloca_round): Define.
88790         (extend_alloca): Use it.
88791         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88792         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88793         here.
88795         * scripts/check-local-headers.sh: Ignore libaudit.h.
88797         * nscd/Makefile (extra-objs): Make recursively expanded.
88799 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88801         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88802         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88804         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88805         * posix/tst-rfc3484-2.c: Likewise.
88806         * posix/tst-rfc3484-3.c: Likewise.
88808         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88809         process_vm_writev.
88810         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88811         process_vm_writev.
88812         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88813         process_vm_writev from libc using GLIBC_2.15 version.
88815         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88817 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88819         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88820         stack usage.
88822 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88824         [BZ #13367]
88825         * nss/getent.c (initgroups_keys): Show error message in case no group
88826         names are given.
88828         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88829         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88830         __bump_nl_timestamp.
88831         * nscd/connections (nscd_init): When host database is served open
88832         netlink socket and request notification about configuration changes.
88833         (main_loop_poll): Track netlink file descriptor and bump timestamp
88834         in case data becomes available.
88835         (main_loop_epoll): Likewise.
88836         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88837         (database_pers_head): Add extra_data fileds.
88838         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88839         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88840         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88841         Adjust caller.
88842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88843         in6ai data, call __free_in6ai.
88844         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88845         Add -DHAVE_NETLINK.
88846         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88847         interface information.  Reuse previous data if netlink timestamp
88848         is not changed.
88849         (__bump_nl_timestamp): New function.
88850         (__free_in6ai): New function.
88852 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88854         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88855         close_not_cancel_no_status here.
88856         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88858 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88860         [BZ #13276]
88861         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88862         return value.
88864         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88865         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88866         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88868 2011-07-03  Andreas Jaeger  <aj@suse.de>
88870         [BZ #10709]
88871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88872         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88873         * math/libm-test.inc (sin_test): Add test case.
88875 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88877         [BZ #13337]
88878         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88879         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88881         * elf/chroot_canon.c (chroot_canon): Cleanups.
88883         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88885         [BZ #13335]
88886         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88887         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88889         * string/test-strchr.c: Make usable for strchrnul testing.
88890         * string/test-strchrnul.c: New file.
88891         * string/Makefile (strop-tests): Add strchrnul.
88893         * po/it.po: Update from translation team.
88894         * po/es.po: Likewise.
88896 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88898         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88899         the three constants needed as parameters.  Drop the others.
88900         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88901         __m128i_strloadu_tolower.
88902         Create and initialize variable zero and use it in all the places
88903         where _mm_setzero_si128 was used.
88905         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88906         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88907         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88908         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88909         anymore.
88910         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88911         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88912         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88913         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88914         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88915         __mpranred, __mptan.
88916         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88917         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88918         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88919         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88920         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88921         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88922         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88923         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88924         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88926 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88928         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88929         redefine if SHARED.
88930         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88933         wide char related routines to wcsmbs subdir.
88935 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88937         [BZ #13344]
88938         * misc/sys/cdefs.h (__THROWNL): Define.
88939         * posix/unistd.h: Use __THREADNL instead of __THREAD
88940         for memory synchronization functions.
88942 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88944         [BZ #13349]
88945         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88946         doesn't exist.
88947         * manual/stdio.texi (Obstack Streams): Node removed.
88949 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88951         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88952         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88953         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88955         * math/math_private.h (math_force_eval): Allow non-addressable
88956         arguments.
88957         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88959 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88961         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88962         file is not needed.
88964         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88965         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88966         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88967         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88968         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88969         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88970         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88971         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88972         Add AVX variants.
88973         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88974         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88975         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88976         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88977         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88978         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88979         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88980         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88981         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88982         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88983         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88984         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88985         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88986         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88987         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88988         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88989         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88990         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88991         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88993         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88994         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
88996         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88997         place.  Use VEX encoding when compiling for AVX.
88999 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89001         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89002         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89004         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89006 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89008         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89009         useless if() expression.
89010         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89011         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89012         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89013         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89014         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89015         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89016         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89017         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89018         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89019         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89020         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89021         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89022         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89023         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89024         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89025         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89026         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89027         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89028         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89030         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89032 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89034         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89035         condition.
89036         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89038 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89040         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89041         .text section.  Avoid duplicate constants.
89042         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89044         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89050         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89051         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89052         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89053         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89054         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89055         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89056         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89057         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89058         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89059         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89060         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89061         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89062         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89063         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89064         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89065         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89066         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89067         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89068         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89069         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89070         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89071         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89072         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89073         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89074         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89075         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89076         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89077         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89078         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89079         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89080         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89081         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89082         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89083         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89084         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89085         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89086         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89088 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89090         * sysdeps/x86_64/dla.h: Move to ...
89091         * sysdeps/x86_64/fpu/dla.h: ...here.
89092         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89093         situations.  Use __builtin_fma only for gcc 4.6 and up.
89095         * config.make.in: Add have-mfma4 entry.
89096         * configure.in: Substitute libc_cv_cc_fma4.
89097         * math/Makefile (dbl-only-routines): Add sincostab.
89098         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89099         Use __sincostab not sincos.
89100         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89101         name is a macro.
89102         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89103         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89104         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89105         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89106         using __copysign.
89107         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89108         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89109         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89110         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89111         and __inv.
89112         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89113         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89114         __copysign.
89115         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89116         define aliases when function name is a macro.
89117         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89118         sysdeps/ieee754/dbl-64/sincos.tbl.
89119         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89120         fma4-enabled routines.
89121         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89122         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89123         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89124         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89125         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89126         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89127         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89128         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89129         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89130         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89131         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89132         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89133         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89134         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89135         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89136         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89137         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89138         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89139         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89140         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89141         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89142         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89143         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89144         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89145         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89146         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89147         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89148         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89149         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89150         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89152         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89153         rename.
89154         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89156         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89157         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89158         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89159         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89160         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89161         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89163 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89165         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89167 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89169         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89171         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89172         prediction.
89173         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89175         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89176         Remove unused variable magic_bits.
89177         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89179         * string/strnlen.c: Define and use STRNLEN macro.
89180         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89181         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89182         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89183         * wcsmbs/wcslen.c: Define and use WCSLEN.
89184         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89185         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89186         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89187         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89188         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89189         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89190         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89192 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89195         strnlen-sse2-no-bsf.
89196         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89197         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89198         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89199         Add strnlen support.
89200         (USE_AS_STRNLEN): New macro.
89201         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89202         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89203         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89204         * sysdeps/x86_64/wcslen.S: New file.
89206 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89208         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89209         XMM-moves are used for copying on small sizes.
89211 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89213         * wcsmbs/Makefile (strop-tests): Add wcschr.
89214         * wcsmbs/test-wcschr.c: New file.
89215         * string/test-strchr.c: Update.
89216         Add wcschr support.
89217         (WIDE): New macro.
89219 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89221         * wcsmbs/Makefile (strop-tests): Add wcslen.
89222         * wcsmbs/test-wcslen.c: New file.
89223         * string/test-strlen.c: Update.
89224         Add wcslen support.
89225         (WIDE): New macro.
89227 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89229         * po/it.po: Update from translation team.
89231 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89233         * sysdeps/x86_64/wcscmp.S: Update.
89234         Fix wrong comparison semantics.
89235         wcscmp shall use signed comparison not unsigned.
89236         Don't use substraction to avoid overflow bug.
89237         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89238         * wcsmbc/wcscmp.c: Likewise.
89239         * string/test-strcmp.c: Likewise.
89240         Add new tests to check cases with negative values.
89242 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89244         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89245         * sysdeps/x86_64/dla.h: ...here.  New file.
89246         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89247         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89248         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89249         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89250         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89251         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89252         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89253         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89254         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89256 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89258         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89259         __ynl_finite aliases.
89261 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89265         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89266         define DLA_FMA.
89267         [DLA_FMA] (EMULV): Use DLA_FMA.
89268         [DLA_FMA] (MUL12): Use EMULV.
89269         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89270         that are not needed.
89271         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89274         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89275         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89276         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89277         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89279 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89281         * math/s_nan.c: Undef __nan.
89282         * math/s_nanf.c: Undef __nanf.
89283         * math/s_nanl.c: Undef __nanl.
89284         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89285         "math_private.h".
89287 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89289         * math/s_catan.c: Add branch predictions.
89290         * math/s_catanf.c: Likewise.
89291         * math/s_catanh.c: Likewise.
89292         * math/s_catanhf.c: Likewise.
89293         * math/s_catanhl.c: Likewise.
89294         * math/s_catanl.c: Likewise.
89295         * math/s_cexp.c: Likewise.
89296         * math/s_cexpf.c: Likewise.
89297         * math/s_cexpl.c: Likewise.
89298         * math/s_clog.c: Likewise.
89299         * math/s_clog10.c: Likewise.
89300         * math/s_clog10f.c: Likewise.
89301         * math/s_clog10l.c: Likewise.
89302         * math/s_clogf.c: Likewise.
89303         * math/s_clogl.c: Likewise.
89304         * math/s_csqrt.c: Likewise.
89305         * math/s_csqrtf.c: Likewise.
89306         * math/s_csqrtl.c: Likewise.
89307         * math/s_ctanf.c: Likewise.
89308         * math/s_ctanh.c: Likewise.
89309         * math/s_ctanhf.c: Likewise.
89310         * math/s_ctanhl.c: Likewise.
89311         * math/s_ctanl.c: Likewise.
89313         * math/math_private.h: Define __nan, __nanf, __nanl.
89314         * math/s_cacosh.c: Include <math_private.h>.
89315         * math/s_cacoshl.c: Likewise.
89316         * math/s_casinh.c: Likewise.
89317         * math/s_casinhf.c: Likewise.
89318         * math/s_casinhl.c: Likewise.
89319         * math/s_ccos.c: Rely entire on ccosh.
89320         * math/s_ccosf.c: Rely entire on ccoshf.
89321         * math/s_ccosl.c: Rely entirely on ccoshl.
89322         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89323         Remove tests for FE_INVALID.
89324         * math/s_ccoshf.c: Likewise.
89325         * math/s_ccoshl.c: Likewise.
89326         * math/s_csin.c: Likewise.
89327         * math/s_csinf.c: Likewise.
89328         * math/s_csinh.c Likewise.
89329         * math/s_csinhf.c: Likewise.
89330         * math/s_csinhl.c: Likewise.
89331         * math/s_csinl.c: Likewise.
89332         * math/s_ctan.c: Likewise.
89333         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89334         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89335         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89337 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89340         compilation problems.
89342         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89343         __builtin_expect.
89345 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89347         * sysdeps/i386/configure.in: Test for -mfma4 option.
89348         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89349         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89350         COMMON_CPUID_INDEX_80000001.
89351         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89352         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89353         use it if FMA3 is not supported.
89354         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89356         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89357         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89359 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89361         [BZ #12892]
89362         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89363         it would create a cycle with a link time dependency.
89365 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89367         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89368         instruction.
89369         * string/Makefile (strop-tests): Add rawmemchr.
89370         * string/test-rawmemchr.c: New file.
89372         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89373         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89374         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89375         when compiling str{,n}casecmp and when AVX is available.  Hook up
89376         new optimized code in initializers.
89378 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89380         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89381         __feraiseexcept instead of feraiseexcept.
89383 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89385         * math/math_private.h: Define defaults for libc_fetestexcept and
89386         libc_feupdateenv.
89387         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89388         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89389         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89390         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89391         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89392         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89393         libc_fetestexcept and libc_feupdateenv.
89395         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89396         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89397         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89398         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89399         libc_feholdexcept_setround.
89401         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89402         Add s_nearbyint-c and s_nearbyintf-c.
89403         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89404         nearbyintf inlines.
89405         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89406         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89407         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89408         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89410         * math/math_private.h: Define defaults for libc_fegetround,
89411         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89412         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89413         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89414         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89415         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89416         standard functions.
89417         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89418         Remove comments and hacks for old compiler versions.
89419         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89420         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89421         libc_feholdexceptl.
89423 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89425         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89426         (__feraiseexcept_renamed): Add __NTH.
89427         (feraiseexcept): Add __NTH.  Rename local variables to fix
89428         namespace violations.
89430 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89432         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89434         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89436         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89437         recently added interfaces.
89438         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89440         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89441         about macro parameter expansion.
89443         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89444         __NO_MATH_INLINES is defined.  Cleanups.
89446         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89447         and __floorf is target has SSE4.1.
89448         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89449         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89450         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89451         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89453         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89454         name.
89455         (floorf): Likewise.
89457         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89459 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89461         * misc/sys/cdefs.h: Fix last change.
89463         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89464         database lookup.
89466 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89468         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89470         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89471         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89472         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89473         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89474         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89475         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89476         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89477         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89478         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89479         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89480         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89481         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89482         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89483         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89484         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89485         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89486         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89487         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89488         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89489         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89490         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89491         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89493         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89494         ceil, ceilf, floor, floorf.
89496         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89497         Perform IRELATIVE relocations last.
89499         * elf/do-rel.h: Add another parameter nrelative, replacing the
89500         local variable with the same name.  Change name of the function
89501         to end in Rel or Rela (uppercase).
89502         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89503         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89504         elf_dynamic_do_##reloc function.
89506 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89508         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89509         is sufficient, at least on modern CPUs.
89511         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89513         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89514         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89516         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89517         __expl_finite.
89518         * math/bits/math-finite.h: Add entries for exp.
89519         * math/e_expl.c: Add __*_finite alias.
89520         * sysdeps/i386/fpu/e_exp.S: Likewise.
89521         * sysdeps/i386/fpu/e_expf.S: Likewise.
89522         * sysdeps/i386/fpu/e_expl.c: Likewise.
89523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89524         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89525         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89526         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89527         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89528         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89529         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89531         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89532         is sufficient, at least on modern CPUs.
89534         * ctype/ctype-info.c (__ctype_init): Define.
89535         * include/ctype.h (__ctype_init): Declare.
89536         (__ctype_b_loc): The variable is always initialized.
89537         (__ctype_toupper_loc): Likewise.
89538         (__ctype_tolower_loc): Likewise.
89539         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89540         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89542 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89544         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89546         * configure.in: Also look in $cxxmachine/include for C++ system
89547         headers.
89549 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89551         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89552         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89553         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89554         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89555         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89556         (USE_AS_WMEMCMP): New macro.
89557         Fixing indents.
89558         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89559         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89560         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89561         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89563         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89564         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89565         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89566         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89567         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89568         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89569         (USE_AS_WMEMCMP): New macro.
89570         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89571         * sysdeps/string/test-memcmp.c: Update.
89572         Fix simple_wmemcmp.
89573         Add new tests.
89574         * wcsmbs/wmemcmp.c: Update.
89575         (WMEMCMP): New macro.
89576         Fix overflow bug.
89578 2011-10-12  Andreas Jaeger  <aj@suse.de>
89580         [BZ #13268]
89581         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89583 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89585         * libio/iofwide.c (do_length): Avoid warning.
89587         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89589 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89591         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89593         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89594         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89595         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89596         * sysdeps/i386/i686/fpu/e_log.S: New file.
89597         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89598         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89600         * ctype/ctype.h: Add support for inlined isXXX functions when
89601         compiling C++ code.
89603 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89605         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89607         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89609 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89611         [BZ #13291]
89612         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89614 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89616         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89617         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89618         feraiseexcept.
89620         * sysdeps/x86_64/memrchr.S: Check for zero size.
89622         * string/stratcliff.c: Add memrchr tests.
89624 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89627         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89628         rawmemchr-sse2 rawmemchr-sse2-bsf.
89629         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89630         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89631         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89632         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89633         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89634         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89635         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89636         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89637         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89638         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89639         * string/memrchr.c (MEMRCHR): New macro.
89641 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89643         Add integration with gcc's -ffinite-math-only and optimize wrapper
89644         functions in libm.
89645         * Versions.def: Define GLIBC_2.15 version for libm.
89646         * math/Makefile (headers): Add bits/math-finite.h.
89647         * math/bits/math-finite.h: New file.
89648         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89649         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89650         * math/e_acoshl.c: Add __*_finite alias.
89651         * math/e_acosl.c: Likewise.
89652         * math/e_asinl.c: Likewise.
89653         * math/e_atan2l.c: Likewise.
89654         * math/e_atanhl.c: Likewise.
89655         * math/e_coshl.c: Likewise.
89656         * math/e_exp10.c: Likewise.
89657         * math/e_exp10f.c: Likewise.
89658         * math/e_exp10l.c: Likewise.
89659         * math/e_exp2l.c: Likewise.
89660         * math/e_fmodl.c: Likewise.
89661         * math/e_gammal_r.c: Likewise.
89662         * math/e_hypotl.c: Likewise.
89663         * math/e_j0l.c: Likewise.
89664         * math/e_j1l.c: Likewise.
89665         * math/e_jnl.c: Likewise.
89666         * math/e_lgammal_r.c: Likewise.
89667         * math/e_log10l.c: Likewise.
89668         * math/e_log2l.c: Likewise.
89669         * math/e_logl.c: Likewise.
89670         * math/e_powl.c: Likewise.
89671         * math/e_sinhl.c: Likewise.
89672         * math/e_sqrtl.c: Likewise.
89673         * math/e_scalb.c: Completely rewritten and optimized.
89674         * math/e_scalbf.c: Likewise.
89675         * math/e_scalbl.c: Likewise.
89676         * math/w_acos.c: Likewise.
89677         * math/w_acosf.c: Likewise.
89678         * math/w_acosl.c: Likewise.
89679         * math/w_acosh.c: Likewise.
89680         * math/w_acoshf.c: Likewise.
89681         * math/w_acoshl.c: Likewise.
89682         * math/w_asin.c: Likewise.
89683         * math/w_asinf.c: Likewise.
89684         * math/w_asinl.c: Likewise.
89685         * math/w_atan2.c: Likewise.
89686         * math/w_atan2f.c: Likewise.
89687         * math/w_atan2l.c: Likewise.
89688         * math/w_atanh.c: Likewise.
89689         * math/w_atanhf.c: Likewise.
89690         * math/w_atanhl.c: Likewise.
89691         * math/w_exp10.c: Likewise.
89692         * math/w_exp10f.c: Likewise.
89693         * math/w_exp10l.c: Likewise.
89694         * math/w_fmod.c: Likewise.
89695         * math/w_fmodf.c: Likewise.
89696         * math/w_fmodl.c: Likewise.
89697         * math/w_j0.c: Likewise.
89698         * math/w_j0f.c: Likewise.
89699         * math/w_j0l.c: Likewise.
89700         * math/w_j1.c: Likewise.
89701         * math/w_j1f.c: Likewise.
89702         * math/w_j1l.c: Likewise.
89703         * math/w_jn.c: Likewise.
89704         * math/w_jnf.c: Likewise.
89705         * math/w_log.c: Likewise.
89706         * math/w_logf.c: Likewise.
89707         * math/w_logl.c: Likewise.
89708         * math/w_log10.c: Likewise.
89709         * math/w_log10f.c: Likewise.
89710         * math/w_log10l.c: Likewise.
89711         * math/w_log2.c: Likewise.
89712         * math/w_log2f.c: Likewise.
89713         * math/w_log2l.c: Likewise.
89714         * math/w_pow.c: Likewise.
89715         * math/w_powf.c: Likewise.
89716         * math/w_powl.c: Likewise.
89717         * math/w_remainder.c: Likewise.
89718         * math/w_remainderf.c: Likewise.
89719         * math/w_remainderl.c: Likewise.
89720         * math/w_scalb.c: Likewise.
89721         * math/w_scalbf.c: Likewise.
89722         * math/w_scalbl.c: Likewise.
89723         * math/w_sqrt.c: Likewise.
89724         * math/w_sqrtf.c: Likewise.
89725         * math/w_sqrtl.c: Likewise.
89726         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89727         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89728         used.
89729         * math/math_private.h: Declare __kernel_standard_f.
89730         * math/w_cosh.c: Remove cruft and optimize a bit.
89731         * math/w_coshf.c: Likewise.
89732         * math/w_coshl.c: Likewise.
89733         * math/w_exp2.c: Likewise.
89734         * math/w_exp2f.c: Likewise.
89735         * math/w_exp2l.c: Likewise.
89736         * math/w_hypot.c: Likewise.
89737         * math/w_hypotf.c: Likewise.
89738         * math/w_hypotl.c: Likewise.
89739         * math/w_lgamma.c: Likewise.
89740         * math/w_lgamma_r.c: Likewise.
89741         * math/w_lgammaf.c: Likewise.
89742         * math/w_lgammaf_r.c: Likewise.
89743         * math/w_lgammal.c: Likewise.
89744         * math/w_lgammal_r.c: Likewise.
89745         * math/w_sinh.c: Likewise.
89746         * math/w_sinhf.c: Likewise.
89747         * math/w_sinhl.c: Likewise.
89748         * math/w_tgamma.c: Likewise.
89749         * math/w_tgammaf.c: Likewise.
89750         * math/w_tgammal.c: Likewise.
89751         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89752         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89753         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89754         Minor optimizations.  Pretty printing.  Remove cruft.
89755         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89756         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89757         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89758         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89759         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89760         * sysdeps/i386/fpu/e_asin.S: Likewise.
89761         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89762         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89763         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89764         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89765         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89766         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89767         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89768         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89769         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89770         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89771         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89772         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89773         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89774         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89775         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89776         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89777         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89778         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89779         * sysdeps/i386/fpu/e_log.S: Likewise.
89780         * sysdeps/i386/fpu/e_log10.S: Likewise.
89781         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89782         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89783         * sysdeps/i386/fpu/e_log2.S: Likewise.
89784         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89785         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89786         * sysdeps/i386/fpu/e_logf.S: Likewise.
89787         * sysdeps/i386/fpu/e_logl.S: Likewise.
89788         * sysdeps/i386/fpu/e_pow.S: Likewise.
89789         * sysdeps/i386/fpu/e_powf.S: Likewise.
89790         * sysdeps/i386/fpu/e_powl.S: Likewise.
89791         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89792         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89793         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89794         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89795         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89796         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89797         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89798         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89799         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89800         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89801         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89803         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89804         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89805         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89806         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89807         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89808         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89809         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89810         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89811         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89812         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89813         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89814         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89815         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89816         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89817         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89818         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89820         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89821         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89822         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89823         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89824         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89825         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89826         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89827         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89828         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89829         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89830         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89831         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89832         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89834         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89835         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89836         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89837         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89838         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89839         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89840         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89841         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89842         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89843         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89844         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89845         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89846         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89847         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89848         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89849         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89850         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89851         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89852         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89853         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89854         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89855         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89856         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89857         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89858         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89859         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89860         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89861         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89862         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89864         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89865         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89866         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89867         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89868         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89869         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89870         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89871         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89872         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89873         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89874         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89875         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89876         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89877         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89878         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89879         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89880         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89881         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89882         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89883         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89884         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89885         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89886         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89887         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89888         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89889         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89890         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89891         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89892         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89893         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89894         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89895         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89896         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89897         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89898         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89899         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89900         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89901         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89902         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89903         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89904         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89905         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89906         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89907         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89908         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89909         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89910         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89911         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89912         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89913         (__isnanf): Likewise.
89914         (__isinf_ns): Likewise.
89915         (__isinf_nsf): Likewise.
89916         (__finite): Likewise.
89917         (__finitef): Likewise.
89918         (__ieee754_sqrt): Define as macro.
89919         (__ieee754_sqrtf): Define as macro.
89920         (__ieee754_sqrtl): Define as macro.
89921         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89922         inlined copy.
89923         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89924         __FINITE_MATH_ONLY__ consistent.
89925         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89927 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89929         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89930         of rawmemchr.
89932         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89934 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89936         * po/ja.po: Update from translation team.
89938 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89940         * locale/programs/locarchive.c (prepare_address_space): New function.
89941         (create_archive, enlarge_archive, open_archive): Use it.
89943         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89944         inside [SHARED], where it is used.
89946         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89948         * nss/getent.c (netgroup_keys): Remove unused variable.
89949         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89951 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89953         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89954         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89955         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89956         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89957         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89958         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89959         * math/Makefile (libm-calls): Add s_isinf_ns.
89960         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89961         * math/multc3.c: Likewise.
89962         * math/s_casin.c: Likewise.
89963         * math/s_casinf.c: Likewise.
89964         * math/s_casinl.c: Likewise.
89965         * math/s_ccos.c: Likewise.
89966         * math/s_ccosf.c: Likewise.
89967         * math/s_ccosl.c: Likewise.
89968         * math/s_ctan.c: Likewise.
89969         * math/s_ctanf.c: Likewise.
89970         * math/s_ctanh.c: Likewise.
89971         * math/s_ctanhf.c: Likewise.
89972         * math/s_ctanhl.c: Likewise.
89973         * math/s_ctanl.c: Likewise.
89974         * math/w_fmod.c: Likewise.
89975         * math/w_fmodf.c: Likewise.
89976         * math/w_fmodl.c: Likewise.
89977         * math/w_remainder.c: Likewise.
89978         * math/w_remainderf.c: Likewise.
89979         * math/w_remainderl.c: Likewise.
89980         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89981         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89982         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89984         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89985         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89986         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89987         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89989         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89990         of the number.
89991         * stdio-common/printf_fphex.c: Likewise.
89992         * stdio-common/printf_size.c: Likewise.
89994         * math/e_exp10.c: Include math_private.h using <...> not "...".
89995         * math/e_exp10f.c: Likewise.
89996         * math/e_exp10l.c: Likewise.
89997         * math/e_exp2l.c: Likewise.
89998         * math/e_j0l.c: Likewise.
89999         * math/e_j1l.c: Likewise.
90000         * math/e_jnl.c: Likewise.
90001         * math/e_lgammal_r.c: Likewise.
90002         * math/e_rem_pio2l.c: Likewise.
90003         * math/e_scalb.c: Likewise.
90004         * math/e_scalbf.c: Likewise.
90005         * math/e_scalbl.c: Likewise.
90006         * math/k_cosl.c: Likewise.
90007         * math/k_sinl.c: Likewise.
90008         * math/k_tanl.c: Likewise.
90009         * math/s_cacoshf.c: Likewise.
90010         * math/s_catan.c: Likewise.
90011         * math/s_catanf.c: Likewise.
90012         * math/s_catanh.c: Likewise.
90013         * math/s_catanhf.c: Likewise.
90014         * math/s_catanhl.c: Likewise.
90015         * math/s_catanl.c: Likewise.
90016         * math/s_ccosh.c: Likewise.
90017         * math/s_ccoshf.c: Likewise.
90018         * math/s_ccoshl.c: Likewise.
90019         * math/s_cexp.c: Likewise.
90020         * math/s_cexpf.c: Likewise.
90021         * math/s_cexpl.c: Likewise.
90022         * math/s_clog.c: Likewise.
90023         * math/s_clog10.c: Likewise.
90024         * math/s_clog10f.c: Likewise.
90025         * math/s_clog10l.c: Likewise.
90026         * math/s_clogf.c: Likewise.
90027         * math/s_clogl.c: Likewise.
90028         * math/s_csin.c: Likewise.
90029         * math/s_csinf.c: Likewise.
90030         * math/s_csinh.c: Likewise.
90031         * math/s_csinhf.c: Likewise.
90032         * math/s_csinhl.c: Likewise.
90033         * math/s_csinl.c: Likewise.
90034         * math/s_csqrt.c: Likewise.
90035         * math/s_csqrtf.c: Likewise.
90036         * math/s_csqrtl.c: Likewise.
90037         * math/s_ctan.c: Likewise.
90038         * math/s_ctanf.c: Likewise.
90039         * math/s_ctanh.c: Likewise.
90040         * math/s_ctanhf.c: Likewise.
90041         * math/s_ctanhl.c: Likewise.
90042         * math/s_ctanl.c: Likewise.
90043         * math/s_ldexp.c: Likewise.
90044         * math/s_ldexpf.c: Likewise.
90045         * math/s_ldexpl.c: Likewise.
90046         * math/s_significand.c: Likewise.
90047         * math/s_significandf.c: Likewise.
90048         * math/s_significandl.c: Likewise.
90049         * math/w_acos.c: Likewise.
90050         * math/w_acosf.c: Likewise.
90051         * math/w_acosh.c: Likewise.
90052         * math/w_acoshf.c: Likewise.
90053         * math/w_acoshl.c: Likewise.
90054         * math/w_acosl.c: Likewise.
90055         * math/w_asin.c: Likewise.
90056         * math/w_asinf.c: Likewise.
90057         * math/w_asinl.c: Likewise.
90058         * math/w_atan2.c: Likewise.
90059         * math/w_atan2f.c: Likewise.
90060         * math/w_atan2l.c: Likewise.
90061         * math/w_atanh.c: Likewise.
90062         * math/w_atanhf.c: Likewise.
90063         * math/w_atanhl.c: Likewise.
90064         * math/w_cosh.c: Likewise.
90065         * math/w_coshf.c: Likewise.
90066         * math/w_coshl.c: Likewise.
90067         * math/w_dremf.c: Likewise.
90068         * math/w_exp10.c: Likewise.
90069         * math/w_exp10f.c: Likewise.
90070         * math/w_exp10l.c: Likewise.
90071         * math/w_exp2.c: Likewise.
90072         * math/w_exp2f.c: Likewise.
90073         * math/w_fmod.c: Likewise.
90074         * math/w_fmodf.c: Likewise.
90075         * math/w_fmodl.c: Likewise.
90076         * math/w_hypot.c: Likewise.
90077         * math/w_hypotf.c: Likewise.
90078         * math/w_hypotl.c: Likewise.
90079         * math/w_j0.c: Likewise.
90080         * math/w_j0f.c: Likewise.
90081         * math/w_j0l.c: Likewise.
90082         * math/w_j1.c: Likewise.
90083         * math/w_j1f.c: Likewise.
90084         * math/w_j1l.c: Likewise.
90085         * math/w_jn.c: Likewise.
90086         * math/w_jnf.c: Likewise.
90087         * math/w_jnl.c: Likewise.
90088         * math/w_lgamma.c: Likewise.
90089         * math/w_lgamma_r.c: Likewise.
90090         * math/w_lgammaf.c: Likewise.
90091         * math/w_lgammaf_r.c: Likewise.
90092         * math/w_lgammal.c: Likewise.
90093         * math/w_lgammal_r.c: Likewise.
90094         * math/w_log.c: Likewise.
90095         * math/w_log10.c: Likewise.
90096         * math/w_log10f.c: Likewise.
90097         * math/w_log10l.c: Likewise.
90098         * math/w_log2.c: Likewise.
90099         * math/w_log2f.c: Likewise.
90100         * math/w_log2l.c: Likewise.
90101         * math/w_logf.c: Likewise.
90102         * math/w_logl.c: Likewise.
90103         * math/w_pow.c: Likewise.
90104         * math/w_powf.c: Likewise.
90105         * math/w_powl.c: Likewise.
90106         * math/w_remainder.c: Likewise.
90107         * math/w_remainderf.c: Likewise.
90108         * math/w_remainderl.c: Likewise.
90109         * math/w_scalb.c: Likewise.
90110         * math/w_scalbf.c: Likewise.
90111         * math/w_scalbl.c: Likewise.
90112         * math/w_sinh.c: Likewise.
90113         * math/w_sinhf.c: Likewise.
90114         * math/w_sinhl.c: Likewise.
90115         * math/w_sqrt.c: Likewise.
90116         * math/w_sqrtf.c: Likewise.
90117         * math/w_sqrtl.c: Likewise.
90118         * math/w_tgamma.c: Likewise.
90119         * math/w_tgammaf.c: Likewise.
90120         * math/w_tgammal.c: Likewise.
90122         * po/ja.po: Update from translation team.
90124 2011-09-29  Andreas Jaeger  <aj@suse.de>
90126         [BZ #13179]
90127         * sunrpc/netname.c (netname2host): Fix logic.
90129         [BZ #6779]
90130         [BZ #6783]
90131         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90132         correctly.
90133         * math/w_remainder.c (__remainder): Likewise.
90134         * math/w_remainderf.c (__remainderf): Likewise.
90135         * math/libm-test.inc (remainder_test): Add test cases.
90137 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90139         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90140         sdiv_qrnnd.
90142 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90144         * string/test-memcmp.c: Avoid unncessary #defines.
90145         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90147 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90149         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90150         Use new sse2 version for core i3 - i7 as it's faster
90151         than sse42 version.
90152         (bit_Prefer_PMINUB_for_stringop): New.
90153         * sysdeps/x86_64/rawmemchr.S: Update.
90154         Replace with faster SSE2 version.
90155         * sysdeps/x86_64/memrchr.S: New file.
90156         * sysdeps/x86_64/memchr.S: Update.
90157         Replace with faster SSE2 version.
90159 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90161         * elf/dl-load.c (lose): Add cast to avoid warning.
90163 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90165         * po/ca.po: Update from translation team.
90167         * inet/getnetgrent_r.c: Hook up nscd.
90168         * nscd/Makefile (routines): Add nscd_netgroup.
90169         (nscd-modules): Add netgroupcache.
90170         (CFLAGS-netgroupcache.c): Define.
90171         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90172         (cache_search): Add const to second parameter.
90173         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90174         INNETGR.
90175         (dbs): Add netgrdb entry.
90176         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90177         (verify_persistent_db): Handle netgrdb.
90178         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90179         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90180         GETFDNETGR.
90181         (netgroup_response_header): Define.
90182         (innetgroup_response_header): Define.
90183         (datahead): Add netgroup_response_header and innetgroup_response_header
90184         elements.
90185         * nscd/nscd.conf: Add entries for netgroup cache.
90186         * nscd/nscd.h (dbtype): Add netgrdb.
90187         (_PATH_NSCD_NETGROUP_DB): Define.
90188         (netgroup_iov_disabled): Declare.
90189         (xmalloc, xcalloc, xrealloc): Move declarations here.
90190         (cache_search): Adjust prototype.
90191         Add netgroup-related prototypes.
90192         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90193         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90194         (__nscd_innetgr): Declare.
90195         * nscd/selinux.c (perms): Use access_vector_t as element type and
90196         add netgroup-related initializers.
90197         * nscd/netgroupcache.c: New file.
90198         * nscd/nscd_netgroup.c: New file.
90199         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90200         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90201         For four parameters use innetgr.
90202         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90203         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90204         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90205         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90207         * nscd/connections.c (register_traced_file): Don't register file
90208         for disabled databases.
90210 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90212         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90214         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90215         from tree and freeing node.
90217 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90219         * nss/nsswitch.c (__nss_database_lookup): Handle
90220         nss_parse_service_list out of memory case.
90222 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90224         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90225         out of memory case.
90227 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90229         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90230         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90231         pass it down.
90232         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90233         elf_machine_rela, elf_machine_lazy_rel.
90234         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90235         (ELF_DYNAMIC_DO_REL): Likewise.
90236         (ELF_DYNAMIC_DO_RELA): Likewise.
90237         (ELF_DYNAMIC_RELOCATE): Likewise.
90238         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90239         to ELF_DYNAMIC_DO_REL.
90240         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90241         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90242         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90243         elf_machine_rela.
90244         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90245         skip_ifunc, don't call ifunc function if non-zero.
90246         (elf_machine_rela): Likewise.
90247         (elf_machine_lazy_rel): Likewise.
90248         (elf_machine_lazy_rela): Likewise.
90249         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90250         (elf_machine_lazy_rel): Likewise.
90251         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90252         Likewise.
90253         (elf_machine_lazy_rel): Likewise.
90254         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90255         Likewise.
90256         (elf_machine_lazy_rel): Likewise.
90257         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90258         (elf_machine_lazy_rel): Likewise.
90259         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90260         (elf_machine_lazy_rel): Likewise.
90261         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90262         (elf_machine_lazy_rel): Likewise.
90263         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90264         (elf_machine_lazy_rel): Likewise.
90265         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90266         (elf_machine_lazy_rel): Likewise.
90267         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90268         (elf_machine_lazy_rel): Likewise.
90270 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90272         * nss/nss_files/files-init.c (_nss_files_init): Use static
90273         initialization for all the *_traced_file variables.
90275 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90277         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90279 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90281         [BZ #13226]
90282         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90284 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90286         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90287         Reread the line before reparsing it.
90289 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90291         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90293 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90294             Maxim Kuvyrkov  <maxim@codesourcery.com>
90295             Joseph Myers  <joseph@codesourcery.com>
90297         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90298         if needed for __stack_chk_guard.
90300 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90302         * sysdeps/posix/spawni.c (script_execute): Always define it.
90303         It will be optimized away if unused.
90304         (maybe_script_execute): New function.
90305         (__spawni): Call it.
90307         * Makerules: Don't include tls.make.
90308         (config-tls): Always set to thread.
90309         * tls.make.c: File removed.
90311 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90313         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90314         * config.make.in (CPPFLAGS-config): New substituted variable.
90316 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90320         [BZ #13192]
90321         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90322         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90324 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90326         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90327         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90328         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90329         (CALL_FAIL): Likewise.
90330         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90331         (CALL_FAIL): Macro removed.
90332         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90334 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90336         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90337         for __FINITE_MATH_ONLY__ == 1.
90339 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90341         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90342         __ieee754_sqrt instead of sqrt.
90343         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90344         __ieee754_sqrtf instead of sqrtf.
90345         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90346         __floorf instead of floorf.
90347         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90348         __floorf, __truncf instead of floorf, truncf.
90350 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90352         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90354         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90355         __extern_always_inline.
90356         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90357         32-bit.
90359 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90361         * elf/rtld.c (dl_main): Also relocate in dependency order when
90362         doing symbol dependency testing.
90364 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90367         Always define `refsym'.
90369 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90371         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90372         (__FD_ELT): Renamed from __FDELT.
90373         * misc/bits/select2.h (__FD_ELT): Likewise.
90374         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90375         __FD_MASK instead of __FDELT, __FDMASK.
90376         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90377         Likewise.
90378         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90379         Likewise.
90381         * elf/Makefile (gen-ldd): Fix pattern.
90383         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90384         (init_tls): Likewise.
90386 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90388         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90390 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90392         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90393         `struct cmsghdr *' instead of `void *'.
90394         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90395         Likewise.
90397 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90399         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90400         if non-absolute.
90401         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90402         ldd_rewrite_script.
90404 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90406         * configure.in: Remove --with-tls option.
90407         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90408         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90409         out in case it is missing.
90410         * sysdeps/ia64/elf/configure.in: Likewise.
90411         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90412         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90413         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90414         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90415         * sysdeps/sh/elf/configure.in: Likewise.
90416         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90417         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90418         * sysdeps/x86_64/elf/configure.in: Likewise.
90419         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90420         * sysdeps/mach/hurd/tls.h: Likewise.
90422         [BZ #13067]
90423         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90425         [BZ #13090]
90426         * configure.in: Fix use of AC_INIT.
90428         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90430 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90432         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90433         __set_errno.
90434         * malloc/hooks.c: Likewise.
90436         [BZ #11929]
90437         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90438         variables statically.
90439         (narenas): Initialize.
90440         (list_lock): Initialize.
90441         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90442         initializtion of main_arena and list_lock.  Small cleanups.
90443         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90444         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90445         Add initializers to main_arena and mp_.
90446         (malloc_state): Remove pagesize member.  Change all users to use
90447         GLRO(dl_pagesize).
90449         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90450         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90451         is always initialized.
90453         * malloc/malloc.c: Removed unused configurations and dead code.
90454         * malloc/arena.c: Likewise.
90455         * malloc/hooks.c: Likewise.
90456         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90458         * include/tls.h: Removed.  USE___THREAD must always be defined.
90459         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90460         * elf/dl-libc.c: Likewise.
90461         * elf/dl-tsd.c: Likewise.
90462         * include/errno.h: Likewise.
90463         * include/netdb.h: Likewise.
90464         * include/resolv.h: Likewise.
90465         * inet/herrno-loc.c: Likewise.
90466         * inet/herrno.c: Likewise.
90467         * malloc/arena.c: Likewise.
90468         * malloc/hooks.c: Likewise.
90469         * malloc/malloc.c: Likewise.
90470         * resolv/res-state.c: Likewise.
90471         * resolv/res_libc.c: Likewise.
90472         * sysdeps/i386/dl-machine.h: Likewise.
90473         * sysdeps/ia64/dl-machine.h: Likewise.
90474         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90475         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90476         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90477         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90478         * sysdeps/sh/dl-machine.h: Likewise.
90479         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90480         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90481         * sysdeps/unix/i386/sysdep.S: Likewise.
90482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90483         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90485         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90487         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90488         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90489         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90490         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90492         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90493         * sysdeps/x86_64/dl-machine.h: Likewise.
90494         * tls.make.c: Likewise.
90496         * configure.in: Remove --with-__thread option.  Make tests for
90497         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90498         tls_model attribute fail if no support is available.  Remove
90499         USE_IN_LIBIO.
90500         * Makeconfig: Adjust for dropped configure option.  All features are
90501         now mandatory.
90502         * Makerules: Likewise.
90503         * Versions.def: Likewise.
90504         * argp/argp-fmtstream.c: Likewise.
90505         * argp/argp-fmtstream.h: Likewise.
90506         * argp/argp-help.c: Likewise.
90507         * assert/assert.c: Likewise.
90508         * config.h.in: Likewise.
90509         * config.make.in: Likewise.
90510         * configure: Likewise.
90511         * configure.in: Likewise.
90512         * csu/Versions: Likewise.
90513         * csu/init.c: Likewise.
90514         * elf/tst-audit2.c: Likewise.
90515         * elf/tst-tls10.c: Likewise.
90516         * elf/tst-tls10.h: Likewise.
90517         * elf/tst-tls11.c: Likewise.
90518         * elf/tst-tls12.c: Likewise.
90519         * elf/tst-tls14.c: Likewise.
90520         * elf/tst-tlsmod11.c: Likewise.
90521         * elf/tst-tlsmod12.c: Likewise.
90522         * elf/tst-tlsmod13.c: Likewise.
90523         * elf/tst-tlsmod13a.c: Likewise.
90524         * elf/tst-tlsmod14a.c: Likewise.
90525         * elf/tst-tlsmod15b.c: Likewise.
90526         * elf/tst-tlsmod16a.c: Likewise.
90527         * elf/tst-tlsmod16b.c: Likewise.
90528         * elf/tst-tlsmod7.c: Likewise.
90529         * elf/tst-tlsmod8.c: Likewise.
90530         * elf/tst-tlsmod9.c: Likewise.
90531         * gmon/gmon.c: Likewise.
90532         * grp/fgetgrent_r.c: Likewise.
90533         * grp/putgrent.c: Likewise.
90534         * hurd/fopenport.c: Likewise.
90535         * include/libc-symbols.h: Likewise.
90536         * include/tls.h: Likewise.
90537         * intl/gettextP.h: Likewise.
90538         * intl/loadinfo.h: Likewise.
90539         * locale/global-locale.c: Likewise.
90540         * locale/localeinfo.h: Likewise.
90541         * mach/devstream.c: Likewise.
90542         * malloc/arena.c: Likewise.
90543         * malloc/set-freeres.c: Likewise.
90544         * misc/err.c: Likewise.
90545         * misc/getttyent.c: Likewise.
90546         * misc/mntent_r.c: Likewise.
90547         * posix/getopt.c: Likewise.
90548         * posix/wordexp.c: Likewise.
90549         * pwd/fgetpwent_r.c: Likewise.
90550         * resolv/Versions: Likewise.
90551         * resolv/res_hconf.c: Likewise.
90552         * shadow/fgetspent_r.c: Likewise.
90553         * shadow/putspent.c: Likewise.
90554         * stdio-common/printf_fphex.c: Likewise.
90555         * stdio-common/tmpfile.c: Likewise.
90556         * stdlib/abort.c: Likewise.
90557         * stdlib/fmtmsg.c: Likewise.
90558         * sunrpc/auth_unix.c: Likewise.
90559         * sunrpc/clnt_perr.c: Likewise.
90560         * sunrpc/clnt_tcp.c: Likewise.
90561         * sunrpc/clnt_udp.c: Likewise.
90562         * sunrpc/clnt_unix.c: Likewise.
90563         * sunrpc/openchild.c: Likewise.
90564         * sunrpc/svc_simple.c: Likewise.
90565         * sunrpc/svc_tcp.c: Likewise.
90566         * sunrpc/svc_udp.c: Likewise.
90567         * sunrpc/svc_unix.c: Likewise.
90568         * sunrpc/xdr.c: Likewise.
90569         * sunrpc/xdr_array.c: Likewise.
90570         * sunrpc/xdr_rec.c: Likewise.
90571         * sunrpc/xdr_ref.c: Likewise.
90572         * sunrpc/xdr_stdio.c: Likewise.
90574 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90576         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90578 2011-07-03  Andreas Jaeger  <aj@suse.de>
90580         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90581         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90582         regenerate with gen-libm-tests.pl.
90584 2010-05-12  Petr Baudis  <pasky@suse.cz>
90586         [BZ #11589]
90587         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90588         around j0() zero points by switching to j1().
90589         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90590         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90592         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90594 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90596         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90597         instead of 0.
90598         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90599         instead of 0.
90600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90601         Patch in part by Pavel Roskin <proski@gnu.org>.
90603         [BZ #13138]
90604         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90605         realloc.
90606         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90607         Free memory block if necessary.
90609         [BZ #12847]
90610         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90611         be NULL.  Don't lock in this case.
90613 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90615         * elf/elf.h (ELFOSABI_GNU): New macro.
90616         (ELFOSABI_LINUX): Define to that.
90618 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90620         * string/strncat.c (strncat): Undef the symbol in case it has been
90621         defined in bits/string.h.
90623 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90625         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90627         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90628         link map.
90630 2011-08-17  Andreas Jaeger  <aj@suse.de>
90632         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90634 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90635             Ian Lance Taylor  <iant@google.com>
90637         * math/libm-test.inc (lround_test): New testcase.
90638         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90640 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90642         * Makefile: Remove support for automatic cvs check-ins.
90643         * Makerules: Likewise.
90644         * config.make.in: Likewise.
90645         * configure.in: Likewise.
90646         * intl/Makefile: Likewise.
90647         * locale/Makefile: Likewise.
90648         * po/Makefile: Likewise.
90649         * posix/Makefile: Likewise.
90650         * sysdeps/gnu/Makefile: Likewise.
90651         * sysdeps/mach/hurd/Makefile: Likewise.
90652         * sysdeps/sparc/sparc32/Makefile: Likewise.
90654         [BZ #13118]
90655         * posix/Makefile (bug-regex32-ENV): Define.
90656         Patch by John Stanley <jpsinthemix@verizon.net>.
90658         * misc/Makefile (headers): Add bits/select2.h.
90659         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90660         * misc/bits/select2.h: New file.
90661         * include/bits/select2.h: New file.
90662         * debug/Makefile (routines): Add fdelt_chk.
90663         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90664         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90665         FD_ISSET.
90666         * debug/fdelt_chk.c: New file.
90668         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90669         * wcsmbs/test-wmemcmp.c: Likewise.
90670         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90671         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90673 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90675         * string/Makefile (strop-tests): Add memcmp.
90676         * string/test-wmemcmp.c: New file.
90677         * string/test-memcmp.c: Add wmemcmp support.
90679 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90681         [BZ #13153]
90682         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90683         2011-07-19 change.
90685         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90686         garbage value in a __mach_port_mod_refs call in the cases of the
90687         task-self and thread-self ports.
90689 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90691         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90693 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90695         * elf/dl-load.c (lose): Check for non-null L.
90697 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90699         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90701         * elf/dl-libc.c (dlerror_run): Pass back error code from
90702         dl_catch_error.
90704         [BZ #13123]
90705         * elf/dl-load.c (lose): Free l_origin if it is valid.
90707         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90708         names.
90709         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90710         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90711         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90712         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90713         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90714         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90716 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90718         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90719         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90720         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90721         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90722         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90723         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90724         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90725         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90726         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90727         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90729 2011-08-15  Alan Modra  <amodra@gmail.com>
90731         [BZ #13092]
90732         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90733         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90734         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90735         ppc_mcount to static-only-routines.
90736         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90737         __mcount_internal.
90738         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90739         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90741 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90743         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90744         for finite and infinity parameters.
90746 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90748         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90749         and add nop instructions for throughput optimization.
90750         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90752 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90754         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90755         aligned copy for power7 with vector-scalar instructions.
90756         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90758 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90761         AVX check.
90763 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90765         [BZ #13144]
90766         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90767         last change.
90769 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90771         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90772         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90773         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90774         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90775         clock_gettime.
90777 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90779         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90780         Forgot to demangle the pointer.
90782         * sysdeps/i386/sysdep.h: Define atom_text_section.
90783         * sysdeps/x86_64/sysdep.h: Likewise.
90784         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90785         section with atom_text_section.
90786         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90787         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90788         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90790         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90792         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90793         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90794         already be defined.  Change to take two parameters and don't assign
90795         result to variable.  Adjust all users.
90796         Define INTERNAL_GETTIME if not already defined.
90797         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90798         call.
90799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90800         HAVE_CLOCK_GETTIME_VSYSCALL.
90801         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90803         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90804         gettimeofday vsyscall, just use time.
90806 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90808         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90809         <errno.h>.
90811 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90813         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90814         syscall on x86-64.
90815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90816         syscall.
90817         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90819         syscall if possible.
90821 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90823         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90824         e_ident.  Don't pass to find_mapsXX.
90825         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90827 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90830         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90831         * sysdeps/x86_64/multiarch/strchr.S: Update.
90832         Check bit_slow_BSF bit.
90833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90834         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90835         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90837 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90839         [BZ #13134]
90840         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90841         before glibc 2.15.
90842         (tryshell): Define.
90843         (__spawni): Change last parameter to be flag.  Test
90844         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90845         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90846         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90847         * posix/spawni.c: Likewise.
90848         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90849         * posix/spawnp.c: Likewise.  Change normal version to use
90850         SPAWN_XFLAGS_USE_PATH.
90851         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90852         SPAWN_XFLAGS_TRY_SHELL.
90854         [BZ #13150]
90855         * posix/glob.h: Remove gcc 1.x support.
90857         [BZ #13068]
90858         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90860 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90863         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90864         strrchr-sse2-bsf
90865         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90866         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90867         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90868         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90869         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90870         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90872 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90874         * sysdeps/x86_64/wcscmp.S: New file.
90876         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90877         wcscmp-c wcscmp-sse2
90878         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90879         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90880         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90881         * wcsmbs/wcscmp.c: Allow renaming.
90883 2011-09-05  David S. Miller  <davem@davemloft.net>
90885         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90886         stack slot, rather than the struct return pointer slot.
90887         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90888         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90890         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90892 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90894         * po/ja.po: Update from translation team.
90896         [BZ #13144]
90897         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90898         kernel in 64-bit binaries.
90900 2011-09-01  David S. Miller  <davem@davemloft.net>
90902         * elf/elf.h (HWCAP_SPARC_*): Move to..
90903         * sysdeps/sparc/sysdep.h: this new file and add new values.
90904         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90905         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90906         _DL_HWCAP_COUNT to 24.
90907         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90908         entries.
90909         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90910         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90911         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90912         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90913         instead of magic constants.
90914         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90916 2011-08-31  David S. Miller  <davem@davemloft.net>
90918         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90920         Reimplement to do errno handling inline.
90921         (SYSCALL_ERROR_HANDLER): New macro.
90922         (__SYSCALL_STRING): Do not do errno handling in asm.
90923         (__CLONE_SYSCALL_STRING): Delete.
90924         (__INTERNAL_SYSCALL_STRING): Delete.
90925         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90926         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90927         (PSEUDO): Reimplement to do errno handling inline.
90928         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90929         (SYSCALL_ERROR_HANDLER): New macro.
90930         (__SYSCALL_STRING): Do not do errno handling in asm.
90931         (__CLONE_SYSCALL_STRING): Delete.
90932         (__INTERNAL_SYSCALL_STRING): Delete.
90933         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90934         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90935         i386.
90936         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90937         (inline_syscall*): Add 'err' argument.
90938         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90939         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90940         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90941         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90943         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90944         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90946 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90948         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90950 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90952         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90953         directive.
90955 2011-08-24  David S. Miller  <davem@davemloft.net>
90957         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90959 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90961         * elf/Makefile: Add rules to build and run unload8 test.
90962         * elf/unload8.c: New file.
90963         * elf/unload8mod1.c: New file.
90964         * elf/unload8mod1x.c: New file.
90965         * elf/unload8mod2.c: New file.
90966         * elf/unload8mod3.c: New file.
90968         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90969         it wasn't used.
90971 2011-08-23  David S. Miller  <davem@davemloft.net>
90973         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90974         subtract stack bias.
90975         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90976         %sp not %fp in calculations.
90977         (_JMPBUF_UNWINDS_ADJ): Likewise.
90979         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90980         (aio_suspend): Call it to force an exception region around the
90981         AIO_MISC_WAIT() invocation.
90983 2011-08-23  Andreas Schwab  <schwab@redhat.com>
90985         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90986         backslash.
90988 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
90990         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90991         protection macro.
90992         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90993         and <dl-machine.h>.
90994         (Elf64_FuncDesc): Remove.
90996 2011-08-22  David S. Miller  <davem@davemloft.net>
90998         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90999         sigaltstack check, add missing cfi directives.
91000         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91001         missing cfi directives, and sigaltstack handling.
91003 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91005         [BZ #11724]
91006         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91007         object is seen twice.
91008         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91010         * elf/Makefile (distribute): Add tst-initorder2.c.
91011         (tests): Add tst-initorder2.
91012         (modules-names): Add tst-initorder2a tst-initorder2b
91013         tst-initorder2c tst-initorder2d.  Add rules to build them.
91014         ($(objpfx)tst-initorder2.out): New rule.
91015         * elf/tst-initorder2.c: New file.
91016         * elf/tst-initorder2.exp: New file.
91018 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91020         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91022         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91023         dependencies back to end of function.
91025         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91026         $(elfobjdir)/ld.so.
91028 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91030         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91031         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91032         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91033         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91034         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91035         of __vdso_gettimeofday.
91036         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91037         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91038         attribute_hidden.
91039         (_libc_vdso_platform_setup): Remove initialization of
91040         __vdso_gettimeofday and __vdso_time.
91042 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91044         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91045         and fgetc_unlocked.
91046         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91047         getc_unlocked.
91049         * elf/dl-open.c (add_to_global): Report additions to the global scope
91050         for LD_DEBUG=scopes.
91051         (dl_open_worker): Also print scope of newly loaded dependencies.
91052         (_dl_show_scope): Indicate if there is no scope.
91054         [BZ #13114]
91055         * stdio-common/Makefile (tests): Add bug24.
91056         * stdio-common/bug24.c: New file.
91058 2011-08-19  Andreas Jaeger  <aj@suse.de>
91060         [BZ #13114]
91061         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91062         non-existant file when using close-on-exec mode.
91064 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91066         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91067         the very first instruction.
91069         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91070         the CFI state in the end.
91071         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91072         inclusion of dl-trampoline.h.
91073         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91075 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91077         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91078         expectations for long double.
91080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91081         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91083 2011-08-14  David S. Miller  <davem@davemloft.net>
91085         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91086         artificual limit depends upon the system page size.
91088 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91090         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91091         * resolv/Makefile: Define CFLAGS-libresolv.
91093 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91095         * nss/makedb.c (compute_tables): Make variables used in nested
91096         function static.
91098 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91100         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91101         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91102         if buffer was too small.
91104         * elf/pldd.c (main): Attach to all threads in the process.
91105         Rewrite /proc handling to use *at functions.
91107 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91109         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91110         specifies first scope to show.
91111         (dl_open_worker): Update callers.  Move printing scope of new
91112         object to before the relocation.
91113         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91114         * sysdeps/generic/ldsodefs.h: Update declaration.
91116         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91117         string for the scope number.
91119 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91121         * nscd/servicescache.c (cache_addserv): Make sure written is always
91122         initialized.
91124 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91126         * sysdeps/i386/i486/bits/atomic.h
91127         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91128         statement expression, so as to suppress "set but not used" warning.
91129         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91131         * string/strncat.c (STRNCAT): Use prototype definition.
91133         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91134         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91135         -Iprograms here.
91136         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91137         (localedef-modules): Add localedef.
91138         (locale-modules): Add locale.
91140         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91141         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91142         to avoid a warning.
91144 2011-08-14  David S. Miller  <davem@davemloft.net>
91146         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91147         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91149 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91151         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91152         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91153         * elf/rtld.c (dl_main): Set l_name of vDSO.
91154         Call _dl_show_scope when DL_DEBUG_SCOPES.
91155         (process_dl_debug): Recognize scopes flag and also set it for all.
91156         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91157         Declare _dl_show_scope.
91159         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91160         (do_dlopen): Pass caller_dlopen to dl_open.
91161         (__libc_dlopen_mode): Initialize caller_dlopen.
91163         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91164         of libc.  Make tolower call locale-independent.  Optimize a bit by
91165         using isdigit instead of isalnum.
91166         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91168 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91170         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91171         was a dependency or dynamically loaded.
91173 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91175         * intl/l10nflist.c: Allow architecture-specific pop function.
91176         * sysdeps/x86_64/l10nflist.c: New file.
91178         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91179         classification.
91181 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91183         * include/dirent.h: Add libc_hidden_proto for scandirat and
91184         scandirat64.  Don't declare __scandirat64.
91185         * dirent/scandirat.c: Add libc_hidden_def.
91186         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91187         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91189 2011-08-10  David S. Miller  <davem@davemloft.net>
91191         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91192         enum.
91193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91194         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91195         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91197 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91199         * Versions.def [libc]: Add GLIBC_2.15.
91200         * dirent/Makefile (routines): Add scandirat and scandirat64.
91201         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91202         GLIBC_2.15.
91203         * dirent/dirent.h: Declare scandirat and scandirat64.
91204         * dirent/scandirat.c: New file.
91205         * dirent/scandirat64.c: New file.
91206         * sysdeps/wordsize-64/scandirat.c: New file.
91207         * sysdeps/wordsize-64/scandirat64.c: New file.
91208         * dirent/opendir.c: Define opendirat.
91209         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91210         using scandirat.
91211         * dirent/scandir64.c: Adjust for scandir.c change.
91212         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91213         __scandirat64, and __scandir_cancel_handler.
91214         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91215         additional parameter and use openat instead of open (outside of ld.so).
91216         Add new __opendir as wrapper around __opendirat.
91217         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91218         here without requiring old scandirat implementation.
91220 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91222         * dirent/scandir.c (cancel_handler): Renamed to
91223         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91224         defined.  Adjust users.
91225         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91226         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91228 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91230         * string/test-string.h (IMPL): Use __STRING to expand name and then
91231         stringify it.
91233         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91234         of cleanups.
91236 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91238         * string/Makefile: Update.
91239         (strop-tests): Append strncat.
91240         * string/test-wcscmp.c: New file.
91241         New comprehensive test for wcscmp.
91242         * string/test-strcmp.c: Update.
91243         (WIDE): New define.
91245 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91247         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91248         line.
91250 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91253         encoding to ACE if AI_IDN.
91255 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91257         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91258         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91260 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91262         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91263         Fix overflow bug in strncat.
91264         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91266         * string/test-strncat.c: Update.
91267         Add new tests for checking overflow bugs.
91269 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91272         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91273         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91274         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91275         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91276         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91277         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91278         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91279         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91281         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91282         (USE_AS_STRCAT): Define.
91283         Add strcat and strncat support.
91284         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91286 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91288         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91289         __n bigger than INT_MAX+1.
91290         (__strncmp_g): Likewise.
91292 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91294         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91295         * libio/stido.h: Likewise.
91297         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91298         (AF_NFC): Define.
91299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91300         (AF_NFC): Define.
91302         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91303         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91304         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91305         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91306         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91308         [BZ #13021]
91309         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91310         installed.
91312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91313         typo.
91314         (_dl_x86_64_save_sse): Likewise.
91316 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91319         OSXSAVE.
91320         (_dl_x86_64_save_sse): Likewise.
91322         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91324         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91326 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91329         change.
91330         (_dl_x86_64_save_sse): Use correct AVX check.
91332 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91334         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91335         bug in strncpy/strncat.
91336         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91338 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91340         * string/tester.c (test_strcat): Add tests for different alignments
91341         of source and destination.
91342         (test_strncat): Likewise.
91344 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91346         [BZ #12852]
91347         * posix/glob.c (glob): Check passed in values before using them in
91348         expressions to avoid some overflows.
91349         (glob_in_dir): Likewise.
91351         [BZ #13007]
91352         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91353         check for AVX enablement so that we don't crash with old kernels and
91354         new hardware.
91355         * elf/tst-audit4.c: Add same checks here.
91356         * elf/tst-audit6.c: Likewise.
91358         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91360 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91362         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91364 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91366         * po/cs.po: Update from translation team.
91367         * po/bg.po: Likewise.
91369 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91371         * misc/sys/cdefs.h: Add support for const attribute.
91372         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91373         to gnu_dev_{major,minor,makedev} functions.
91375 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91377         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91379 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91381         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91382         strlen results.
91384 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91387         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91388         register in order to avoid conflicts with the soft frame pointer
91389         being held in r11 when necessary.
91390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91391         (INTERNAL_VSYSCALL_NCS): Likewise.
91393 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91395         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91396         * elf/dl-fini.c (_dl_fini): Adjust caller.
91397         * elf/dl-close.c (_dl_close_worker): Likewise.
91398         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91400 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91402         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91403         "aux_cache->nlibs < 0".
91405         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91406         in the reload-count case.
91408 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91411         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91412         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91413         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91414         * sysdeps/x86_64/multiarch/strcat.S: New file.
91415         * sysdeps/x86_64/multiarch/strncat.S: New file.
91416         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91417         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91418         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91419         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91420         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91421         (USE_AS_STRCAT): Define.
91422         Add strcat and strncat support.
91423         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91424         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91425         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91426         * string/strncat.c: Update.
91427         (USE_AS_STRNCAT): Define.
91428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91429         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91430         and i7.
91431         * sysdeps/x86_64/multiarch/init-arch.h
91432         (bit_Prefer_PMINUB_for_stringop): New.
91433         (index_Prefer_PMINUB_for_stringop): Likewise.
91434         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91435         bit_Prefer_PMINUB_for_stringop.
91437 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91439         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91440         buffer64.
91441         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91442         of casting of buffer.
91443         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91444         buffer32 and buffer64.
91445         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91446         writes instead of casting of buffer.
91447         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91448         buffer32.
91449         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91450         casting of buffer.
91452 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91454         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91456 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91458         * nscd/nscd.c (termination_handler): Don't do anything for a database
91459         if it has not yet been initialized.
91461 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91463         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91465 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91467         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91469 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91471         * po/nl.po: Update from translation team.
91472         * po/sv.po: Likewise.
91474 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91476         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91477         now disallowed by GCC.
91479         * configure.in (use-default-link): Default to yes if a test -shared
91480         link meets our qualifications.
91481         * configure: Regenerated.
91483         * config.make.in (output-format): New variable.
91484         * configure.in: Check for ld --print-output-format support.
91485         * configure: Regenerated.
91486         * Makerules ($(common-objpfx)format.lds)
91487         [$(output-format) != unknown]: Just use $(output-format),
91488         instead of the linker-script munging.
91490 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91492         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91493         of $(common-objpfx)shlib.lds.
91494         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91496         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91497         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91499         * configure.in (-z relro check): Adjust test code to add a large
91500         writable data section after it.
91501         * configure: Regenerated.
91503 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91505         * configure.in (-z relro check): Fix test code to make the variable
91506         truly const.
91507         * configure: Regenerated.
91509 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91511         * nscd/nscd.h (struct traced_file): Define.
91512         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91513         elements.  Add traced_files.
91514         (inotify_fd): Declare.
91515         (register_traced_file): Declare.
91516         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91517         (inotify_fd): Export.
91518         (resolv_conf_descr): Remove.
91519         (nscd_init): Move inotify descriptor creation to main.
91520         Don't register files for notification here.
91521         (register_traced_file): New function.
91522         (invalidate_cache): Don't use reset_res to determine whether to call
91523         res_init, go through the list of registered files.
91524         (main_loop_poll): The inotify descriptors are now stored in the
91525         structures for the traced files.
91526         (main_loop_epoll): Likewise.
91527         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91528         to __nss_disable_nscd.
91529         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91530         for a database anymore.  Check the records for all the registered
91531         files instead.
91532         * nss/Makefile (libnss_files-routines): Add files-init.
91533         (libnss_db-routines): Add db-init.
91534         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91535         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91536         * nss/nss_db/db-init.c: New file.
91537         * nss/nss_files/files-init.c: New file.
91538         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91539         __nss_lookup_function.
91540         (__nss_lookup_function): Call nss_load_library.
91541         (nss_load_all_libraries): New function.
91542         (__nss_disable_nscd): Take parameter with callback function for files
91543         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91544         used for the cached services.
91545         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91546         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91547         options for features to all the files in nscd.
91549         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91551 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91553         * csu/elf-init.c (__libc_csu_init): Comment typo.
91555 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91557         * po/pl.po: Update from translation team.
91558         * po/ja.po: Likewise.
91559         * po/ru.po: Likewise.
91560         * po/ko.po: Likewise.
91561         * po/fr.po: Likewise.
91563 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91565         * configure.in (.ctors/.dtors header and trailer check):
91566         Use an empirical test on a built program.
91567         * configure: Regenerated.
91569         * configure.in (-z relro check): Use an empirical test on a built DSO.
91570         Detect, but do not require, on ia64.
91571         * configure: Regenerated.
91573         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91574         Update tests that use readelf to use $READELF instead.
91575         * configure: Regenerated.
91577 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91579         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91580         if the result is not used.
91582 2011-07-05  Andreas Jaeger  <aj@suse.de>
91584         [BZ #9696]
91585         * stdlib/tst-strtod.c: Add testcase.
91587 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91589         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91590         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91591         The latter has a higher limit.  Take additional parameter to pass to
91592         the new function.
91593         (__pathconf): Pass file to __statfs_link_max.
91594         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91595         __statfs_link_max.
91596         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91597         __statfs_link_max.
91599         [BZ #12868]
91600         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91601         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91602         Handle Lustre.
91603         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91604         (__statfs_filesize_max): Likewise.
91605         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91607 2011-07-05  Andreas Jaeger  <aj@suse.de>
91609         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91611 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91613         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91614         `status' variable.
91615         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91616         Likewise.
91618 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91620         * Makefile (strop-tests): Add strncat.
91621         * string/test-strncat.c: New file.
91623 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91625         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91627 2011-06-21  Andreas Jaeger  <aj@suse.de>
91629         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91630         Copy rule from iconvdata/Makefile.
91632 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91634         [BZ #12922]
91635         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91636         but no long options are defined, just return 'W'.
91638 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91640         [BZ #9696]
91641         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91643 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91645         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91646         netgroups to read.
91647         (innetgr): Likewise.
91649 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91651         * config.make.in (install_root): Default to $(DESTDIR).
91653 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91655         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91657 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91659         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91661         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91662         containing directory rather than embedding absolute directory names.
91664         * scripts/check-local-headers.sh: Rewritten using awk.
91665         Match by word, not by line.  Print error messages for matches.
91666         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91668         * Makerules [shlib-lds-flags empty]:
91669         ($(common-objpfx)libc_pic.opts): New target.
91670         ($(common-objpfx)libc_pic.os.clean): New target.
91671         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91673         * config.make.in (OBJCOPY): New variable.
91674         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91675         * configure: Regenerated.
91677         * config.make.in (use-default-link): New variable.
91678         * configure.in (use_default_link): Grok --with-default-link to set it.
91679         * configure: Regenerated.
91680         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91681         (shlib-lds, shlib-lds-flags): Define to empty.
91683         * Makerules (shlib-lds): New variable.
91684         (shlib-lds-flags): New variable.
91685         (build-shlib, build-moduile, build-module-asneeded): Use it.
91686         ($(common-objpfx)libc.so): Use $(shlib-lds).
91687         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91688         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91690         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91691         DT_FLAGS/DT_FLAGS_1 with zero flags.
91693         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91694         linker script munging.
91696 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91698         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91699         as 128-bit value.
91700         * crypt/sha512.c (sha512_process_block): Perform total addition using
91701         128-bit if possible.
91702         (__sha512_finish_ctx): Likewise.
91703         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91704         as 64-bit value.
91705         * crypt/sha256.c (SWAP64): Define.
91706         (sha256_process_block): Perform total addition using 64-bit if
91707         possible.
91708         (__sha256_finish_ctx): Likewise.
91710 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91712         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91713         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91714         * nscd/hstcache.c (cache_addhst): Likewise.
91715         * nscd/grpcache.c (cache_addgr): Likewise.
91716         * nscd/aicache.c (addhstaiX): Likewise.
91717         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91719 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91721         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91722         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91723         * nscd/hstcache.c (cache_addhst): Likewise.
91724         * nscd/grpcache.c (cache_addgr): Likewise.
91725         * nscd/aicache.c (addhstaiX): Likewise.
91727 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91729         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91730         domain only when needed.
91732 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91735         is always restored.
91737 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91739         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91740         are re-adding the entry.
91741         * nscd/servicescache.c (cache_addserv): Likewise.
91743 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91745         * sysdeps/generic/dl-irel.h: fix protection against multiple
91746         inclusions.
91747         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91749 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91751         [BZ #12935]
91752         * malloc/memusage.sh: Fix quoting in message.
91753         * debug/xtrace.sh: Likewise.
91755         * configure.in: Remove support for --experimental-malloc option, make
91756         it the default.
91757         * config.make.in: Likewise.
91758         * malloc/Makefile: Likewise.
91760 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91762         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91763         two-byte characters.
91765 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91767         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91768         AC_CACHE_CHECK invocation.
91769         * configure: Regenerated.
91771         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91773 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91775         [BZ #12350]
91776         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91777         bit from old_res_options.
91779         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91781         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91782         value type for setfct.
91784 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91786         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91787         __gettimeofday instead of gettimeofday.
91789 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91791         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91793 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91795         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91798         info.
91800 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91803         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91804         strcpy-sse2-unaligned strncpy-sse2-unaligned
91805         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91806         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91807         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91808         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91809         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91810         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91811         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91812         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91813         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91814         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91815         (STRCPY): Support SSE2 and SSSE3 versions.
91817 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91819         [BZ #12874]
91820         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91821         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91822         kernels which artificially limit size of requests.
91824 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91827         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91828         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91829         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91830         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91831         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91832         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91833         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91834         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91835         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91836         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91837         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91838         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91839         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91840         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91842         Enable unaligned load optimization for Intel Core i3, i5 and i7
91843         processors.
91844         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91845         Define.
91846         (index_Fast_Unaligned_Load): Define.
91847         (HAS_FAST_UNALIGNED_LOAD): Define.
91849 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91851         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91853 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91855         [BZ #12907]
91856         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91857         until it is clear that the information is realy needed.
91858         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91860 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91864 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91866         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91867         /sys/devices/system/cpu/online if it is usable.
91869         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91870         reading the information from the /proc filesystem to once a second.
91872 2011-06-21  Andreas Jaeger  <aj@suse.de>
91874         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91875         NULL after inclusion of kernel headers.
91877 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91879         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91880         calls to internal_setent.
91882         [BZ #12885]
91883         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91884         addresses using gethostbyname4_r ignore IPv4 addresses.
91886         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91887         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91889         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91891 2011-06-20  David S. Miller  <davem@davemloft.net>
91893         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91894         inclusions.
91895         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91897         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91898         (elf_irel): Use it.
91899         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91900         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91901         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91902         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91903         * sysdeps/x86_64/dl-irel.h: Likewise.
91905         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91906         * elf/dl-sym.c: Likewise.
91908 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91910         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91911         need to dereference resplen2.
91913 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91915         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91917 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91919         * Makeconfig: Define vardbdir and inst_vardbdir.
91920         * nss/Makefile: Add rules to install db-Makefile.
91922         * nss/nss_db/db-XXX.c: Cleanup.
91924         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91925         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91926         GLIBC_PRIVATE.
91927         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91928         * nss/makedb.c: Implement -g option to specify that value strings
91929         are generated and should not be added to table iterated over for
91930         get*ent calls.
91931         * nss/nss_db/db-initgroups.c: New file.
91933         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91934         interface.
91936         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91937         (internal_getgrouplist): Adjust to name change.
91938         Update use_initgroups_entry if this is not the first call.
91939         * nss/databases.def: Add initgroups entry.
91941         * nss/makedb.c (compute_tables): Check result of multiple hash table
91942         sizes to minimize maximum chain length.
91944 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91946         * Versions.def: Add entry for libnss_db.
91947         * shlib-versions: Likewise.
91948         * nss/Makefile: Add rules to build libnss_db.
91949         * nss/Versions: Add libnss_db information.  Organize libnss_files
91950         entries better.
91951         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91952         makedb progra.  Some minor improvements to generate smaller files.
91953         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91954         here from...
91955         * nss/makedb.c: ...here.
91956         Improve database format to be smaller and require less memory at
91957         runtime.
91958         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91959         db anymore.
91960         * nss/nss_db/db-netgrp.c: Likewise.
91961         * nss/nss_db/db-open.c: Likewise.
91962         * nss/nss_files/flies-XXX.x: Adjust comments.
91963         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91964         * nss/nss_files/files-grp.c: Likewise.
91965         * nss/nss_files/files-hosts.c: Likewise.
91966         * nss/nss_files/files-network.c: Likewise.
91967         * nss/nss_files/files-proto.c: Likewise.
91968         * nss/nss_files/files-pwd.c: Likewise.
91969         * nss/nss_files/files-rpc.c: Likewise.
91970         * nss/nss_files/files-service.c: Likewise.
91971         * nss/nss_files/files-sgrp.c: Likewise.
91972         * nss/nss_files/files-spwd.c: Likewise.
91973         * nss/nss_db/db-alias.c: Removed.
91974         * nss/nss_db/dummy-db.h: Removed.
91976 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91978         * nss/makedb.c: Rewritten to not use database library.
91979         * nss/Makefile: Update to build new makedb program.
91981 2011-06-14  Andreas Jaeger  <aj@suse.de>
91983         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91984         memset declaration.
91986 2011-06-10  Andreas Schwab  <schwab@redhat.com>
91988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91989         tmpbuf.
91991 2011-06-10  Roland McGrath  <roland@hack.frob.com>
91993         * Makerules (shlib.lds): Fail if the linker script comes out empty.
91994         * elf/Makefile ($(objpfx)ld.so): Likewise.
91996         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91997         Don't list ld.so twice in dependencies.
91999         * posix/bug-regex31.c: Include <stdlib.h>.
92001         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92003         * nis/nss_compat/compat-spwd.c
92004         (getspent_next_nss_netgr): Remove unused variable.
92005         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92007         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92008         nonmembers" output to use the right array.
92010         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92012         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92014         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92015         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92016         * catgets/gencat.c (read_input_file): Likewise.
92017         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92019         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92020         variable definition inside #if's controlling its use.
92022         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92024         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92026         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92028         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92029         unreachable code.
92031         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92033         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92034         * configure: Regenerated.
92036         * Makerules: Revert last change.
92037         * elf/Makefile: Likewise.
92039 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92041         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92042         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92043         (reloc-link): Likewise.
92045 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92047         * elf/Makefile: Add rules to build pldd.
92048         * elf/pldd.c: New file.
92049         * elf/pldd-xx.c: New file.
92051 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92053         * version.h: Update for 2.15 development version.
92055 2011-06-07  David S. Miller  <davem@davemloft.net>
92057         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92058         ifuncs.
92059         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92060         elf_machine_lazy_rel): Likewise.
92061         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92063         elf_machine_lazy_rel): Likewise.
92064         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92065         dl_hwcap via passed in argument.
92066         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92067         Likewise.
92069 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92071         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92073 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92075         [BZ #12849]
92076         * manual/fdl-1.1.texi: New file, verbatim from:
92077         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92078         * manual/lgpl-2.1.texi: New file, verbatim from:
92079         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92080         * manual/Makefile (licenses): New variable, list those new file names.
92081         (texis): Use it.
92082         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92084         * manual/fdl.texi: File removed.
92085         * manual/lesser.texi: File removed.
92086         * manual/libc.texinfo (Copying, Documentation License):
92087         Use new @include file names, put @appendix directive before @include.
92089 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92091         [BZ #12841]
92092         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92093         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92094         (mq_open): Add __NTH.
92096 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92099         Assume Intel Core i3/i5/i7 processor if AVX is available.
92101 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92103         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92104         typo.
92106 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92108         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92109         memory.  Use alloca_account.  Fix memory leak when retrying.
92111 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92113         * version.h (RELEASE): Bump for 2.14 release.
92114         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92116         * config.make.in (RANLIB): Remove entry.
92118 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92120         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92121         (libc.pot): Work around missing support for .ksh extension in xgettext.
92123         [BZ #12684]
92124         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92125         if both request failed.
92126         (send_dg): In case of server errors clear resplen or *resplen2.
92128         [BZ #12454]
92129         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92130         when there are multiple maps.
92131         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92132         (_dl_fini): Remove test here.
92134         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92136 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92138         [BZ #12350]
92139         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92140         bit from old_res_options.
92141         (gaih_inet): Likewise.
92143         [BZ #11099]
92144         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92145         as signed.
92147         * resolv/res_init.c (res_setoptions): Make the code more compact.
92149         [BZ #11558]
92150         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92151         set RES_USEVC.
92153         [BZ #11634]
92154         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92156         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92158         [BZ #11781]
92159         * malloc/malloc.h: Declare malloc hook variables as volatile.
92161         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92162         in last patch.
92164         [BZ #11799]
92165         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92166         raise in the comment.
92167         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92169         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92171 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92173         [BZ #12811]
92174         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92175         grow the buffers more if it already has to be sufficient.
92176         (build_wcs_upper_buffer): Likewise.
92177         * posix/regexec.c (check_matching): Likewise.
92178         (clean_state_log_if_needed): Likewise.
92179         (extend_buffers): Don't enlarge buffers beyond size of the input
92180         buffer.
92181         Patches mostly by Emil Wojak <emil@wojak.eu>.
92182         * posix/bug-regex32.c: New file.
92183         * posix/Makefile (tests): Add bug-regex32.
92185         * locale/findlocale.c (_nl_find_locale): Return right away if
92186         _nl_explode_name failed.
92187         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92189         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92191         * debug/xtrace.sh: Unify messages.
92192         * malloc/memusage.sh: Likewise.
92194         [BZ #12813]
92195         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92196         time symbol from vDSO.  Substitute with vsyscall if not available.
92197         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92198         __vdso_time.
92200         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92201         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92202         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92203         Add sendmmsg and internal_sendmmsg.
92204         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92205         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92206         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92208         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92209         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92210         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92212 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92214         [BZ #12813]
92215         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92216         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92217         available.
92218         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92219         __vdso_getcpu.
92221         [BZ #12814]
92222         * iconvdata/Makefile (tests): Add bug-iconv9.
92223         * iconvdata/bug-iconv9.c: New file.
92225 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92227         [BZ #12814]
92228         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92230 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92232         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92233         (struct user_regs_struct): Change intcs field back to cs.
92235 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92237         * po/ja.po: Update from translation team.
92239 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92241         [BZ #12795]
92242         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92243         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92245 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92247         * stdlib/longlong.h: Update from GCC.
92249 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92251         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92252         parameter name.
92253         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92254         Add parameter name.
92255         (__sysconf): Pass it down.
92257 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92259         [BZ #12671]
92260         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92261         some situations.
92262         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92263         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92264         add in in __libc_use_alloca calls.  Adjust callers.
92265         (glob): Use malloc in some situations.
92267         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92268         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92269         pltexit.
92271 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92273         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92274         and CLOCK_BOOTTIME_ALARM.
92276         [BZ #12782]
92277         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92278         is returned.
92280         * string/_strerror.c (__strerror_r): Print negative errors as signed
92281         numbers.
92283         [BZ #12777]
92284         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92285         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92286         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92288         * configure.in: Fix typo in redirection and correct removal of test
92289         files in two cases.
92291         [BZ #12788]
92292         * locale/setlocale.c (new_composite_name): Fix test to check for
92293         identical name of all categories.
92295         [BZ #12792]
92296         * libio/filedoalloc.c (local_isatty): New function.
92297         (_IO_file_doallocate): Use local_isatty.
92298         * stdio-common/perror.c (perror): In case a new stream is used
92299         forward the stream error.
92300         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92301         error flag.
92303 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92305         [BZ #11884]
92306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92307         alloca.
92308         * include/alloca.h (extend_alloca_account): Define.
92310         [BZ #11857]
92311         * posix/regex.h: Fix comments with documentation of user-accessible
92312         fields after compilation and describe correct free'ing of pattern
92313         after re_compile_pattern.
92314         Patch by Reuben Thomas <rrt@sc3d.org>.
92316 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92318         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92319         and -mno-altivec to prevent the compiler from using Altivec and/or
92320         VSX instructions when the corresponding registers are not available.
92322 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92324         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92326 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92328         * libio/freopen.c (freopen): Use __dup2, not dup2.
92329         * libio/freopen64.c (freopen64): Likewise.
92331 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92333         [BZ #12775]
92334         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92335         * math/Makefile (tests): Add test-powl.
92336         (CFLAGS-test-powl.c): Define.
92337         * math/test-powl.c: New file.
92339 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92341         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92343 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92345         [BZ #11837]
92346         * iconvdata/gb18030.c: Update to GB18020-2005.
92348 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92350         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92351         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92352         Patch by Aharon Robbins <arnold@skeeve.com>.
92354         [BZ #11892]
92355         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92356         on the stack.
92358         [BZ #11895]
92359         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92360         through underflows.
92362         [BZ #12766]
92363         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92364         point to strings before performing equality test for error_one_per_line
92365         mode.
92367         [BZ #11697]
92368         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92370         [BZ #11820]
92371         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92372         (struct user_fpregs_struct): Avoid __uint*_t types.
92374         [BZ #6420]
92375         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92376         symbol info.  Use it instead of calling _dl_addr locally.
92377         (lock_and_info): New function.
92378         (tr_freehook): Call lock_and_info and pass symbol info as additional
92379         parameter to tr_where.
92380         (tr_mallochook): Likewise.
92381         (tr_reallochook): Likewise.
92382         (tr_memalignhook): Likewise.
92384         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92385         used and couldn't be at all thread-safe.
92387 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92389         * libio/freopen.c (freopen): Don't close old file descriptor
92390         before the new one is opened.  Instead dup the new file descriptor
92391         to the old one after the new stream is created.
92392         * libio/freopen64.c (freopen64): Likewise.
92393         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92394         * libio/fileops.c (_IO_new_file_close_it): Handle new
92395         _IO_FLAGS2_NOCLOSE flag.
92396         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92397         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92398         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92399         _IO_FLAGS2_NOCLOSE flag.
92400         * include/unistd.h: Add hidden_proto for dup3.
92401         Define __have_dup3.
92402         * io/dup3.c: Define hidden symbol.
92403         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92405         [BZ #7101]
92406         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92407         when an incomplete long option is used.
92408         * posix/tst-getopt_long1.c: New file.
92409         * posix/Makefile (tests): Add tst-getopt_long1.
92411         [BZ #10138]
92412         * scripts/config.guess: Update from autoconf-2.68.
92413         * scripts/config.sub: Likewise.
92415         [BZ #10157]
92416         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92417         tests into ...
92418         (has_cpuclock): ...this.  New function.
92419         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92420         macro here based on has_cpuclock code.
92422         [BZ #10149]
92423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92424         First byte (not low byte) is now always NUL.
92425         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92428         Use non-cancelable interfaces.
92430         [BZ #9809]
92431         * locale/iso-639.def: Add entry for Sorani.
92433         [BZ #11901]
92434         * include/stdlib.h: Move include protection to the right place.
92435         Define abort_msg_s.  Declare __abort_msg with it.
92436         * stdlib/abort.c (__abort_msg): Adjust type.
92437         * assert/assert.c (__assert_fail_base): New function.  Majority
92438         of code from __assert_fail.  Allocate memory for __abort_msg with
92439         mmap.
92440         (__assert_fail): Now call __assert_fail_base.
92441         * assert/assert-perr.c: Remove bulk of implementation.  Use
92442         __assert_fail_base.
92443         * include/assert.hL Declare __assert_fail_base.
92444         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92445         mmap.
92446         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92448 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92450         [BZ #11952]
92451         [BZ #12453]
92452         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92453         until all modules are registered in the DTV.
92454         * elf/Makefile: Add rules to build and run tst-tls19.
92455         * elf/tst-tls19.c: New file.
92456         * elf/tst-tls19mod1.c: New file.
92457         * elf/tst-tls19mod2.c: New file.
92458         * elf/tst-tls19mod3.c: New file.
92459         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92461         [BZ #12083]
92462         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92463         correctly.
92465         [BZ #12601]
92466         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92467         two-byte sequence errors.
92468         * iconvdata/Makefile (tests): Add bug-iconv8.
92469         * iconvdata/bug-iconv8.c: New file.
92471         [BZ #12626]
92472         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92473         buf2 definition.
92475         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92477         [BZ #12432]
92478         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92479         (dummy_getcfa): New function.
92480         (init): Get _Unwind_GetCFA address, use dummy if not found.
92481         (backtrace_helper): In recursion check, also check whether CFA changes.
92482         (__backtrace): Completely initialize arg.
92484         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92485         storing incomplete byte sequence in state object.  Avoid testing for
92486         guaranteed too small input if we know there is enough data available.
92488 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92490         * Makeconfig (+link-pie): Indent.
92491         * Rules (binaries-pie): Define if $(have-fpie) and
92492         $(build-shared).
92493         (binaries-shared): Also filter out $(binaries-pie).
92494         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92495         * nscd/Makefile (others-pie): Add nscd.
92496         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92497         ($(objpfx)nscd): Remove command override.
92498         * login/Makefile (others-pie): Add pt_chown.
92499         ($(objpfx)pt_chown): Remove command override.
92500         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92501         remove command overrides.
92503 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92505         * libio/tst_putwc.c: Fix error messages.
92507         [BZ #12724]
92508         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92509         currently writing and seek to current position when not.
92510         * libio/Makefile (tests): Add bug-fclose1.
92511         * libio/bug-fclose1.c: New file.
92513 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92515         [BZ #12511]
92516         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92517         don't set DF_1_NODELETE here.
92518         (do_lookup_x): When entering new entry test for copy relocation
92519         and if necessary set DF_1_NODELETE flag.
92520         * elf/tst-unique4.cc: New file.
92521         * elf/tst-unique4.h: New file.
92522         * elf/tst-unique4lib.cc: New file.
92523         * elf/Makefile: Add rules to build and run tst-unique4.
92524         Patch by Piotr Bury <pbury@goahead.com>.
92526 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92528         [BZ #12052]
92529         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92531         [BZ #12625]
92532         * misc/mntent_r.c (addmntent): Flush the stream after the output
92534         [BZ #12393]
92535         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92536         (is_trusted_path_normalize): Skip initial colon.  Append slash
92537         to empty buffer.  Duplicate is_trusted_path code but allow
92538         constructed patch to be prefix.
92539         (is_dst): Allow $ORIGIN followed by /.
92540         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92541         Correct testing of result of is_trusted_path_normalize
92542         (decompose_rpath): Fix warning.
92544 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92546         [BZ #11257]
92547         * grp/initgroups.c (internal_getgrouplist): When we found the service
92548         list through the initgroups entry in nsswitch.conf do not always
92549         continue on a successful lookup.  Don't always use the
92550         __nss_group_database value if it is set.
92551         * nss/nsswitch.conf (initgroups): Change action for successful db
92552         lookup to continue for compatibility.
92554 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92556         [BZ #11532]
92557         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92558         and CP774 modules.
92559         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92560         and CP774 modules.
92561         * iconvdata/tst-tables.sh: Likewise.
92562         * iconvdata/cp770.c: New file.
92563         * iconvdata/cp771.c: New file.
92564         * iconvdata/cp772.c: New file.
92565         * iconvdata/cp773.c: New file.
92566         * iconvdata/cp774.c: New file.
92567         * iconvdata/testdata/CP770: New file.
92568         * iconvdata/testdata/CP770..UTF8: New file.
92569         * iconvdata/testdata/CP771: New file.
92570         * iconvdata/testdata/CP771..UTF8: New file.
92571         * iconvdata/testdata/CP772: New file.
92572         * iconvdata/testdata/CP772..UTF8: New file.
92573         * iconvdata/testdata/CP773: New file.
92574         * iconvdata/testdata/CP773..UTF8: New file.
92575         * iconvdata/testdata/CP774: New file.
92576         * iconvdata/testdata/CP774..UTF8: New file.
92578         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92579         END CHARMAP line.
92580         * iconvdata/gen-8bit-gap.sh: Likewise.
92581         * iconvdata/gen-8bit.sh: Likewise.
92583         * locale/iso-639.def: Add ary entry.
92585         [BZ #11258]
92586         * locale/C-translit.h.in: Add U20A1 transliteration.
92588         [BZ #12178]
92589         * locale/iso-639.def: Add wae entry.
92590         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92592         [BZ #12545]
92593         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92594         for n.
92596         [BZ #12711]
92597         * locale/C-translit.h.in: Add entry for U20B9.
92598         Patch by pravin.d.s@gmail.com.
92600 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92602         [BZ #12713]
92603         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92604         ENAMETOOLONG use generic getcwd.
92605         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92606         in rtld.  Use *stat64.
92607         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92608         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92609         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92610         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92611         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92612         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92613         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92614         __fstatat64 macros.
92615         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92616         * dirent/rewinddir.c: Add libc_hidden_def.
92617         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92618         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92620         * include/dirent.h (__alloc_dir): Add flags parameter.
92621         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92622         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92623         __alloc_dir.
92624         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92625         from fdopendir if O_CLOEXEC is already set.
92627 2011-03-15  Alan Modra  <amodra@gmail.com>
92629         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92630         l_tls_firstbyte_offset non-zero.  Save padding offset in
92631         l_tls_firstbyte_offset for later use.
92632         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92633         freeing static tls block.
92635 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92637         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92638         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92639         being defined by the kernel headers.
92641 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92643         [BZ #12734]
92644         * resolv/resolv.h: Define RES_NOTLDQUERY.
92645         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92646         no-tld-query and set RES_NOTLDQUERY.
92647         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92648         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92649         modern BIND to search name as TLD unless forbidden.
92651 2011-05-07  Petr Baudis  <pasky@suse.cz>
92652             Ulrich Drepper  <drepper@gmail.com>
92654         [BZ #12393]
92655         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92656         (is_trusted_path): ...to here.
92657         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92658         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92659         using is_trusted_path_normalize() in setuid scripts.
92661 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92663         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92664         __BEGIN/__END_DECLS.
92666 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92668         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92669         NSS_STATUS_NOTFOUND if no record was found.
92671 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92673         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92674         (headers-not-in-tirpc): Remove rpc/netdb.h
92675         * resolv/netdb.h: Revert last change.
92677 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92679         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92680         circular dependency between libgcc.a and libc.a.
92682 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92684         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92685         * nis/Makefile: Don't install rpcsvc/*.
92686         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92687         instead of <rpc/types.h>.
92688         (MAXHOSTNAMELEN): Define.
92690 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92692         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92694 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92696         [BZ #12714]
92697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92698         gethostbyname4_r when IPv6 results are possible.
92700 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92702         [BZ #12723]
92703         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92704         _PC_PIPE_BUF handling.
92706 2011-04-30  Bruno Haible  <bruno@clisp.org>
92708         [BZ #12717]
92709         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92710         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92711         to 'int'.
92712         * inet/getnameinfo.c (getnameinfo): Likewise.
92714 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92716         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92717         to groups setting in database lookup.
92718         * nss/nsswitch.conf: Add initgroups entry.
92720 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92722         [BZ #12685]
92723         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92724         mode string.
92725         Patch by Eric Blake <eblake@redhat.com>.
92727 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92729         * sunrpc/Makefile (need-export-routines): Add svc_run.
92730         (routines): Remove svc_run.
92731         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92732         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92733         * sunrpc/svc_run.c (svc_run): Likewise.
92734         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92736 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92738         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92739         problem in reallocation in last patch.
92741 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92743         * sunrpc/Makefile: Move inclusion of Rules.
92745 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92747         * nss/nss_files/files-initgroups.c: New file.
92748         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92749         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92750         _nss_files_initgroups_dyn.
92752 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92754         * elf/elf.h (R_ARM_IRELATIVE): Define.
92756 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92758         * po/ru.po: Update from translation team.
92760 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92762         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92763         dependencies.
92765 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92767         [BZ #12653]
92768         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92769         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92770         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92771         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92772         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92774 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92776         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92777         differing bytes.
92778         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92779         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92780         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92782 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92784         [BZ #12420]
92785         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92786         storing it.
92787         * stdlib/bug-getcontext.c: New file.
92788         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92790 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92792         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92793         instructions into .machine "z9-109".
92794         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92795         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92797 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92799         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92800         between environment variables and auxiliary vector.
92802 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92804         * Makefile: Add rules to build linkobj/libc.so.
92805         * include/libc-symbols.h: Define libc_hidden_nolink.
92806         * include/rpc/auth.h: Mark functions which are to be hidden.
92807         * include/rpc/auth_des.h: Likewise.
92808         * include/rpc/auth_unix.h: Likewise.
92809         * include/rpc/clnt.h: Likewise.
92810         * include/rpc/des_crypt.h: Likewise.
92811         * include/rpc/key_prot.h: Likewise.
92812         * include/rpc/pmap_clnt.h: Likewise.
92813         * include/rpc/pmap_prot.h: Likewise.
92814         * include/rpc/pmap_rmt.h: Likewise.
92815         * include/rpc/rpc_msg.h: Likewise.
92816         * include/rpc/svc.h: Likewise.
92817         * include/rpc/svc_auth.h: Likewise.
92818         * include/rpc/xdr.h: Likewise.
92819         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92820         * nss/Makefile: Likewise.
92821         * sunrpc/Makefile: Don't install headers.  Build library with normal
92822         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92823         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92824         for the compat linking library.  Remove use of INTDEF/INTUSE.
92825         * sunrpc/auth_none.c: Likewise.
92826         * sunrpc/auth_unix.c: Likewise.
92827         * sunrpc/authdes_prot.c: Likewise.
92828         * sunrpc/authuxprot.c: Likewise.
92829         * sunrpc/clnt_gen.c: Likewise.
92830         * sunrpc/clnt_perr.c: Likewise.
92831         * sunrpc/clnt_raw.c: Likewise.
92832         * sunrpc/clnt_simp.c: Likewise.
92833         * sunrpc/clnt_tcp.c: Likewise.
92834         * sunrpc/clnt_udp.c: Likewise.
92835         * sunrpc/clnt_unix.c: Likewise.
92836         * sunrpc/des_crypt.c: Likewise.
92837         * sunrpc/des_soft.c: Likewise.
92838         * sunrpc/get_myaddr.c: Likewise.
92839         * sunrpc/key_call.c: Likewise.
92840         * sunrpc/key_prot.c: Likewise.
92841         * sunrpc/netname.c: Likewise.
92842         * sunrpc/pm_getmaps.c: Likewise.
92843         * sunrpc/pm_getport.c: Likewise.
92844         * sunrpc/pmap_clnt.c: Likewise.
92845         * sunrpc/pmap_prot.c: Likewise.
92846         * sunrpc/pmap_prot2.c: Likewise.
92847         * sunrpc/pmap_rmt.c: Likewise.
92848         * sunrpc/publickey.c: Likewise.
92849         * sunrpc/rpc_cmsg.c: Likewise.
92850         * sunrpc/rpc_common.c: Likewise.
92851         * sunrpc/rpc_dtable.c: Likewise.
92852         * sunrpc/rpc_prot.c: Likewise.
92853         * sunrpc/rpc_thread.c: Likewise.
92854         * sunrpc/rtime.c: Likewise.
92855         * sunrpc/svc.c: Likewise.
92856         * sunrpc/svc_auth.c: Likewise.
92857         * sunrpc/svc_authux.c: Likewise.
92858         * sunrpc/svc_raw.c: Likewise.
92859         * sunrpc/svc_run.c: Likewise.
92860         * sunrpc/svc_simple.c: Likewise.
92861         * sunrpc/svc_tcp.c: Likewise.
92862         * sunrpc/svc_udp.c: Likewise.
92863         * sunrpc/svc_unix.c: Likewise.
92864         * sunrpc/svcauth_des.c: Likewise.
92865         * sunrpc/xcrypt.c: Likewise.
92866         * sunrpc/xdr.c: Likewise.
92867         * sunrpc/xdr_array.c: Likewise.
92868         * sunrpc/xdr_float.c: Likewise.
92869         * sunrpc/xdr_intXX_t.c: Likewise.
92870         * sunrpc/xdr_mem.c: Likewise.
92871         * sunrpc/xdr_rec.c: Likewise.
92872         * sunrpc/xdr_ref.c: Likewise.
92873         * sunrpc/xdr_sizeof.c: Likewise.
92874         * sunrpc/xdr_stdio.c: Likewise.
92876 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92878         [BZ #12650]
92879         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92880         * sysdeps/ia64/dl-tls.h: Likewise.
92881         * sysdeps/powerpc/dl-tls.h: Likewise.
92882         * sysdeps/s390/dl-tls.h: Likewise.
92883         * sysdeps/sh/dl-tls.h: Likewise.
92884         * sysdeps/sparc/dl-tls.h: Likewise.
92885         * sysdeps/x86_64/dl-tls.h: Likewise.
92886         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92888 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92890         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92891         rpath element also skip the following colon.
92892         (expand_dynamic_string_token): Add is_path parameter and pass
92893         down to DL_DST_REQUIRED and _dl_dst_substitute.
92894         (decompose_rpath): Call expand_dynamic_string_token with
92895         non-zero is_path.  Ignore empty rpaths.
92896         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92897         with zero is_path.
92899 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92902         Make cancelable.
92904 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92906         [BZ #12655]
92907         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92908         Patch by Filipe David Manana <fdmanana@apache.org>.
92910 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92912         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92913         Maintain aligned stack.
92914         (CHECK_RSP): Remove unused macro.
92916 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92918         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92919         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92921 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92923         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92925         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92927 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92929         [BZ #12518]
92930         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92931         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92932         * sysdeps/x86_64/memmove.c: New file.
92933         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92934         (memcpy): Renamed to ...
92935         (__new_memcpy): This.
92936         (memcpy): Provide GLIBC_2_14 memcpy.
92937         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92938         (memcpy): Provide GLIBC_2_2_5 memcpy.
92940 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92942         [BZ #12631]
92943         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92945 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92947         * misc/syncfs.c: New file.
92948         * misc/Makefile (routines): Add syncfs.
92949         * posix/unistd.h: Declare syncfs.
92950         * sysdeps/unix/syscalls.list: Add syncfs.
92952 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92954         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92955         open_by_handle_at.
92956         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92957         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92959         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92960         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92961         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92962         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92964 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92966         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92967         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92968         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92970         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92972         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92974         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92975         sync_file_range.c with -fexceptions.
92976         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92977         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92978         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92979         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92980         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92981         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92982         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92983         sync_file_range as cancellation point
92984         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
92985         now a wrapper around __call_sync_file_range with cancellation handling.
92986         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92987         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
92988         function name to __call_sync_file_range.
92989         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92990         Add call_sync_file_range.
92992 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92994         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92995         bits/timex.h.
92997 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92999         * iconv/iconv.h: Fix typo in comment.
93000         * io/fcntl.h: Likewise.
93001         * libio/stdio.h: Likewise.
93002         * posix/spawn.h: Likewise.
93003         * posix/unistd.h: Likewise.
93004         * stdlib/stdlib.h: Likewise.
93005         * time/time.h: Likewise.
93006         * wcsmbs/wchar.h: Likewise.
93008         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93009         open_by_handle): Add.
93010         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93011         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93012         Augment a few comments.
93013         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93018         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93019         open_by_handle.
93021         * io/fcntl.h (AT_EMPTY_PATH): Define.
93023 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93025         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93026         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93027         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93028         to...
93029         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93030         * Versions.def: Add GLIBC_2.14.
93031         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93032         Export.
93034 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93036         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93037         round counter.
93038         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93040 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93042         [BZ #12597]
93043         * string/test-strncmp.c (do_page_test): New function.
93044         (check2): Likewise.
93045         (test_main): Call check2.
93046         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93048 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93050         [BZ #12587]
93051         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93052         Handle cache information in CPU leaf 4.
93053         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93055 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93057         [BZ #12583]
93058         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93059         character representation.
93060         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93062 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93064         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93065         END(__isnan) to END(__isnanf) to match function entry point/label
93066         EALIGN(__isnanf,...).
93068 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93070         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93072 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93074         [BZ #12510]
93075         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93076         copy from the symbol referenced in the relocation to initialize the
93077         used variable.
93078         Patch by Piotr Bury <pbury@goahead.com>.
93079         * elf/Makefile: Add rules to build and tst-unique3.
93080         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93081         * elf/tst-unique3.cc: New file.
93082         * elf/tst-unique3.h: New file.
93083         * elf/tst-unique3lib.cc: New file.
93084         * elf/tst-unique3lib2.cc: New file.
93086         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93088 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93090         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93091         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93092         to _start.
93094 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93096         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93097         to-be-loaded object along a path to loader is ld.so.
93099 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93100             Ulrich Drepper  <drepper@gmail.com>
93102         * sysdeps/x86_64/memset.S: After aligning destination, code
93103         branches to different locations depending on the value of
93104         misalignment, when multiarch is enabled. Fix this.
93106 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93108         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93109         Set _x86_64_preferred_memory_instruction for AMD processsors.
93110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93111         Set bit_Prefer_SSE_for_memop for AMD processors.
93113 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93115         * libio/fmemopen.c (fmemopen): Optimize a bit.
93117 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93119         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93121 2011-03-03  Roland McGrath  <roland@redhat.com>
93123         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93125 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93127         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93128         __bzero_ultra1 instead of __memset_ultra1.
93130 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93131             Ulrich Drepper  <drepper@gmail.com>
93133         [BZ #12509]
93134         * include/link.h (struct link_map): Add l_orig_initfini.
93135         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93136         returning unsuccessfully.
93137         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93138         close of a file loaded at startup, restore the original l_initfini
93139         list.
93140         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93141         list, store the pointer.
93142         * elf/Makefile ($(objpfx)noload-mem): New rule.
93143         (noload-ENV): Define.
93144         (tests): Add $(objpfx)noload-mem.
93145         * elf/noload.c: Include <memcheck.h>.
93146         (main): Call mtrace.  Close all opened handles.
93148 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93150         [BZ #12454]
93151         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93152         dependencies are missing.
93154 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93156         Fix __if_freereq crash: Unlike the generic version which uses free,
93157         Hurd needs munmap.
93158         * sysdeps/mach/hurd/ifreq.h: New file.
93160 2011-01-27  Petr Baudis  <pasky@suse.cz>
93161             Ulrich Drepper  <drepper@gmail.com>
93163         [BZ 12445]#
93164         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93165         to extend_alloca().
93166         * stdio-common/bug23.c: New file.
93167         * stdio-common/Makefile (tests): Add bug23.
93169 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93170             Ulrich Drepper  <drepper@gmail.com>
93172         [BZ #12489]
93173         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93174         before performing relro protection.  At old place add assertion
93175         to make sure nothing changed.
93177 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93178             Glauber de Oliveira Costa  <glommer@gmail.com>
93180         * elf/elf.h: Add new ARM TLS relocs.
93182 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93185         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93186         cast from r3.
93187         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93188         'tests' variable.
93189         * sysdeps/wordsize-64/tst-writev.c: New file.
93191 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93193         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93194         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93195         insns in _dl_start to prevent a TOC reference before relocs are
93196         resolved.
93198 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93200         [BZ #12469]
93201         * Makeconfig: Remove RANLIB definition.
93202         * Makerules: Don't use RANLIB.
93203         * aclocal.m4: Remove ranlib test.
93204         * configure.in: No need to check for ranlib.
93205         * elf/rtld-Rules: Don't use RANLIB.
93207 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93209         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93210         protection macro.
93211         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93212         inclusion protection macro.
93214         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93215         SIGRTMIN and SIGRTMAX and print information in that case only when
93216         SIGRTMIN is defined.
93218 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93220         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93221         arginfo fn returning -1.
93223         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93224         and thousands string is zero terminated.
93226 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93228         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93229         sysdeps/unix/sysv/linux/bits/socket.h.
93231 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93233         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93234         (__CPU_COUNT): Remove old macros.
93235         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93236         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93237         (__CPU_ALLOC, __CPU_FREE): Add macros.
93238         (__sched_cpualloc, __sched_cpufree): Add declarations.
93240 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93242         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93243         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93244         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93245         (readdhstai): Return value of addhstaiX call.
93246         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93247         (addgrbyX): Return value returned by cache_addgr.
93248         (readdgrbyname): Return value returned by addgrbyX.
93249         (readdgrbygid): Likewise.
93250         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93251         (addpwbyX): Return value returned by cache_addpw.
93252         (readdpwbyname): Return value returned by addhstbyX.
93253         (readdpwbyuid): Likewise.
93254         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93255         (addservbyX): Return value returned by cache_addserv.
93256         (readdservbyname): Return value returned by addservbyX:
93257         (readdservbyport): Likewise.
93258         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93259         (addhstbyX): Return value returned by cache_addhst.
93260         (readdhstbyname): Return value returned by addhstbyX.
93261         (readdhstbyaddr): Likewise.
93262         (readdhstbynamev6): Likewise.
93263         (readdhstbyaddrv6): Likewise.
93264         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93265         (readdinitgroups): Return value returned by addinitgroupsX.
93266         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93267         (prune_cache): Keep track of timeout value of re-added entries.
93268         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93269         * nscd/nscd.h: Adjust prototypes of readd* functions.
93271 2011-02-04  Roland McGrath  <roland@redhat.com>
93273         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93274         (nis_stats): Likewise.
93275         * nis/nis_modify.c (nis_modify): Likewise.
93276         * nis/nis_remove.c (nis_remove): Likewise.
93277         * nis/nis_add.c (nis_add): Likewise.
93279         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93281         * posix/fnmatch_loop.c: Add some consts.
93283         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93285 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93287         [BZ #12460]
93288         * config.make.in (config-cflags-novzeroupper): Define.
93289         * configure.in: Substitute libc_cv_cc_novzeroupper.
93290         * elf/Makefile (AVX-CFLAGS): Define.
93291         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93292         (CFLAGS-tst-auditmod4a.c): Likewise.
93293         (CFLAGS-tst-auditmod4b.c): Likewise.
93294         (CFLAGS-tst-auditmod6b.c): Likewise.
93295         (CFLAGS-tst-auditmod6c.c): Likewise.
93296         (CFLAGS-tst-auditmod7b.c): Likewise.
93297         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93299 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93301         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93302         function to the callback.
93303         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93305 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93307         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93308         of errno.
93310 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93312         [BZ #11724]
93313         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93314         of constructors.
93315         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93316         of destructors.
93317         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93319         [BZ #11724]
93320         * elf/Makefile: Add rules to build and run new test.
93321         * elf/tst-initorder.c: New file.
93322         * elf/tst-initorder.exp: New file.
93323         * elf/tst-initordera1.c: New file.
93324         * elf/tst-initordera2.c: New file.
93325         * elf/tst-initordera3.c: New file.
93326         * elf/tst-initordera4.c: New file.
93327         * elf/tst-initorderb1.c: New file.
93328         * elf/tst-initorderb2.c: New file.
93329         * elf/tst-order-a1.c: New file.
93330         * elf/tst-order-a2.c: New file.
93331         * elf/tst-order-a3.c: New file.
93332         * elf/tst-order-a4.c: New file.
93333         * elf/tst-order-b1.c: New file.
93334         * elf/tst-order-b2.c: New file.
93335         * elf/tst-order-main.c: New file.
93336         New test case by George Gensure <werkt0@gmail.com>.
93338 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93341         decoding ACE if AI_CANONIDN.
93343 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93345         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93347 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93349         * version.h (RELEASE): Bump for 2.13 release.
93350         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93352         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93354         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93355         MADV_NOHUGEPAGE.
93356         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93357         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93358         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93359         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93360         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93361         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93363         * posix/getconf.c: Update copyright year.
93364         * catgets/gencat.c: Likewise.
93365         * csu/version.c: Likewise.
93366         * debug/catchsegv.sh: Likewise.
93367         * debug/xtrace.sh: Likewise.
93368         * elf/ldconfig.c: Likewise.
93369         * elf/ldd.bash.in: Likewise.
93370         * elf/sprof.c (print_version): Likewise.
93371         * iconv/iconv_prog.c: Likewise.
93372         * iconv/iconvconfig.c: Likewise.
93373         * locale/programs/locale.c: Likewise.
93374         * locale/programs/localedef.c: Likewise.
93375         * malloc/memusage.sh: Likewise.
93376         * malloc/mtrace.pl: Likewise.
93377         * nscd/nscd.c (print_version): Likewise.
93378         * nss/getent.c: Likewise.
93380         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93381         PF_CAIF, and PF_ALG.
93382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93384 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93386         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93387         (modules-names): Use them.
93388         (ifunc-test-modules, ifunc-pie-tests): Define.
93389         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93390         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93391         (test-extras): Likewise.
93392         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93393         $(compile-command.c).
93394         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93395         (all-built-dso): Define.
93396         (check-textrel.out, check-execstack.out): Depend on it.
93398         * configure.in: Don't override --enable-multi-arch.
93400 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93402         [BZ #6812]
93403         * nscd/hstcache.c (tryagain): Define.
93404         (cache_addhst): Return tryagain not notfound for temporary errors.
93405         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93406         failed.
93408 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93410         [BZ #10563]
93411         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93412         to make the syscall.
93413         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93415         [BZ #12378]
93416         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93417         and fall back to matching as normal character if the string ends before
93418         the matching ']' is found.  This is what POSIX requires.
93419         * posix/testfnm.c: Adjust test result.
93420         * posix/globtest.sh: Adjust test result.  Add new test.
93421         * posix/tst-fnmatch.input: Likewise.
93422         * posix/tst-fnmatch2.c: Add new test.
93424 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93426         * elf/Makefile (check-execstack): Revert last change.  Depend on
93427         check-execstack.h.
93428         (check-execstack.h): New target.
93429         (generated): Add check-execstack.h.
93430         * elf/check-execstack.c: Include "check-execstack.h".
93431         (main): Revert last change.
93432         (handle_file): Return zero if GNU_STACK is absent and
93433         DEFAULT_STACK_PERMS doesn't include PF_X.
93435 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93437         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93438         in child fails because the descriptor is already closed.
93439         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93440         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93441         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93443         [BZ #12397]
93444         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93445         syscall.
93447         [BZ #10484]
93448         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93449         temporary buffer used to handle multi lookups locally.
93450         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93452 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93454         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93455         loader is ld.so.
93457 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93459         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93460         alignment for SSE2.
93462 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93464         [BZ #12394]
93465         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93466         characters.  When rounding increased number of integer digits recompute
93467         number of groups.
93468         * stdio-common/tst-grouping.c: New file.
93469         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93471 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93473         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93474         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93476         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93477         void.
93478         * bits/select.h: Likewise.
93480 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93482         * po/ja.po: Update from translation team.
93484 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93486         [BZ #11155]
93487         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93488         implementation just like for lxstat, fxstatat, et al.
93490 2010-12-27  Jim Meyering  <meyering@redhat.com>
93492         [BZ #12348]
93493         * posix/regexec.c (build_trtable): Return failure indication upon
93494         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93496 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93498         [BZ #12201]
93499         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93500         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93501         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93502         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93504         [BZ #12207]
93505         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93507         [BZ #12204]
93508         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93509         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93511 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93513         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93514         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93515         script has SORT_BY_INIT_PRIORITY.
93516         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93517         NO_CTORS_DTORS_SECTIONS is defined.
93518         * elf/soinit.c: Likewise.
93519         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93520         NO_CTORS_DTORS_SECTIONS is defined.
93521         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93522         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93523         * sysdeps/sh/init-first.c: Likewise.
93524         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93526 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93528         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93529         always use the slow path.
93531 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93533         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93534         similar rule which adds the sysdep directories to the header search in
93535         order to pick up the correct platform stackinfo.h.
93536         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93537         perform test if it is, otherwise return successfully without testing.
93538         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93539         DEFAULT_STACK_PERMS define in stackinfo.h.
93540         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93541         defined in stackinfo.h.
93542         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93543         DEFAULT_STACK_PERMS defined in stackinfo.h.
93544         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93545         * sysdeps/ia64/stackinfo.h: Likewise.
93546         * sysdeps/s390/stackinfo.h: Likewise.
93547         * sysdeps/sh/stackinfo.h: Likewise.
93548         * sysdeps/sparc/stackinfo.h: Likewise.
93549         * sysdeps/x86_64/stackinfo.h: Likewise.
93550         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93551         PF_X for powerpc64.  Retain PF_X for powerpc32.
93553 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93555         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93556         accurately.
93557         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93558         GETDENTS_64BIT_ALIGNED.
93560 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93562         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93564 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93566         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93567         _GNU_SOURCE.
93569         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93570         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93571         Remove __restrict.
93572         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93573         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93575 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93577         [BZ #11655]
93578         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93579         are initialized.
93581 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93583         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93585 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93587         * po/it.po: Update from translation team.
93589 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93592         unused codes.
93594 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93596         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93598 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93600         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93601         specially.
93602         (gaih_getanswer_slice): Likewise.
93604 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93608 2010-05-31  Petr Baudis  <pasky@suse.cz>
93610         [BZ #11149]
93611         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93612         silently even in the chroot mode.
93614 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93616         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93617         last patch a bit.  Pretty printing
93619 2010-05-31  Petr Baudis <pasky@suse.cz>
93621         [BZ #10085]
93622         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93623         initialization of skip_initgroups_dyn.
93625 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93627         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93628         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93630 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93632         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93634 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93636         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93637         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93638         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93639         ($(objpfx)tst-fnmatch-mem): New rule.
93640         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93641         * posix/tst-fnmatch.c (main): Call mtrace.
93643 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93646         Support Intel processor model 6 and model 0x2c.
93648 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93650         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93651           signed comparison.
93653 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93655         [BZ #12205]
93656         * string/test-strncasecmp.c (check_result): New function.
93657         (do_one_test): Use it.
93658         (check1): New function.
93659         (test_main): Use it.
93660         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93661         Support strcasecmp and strncasecmp.
93663 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93665         [BZ #12194]
93666         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93667         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93669 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93671         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93672         IFUNC support.
93673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93674         memset-x86-64.
93675         * sysdeps/x86_64/multiarch/bzero.S: New file.
93676         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93677         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93678         * sysdeps/x86_64/multiarch/memset.S: New file.
93679         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93681         Set bit_Prefer_SSE_for_memop for Intel processors.
93682         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93683         Define.
93684         (index_Prefer_SSE_for_memop): Define.
93685         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93687 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93689         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93690         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93692 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93694         [BZ #12191]
93695         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93696         (__x86_64_raw_data_cache_size_half): Likewise.
93697         (__x86_64_raw_shared_cache_size): Likewise.
93698         (__x86_64_raw_shared_cache_size_half): Likewise.
93700         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93701         (__x86_64_raw_data_cache_size_half): Likewise.
93702         (__x86_64_raw_shared_cache_size): Likewise.
93703         (__x86_64_raw_shared_cache_size_half): Likewise.
93704         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93705         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93706         and __x86_64_raw_shared_cache_size_half.  Round
93707         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93708         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93709         to multiple of 256 bytes.
93711 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93713         [BZ #12167]
93714         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93715         of inacessible symlinks.  Verify result of symlink before returning it.
93716         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93717         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93719 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93721         * math/math.h (isinf): Fix typo in comment.
93723 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93725         * po/da.po: Update from translation team.
93727 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93729         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93730         is added to the list.
93732 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93733             Ulrich Drepper  <drepper@gmail.com>
93735         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93736         the global list here.  Move code to...
93737         (_dl_add_to_namespace_list): ...here.  New function.
93738         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93739         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93740         * elf/dl-load.c (lose): Don't remove the element from the list.
93741         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93742         (_dl_map_object): Likewise.
93744 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93746         [BZ #12159]
93747         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93748         into all bytes of SSE register.
93749         Patch by Richard Li <richardpku@gmail.com>.
93751 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93753         [BZ #12140]
93754         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93755         perturbing.
93757 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93759         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93760         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93761         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93762         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93764         submachine.
93765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93767 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93769         * include/dlfcn.h (__RTLD_SECURE): Define.
93770         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93771         mode & __RTLD_SECURE instead.
93772         (open_path): Rename preloaded parameter to secure.
93773         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93774         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93775         * elf/dl-deps.c (openaux): Likewise.
93776         * elf/rtld.c (struct map_args): Remove is_preloaded.
93777         (map_doit): Don't use it.
93778         (dl_main): Likewise.
93779         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93780         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93782 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93784         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93785         (sysd-rules-targets): Remove duplicates.
93786         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93787         rtld-%.$o dependency.
93789 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93791         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93792         _dl_map_object do it.
93794 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93796         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93797         fast fma builtins, define the macros in the C99 standard.
93798         (FP_FAST_FMAF): Likewise.
93799         (FP_FAST_FMAL): Likewise.
93800         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93802         * bits/mathdef.h: Update copyright year.
93803         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93805 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93807         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93808         builtins, define the macros in the C99 standard.
93809         (FP_FAST_FMAF): Likewise.
93810         (FP_FAST_FMAL): Likewise.
93811         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93812         multiply/add.
93813         (FP_FAST_FMAF): Likewise.
93815 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93817         [BZ #3268]
93818         * math/libm-test.inc (fma_test): Some new testcases.
93819         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93820         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93821         y and infinite z.  Do multiplication by C already in long double.
93822         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93824         y and infinite z.  Do bitwise or of inexact bit into u.d.
93825         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93826         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93827         * sysdeps/i386/fpu/s_fma.S: Removed.
93828         * sysdeps/i386/fpu/s_fmal.S: Removed.
93830 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93832         [BZ #3268]
93833         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93835         computation is not scheduled after fetestexcept.  Fix value
93836         of minimum denormal long double.
93838 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93840         [BZ #3268]
93841         * math/libm-test.inc (fma_test): Add some more tests.
93842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93843         correctly.
93845 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93847         * scripts/data/localplt-s390-linux-gnu.data: New file.
93848         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93850 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93852         [BZ #3268]
93853         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93854         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93855         instead of dbl-64.
93856         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93857         inlines.
93858         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93860         if one of x and y is very large and the other is subnormal.
93861         * sysdeps/s390/fpu/s_fmaf.c: New file.
93862         * sysdeps/s390/fpu/s_fma.c: New file.
93863         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93864         * sysdeps/powerpc/fpu/s_fma.S: New file.
93865         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93866         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93867         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93869 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93871         [BZ #3268]
93872         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93873         fma tests.
93874         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93875         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93876         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93877         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93878         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93879         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93880         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93882 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93884         [BZ #12078]
93885         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93886         * posix/bug-regex31.input: Add test case.
93888 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93890         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93891         * posix/bug-regex31.input: New file.
93893         [BZ #12078]
93894         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93895         (parse_sub_exp): Fix last change, use postorder.
93897         * posix/bug-regex31.c: New file.
93898         * posix/Makefile: Add rules to build and run bug-regex31.
93900         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93902         [BZ #12078]
93903         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93905         [BZ #12108]
93906         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93907         to have entries in sys_siglist.
93909         [BZ #12093]
93910         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93911         be NULL.
93913 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93915         [BZ #3268]
93916         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93917         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93918         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93919         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93920         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93921         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93922         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93923         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93924         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93925         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93926         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93927         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93928         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93929         * math/ftestexcept.c (fetestexcept): Likewise.
93930         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93931         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93932         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93933         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93934         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93935         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93936         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93938 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93940         [BZ #12107]
93941         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93942         newline.
93944 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93946         * string/bug-strstr1.c: New file.
93947         * string/Makefile: Add rules to build and run bug-strstr1.
93949 2010-10-05  Eric Blake  <eblake@redhat.com>
93951         [BZ #12092]
93952         * string/str-two-way.h (two_way_long_needle): Always clear memory
93953         when skipping input due to the shift table.
93955 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93957         [BZ #12005]
93958         * malloc/mcheck.c: Handle large requests.
93960         [BZ #12077]
93961         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93962         for strncmp and strncasecmp.
93963         * string/stratcliff.c: Add tests for strcmp and strncmp.
93964         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93966 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93968         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93969         __set_fpscr.
93971 2010-09-30  Andreas Jaeger  <aj@suse.de>
93973         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93974         (CGROUP_SUPER_MAGIC): Define.
93975         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93976         Handle btrfs and cgroup file systems.
93977         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93978         Likewise.
93980 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
93982         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93983         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93985 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93987         [BZ #12067]
93988         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93989         trying to locate the ELF header.
93991 2010-09-27  Andreas Schwab  <schwab@redhat.com>
93993         [BZ #11611]
93994         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93995         Mask out sign-bit copies when constructing f_fsid.
93997 2010-09-24  Petr Baudis <pasky@suse.cz>
93999         * debug/stack_chk_fail_local.c: Add missing licence exception.
94000         * debug/warning-nop.c: Likewise.
94002 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94004         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94005         implementing getdents64 using getdents syscall, set d_type if
94006         __ASSUME_GETDENTS32_D_TYPE.
94008 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94010         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94011         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94013 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94015         [BZ #12037]
94016         * posix/unistd.h: Undo change of feature selection for ftruncate from
94017         2010-01-11.
94019 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94021         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94022         detection.
94024 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94026         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94027         fanotify_mark.
94028         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94030 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94032         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94033         variables after CHECK_SP call.
94034         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94036 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94037             Ulrich Drepper  <drepper@redhat.com>
94039         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94040         re-relocationg ld.so.
94041         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94042         _dl_init_paths call.
94043         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94044         here anymore.
94046 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94048         * resolv/res_init.c (__res_vinit): Count the default server we added.
94050 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94051             Ulrich Drepper  <drepper@redhat.com>
94053         [BZ #11968]
94054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94055         (____longjmp_chk): Use %ebx for saving value across system call.
94056         Add unwind info.
94058 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94060         * manual/Makefile: Don't mix pattern rules with normal rules.
94062 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94064         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94065         operation.
94066         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94067         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94068         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94069         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94070         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94071         Likewise.
94073 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94075         [BZ #11979]
94076         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94077         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94079 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94081         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94082         * sysdeps/x86_64/addmul_1.S: Likewise.
94083         * sysdeps/x86_64/lshift.S: Likewise.
94084         * sysdeps/x86_64/mul_1.S: Likewise.
94085         * sysdeps/x86_64/rshift.S: Likewise.
94086         * sysdeps/x86_64/sub_n.S: Likewise.
94087         * sysdeps/x86_64/submul_1.S: Likewise.
94089 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94091         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94092         Define __sched_param instead of SCHED_* and sched_param when
94093         <bits/sched.h> is included with __need_schedparam defined.
94094         * bits/sched.h [__need_schedparam]
94095         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94096         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94097         (__defined_schedparam): Define to 1.
94098         (__sched_param): New structure, identical to sched_param.
94099         (__need_schedparam): Undefine.
94101 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94103         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94104         (epoll_create1): Declare.
94106         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94108 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94110         [BZ #7066]
94111         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94112         shifting retval into place.
94114 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94116         * nis/rpcsvc/nis.h: Update copyright notice.
94117         * nis/rpcsvc/nis.x: Likewise.
94118         * nis/rpcsvc/nis_callback.h: Likewise.
94119         * nis/rpcsvc/nis_callback.x: Likewise.
94120         * nis/rpcsvc/nis_object.x: Likewise.
94121         * nis/rpcsvc/nis_tags.h: Likewise.
94122         * nis/rpcsvc/yp.h: Likewise.
94123         * nis/rpcsvc/yp.x: Likewise.
94124         * nis/rpcsvc/ypupd.h: Likewise.
94125         * nis/yp_xdr.c: Likewise.
94126         * nis/ypupdate_xdr.c: Likewise.
94128         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94129         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94130         (pmap_getport): Use __libc_rpc_getport.
94131         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94132         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94133         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94135 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94138         fanotify_mark.
94140 2010-08-27  Roland McGrath  <roland@redhat.com>
94142         * sysdeps/i386/i686/multiarch/Makefile
94143         (CFLAGS-varshift.c): New variable.
94145 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94147         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94148         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94150         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94152         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94154 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94156         * sysdeps/x86_64/strlen.S: Unroll the loop.
94157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94158         strlen-sse2 strlen-sse2-bsf.
94159         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94160         __strlen_no_bsf if bit_Slow_BSF is set.
94161         (__strlen_sse42): Removed.
94162         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94163         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94165 2010-08-25  Roland McGrath  <roland@redhat.com>
94167         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94168         * sysdeps/x86_64/multiarch/varshift.c: New file.
94169         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94170         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94171         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94172         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94174 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94177         strlen-sse2 strlen-sse2-bsf.
94178         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94179         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94180         (__strlen_sse2): Removed.
94181         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94182         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94184         bit_Slow_BSF for Atom.
94185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94186         (index_Slow_BSF): Define.
94187         (HAS_SLOW_BSF): Define.
94189 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94191         [BZ #10851]
94192         * resolv/res_init.c (__res_vinit): When no server address at all
94193         is given default to loopback.
94195 2010-08-24  Roland McGrath  <roland@redhat.com>
94197         * configure.in: Remove config-name.h generation.
94198         * configure: Regenerated.
94199         * config-name.in: File removed.
94200         * scripts/config-uname.sh: New file.
94201         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94202         ($(objdir)config-name.h): New target.
94204         * sunrpc/rpc_parse.h: Avoid nested comment.
94206 2010-08-24  Richard Henderson  <rth@redhat.com>
94207             Ulrich Drepper  <drepper@redhat.com>
94208             H.J. Lu  <hongjiu.lu@intel.com>
94210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94212         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94213         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94214         _mm_alignr_epi8 with _mm_loadu_si128.
94215         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94216         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94217         (__m128i_shift_right): Removed.
94218         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94219         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94220         * sysdeps/x86_64/multiarch/varshift.h: New file.
94221         * sysdeps/x86_64/multiarch/varshift.S: New file.
94223 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94225         * configure.in: Move assembler checks to before sysdep dir checking.
94227 2010-08-20  Petr Baudis  <pasky@suse.cz>
94229         * LICENSES: Sync the sunrpc license.
94231 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94233         * sunrpc/auth_des.c: Update copyright notice once again.
94234         * sunrpc/auth_none.c: Likewise.
94235         * sunrpc/auth_unix.c: Likewise.
94236         * sunrpc/authdes_prot.c: Likewise.
94237         * sunrpc/authuxprot.c: Likewise.
94238         * sunrpc/bindrsvprt.c: Likewise.
94239         * sunrpc/clnt_gen.c: Likewise.
94240         * sunrpc/clnt_perr.c: Likewise.
94241         * sunrpc/clnt_raw.c: Likewise.
94242         * sunrpc/clnt_simp.c: Likewise.
94243         * sunrpc/clnt_tcp.c: Likewise.
94244         * sunrpc/clnt_udp.c: Likewise.
94245         * sunrpc/clnt_unix.c: Likewise.
94246         * sunrpc/des_crypt.c: Likewise.
94247         * sunrpc/des_soft.c: Likewise.
94248         * sunrpc/get_myaddr.c: Likewise.
94249         * sunrpc/getrpcport.c: Likewise.
94250         * sunrpc/key_call.c: Likewise.
94251         * sunrpc/key_prot.c: Likewise.
94252         * sunrpc/openchild.c: Likewise.
94253         * sunrpc/pm_getmaps.c: Likewise.
94254         * sunrpc/pm_getport.c: Likewise.
94255         * sunrpc/pmap_clnt.c: Likewise.
94256         * sunrpc/pmap_prot.c: Likewise.
94257         * sunrpc/pmap_prot2.c: Likewise.
94258         * sunrpc/pmap_rmt.c: Likewise.
94259         * sunrpc/rpc/auth.h: Likewise.
94260         * sunrpc/rpc/auth_unix.h: Likewise.
94261         * sunrpc/rpc/clnt.h: Likewise.
94262         * sunrpc/rpc/des_crypt.h: Likewise.
94263         * sunrpc/rpc/key_prot.h: Likewise.
94264         * sunrpc/rpc/netdb.h: Likewise.
94265         * sunrpc/rpc/pmap_clnt.h: Likewise.
94266         * sunrpc/rpc/pmap_prot.h: Likewise.
94267         * sunrpc/rpc/pmap_rmt.h: Likewise.
94268         * sunrpc/rpc/rpc.h: Likewise.
94269         * sunrpc/rpc/rpc_des.h: Likewise.
94270         * sunrpc/rpc/rpc_msg.h: Likewise.
94271         * sunrpc/rpc/svc.h: Likewise.
94272         * sunrpc/rpc/svc_auth.h: Likewise.
94273         * sunrpc/rpc/types.h: Likewise.
94274         * sunrpc/rpc/xdr.h: Likewise.
94275         * sunrpc/rpc_clntout.c: Likewise.
94276         * sunrpc/rpc_cmsg.c: Likewise.
94277         * sunrpc/rpc_common.c: Likewise.
94278         * sunrpc/rpc_cout.c: Likewise.
94279         * sunrpc/rpc_dtable.c: Likewise.
94280         * sunrpc/rpc_hout.c: Likewise.
94281         * sunrpc/rpc_main.c: Likewise.
94282         * sunrpc/rpc_parse.c: Likewise.
94283         * sunrpc/rpc_parse.h: Likewise.
94284         * sunrpc/rpc_prot.c: Likewise.
94285         * sunrpc/rpc_sample.c: Likewise.
94286         * sunrpc/rpc_scan.c: Likewise.
94287         * sunrpc/rpc_scan.h: Likewise.
94288         * sunrpc/rpc_svcout.c: Likewise.
94289         * sunrpc/rpc_tblout.c: Likewise.
94290         * sunrpc/rpc_util.c: Likewise.
94291         * sunrpc/rpc_util.h: Likewise.
94292         * sunrpc/rpcinfo.c: Likewise.
94293         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94294         * sunrpc/rpcsvc/key_prot.x: Likewise.
94295         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94296         * sunrpc/rpcsvc/mount.x: Likewise.
94297         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94298         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94299         * sunrpc/rpcsvc/rex.x: Likewise.
94300         * sunrpc/rpcsvc/rstat.x: Likewise.
94301         * sunrpc/rpcsvc/rusers.x: Likewise.
94302         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94303         * sunrpc/rpcsvc/spray.x: Likewise.
94304         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94305         * sunrpc/rtime.c: Likewise.
94306         * sunrpc/svc.c: Likewise.
94307         * sunrpc/svc_auth.c: Likewise.
94308         * sunrpc/svc_authux.c: Likewise.
94309         * sunrpc/svc_raw.c: Likewise.
94310         * sunrpc/svc_run.c: Likewise.
94311         * sunrpc/svc_simple.c: Likewise.
94312         * sunrpc/svc_tcp.c: Likewise.
94313         * sunrpc/svc_udp.c: Likewise.
94314         * sunrpc/svc_unix.c: Likewise.
94315         * sunrpc/svcauth_des.c: Likewise.
94316         * sunrpc/xcrypt.c: Likewise.
94317         * sunrpc/xdr.c: Likewise.
94318         * sunrpc/xdr_array.c: Likewise.
94319         * sunrpc/xdr_float.c: Likewise.
94320         * sunrpc/xdr_mem.c: Likewise.
94321         * sunrpc/xdr_rec.c: Likewise.
94322         * sunrpc/xdr_ref.c: Likewise.
94323         * sunrpc/xdr_sizeof.c: Likewise.
94324         * sunrpc/xdr_stdio.c: Likewise.
94326         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94327         handling.
94329 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94331         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94333 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94335         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94336         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94337         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94338         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94339         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94340         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94341         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94342         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94344         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94345         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94346         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94347         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94348         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94350 2010-07-26  Anton Blanchard  <anton@samba.org>
94352         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94353         * malloc/arena.c (heap_trim): Likewise.
94355 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94357         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94358         here.  Not...
94359         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94360         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94362 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94364         * sysdeps/i386/elf/Makefile: New file.
94366 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94368         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94369         from fanotify_init.
94370         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94371         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94373 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94375         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94376         of strncasecmp_l.
94377         * sysdeps/multiarch/strcmp.S: Likewise.
94379 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94381         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94382         strncase_l-nonascii.
94383         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94384         Add strncase_l-ssse3.
94385         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94386         * sysdeps/x86_64/strcmp.S: Likewise.
94387         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94388         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94389         * sysdeps/x86_64/strncase.S: New file.
94390         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94391         * sysdeps/x86_64/strncase_l.S: New file.
94392         * string/Makefile (strop-tests): Add strncasecmp.
94393         * string/test-strncasecmp.c: New file.
94395         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94396         warning.
94398         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94399         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94401 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94403         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94405 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94407         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94408         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94409         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94411 2010-05-01  Alan Modra  <amodra@gmail.com>
94413         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94414         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94415         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94416         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94417         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94418         tidying.  Don't tail-call __sigjmp_save for static lib.
94419         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94420         save location.
94421         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94422         (CALL_MCOUNT): Add eh info, and nop after bl.
94423         (TAIL_CALL_SYSCALL_ERROR): New macro.
94424         (PSEUDO_RET): Use it.
94425         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94426         Correct save location of integer regs and cr.
94427         (_dl_profile_resolve): Correct cr save location.  Delete nops
94428         after bl when SHARED.  Reduce cfi size a little by better
94429         placement of cfi directives.
94430         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94431         make a stack frame.  Instead use parm save area as a temp.
94432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94433         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94435         Don't make a stack frame for parent, use parm save area.
94436         Increase child stack frame to 112 bytes.  Don't save unused reg,
94437         and adjust reg usage.  Set up cfi on error recovery and
94438         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94440         (__makecontext): Add dummy nop after jump to exit.
94441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94442         Use correct parm save area and cr save, reduce stack frame.
94443         Correct cfi for possible PSEUDO_RET frame setup.
94444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94445         Branch to local label emitted by PSEUDO_RET rather than
94446         __syscall_error.
94448 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94450         [BZ #11904]
94451         * locale/programs/locale.c (print_assignment): New function.
94452         (show_locale_vars): Use it.
94454 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94456         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94457         field.
94458         (struct statfs64): Likewise.
94459         (_STATFS_F_FLAGS): Define.
94460         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94461         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94462         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94463         (ST_VALID): Define locally.
94464         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94465         __statvfs_getflags, use the provided value.
94466         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94467         __ASSUME_STATFS_F_FLAGS.
94469         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94471         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94472         Add sys/fanotify.h.
94473         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94474         fanotify_mask for GLIBC_2.13.
94475         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94476         fanotify_init and fanotify_mark.
94477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94478         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94480         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94481         Add prlimit.
94482         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94483         prlimit64 for GLIBC_2.13.
94484         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94485         prlimit64.
94486         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94487         syscall.
94488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94490         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94491         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94492         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94493         add prlimit alias.
94494         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94496         [BZ #11903]
94497         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94498         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94500         * nss/Makefile: Add rules to build and run tst-nss-test1.
94501         * shlib-versions: Add entry for libnss_test1.
94502         * nss/nss_test1.c: New file.
94503         * nss/tst-nss-test1.c: New file.
94505         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94506         (__nss_configure_lookup): Set appropriate entry in
94507         __nss_configure_lookup to true.
94508         * nss/nsswitch.h: Define enum with indeces of databases in
94509         databases and __nss_database_custom arrays.  Declare
94510         __nss_database_custom.
94511         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94512         to avoid using nscd when custom rules are installed.
94513         * nss/getXXbyYY_r.c: Likewise.
94514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94516         * nss/nss_files/files-parse.c: Whitespace fixes.
94518 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94520         [BZ #11883]
94521         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94522         * posix/fnmatch_loop.c: Likewise.
94524 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94526         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94527         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94528         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94529         * Versions.def [GLIBC_2.13]: Add.
94531 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94533         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94534         Also fail if tpwd after pwuid call is NULL.
94536 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94538         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94539         when converting to ms.
94541 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94543         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94544         EOPNOTSUPP errors with ENOTTY.
94545         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94546         EOPNOTSUPP errors with ENOTTY.
94548 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94550         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94551         Add strcasecmp_l-ssse3.
94552         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94553         strcasecmp.
94554         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94555         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94556         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94558 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94560         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94562         * string/Makefile (strop-tests): Add strcasecmp.
94563         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94564         strcasecmp_l-nonascii.
94565         (gen-as-const-headers): Add locale-defines.sym.
94566         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94567         * sysdeps/x86_64/strcasecmp.S: New file.
94568         * sysdeps/x86_64/strcasecmp_l.S: New file.
94569         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94570         * sysdeps/x86_64/locale-defines.sym: New file.
94571         * string/test-strcasecmp.c: New file.
94573         * string/test-strcasestr.c: Test both ends of the range of characters.
94574         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94576 2010-07-29  Roland McGrath  <roland@redhat.com>
94578         [BZ #11856]
94579         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94581 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94583         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94584         for ld.so.
94586 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94588         * manual/memory.texi (Malloc Tunable Parameters): Document
94589         M_PERTURB.
94591 2010-07-26  Roland McGrath  <roland@redhat.com>
94593         [BZ #11840]
94594         * configure.in (-fgnu89-inline check): Set and substitute
94595         gnu89_inline, not libc_cv_gnu89_inline.
94596         * configure: Regenerated.
94597         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94599 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94601         * string/test-strnlen.c: New file.
94602         * string/Makefile (strop-tests): Add strnlen.
94603         * string/tester.c (test_strnlen): Add a few more test cases.
94604         * string/tst-strlen.c: Better error reporting.
94606         * sysdeps/x86_64/strnlen.S: New file.
94608 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94610         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94611         lower-latency instructions.
94613 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94615         * string/test-strcasestr.c: New file.
94616         * string/test-strstr.c: New file.
94617         * string/Makefile (strop-tests): Add strstr and strcasestr.
94618         * string/str-two-way.h: Don't undefine MAX.
94619         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94621 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94624         strcasestr-nonascii.
94625         (CFLAGS-strcasestr-nonascii.c): Define.
94626         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94627         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94628         Remove unused attribute.
94630 2010-07-20  Roland McGrath  <roland@redhat.com>
94632         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94633         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94634         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94635         like LD_HWCAP_MASK can disable hwcaps.
94637 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94639         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94641 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94643         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94644         call in strcasestr.
94645         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94646         __strcasestr_sse42_nonascii.
94647         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94648         strcasestr-nonascii.c.
94649         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94651 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94653         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94654         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94655         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94656         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94658 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94660         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94661         fcntl.
94663 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94665         [BZ #11577]
94666         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94667         dl_signal_cerror.
94669 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94671         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94672         _PC_PIPE_BUF using F_GETPIPE_SZ.
94674 2010-07-05  Roland McGrath  <roland@redhat.com>
94676         * manual/arith.texi (Rounding Functions): Fix rint description
94677         implicit in round description.
94679 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94681         * elf/Makefile: Fix linking for a few tests to make recent linker
94682         happy.
94684 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94686         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94687         $(common-objpfx)libc_nonshared.a.
94689 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94691         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94692         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94693         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94694         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94695         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94696         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94697         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94698         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94713         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94714         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94715         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94716         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94717         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94718         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94719         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94720         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94721         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94722         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94723         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94724         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94740 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94742         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94743         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94744         * string/memmove.c (memmove): Renamed to ...
94745         (MEMMOVE): ...this.  Default to memmove.
94746         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94747         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94748         (END_CHK): Define.
94749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94750         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94751         mempcpy-ssse3-back memmove-ssse3-back.
94752         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94753         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94754         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94755         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94756         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94757         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94758         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94759         * sysdeps/x86_64/multiarch/memmove.c: New file.
94760         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94761         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94762         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94763         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94764         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94765         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94766         Define.
94767         (index_Fast_Copy_Backward): Define.
94768         (HAS_ARCH_FEATURE): Define.
94769         (HAS_FAST_REP_STRING): Define.
94770         (HAS_FAST_COPY_BACKWARD): Define.
94772 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94774         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94775         Restore proper fallback handling.
94777 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94779         [BZ #11701]
94780         * posix/group_member.c (__group_member): Correct checking loop.
94782         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94783         OOM in getpwuid_r correctly.  Return error number when the caller
94784         should return, otherwise -1.
94785         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94786         call returning > 0 value.
94787         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94789 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94791         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94792         libc_nonshared.a from targets in modules-names.
94794 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94796         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94797         requires it.
94799 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94801         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94802         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94803         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94804         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94806 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94808         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94810 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94812         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94813         and F_GETPIPE_SZ.
94814         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94815         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94818         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94819         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94821 2010-06-14  Roland McGrath  <roland@redhat.com>
94823         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94825 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94827         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94828         __REDIRECT followed by __THROW.
94829         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94830         * posix/getopt.h (getopt): Likewise.
94832 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94834         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94835         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94836         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94837         in AT_FLAGS.
94838         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94839         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94841 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94845 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94847         [BZ #11640]
94848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94849         Properly check family and model.
94851 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94853         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94855 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94857         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94859 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94861         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94862         symbol reference.
94864 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94866         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94867         symbol reference.
94869 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94871         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94872         and internal_recvmmsg.
94873         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94874         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94875         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94876         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94878         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94879         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94880         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94882 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94884         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94886 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94888         POWER7 optimizations.
94889         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94890         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94892 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94894         * version.h: Update for 2.13 development version.
94896 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94898         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94899         exceptions.  Return 0.
94901 2010-05-07  Roland McGrath  <roland@redhat.com>
94903         * elf/ldconfig.c (main): Add a const.
94905 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94907         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94908         (args_options): Add no-idn option.
94909         (ahosts_keys_int): Add idn_flags to ai_flags.
94910         (parse_option): Handle 'i' option to clear idn_flags.
94912         * malloc/malloc.c (_int_free): Possible race in the most recently
94913         added check.  Only act on the data if no current modification
94914         happened.
94916 See ChangeLog.17 for earlier changes.